[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/calendar/theme/ -> calendar-year.tpl.php (source)

   1  <?php
   2  // $Id: calendar-year.tpl.php,v 1.6.2.1 2008/06/14 11:38:34 karens Exp $
   3  /**
   4   * @file
   5   * Template to display a view as a calendar year.
   6   * 
   7   * @see template_preprocess_calendar_year.
   8   *
   9   * $view: The view.
  10   * $months: An array with a formatted month calendar for each month of the year.
  11   * $min_date_formatted: The minimum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
  12   * $max_date_formatted: The maximum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
  13   * 
  14   */
  15  //dsm('Display: '. $display_type .': '. $min_date_formatted .' to '. $max_date_formatted);
  16  ?>
  17  
  18  <div class="calendar-calendar"><div class="year-view">
  19  <table <?php if ($mini): ?> class="mini"<?php endif; ?>>
  20    <tbody>
  21      <tr><td><?php print $months[1] ?></td><td><?php print $months[2] ?></td><td><?php print $months[3] ?></td></tr>  
  22      <tr><td><?php print $months[4] ?></td><td><?php print $months[5] ?></td><td><?php print $months[6] ?></td></tr>  
  23      <tr><td><?php print $months[7] ?></td><td><?php print $months[8] ?></td><td><?php print $months[9] ?></td></tr>  
  24      <tr><td><?php print $months[10] ?></td><td><?php print $months[11] ?></td><td><?php print $months[12] ?></td></tr>  
  25    </tbody>
  26  </table>
  27  </div></div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7