From 1150f289dfb488cc0aaf9f1ae56183e752226312 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Tue, 13 Mar 2012 16:40:49 +0100 Subject: replaced deprecated friendly time, dates now stored properly in GMT and displayed in server time, added beginning of full calendar option --- views/default/plugins/event_calendar/settings.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'views/default/plugins/event_calendar') diff --git a/views/default/plugins/event_calendar/settings.php b/views/default/plugins/event_calendar/settings.php index 963f64549..c8dcdf299 100644 --- a/views/default/plugins/event_calendar/settings.php +++ b/views/default/plugins/event_calendar/settings.php @@ -17,10 +17,22 @@ $access_options = array( ACCESS_PRIVATE => elgg_echo("PRIVATE"), $listing_options = array(elgg_echo('event_calendar:settings:paged')=>'paged', elgg_echo('event_calendar:settings:agenda')=>'agenda', elgg_echo('event_calendar:settings:month')=>'month', + elgg_echo('event_calendar:settings:full')=>'full', ); $body = ''; +/*$event_calendar_full_calendar = elgg_get_plugin_setting('full_calendar', 'event_calendar'); +if (!$event_calendar_full_calendar) { + $event_calendar_full_calendar = 'no'; +} + +$body .= elgg_echo('event_calendar:settings:full_calendar:title'); +$body .= '
'; +$body .= elgg_view('input/radio',array('name'=>'params[full_calendar]','value'=>$event_calendar_full_calendar,'options'=>$yn_options)); + +$body .= '
';*/ + $event_calendar_hide_access = elgg_get_plugin_setting('hide_access', 'event_calendar'); if (!$event_calendar_hide_access) { $event_calendar_hide_access = 'no'; -- cgit v1.2.3