views-view-list.tpl.php 602 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * Default simple view template to display a list of rows.
  5. *
  6. * - $title : The title of this group of rows. May be empty.
  7. * - $options['type'] will either be ul or ol.
  8. *
  9. * @ingroup views_templates
  10. */
  11. ?>
  12. <?php print $wrapper_prefix; ?>
  13. <?php if (!empty($title)) : ?>
  14. <h3><?php print $title; ?></h3>
  15. <?php endif; ?>
  16. <?php print $list_type_prefix; ?>
  17. <?php foreach ($rows as $id => $row): ?>
  18. <li class="<?php print $classes_array[$id]; ?>"><?php print $row; ?></li>
  19. <?php endforeach; ?>
  20. <?php print $list_type_suffix; ?>
  21. <?php print $wrapper_suffix; ?>