New module 'Calendar'
This commit is contained in:
parent
280a1af4fe
commit
f697b66461
99 changed files with 13284 additions and 0 deletions
19
sites/all/modules/calendar/theme/calendar-datebox.tpl.php
Normal file
19
sites/all/modules/calendar/theme/calendar-datebox.tpl.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
// $Id: calendar-datebox.tpl.php,v 1.2.2.3 2010/11/21 14:15:32 karens Exp $
|
||||
/**
|
||||
* @file
|
||||
* Template to display the date box in a calendar.
|
||||
*
|
||||
* - $view: The view.
|
||||
* - $granularity: The type of calendar this box is in -- year, month, day, or week.
|
||||
* - $mini: Whether or not this is a mini calendar.
|
||||
* - $class: The class for this box -- mini-on, mini-off, or day.
|
||||
* - $day: The day of the month.
|
||||
* - $date: The current date, in the form YYYY-MM-DD.
|
||||
* - $link: A formatted link to the calendar day view for this day.
|
||||
* - $url: The url to the calendar day view for this day.
|
||||
* - $selected: Whether or not this day has any items.
|
||||
* - $items: An array of items for this day.
|
||||
*/
|
||||
?>
|
||||
<div class="<?php print $granularity ?> <?php print $class; ?>"> <?php print $selected ? $link : $day; ?> </div>
|
Reference in a new issue