views-view-unformatted.tpl.php 394 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * @file
  4. * Default simple view template to display a list of rows.
  5. *
  6. * @ingroup views_templates
  7. */
  8. ?>
  9. <?php if (!empty($title)): ?>
  10. <h3><?php print $title; ?></h3>
  11. <?php endif; ?>
  12. <?php foreach ($rows as $id => $row): ?>
  13. <div<?php if ($classes_array[$id]): ?> class="<?php print $classes_array[$id]; ?>"<?php endif; ?>>
  14. <?php print $row; ?>
  15. </div>
  16. <?php endforeach; ?>