From 07e78b106e33c09dd46e874aca04c739e0140851 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 30 Aug 2012 06:17:57 +0200 Subject: Linked initial date and end date in edit form --- views/default/event_calendar/datetime_edit.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'views/default/event_calendar/datetime_edit.php') diff --git a/views/default/event_calendar/datetime_edit.php b/views/default/event_calendar/datetime_edit.php index 7abc3bb62..2e0830167 100644 --- a/views/default/event_calendar/datetime_edit.php +++ b/views/default/event_calendar/datetime_edit.php @@ -8,20 +8,17 @@ if ($event_calendar_times != 'no') { if ($event_calendar_hide_end != 'yes') { $body .= '

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

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