// 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']);