- $content['e_sec'] = ADD_SELECTION("sec" , date("s", $end) , "end" , $id);
- $content['e_min'] = ADD_SELECTION("min" , date("i", $end) , "end" , $id);
- $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);
-
- // Remember over values
- $content['templ'] = RALLYE_TEMPLATE_SELECTION("templ[".$id."]", $templ);
+ $content['e_sec'] = addSelectionBox('sec' , date('s', $content['end_time']) , 'end' , $id);
+ $content['e_min'] = addSelectionBox('min' , date('i', $content['end_time']) , 'end' , $id);
+ $content['e_hour'] = addSelectionBox('hour' , date('G', $content['end_time']) , 'end' , $id);
+ $content['e_day'] = addSelectionBox('day' , date('d', $content['end_time']) , 'end' , $id);
+ $content['e_month'] = addSelectionBox('month', date('m', $content['end_time']) , 'end' , $id);
+ $content['e_year'] = addSelectionBox('year' , date('Y', $content['end_time']) , 'end' , $id);
+
+ // Remember other values
+ $content['templ'] = addReferalRallyeTemplateSelection('templ['.$id.']', $content['template']);