Révision 62e0cc08
Ajouté par Assos Assos il y a plus de 3 ans
drupal7/sites/all/modules/calendar/theme/calendar-month-col.tpl.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
2 | 3 |
/** |
3 | 4 |
* @file |
4 |
* Template to display a column |
|
5 |
*
|
|
5 |
* Template to display a column.
|
|
6 |
* |
|
6 | 7 |
* - $item: The item to render within a td element. |
7 | 8 |
*/ |
8 | 9 |
$id = (isset($item['id'])) ? 'id="' . $item['id'] . '" ' : ''; |
9 | 10 |
$date = (isset($item['date'])) ? ' data-date="' . $item['date'] . '" ' : ''; |
10 | 11 |
$day = (isset($item['day_of_month'])) ? ' data-day-of-month="' . $item['day_of_month'] . '" ' : ''; |
11 |
$headers = (isset($item['header_id'])) ? ' headers="'. $item['header_id'] .'" ' : '';
|
|
12 |
$headers = (isset($item['header_id'])) ? ' headers="' . $item['header_id'] . '" ' : '';
|
|
12 | 13 |
?> |
13 |
<td <?php print $id?>class="<?php print $item['class'] ?>" colspan="<?php print $item['colspan'] ?>" rowspan="<?php print $item['rowspan'] ?>"<?php print $date . $headers . $day; ?>>
|
|
14 |
<td <?php print $id; ?>class="<?php print $item['class']; ?>" colspan="<?php print $item['colspan']; ?>" rowspan="<?php print $item['rowspan']; ?>"<?php print $date . $headers . $day; ?>>
|
|
14 | 15 |
<div class="inner"> |
15 |
<?php print $item['entry'] ?> |
|
16 |
<?php print $item['entry']; ?>
|
|
16 | 17 |
</div> |
17 | 18 |
</td> |
Formats disponibles : Unified diff
Weekly update of contrib modules