]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_rallye.php
Fixed calls of addSelectionBox()
[mailer.git] / inc / modules / admin / what-add_rallye.php
index 3f3406b69011126b643a84b8d10360f114e5a095..dc42366a2ec6a7edf4dceca70cedac5ec0deb0a1 100644 (file)
@@ -100,7 +100,7 @@ if (isFormSent()) {
 
                if (!empty($id)) {
                        // Reload to prices...
-                       redirectToUrl('modules.php?module=admin&what=config_rallye_prices&rallye_id=' . bigintval($id));
+                       redirectToUrl('modules.php?module=admin&what=list_rallye_prices&rallye_id=' . bigintval($id));
                } else {
                        // Problem detected...
                        displayMessage('{--ADMIN_RALLYE_PROBLEM_CREATE--}');
@@ -116,24 +116,24 @@ if (isFormSent()) {
 } // END - if
 
 // Starting day
-$content['start_min']   = addSelectionBox('min'  , 0                   , 'start_time');
-$content['start_hour']  = addSelectionBox('hour' , getShortHour()      , 'start_time');
-$content['start_day']   = addSelectionBox('day'  , getDay()            , 'start_time');
-$content['start_month'] = addSelectionBox('month', getMonth()          , 'start_time');
-$content['start_year']  = addSelectionBox('year' , getYear()           , 'start_time');
+$content['start_min']   = addSelectionBox('mi', 0                   , 'start_time');
+$content['start_hour']  = addSelectionBox('ho', getShortHour()      , 'start_time');
+$content['start_day']   = addSelectionBox('da', getDay()            , 'start_time');
+$content['start_month'] = addSelectionBox('mo', getMonth()          , 'start_time');
+$content['start_year']  = addSelectionBox('ye', getYear()           , 'start_time');
 
 // Ending timestamp
 $endingStamp = time() + (getOneDay() * 7);
 
 // Ending day
-$content['end_min']   = addSelectionBox('min'  , 0                     , 'end_time');
-$content['end_hour']  = addSelectionBox('hour' , getShortHour()        , 'end_time');
-$content['end_day']   = addSelectionBox('day'  , getDay($endingStamp)  , 'end_time');
-$content['end_month'] = addSelectionBox('month', getMonth($endingStamp), 'end_time');
-$content['end_year']  = addSelectionBox('year' , getYear($endingStamp) , 'end_time');
+$content['end_min']   = addSelectionBox('mi', 0                     , 'end_time');
+$content['end_hour']  = addSelectionBox('ho', getShortHour()        , 'end_time');
+$content['end_day']   = addSelectionBox('da', getDay($endingStamp)  , 'end_time');
+$content['end_month'] = addSelectionBox('mo', getMonth($endingStamp), 'end_time');
+$content['end_year']  = addSelectionBox('ye', getYear($endingStamp) , 'end_time');
 
 // Load template
-loadTemplate('admin_add_rallye', false, $content);
+loadTemplate('admin_add_rallye', FALSE, $content);
 
 // [EOF]
 ?>