You are here

function theme_calendar_empty_day in Calendar 6.2

Same name in this branch
  1. 6.2 theme/theme.inc \theme_calendar_empty_day()
  2. 6.2 calendar_multiday/theme/theme.inc \theme_calendar_empty_day()
Same name and namespace in other branches
  1. 5.2 calendar.theme \theme_calendar_empty_day()
  2. 5 calendar.theme \theme_calendar_empty_day()
  3. 7.3 theme/theme.inc \theme_calendar_empty_day()
  4. 7 theme/theme.inc \theme_calendar_empty_day()
  5. 7 calendar_multiday/theme/theme.inc \theme_calendar_empty_day()
  6. 7.2 theme/theme.inc \theme_calendar_empty_day()
  7. 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

calendar_multiday/theme/theme.inc, line 851

Code

function theme_calendar_empty_day($curday, $view) {
  if ($view->date_info->calendar_type != 'day') {
    return '<div class="calendar-empty">&nbsp;</div>' . "\n";
  }
  else {
    return '<div class="calendar-dayview-empty">' . t('Empty day') . '</div>';
  }
}