login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / modules / admin / what-list_rallyes.php
index ffe00d085a345f2ee60a23ccb3516df5318def8f..18d8b63cd5983f23999450d4326feffea05f0b6d 100644 (file)
@@ -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'] = "<STRONG class=\"big\">".$id."</STRONG>";
                                $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;