]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_rallyes.php
Fixed calls of addSelectionBox()
[mailer.git] / inc / modules / admin / what-list_rallyes.php
index 73087c8421bd4f680de1ec71040b6e62fb3cb289..94e8f6f68a4cfcef3129aff74f195f148f2eaa69 100644 (file)
@@ -216,18 +216,18 @@ LIMIT 1",
                        // Only for editing ...
                        if ($mode == 'edit') {
                                // Starting day
-                               $content['s_min']   = addSelectionBox('min'  , getMinute($content['start_time'])   , 'start_time', $id);
-                               $content['s_hour']  = addSelectionBox('hour' , getShortHour($content['start_time']), 'start_time', $id);
-                               $content['s_day']   = addSelectionBox('day'  , getDay($content['start_time'])      , 'start_time', $id);
-                               $content['s_month'] = addSelectionBox('month', getMonth($content['start_time'])    , 'start_time', $id);
-                               $content['s_year']  = addSelectionBox('year' , getYear($content['start_time'])     , 'start_time', $id);
+                               $content['s_min']   = addSelectionBox('mi', getMinute($content['start_time'])   , 'start_time', $id);
+                               $content['s_hour']  = addSelectionBox('ho', getShortHour($content['start_time']), 'start_time', $id);
+                               $content['s_day']   = addSelectionBox('da', getDay($content['start_time'])      , 'start_time', $id);
+                               $content['s_month'] = addSelectionBox('mo', getMonth($content['start_time'])    , 'start_time', $id);
+                               $content['s_year']  = addSelectionBox('ye', getYear($content['start_time'])     , 'start_time', $id);
 
                                // Ending day
-                               $content['e_min']   = addSelectionBox('min'  , getMinute($content['end_time'])     , 'end_time'  , $id);
-                               $content['e_hour']  = addSelectionBox('hour' , getShortHour($content['end_time'])  , 'end_time'  , $id);
-                               $content['e_day']   = addSelectionBox('day'  , getDay($content['end_time'])        , 'end_time'  , $id);
-                               $content['e_month'] = addSelectionBox('month', getMonth($content['end_time'])      , 'end_time'  , $id);
-                               $content['e_year']  = addSelectionBox('year' , getYear($content['end_time'])       , 'end_time'  , $id);
+                               $content['e_min']   = addSelectionBox('mi', getMinute($content['end_time'])     , 'end_time'  , $id);
+                               $content['e_hour']  = addSelectionBox('ho', getShortHour($content['end_time'])  , 'end_time'  , $id);
+                               $content['e_day']   = addSelectionBox('da', getDay($content['end_time'])        , 'end_time'  , $id);
+                               $content['e_month'] = addSelectionBox('mo', getMonth($content['end_time'])      , 'end_time'  , $id);
+                               $content['e_year']  = addSelectionBox('ye', getYear($content['end_time'])       , 'end_time'  , $id);
 
                                // Remember other values
                                $content['templ']      = addReferralRallyeTemplateSelection('templ[' . $id . ']', $content['template']);