diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-03-13 17:34:40 +0100 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-03-13 17:34:40 +0100 |
commit | 5e5777559cd36d2ef32a786b93d047a1a7a3037e (patch) | |
tree | f1e682bc105353ef96589db12133f0775357fa3e /views/default/event_calendar/forms | |
parent | 2eaf95a47bccd543951e41d608cdcb44acf9a0ff (diff) | |
download | elgg-5e5777559cd36d2ef32a786b93d047a1a7a3037e.tar.gz elgg-5e5777559cd36d2ef32a786b93d047a1a7a3037e.tar.bz2 |
event times are now supported by default
Diffstat (limited to 'views/default/event_calendar/forms')
-rw-r--r-- | views/default/event_calendar/forms/manage_event_content.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/event_calendar/forms/manage_event_content.php b/views/default/event_calendar/forms/manage_event_content.php index 6ae3f60ce..f28788132 100644 --- a/views/default/event_calendar/forms/manage_event_content.php +++ b/views/default/event_calendar/forms/manage_event_content.php @@ -119,7 +119,7 @@ $body .= elgg_view("input/text",array('internalname' => 'venue','value'=>$venue) $body .= '</label></p>'; $body .= '<p class="description">'.$prefix['venue'].elgg_echo('event_calendar:venue_description').'</p>'; -if ($event_calendar_times == 'yes') { +if ($event_calendar_times != 'no') { $body .= '<p><label>'.elgg_echo("event_calendar:start_time_label").'</label><br />'; $body .= elgg_view("input/timepicker",array('internalname' => 'start_time','value'=>$start_time)); $body .= '</p>'; @@ -132,7 +132,7 @@ $body .= '</label></p>'; $body .= '<p class="description">'.$prefix['start_date'].elgg_echo('event_calendar:start_date_description').'</p>'; if ($event_calendar_hide_end != 'yes') { - if ($event_calendar_times == 'yes') { + if ($event_calendar_times != 'no') { $body .= '<p><label>'.elgg_echo("event_calendar:end_time_label").'</label><br />'; $body .= elgg_view("input/timepicker",array('internalname' => 'end_time','value'=>$end_time)); $body .= '</p>'; |