Project

General

Profile

Paste
Download (703 Bytes) Statistics
| Branch: | Revision:

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

1 85ad3d82 Assos Assos
<?php
2 62e0cc08 Assos Assos
3 85ad3d82 Assos Assos
/**
4
 * @file
5 62e0cc08 Assos Assos
 * Template to display a column.
6
 *
7 85ad3d82 Assos Assos
 * - $item: The item to render within a td element.
8
 */
9
$id = (isset($item['id'])) ? 'id="' . $item['id'] . '" ' : '';
10
$date = (isset($item['date'])) ? ' data-date="' . $item['date'] . '" ' : '';
11
$day = (isset($item['day_of_month'])) ? ' data-day-of-month="' . $item['day_of_month'] . '" ' : '';
12 62e0cc08 Assos Assos
$headers = (isset($item['header_id'])) ? ' headers="' . $item['header_id'] . '" ' : '';
13 85ad3d82 Assos Assos
?>
14 62e0cc08 Assos Assos
<td <?php print $id; ?>class="<?php print $item['class']; ?>" colspan="<?php print $item['colspan']; ?>" rowspan="<?php print $item['rowspan']; ?>"<?php print $date . $headers . $day; ?>>
15 85ad3d82 Assos Assos
  <div class="inner">
16 62e0cc08 Assos Assos
    <?php print $item['entry']; ?>
17 85ad3d82 Assos Assos
  </div>
18
</td>