views-view-summary.tpl.php 535 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @file
  4. * Default simple view template to display a list of summary lines.
  5. *
  6. * @ingroup views_templates
  7. */
  8. ?>
  9. <div class="item-list">
  10. <ul class="views-summary">
  11. <?php foreach ($rows as $id => $row): ?>
  12. <li><a href="<?php print $row->url; ?>"<?php print !empty($row_classes[$id]) ? ' class="' . $row_classes[$id] . '"' : ''; ?>><?php print $row->link; ?></a>
  13. <?php if (!empty($options['count'])): ?>
  14. (<?php print $row->count?>)
  15. <?php endif; ?>
  16. </li>
  17. <?php endforeach; ?>
  18. </ul>
  19. </div>