Forked from szeidler/views-view-unformatted.tpl.php
Created
October 22, 2016 05:37
-
-
Save thelebster/e5d72227e8abc83bc762cc6fecefbe17 to your computer and use it in GitHub Desktop.
Wrap views-row
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Default simple view template to display a list of rows. | |
| * | |
| * @ingroup views_templates | |
| */ | |
| ?> | |
| <?php if (!empty($title)): ?> | |
| <h3><?php print $title; ?></h3> | |
| <?php endif; ?> | |
| <?php foreach ($rows as $id => $row): ?> | |
| <div class="views-row"> | |
| <div class="views-row-inner<?php if ($classes_array[$id]) { print ' ' . $classes_array[$id]; } ?>"><?php print $row; ?></div> | |
| </div> | |
| <?php endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment