summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php b/kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php
index cd8d39e..09f807a 100644
--- a/kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php
+++ b/kolab.org/www/drupal-7.18/sites/all/modules/views/theme/views-view-grid.tpl.php
@@ -14,6 +14,10 @@
<h3><?php print $title; ?></h3>
<?php endif; ?>
<table class="<?php print $class; ?>"<?php print $attributes; ?>>
+ <?php if (!empty($caption)) : ?>
+ <caption><?php print $caption; ?></caption>
+ <?php endif; ?>
+
<tbody>
<?php foreach ($rows as $row_number => $columns): ?>
<tr <?php if ($row_classes[$row_number]) { print 'class="' . $row_classes[$row_number] .'"'; } ?>>