views-view-grouping.tpl.php 786 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * This template is used to print a single grouping in a view.
  5. *
  6. * It is not actually used in default Views, as this is registered as a theme
  7. * function which has better performance. For single overrides, the template is
  8. * perfectly okay.
  9. *
  10. * Variables available:
  11. * - $view: The view object
  12. * - $grouping: The grouping instruction.
  13. * - $grouping_level: Integer indicating the hierarchical level of the grouping.
  14. * - $rows: The rows contained in this grouping.
  15. * - $title: The title of this grouping.
  16. * - $content: The processed content output that will normally be used.
  17. */
  18. ?>
  19. <div class="view-grouping">
  20. <div class="view-grouping-header"><?php print $title; ?></div>
  21. <div class="view-grouping-content">
  22. <?php print $content; ?>
  23. </div>
  24. </div>