You are here

function theme_calendar_day in Calendar 5

Same name and namespace in other branches
  1. 5.2 calendar.theme \theme_calendar_day()

Format a calendar view

Parameters

day: The day to display.

File

./calendar.theme, line 437

Code

function theme_calendar_day($op, $header, $rows) {
  if (strstr($header[0]['data'], '<table')) {
    $output = $header[0]['data'];
    $header = array();
  }
  $output .= theme("table", $header, $rows);
  return '<div class="calendar-calendar"><div class="day-view">' . $output . "</div></div>\n";
}