file date-views-pager.tpl.php

Displays the date views pager.

Available variables:

  • $attributes: A string of attributes to apply to the pager wrapper element.
  • $items: A render array of pagination items.
  • $mini: Flag indicating whether simple pager items should be shown.
  • $nav_title: The formatted title for this view. In the case of block views, it will be a link to the full view, otherwise it will be the formatted name of the year, month, day, or week. See theme_date_nav_title() for more details.
  • $prev_options: An list of link options that is passed to the link theme hook.
  • $prev_url: URL for the previous calendar page.
  • $next_options: An list of link options that is passed to the link theme hook.
  • $next_url: URL for the next calendar page.
  • $plugin: The pager plugin object. This contains the view.

See Also

  1. <?php
  2. /**
  3. * @file
  4. * Displays the date views pager.
  5. *
  6. * Available variables:
  7. * - $attributes: A string of attributes to apply to the pager wrapper element.
  8. * - $items: A render array of pagination items.
  9. * - $mini: Flag indicating whether simple pager items should be shown.
  10. * - $nav_title: The formatted title for this view. In the case of block views,
  11. * it will be a link to the full view, otherwise it will be the formatted name
  12. * of the year, month, day, or week. See theme_date_nav_title() for more
  13. * details.
  14. * - $prev_options: An list of link options that is passed to the link theme
  15. * hook.
  16. * - $prev_url: URL for the previous calendar page.
  17. * - $next_options: An list of link options that is passed to the link theme
  18. * hook.
  19. * - $next_url: URL for the next calendar page.
  20. * - $plugin: The pager plugin object. This contains the view.
  21. *
  22. * @see bootstrap_process_date_views_pager()
  23. * @see bootstrap_preprocess_date_views_pager()
  24. * @see template_preprocess_date_views_pager()
  25. *
  26. * @ingroup templates
  27. */
  28. ?>
  29. <?php if (!empty($pager_prefix)): ?>
  30. <?php print $pager_prefix; ?>
  31. <?php endif; ?>
  32. <nav<?php print $attributes;?>>
  33. <?php print render($items); ?>
  34. <h3><?php print $nav_title ?></h3>
  35. </nav>

Related topics