function theme_calendar_view_summary in Calendar 5
Calendar summary display.
Intercept arguments before calendar and return their summary view, Otherwise return calendar view.
File
- ./
calendar.theme, line 13
Code
function theme_calendar_view_summary(&$view, $type, $level, &$items, $args) {
if (!calendar_is_calendar_arg($view)) {
return theme('views_summary', $view, $type, $level, $items, $args);
}
else {
return theme('calendar_view_calendar', $view, $items, $type);
}
}