[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/calendar/calendar_multiday/theme/ -> calendar-datebox.tpl.php (source)

   1  <?php
   2  // $Id: calendar-datebox.tpl.php,v 1.1.2.2 2010/12/31 14:16:12 karens Exp $
   3  /**
   4   * @file 
   5   * Template to display the date box in a calendar.
   6   *
   7   * - $view: The view.
   8   * - $granularity: The type of calendar this box is in -- year, month, day, or week.
   9   * - $mini: Whether or not this is a mini calendar.
  10   * - $class: The class for this box -- mini-on, mini-off, or day.
  11   * - $day:  The day of the month.
  12   * - $date: The current date, in the form YYYY-MM-DD.
  13   * - $link: A formatted link to the calendar day view for this day.
  14   * - $url:  The url to the calendar day view for this day.
  15   * - $selected: Whether or not this day has any items.
  16   * - $items: An array of items for this day.
  17   */
  18  ?>
  19  <div class="<?php print $granularity ?> <?php print $class; ?>"> <?php print !empty($selected) ? $link : $day; ?> </div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7