views-view-unformatted.tpl.php

Default simple view template to display a list of rows.

File

drupal/core/modules/views/theme/views-view-unformatted.tpl.php
View source
<?php

/**
 * @file
 * Default simple view template to display a list of rows.
 *
 * @ingroup views_templates
 */
if (!empty($title)) {
  ?>
  <h3><?php

  print $title;
  ?></h3>
<?php

}
foreach ($rows as $id => $row) {
  ?>
  <div <?php

  if ($row_classes[$id]) {
    print 'class="' . $row_classes[$id] . '"';
  }
  ?>>
    <?php

  print $row;
  ?>
  </div>
<?php

}

Related topics