add 1 month as an option to the version popup dropdown

pull/2905/head
Isaac Connor 2020-04-04 11:46:31 -04:00
parent 38555b0dd4
commit f81cfc0513
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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',