views-view-summary-unformatted.tpl.php 790 B

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