From f81cfc05133a83476ca040876d46fbf257018a52 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 4 Apr 2020 11:46:31 -0400 Subject: [PATCH] add 1 month as an option to the version popup dropdown --- web/includes/actions/version.php | 2 ++ web/lang/en_gb.php | 1 + 2 files changed, 3 insertions(+) diff --git a/web/includes/actions/version.php b/web/includes/actions/version.php index fde85427f..a203e1dd3 100644 --- a/web/includes/actions/version.php +++ b/web/includes/actions/version.php @@ -42,6 +42,8 @@ if ( $action == 'version' && isset($_REQUEST['option']) ) { $nextReminder += 24*60*60; } elseif ( $option == 'week' ) { $nextReminder += 7*24*60*60; + } elseif ( $option == 'month' ) { + $nextReminder += 30*24*60*60; } dbQuery("UPDATE Config SET Value = '".$nextReminder."' WHERE Name = 'ZM_DYN_NEXT_REMINDER'"); break; diff --git a/web/lang/en_gb.php b/web/lang/en_gb.php index a8569639c..6b60c0099 100644 --- a/web/lang/en_gb.php +++ b/web/lang/en_gb.php @@ -794,6 +794,7 @@ $SLANG = array( 'VersionRemindHour' => 'Remind again in 1 hour', 'VersionRemindNever' => 'Don\'t remind about new versions', 'VersionRemindWeek' => 'Remind again in 1 week', + 'VersionRemindMonth' => 'Remind again in 1 month', 'Version' => 'Version', 'ViewMatches' => 'View Matches', 'VideoFormat' => 'Video Format',