X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_rallye.php;h=dc42366a2ec6a7edf4dceca70cedac5ec0deb0a1;hb=5fed4d6d18f6458182276599d6cab6c9134ef4aa;hp=c55700b9e53b038b525a87c36b3c636d2cd03321;hpb=596c8ab32594401ca84abfbfe35513ddfff31bec;p=mailer.git diff --git a/inc/modules/admin/what-add_rallye.php b/inc/modules/admin/what-add_rallye.php index c55700b9e5..dc42366a2e 100644 --- a/inc/modules/admin/what-add_rallye.php +++ b/inc/modules/admin/what-add_rallye.php @@ -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,21 +116,21 @@ 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);