From b8c3767f8c790febb35141919936d616d3ebe2d4 Mon Sep 17 00:00:00 2001
From: Kevin Jardine
Date: Thu, 24 May 2012 20:00:18 +0200
Subject: changed time handling and added more suppport for event polls
---
views/default/event_calendar/css.php | 7 +++++-
views/default/event_calendar/datetime_edit.php | 12 +++++-----
.../default/event_calendar/full_calendar_view.php | 2 +-
.../event_calendar/personal_manage_section.php | 20 ++++++++++++++++
views/default/event_calendar/reminder_section.php | 28 ++++++++++++++++++++++
views/default/event_calendar/schedule_section.php | 22 +++++++++++++++++
views/default/event_calendar/share_section.php | 26 ++++++++++++++++++++
7 files changed, 109 insertions(+), 8 deletions(-)
create mode 100644 views/default/event_calendar/personal_manage_section.php
create mode 100644 views/default/event_calendar/reminder_section.php
create mode 100644 views/default/event_calendar/schedule_section.php
create mode 100644 views/default/event_calendar/share_section.php
(limited to 'views/default/event_calendar')
diff --git a/views/default/event_calendar/css.php b/views/default/event_calendar/css.php
index 4d68f500f..9461a7fe9 100644
--- a/views/default/event_calendar/css.php
+++ b/views/default/event_calendar/css.php
@@ -269,4 +269,9 @@ li.event-calendar-filter-menu-show-only {
.event-calendar-description {
display: none;
-}
\ No newline at end of file
+}
+
+.event-calendar-edit-bottom {
+ clear: both;
+ margin-bottom: 5px;
+}
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 .= '';
}
$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 .= '
';
+ $body .= '
';
$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 .= '
';
+ $body .= '
';
} else {
$body .= '