summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php b/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php
index 89b35aa..4f4558e 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-unformatted.tpl.php
@@ -1,6 +1,7 @@
<?php
+
/**
- * @file views-view-unformatted.tpl.php
+ * @file
* Default simple view template to display a list of rows.
*
* @ingroup views_templates
@@ -10,7 +11,7 @@
<h3><?php print $title; ?></h3>
<?php endif; ?>
<?php foreach ($rows as $id => $row): ?>
- <div class="<?php print $classes_array[$id]; ?>">
+ <div <?php if ($classes_array[$id]) { print 'class="' . $classes_array[$id] .'"'; } ?>>
<?php print $row; ?>
</div>
<?php endforeach; ?>