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/event_calendar/show_events.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'views/default/event_calendar/show_events.php') diff --git a/views/default/event_calendar/show_events.php b/views/default/event_calendar/show_events.php index b51b1c05f..63d722247 100644 --- a/views/default/event_calendar/show_events.php +++ b/views/default/event_calendar/show_events.php @@ -5,7 +5,7 @@ * @package event_calendar * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 * @author Kevin Jardine - * @copyright Radagast Solutions 2008 + * @copyright Radagast Solutions 2008-12 * @link http://radagast.biz/ * */ @@ -17,6 +17,8 @@ if ($vars['events']) { $event_list = elgg_view('event_calendar/agenda_view',$vars); } else if ($listing_format == 'paged') { $event_list = elgg_view('event_calendar/paged_view',$vars); + } else if ($listing_format == 'full') { + $event_list = elgg_view('event_calendar/full_calendar_view',$vars); } else { $options = array( 'list_class' => 'elgg-list-entity', @@ -32,7 +34,7 @@ if ($vars['events']) { } else { $event_list = '

'.elgg_echo('event_calendar:no_events_found').'

'; } -if ($listing_format == 'paged') { +if ($listing_format == 'paged' || $listing_format == 'full') { echo $event_list; } else { ?> -- cgit v1.2.3