views-view-unformatted.tpl.php

Default simple view template to display a list of rows.

File

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 ($classes_array[$id]) {
        ?> class="<?php

        print $classes_array[$id];
        ?>"<?php

    }
    ?>>
    <?php

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

}

Related topics