* @copyright Radagast Solutions 2008 * @link http://radagast.biz/ * */ $listing_format = $vars['listing_format']; if ($vars['events']) { if (get_plugin_setting('agenda_view', 'event_calendar') == 'yes') { $event_list = elgg_view('event_calendar/agenda_view',$vars); } else { if ($listing_format == 'paged') { $event_list = elgg_view('event_calendar/paged_view',$vars); } else { $event_list = elgg_view_entity_list($vars['events'], $vars['count'], $vars['offset'], $vars['limit'], false, false); } } } else { $event_list = '
'.elgg_echo('event_calendar:no_events_found').'
'; } if ($listing_format == 'paged') { echo $event_list; } else { if (isloggedin()) { $nav = elgg_view('event_calendar/nav',$vars); } else { $nav = ''; } ?>
'.$event_list;
?>
|