[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

   1  <?php
   2  // $Id: calendar-main.tpl.php,v 1.2.2.4 2009/01/10 20:04:18 karens Exp $
   3  /**
   4   * @file
   5   * Template to display calendar navigation and links.
   6   * 
   7   * @see template_preprocess_calendar_main.
   8   *
   9   * $view: The view.
  10   * $calendar_links: Array of formatted links to other calendar displays - year, month, week, day.
  11   * $calendar_popup: The popup calendar date selector.
  12   * $display_type: year, month, day, or week.
  13   * $mini: Whether this is a mini view.
  14   * $min_date_formatted: The minimum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
  15   * $max_date_formatted: The maximum date for this calendar in the format YYYY-MM-DD HH:MM:SS.
  16   * 
  17   */
  18  //dsm('Display: '. $display_type .': '. $min_date_formatted .' to '. $max_date_formatted);
  19  ?>
  20  
  21  <div class="calendar-calendar">
  22    <?php if (!empty($calendar_popup)) print $calendar_popup;?>
  23    <?php if (!empty($calendar_add_date)) print $calendar_add_date; ?>
  24    <?php if (empty($block)) print theme('links', $calendar_links);?>
  25    <?php print theme('date_navigation', $view) ?>
  26  </div>


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