root / drupal7 / sites / all / modules / views / theme / views-view-list.tpl.php @ 4da4932d
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Default simple view template to display a list of rows.
|
6 |
*
|
7 |
* - $title : The title of this group of rows. May be empty.
|
8 |
* - $options['type'] will either be ul or ol.
|
9 |
* @ingroup views_templates
|
10 |
*/
|
11 |
?>
|
12 |
<?php print $wrapper_prefix; ?> |
13 |
<?php if (!empty($title)) : ?> |
14 |
<h3><?php print $title; ?></h3> |
15 |
<?php endif; ?> |
16 |
<?php print $list_type_prefix; ?> |
17 |
<?php foreach ($rows as $id => $row): ?> |
18 |
<li class="<?php print $classes_array[$id]; ?>"><?php print $row; ?></li> |
19 |
<?php endforeach; ?> |
20 |
<?php print $list_type_suffix; ?> |
21 |
<?php print $wrapper_suffix; ?> |