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 /views/default/event_calendar/show_events.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 'views/default/event_calendar/show_events.php')
-rw-r--r-- | views/default/event_calendar/show_events.php | 6 |
1 files changed, 4 insertions, 2 deletions
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 <kevin@radagast.biz> - * @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 = '<p>'.elgg_echo('event_calendar:no_events_found').'</p>'; } -if ($listing_format == 'paged') { +if ($listing_format == 'paged' || $listing_format == 'full') { echo $event_list; } else { ?> |