You are here

image-view-image-gallery.tpl.php in Image 6

Same filename and directory in other branches
  1. 7 views/theme/image-view-image-gallery.tpl.php

Template for a list of gallery nodes.

  • $title : The title of this group of rows. May be empty.
  • $options['type'] will either be ul or ol.

File

views/theme/image-view-image-gallery.tpl.php
View source
<?php

/**
 * @file
 * Template for a list of gallery nodes.
 *
 * - $title : The title of this group of rows.  May be empty.
 * - $options['type'] will either be ul or ol.
 * @ingroup views_templates
 */
?>
<div class="item-list image-gallery-nodes clear-block">
  <?php

if (!empty($title)) {
  ?>
    <h3><?php

  print $title;
  ?></h3>
  <?php

}
?>
  <<?php

print $options['type'];
?> class="images">
    <?php

foreach ($rows as $id => $row) {
  ?>
      <li class="<?php

  print $classes[$id];
  ?>"><?php

  print $row;
  ?></li>
    <?php

}
?>
  </<?php

print $options['type'];
?>>
</div>