calendar-month-multiple-entity.tpl.php 980 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * @file
  4. * Template to display a summary of the days items as a calendar month entity.
  5. *
  6. *
  7. * @see template_preprocess_calendar_month_multiple_entity.
  8. */
  9. ?>
  10. <div class="view-item view-item-<?php print $view->name ?>">
  11. <div class="calendar monthview" id="<?php print $curday ?>">
  12. <?php foreach ($ids as $id): ?>
  13. <?php if ($view->date_info->style_max_items_behavior != 'more'): ?>
  14. <?php //print theme('calendar_stripe_stripe', $id); ?>
  15. <?php endif; ?>
  16. <?php endforeach; ?>
  17. <div class="view-item <?php //print views_css_safe('view-item-'. $view->name) ?>">
  18. <?php if ($view->date_info->style_max_items_behavior != 'more'): ?>
  19. <div class="multiple-events">
  20. <?php print l(t('Click to see all @count events', array('@count' => $count)), $link) ?>
  21. </div>
  22. </div>
  23. <?php else: ?>
  24. <div class="calendar-more"><?php print l(t('more'), $link) ?>»</div>
  25. <?php endif; ?>
  26. </div>
  27. </div>