aboutsummaryrefslogtreecommitdiff
path: root/views/default/event_calendar/datetime_edit.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-30 06:17:57 +0200
committerSem <sembrestels@riseup.net>2012-08-30 06:17:57 +0200
commit07e78b106e33c09dd46e874aca04c739e0140851 (patch)
tree8c9142a4dba25c5bc90067c2227cd33074a00d07 /views/default/event_calendar/datetime_edit.php
parent2374f4ca4b0b064118cd6cc33f8315a60715c3d4 (diff)
downloadelgg-07e78b106e33c09dd46e874aca04c739e0140851.tar.gz
elgg-07e78b106e33c09dd46e874aca04c739e0140851.tar.bz2
Linked initial date and end date in edit form
Diffstat (limited to 'views/default/event_calendar/datetime_edit.php')
-rw-r--r--views/default/event_calendar/datetime_edit.php11
1 files changed, 4 insertions, 7 deletions
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 .= '<p><label>'.elgg_echo('event_calendar:from_label').'</label>';
}
- $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 .= '<span id="event-calendar-start-time-wrapper">';
$body .= elgg_view("input/timepicker",array('name' => 'start_time','value'=>$vars['start_time']));
$body .= '</span>';
if ($event_calendar_hide_end != 'yes') {
$body .= '</p><p id="event-calendar-to-time-wrapper"><label>'.elgg_echo('event_calendar:to_label').'</label>';
- $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'],