Projet

Général

Profil

Révision 62e0cc08

Ajouté par Assos Assos il y a plus de 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/calendar/theme/calendar-year.tpl.php
1 1
<?php
2

  
2 3
/**
3 4
 * @file
4 5
 * Template to display a view as a calendar year.
5
 * 
6
 *
6 7
 * @see template_preprocess_calendar_year.
7 8
 *
8 9
 * $view: The view.
9 10
 * $months: An array with a formatted month calendar for each month of the year.
10 11
 * $min_date_formatted: The minimum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
11 12
 * $max_date_formatted: The maximum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
12
 * 
13 13
 */
14
//dsm('Display: '. $display_type .': '. $min_date_formatted .' to '. $max_date_formatted);
15 14
?>
16

  
17
<div class="calendar-calendar"><div class="year-view">
18
<table <?php if ($mini): ?> class="mini"<?php endif; ?>>
19
  <tbody>
20
    <tr><td><?php print $months[1] ?></td><td><?php print $months[2] ?></td><td><?php print $months[3] ?></td></tr>  
21
    <tr><td><?php print $months[4] ?></td><td><?php print $months[5] ?></td><td><?php print $months[6] ?></td></tr>  
22
    <tr><td><?php print $months[7] ?></td><td><?php print $months[8] ?></td><td><?php print $months[9] ?></td></tr>  
23
    <tr><td><?php print $months[10] ?></td><td><?php print $months[11] ?></td><td><?php print $months[12] ?></td></tr>  
24
  </tbody>
25
</table>
26
</div></div>
15
<div class="calendar-calendar">
16
  <div class="year-view">
17
    <table<?php if ($mini): ?> class="mini"<?php endif; ?>>
18
      <tbody>
19
        <tr><td><?php print $months[1]; ?></td><td><?php print $months[2]; ?></td><td><?php print $months[3]; ?></td></tr>
20
        <tr><td><?php print $months[4]; ?></td><td><?php print $months[5]; ?></td><td><?php print $months[6]; ?></td></tr>
21
        <tr><td><?php print $months[7]; ?></td><td><?php print $months[8]; ?></td><td><?php print $months[9]; ?></td></tr>
22
        <tr><td><?php print $months[10]; ?></td><td><?php print $months[11]; ?></td><td><?php print $months[12]; ?></td></tr>
23
      </tbody>
24
    </table>
25
  </div>
26
</div>

Formats disponibles : Unified diff