function theme_calendar_empty_day in Calendar 6.2
Same name in this branch
- 6.2 theme/theme.inc \theme_calendar_empty_day()
- 6.2 calendar_multiday/theme/theme.inc \theme_calendar_empty_day()
Same name and namespace in other branches
- 5.2 calendar.theme \theme_calendar_empty_day()
- 5 calendar.theme \theme_calendar_empty_day()
- 7.3 theme/theme.inc \theme_calendar_empty_day()
- 7 theme/theme.inc \theme_calendar_empty_day()
- 7 calendar_multiday/theme/theme.inc \theme_calendar_empty_day()
- 7.2 theme/theme.inc \theme_calendar_empty_day()
- 7.2 calendar_multiday/theme/theme.inc \theme_calendar_empty_day()
Format an empty day on a calendar
Parameters
day: The day to display.
5 theme calls to theme_calendar_empty_day()
- calendar_build_day in includes/
calendar.inc - Build the contents of a single day for the $rows results.
- calendar_build_day in calendar_multiday/
includes/ calendar.inc - Build the contents of a single day for the $rows results.
- calendar_build_mini_week in calendar_multiday/
includes/ calendar.inc - Build one week row.
- calendar_build_week in includes/
calendar.inc - Build one week row.
- calendar_build_week in calendar_multiday/
includes/ calendar.inc - Build one week row.
File
- theme/
theme.inc, line 736
Code
function theme_calendar_empty_day($curday, $view) {
if ($view->date_info->calendar_type != 'day') {
return '<div class="calendar-empty"> </div>' . "\n";
}
else {
return '<div class="calendar-dayview-empty">' . t('Empty day') . '</div>';
}
}