diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-05-24 20:00:18 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-05-24 20:00:18 +0200 |
commit | b8c3767f8c790febb35141919936d616d3ebe2d4 (patch) | |
tree | 7e137e8482106ffc59ee30063cc8eb2bc4442374 /views/default/event_calendar/datetime_edit.php | |
parent | fc04fcffb8a03c166467e8633f8195ef48b29f4a (diff) | |
download | elgg-b8c3767f8c790febb35141919936d616d3ebe2d4.tar.gz elgg-b8c3767f8c790febb35141919936d616d3ebe2d4.tar.bz2 |
changed time handling and added more suppport for event polls
Diffstat (limited to 'views/default/event_calendar/datetime_edit.php')
-rw-r--r-- | views/default/event_calendar/datetime_edit.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/event_calendar/datetime_edit.php b/views/default/event_calendar/datetime_edit.php index aa3a8f2de..ceceeb20e 100644 --- a/views/default/event_calendar/datetime_edit.php +++ b/views/default/event_calendar/datetime_edit.php @@ -9,16 +9,16 @@ if ($event_calendar_times != 'no') { $body .= '<p><label>'.elgg_echo('event_calendar:from_label').'</label>'; } $body .= elgg_view("event_calendar/input/date_local",array( - 'timestamp'=>TRUE, + //'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 .= '</p><p><label>'.elgg_echo('event_calendar:to_label').'</label>'; + $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, + //'timestamp'=>TRUE, 'autocomplete'=>'off', 'class'=>'event-calendar-compressed-date', 'name' => 'end_date', @@ -26,7 +26,7 @@ if ($event_calendar_times != 'no') { )); $body .= elgg_view("input/timepicker",array('name' => 'end_time','value'=>$vars['end_time'])); } - $body .= '</p>'; + $body .= '</p></span>'; } else { $body .= '<p><label>'.elgg_echo("event_calendar:start_date_label").'<br />'; @@ -35,10 +35,10 @@ if ($event_calendar_times != 'no') { $body .= '<p class="description">'.$prefix['start_date'].elgg_echo('event_calendar:start_date_description').'</p>'; if ($event_calendar_hide_end != 'yes') { - $body .= '<p><label>'.elgg_echo("event_calendar:end_date_label").'<br />'; + $body .= '<p id="event-calendar-to-time-wrapper"><label>'.elgg_echo("event_calendar:end_date_label").'<br />'; $body .= elgg_view("event_calendar/input/date_local",array('timestamp'=>TRUE,'autocomplete'=>'off','name' => 'end_date','value'=>$vars['end_date'])); $body .= '</label></p>'; - $body .= '<p class="description">'.$prefix['end_date'].elgg_echo('event_calendar:end_date_description').'</p>'; + //$body .= '<p class="description">'.$prefix['end_date'].elgg_echo('event_calendar:end_date_description').'</p>'; } } |