'; } $body .= elgg_view("event_calendar/input/date_local",array( 'timestamp'=>TRUE, 'autocomplete'=>'off', 'class'=>'event-calendar-compressed-date', 'name' => 'start_date', 'value'=>$vars['start_date'])); $body .= elgg_view("input/timepicker",array('name' => 'start_time','value'=>$vars['start_time'])); if ($event_calendar_hide_end != 'yes') { $body .= '

'; $body .= elgg_view("event_calendar/input/date_local",array( 'timestamp'=>TRUE, 'autocomplete'=>'off', 'class'=>'event-calendar-compressed-date', 'name' => 'end_date', 'value'=>$vars['end_date'], )); $body .= elgg_view("input/timepicker",array('name' => 'end_time','value'=>$vars['end_time'])); } $body .= '

'; } else { $body .= '

'; $body .= '

'.$prefix['start_date'].elgg_echo('event_calendar:start_date_description').'

'; if ($event_calendar_hide_end != 'yes') { $body .= '

'; $body .= '

'.$prefix['end_date'].elgg_echo('event_calendar:end_date_description').'

'; } } echo $body;