From 0b25adcd921149b50845647980284e8ab66d8fed Mon Sep 17 00:00:00 2001
From: Kevin Jardine
Date: Tue, 3 Apr 2012 12:31:42 +0200
Subject: major changes to add new features, including a full calendar and
repeating events
---
views/default/event_calendar/datetime_edit.php | 45 ++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 views/default/event_calendar/datetime_edit.php
(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
new file mode 100644
index 000000000..aa3a8f2de
--- /dev/null
+++ b/views/default/event_calendar/datetime_edit.php
@@ -0,0 +1,45 @@
+';
+ }
+ $body .= elgg_view("event_calendar/input/date_local",array(
+ '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 .= '
';
+ $body .= elgg_view("event_calendar/input/date_local",array(
+ 'timestamp'=>TRUE,
+ 'autocomplete'=>'off',
+ 'class'=>'event-calendar-compressed-date',
+ 'name' => 'end_date',
+ 'value'=>$vars['end_date'],
+ ));
+ $body .= elgg_view("input/timepicker",array('name' => 'end_time','value'=>$vars['end_time']));
+ }
+ $body .= '
';
+} else {
+
+ $body .= '';
+ $body .= ''.$prefix['start_date'].elgg_echo('event_calendar:start_date_description').'
';
+
+ if ($event_calendar_hide_end != 'yes') {
+ $body .= '';
+ $body .= ''.$prefix['end_date'].elgg_echo('event_calendar:end_date_description').'
';
+ }
+}
+
+echo $body;
\ No newline at end of file
--
cgit v1.2.3