This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
suitedesk/modules/calendar/theme/calendar-datebox.tpl.php

18 lines
733 B
PHP

<?php
/**
* @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>