views-view-unformatted.tpl.php

  1. nittany7 modules/contrib/views/theme/views-view-unformatted.tpl.php
  2. cis7 modules/contrib/views/theme/views-view-unformatted.tpl.php
  3. mooc7 modules/contrib/views/theme/views-view-unformatted.tpl.php

Default simple view template to display a list of rows.

File

modules/contrib/views/theme/views-view-unformatted.tpl.php
View source
  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]) { print ' class="' . $classes_array[$id] .'"'; } ?>>
  14. <?php print $row; ?>
  15. </div>
  16. <?php endforeach; ?>

Related topics