You are here

function theme_calendar_month in Calendar 5.2

Same name and namespace in other branches
  1. 5 calendar.theme \theme_calendar_month()

Format a month view

1 theme call to theme_calendar_month()
theme_calendar_year in ./calendar.theme
Format a year view

File

./calendar.theme, line 489

Code

function theme_calendar_month($view, $header, $rows) {
  $attrs = array();
  if ($view->mini == 'mini') {
    $attrs = array(
      'class' => 'mini',
    );
  }
  $output = theme("table", $header, $rows, $attrs);
  return '<div class="calendar-calendar"><div class="month-view">' . $output . "</div></div>\n";
}