diff options
Diffstat (limited to 'sites/all/modules/views/theme/views-view-list.tpl.php')
-rw-r--r-- | sites/all/modules/views/theme/views-view-list.tpl.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sites/all/modules/views/theme/views-view-list.tpl.php b/sites/all/modules/views/theme/views-view-list.tpl.php new file mode 100644 index 000000000..601279ae6 --- /dev/null +++ b/sites/all/modules/views/theme/views-view-list.tpl.php @@ -0,0 +1,21 @@ +<?php + +/** + * @file + * Default simple view template to display a list of rows. + * + * - $title : The title of this group of rows. May be empty. + * - $options['type'] will either be ul or ol. + * @ingroup views_templates + */ +?> +<?php print $wrapper_prefix; ?> + <?php if (!empty($title)) : ?> + <h3><?php print $title; ?></h3> + <?php endif; ?> + <?php print $list_type_prefix; ?> + <?php foreach ($rows as $id => $row): ?> + <li class="<?php print $classes_array[$id]; ?>"><?php print $row; ?></li> + <?php endforeach; ?> + <?php print $list_type_suffix; ?> +<?php print $wrapper_suffix; ?> |