diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-03-13 16:40:49 +0100 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-03-13 16:40:49 +0100 |
commit | 1150f289dfb488cc0aaf9f1ae56183e752226312 (patch) | |
tree | 17771e41eba4eef5ddc04c2bef79babfd46ff09c /start.php | |
parent | e0e9ff33a7f5fc334af8127fc8680925ce967d14 (diff) | |
download | elgg-1150f289dfb488cc0aaf9f1ae56183e752226312.tar.gz elgg-1150f289dfb488cc0aaf9f1ae56183e752226312.tar.bz2 |
replaced deprecated friendly time, dates now stored properly in GMT and displayed in server time, added beginning of full calendar option
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -62,6 +62,13 @@ function event_calendar_init() { //add to the css elgg_extend_view('css/elgg', 'event_calendar/css'); + + $event_calendar_listing_format = elgg_get_plugin_setting('listing_format', 'event_calendar'); + if ($event_calendar_listing_format == 'full') { + elgg_extend_view('css/elgg', 'fullcalendar/css'); + $plugin_js = elgg_get_simplecache_url('js', 'event_calendar/fullcalendar'); + elgg_register_js('elgg.full_calendar', $plugin_js); + } //add a widget elgg_register_widget_type('event_calendar',elgg_echo("event_calendar:widget_title"),elgg_echo('event_calendar:widget:description')); |