summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-table.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-table.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-table.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-table.tpl.php b/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-table.tpl.php
index 28138db..a9abcd3 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-table.tpl.php
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/theme/views-view-table.tpl.php
@@ -1,6 +1,7 @@
<?php
+
/**
- * @file views-view-table.tpl.php
+ * @file
* Template to display a view as a table.
*
* - $title : The title of this group of rows. May be empty.
@@ -34,7 +35,7 @@
<?php endif; ?>
<tbody>
<?php foreach ($rows as $row_count => $row): ?>
- <tr class="<?php print implode(' ', $row_classes[$row_count]); ?>">
+ <tr <?php if ($row_classes[$row_count]) { print 'class="' . implode(' ', $row_classes[$row_count]) .'"'; } ?>>
<?php foreach ($row as $field => $content): ?>
<td <?php if ($field_classes[$field][$row_count]) { print 'class="'. $field_classes[$field][$row_count] . '" '; } ?><?php print drupal_attributes($field_attributes[$field][$row_count]); ?>>
<?php print $content; ?>