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