You are here

andromeda-slideshow.tpl.php in Andromeda Slideshow 7

Same filename and directory in other branches
  1. 7.2 templates/andromeda-slideshow.tpl.php

Default theme implementation for a slideshow

File

templates/andromeda-slideshow.tpl.php
View source
<?php

/**
 * @file
 * Default theme implementation for a slideshow
 */
?>

<div class="andromeda-slideshow">
  <?php

if ($images) {
  ?>
    <ul>
      <?php

  foreach ($images as $image) {
    ?>
        <li>
          <?php

    if ($image->image) {
      ?>
            <div class="image">
              <?php

      print $image->image;
      ?>
            </div>
          <?php

    }
    ?>
          <?php

    if ($image->title) {
      ?>
            <p class="image-title">
              <?php

      print $image->title;
      ?>
            </p>
          <?php

    }
    ?>
          <?php

    if ($image->caption) {
      ?>
            <p class="image-caption">
              <?php

      print $image->caption;
      ?>
            </p>
          <?php

    }
    ?>
        </li>
      <?php

  }
  ?>
    </ul>
  <?php

}
?>
</div>