Projet

Général

Profil

Paste
Télécharger (743 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / calendar / theme / calendar-datebox.tpl.php @ 62e0cc08

1
<?php
2

    
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>