X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_rallyes.php;h=18d8b63cd5983f23999450d4326feffea05f0b6d;hp=ffe00d085a345f2ee60a23ccb3516df5318def8f;hb=e1653405d28923c78b2e292125306ccf61138f24;hpb=33a744d80e9c5ec1c13e8f643143146166975e9b diff --git a/inc/modules/admin/what-list_rallyes.php b/inc/modules/admin/what-list_rallyes.php index ffe00d085a..18d8b63cd5 100644 --- a/inc/modules/admin/what-list_rallyes.php +++ b/inc/modules/admin/what-list_rallyes.php @@ -183,7 +183,7 @@ if (isset($_POST['edit'])) $content['s_hour'] = ADD_SELECTION("hour" , date("G", $start), "start", $id); $content['s_day'] = ADD_SELECTION("day" , date("d", $start), "start", $id); $content['s_month'] = ADD_SELECTION("month", date("m", $start), "start", $id); - $content['s_year'] = ADD_SELECTION("year" , date("Y", $start), "start", $id); + $content['s_year'] = ADD_SELECTION("year" , date('Y', $start), "start", $id); // Ending day $content['e_sec'] = ADD_SELECTION("sec" , date("s", $end) , "end" , $id); @@ -191,7 +191,7 @@ if (isset($_POST['edit'])) $content['e_hour'] = ADD_SELECTION("hour" , date("G", $end) , "end" , $id); $content['e_day'] = ADD_SELECTION("day" , date("d", $end) , "end" , $id); $content['e_month'] = ADD_SELECTION("month", date("m", $end) , "end" , $id); - $content['e_year'] = ADD_SELECTION("year" , date("Y", $end) , "end" , $id); + $content['e_year'] = ADD_SELECTION("year" , date('Y', $end) , "end" , $id); // Remember over values $content['templ'] = RALLYE_TEMPLATE_SELECTION("templ[".$id."]", $templ); @@ -337,14 +337,14 @@ ORDER BY start_time DESC", // Is the rallye active or not? switch ($active) { - case "Y": + case 'Y': // Rallye is active so do not edit it! $content['select'] = "".$id.""; $content['active_title'] = RALLYE_DEACTIVATE_NOW; $content['active'] = "0"; break; - case "N": + case 'N': $content['active_title'] = RALLYE_ACTIVATE_NOW; $content['active'] = "1"; break; @@ -353,12 +353,12 @@ ORDER BY start_time DESC", // Notification to members? switch ($notify) { - case "Y": + case 'Y': $content['notify_title'] = RALLYE_STOP_NOTIFY_NOW; $content['notify'] = "0"; break; - case "N": + case 'N': $content['notify_title'] = RALLYE_START_NOTIFY_NOW; $content['notify'] = "1"; break; @@ -367,12 +367,12 @@ ORDER BY start_time DESC", // Auto-add of new joined members? switch ($auto_add) { - case "Y": + case 'Y': $content['auto_title'] = RALLYE_STOP_AUTO_ADD_NOW; $content['auto'] = "0"; break; - case "N": + case 'N': $content['auto_title'] = RALLYE_START_AUTO_ADD_NOW; $content['auto'] = "1"; break;