diff options
author | Sem <sembrestels@riseup.net> | 2012-07-20 05:45:54 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-20 05:45:54 +0200 |
commit | 3ac2c8fd0cacc57b8080be5f7d381b8cf5524f2f (patch) | |
tree | 46475df7579e0bf12c7bff62c3e125b16c641247 /views/default/event_calendar/schedule_section.php | |
parent | 6e3d519f4ff1e163fe698607adba1568386d8c55 (diff) | |
parent | 86d154541f9cf1de74f79cae6c1b05b3214bdca8 (diff) | |
download | elgg-3ac2c8fd0cacc57b8080be5f7d381b8cf5524f2f.tar.gz elgg-3ac2c8fd0cacc57b8080be5f7d381b8cf5524f2f.tar.bz2 |
Merge branch 'full' of https://github.com/kevinjardine/Elgg-Event-Calendar
Diffstat (limited to 'views/default/event_calendar/schedule_section.php')
-rw-r--r-- | views/default/event_calendar/schedule_section.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/default/event_calendar/schedule_section.php b/views/default/event_calendar/schedule_section.php new file mode 100644 index 000000000..3a74dc789 --- /dev/null +++ b/views/default/event_calendar/schedule_section.php @@ -0,0 +1,22 @@ +<?php +$event = $vars['event']; +$fd = $vars['form_data']; +$event_calendar_repeated_events = elgg_get_plugin_setting('repeated_events', 'event_calendar'); + +$body = '<div class="event-calendar-edit-date-wrapper">'; +$body .= elgg_view('event_calendar/datetime_edit', + array( + 'start_date' => $fd['start_date'], + 'end_date' => $fd['end_date'], + 'start_time' => $fd['start_time'], + 'end_time' => $fd['end_time'], + 'prefix' => $vars['prefix'], +)); +if ($event_calendar_repeated_events == 'yes') { + $body .= elgg_view('event_calendar/repeat_form_element',$vars); +} + +$body .= elgg_view('event_calendar/reminder_section',$vars); +$body .= '</div>'; + +echo $body; |