Révision 62e0cc08
Ajouté par Assos Assos il y a plus de 3 ans
drupal7/sites/all/modules/calendar/theme/calendar-mini.tpl.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
2 | 3 |
/** |
3 | 4 |
* @file |
4 | 5 |
* Template to display a view as a mini calendar month. |
5 |
*
|
|
6 |
* |
|
6 | 7 |
* @see template_preprocess_calendar_mini. |
7 | 8 |
* |
8 | 9 |
* $day_names: An array of the day of week names for the table header. |
... | ... | |
10 | 11 |
* $view: The view. |
11 | 12 |
* $min_date_formatted: The minimum date for this calendar in the format YYYY-MM-DD HH:MM:SS. |
12 | 13 |
* $max_date_formatted: The maximum date for this calendar in the format YYYY-MM-DD HH:MM:SS. |
13 |
*
|
|
14 |
* |
|
14 | 15 |
* $show_title: If the title should be displayed. Normally false since the title is incorporated |
15 | 16 |
* into the navigation, but sometimes needed, like in the year view of mini calendars. |
16 |
* |
|
17 | 17 |
*/ |
18 |
//dsm('Display: '. $display_type .': '. $min_date_formatted .' to '. $max_date_formatted);dsm($day_names); |
|
18 |
|
|
19 | 19 |
$params = array( |
20 | 20 |
'view' => $view, |
21 | 21 |
'granularity' => 'month', |
... | ... | |
27 | 27 |
<div class="date-nav-wrapper clear-block"> |
28 | 28 |
<div class="date-nav"> |
29 | 29 |
<div class="date-heading"> |
30 |
<?php print theme('date_nav_title', $params) ?> |
|
30 |
<?php print theme('date_nav_title', $params); ?>
|
|
31 | 31 |
</div> |
32 | 32 |
</div> |
33 |
</div>
|
|
34 |
<?php endif; ?>
|
|
33 |
</div> |
|
34 |
<?php endif; ?> |
|
35 | 35 |
<table class="mini"> |
36 | 36 |
<thead> |
37 | 37 |
<tr> |
... | ... | |
54 | 54 |
<?php endforeach; ?> |
55 | 55 |
</tbody> |
56 | 56 |
</table> |
57 |
</div></div> |
|
57 |
</div></div> |
Formats disponibles : Unified diff
Weekly update of contrib modules