aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/object/event_calendar.php2
-rw-r--r--views/default/plugins/event_calendar/settings.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/views/default/object/event_calendar.php b/views/default/object/event_calendar.php
index b72c869ea..afd4325f1 100644
--- a/views/default/object/event_calendar.php
+++ b/views/default/object/event_calendar.php
@@ -11,6 +11,8 @@
*
*/
+elgg_load_library('elgg:event_calendar');
+
$event = $vars['entity'];
$full = elgg_extract('full_view', $vars, FALSE);
diff --git a/views/default/plugins/event_calendar/settings.php b/views/default/plugins/event_calendar/settings.php
index e91db9969..db6e00913 100644
--- a/views/default/plugins/event_calendar/settings.php
+++ b/views/default/plugins/event_calendar/settings.php
@@ -112,7 +112,7 @@ $body .= elgg_view('input/radio',array('name'=>'params[times]','value'=>$event_c
$body .= '<br />';
-$event_calendar_restricted_times = elgg_get_plugin_setting('restricted_times', 'event_calendar');
+/*$event_calendar_restricted_times = elgg_get_plugin_setting('restricted_times', 'event_calendar');
if (!$event_calendar_restricted_times) {
$event_calendar_restricted_times = 'no';
}
@@ -121,7 +121,7 @@ $body .= elgg_echo('event_calendar:settings:restricted_times:title');
$body .= '<br />';
$body .= elgg_view('input/radio',array('name'=>'params[restricted_times]','value'=>$event_calendar_restricted_times,'options'=>$yn_options));
-$body .= '<br />';
+$body .= '<br />';*/
$event_calendar_time_format = elgg_get_plugin_setting('timeformat', 'event_calendar');
if (!$event_calendar_time_format) {