views-view-unformatted.tpl.php

Same filename in other branches
  1. 6.x-3.x theme/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