diff sites/all/modules/semanticviews/semanticviews-view-unformatted.tpl.php @ 4:ce11bbd8f642

added modules
author danieleb <danielebarchiesi@me.com>
date Thu, 19 Sep 2013 10:38:44 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/semanticviews/semanticviews-view-unformatted.tpl.php	Thu Sep 19 10:38:44 2013 +0100
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @file views-view-unformatted.tpl.php
+ * Default simple view template to display a list of rows.
+ *
+ * @ingroup views_templates
+ */
+?>
+<?php if (!empty($title)): ?>
+  <<?php print $group_element; ?><?php print drupal_attributes($group_attributes); ?>>
+    <?php print $title; ?>
+  </<?php print $group_element; ?>>
+<?php endif; ?>
+<?php if (!empty($list_element)): ?>
+  <<?php print $list_element; ?><?php print drupal_attributes($list_attributes); ?>>
+<?php endif; ?>
+<?php foreach ($rows as $id => $row): ?>
+  <?php if (!empty($row_element)): ?>
+  <<?php print $row_element; ?><?php print drupal_attributes($row_attributes[$id]); ?>>
+  <?php endif; ?>
+    <?php print $row; ?>
+  <?php if (!empty($row_element)): ?>
+  </<?php print $row_element; ?>>
+  <?php endif; ?>
+<?php endforeach; ?>
+<?php if (!empty($list_element)): ?>
+  </<?php print $list_element; ?>>
+<?php endif; ?>