You are here

field_slideshow_pager.tpl.php in Field Slideshow 7.2

Same filename and directory in other branches
  1. 7 field_slideshow_pager.tpl.php

Template file for field_slideshow_pager

File

field_slideshow_pager.tpl.php
View source
<?php

/**
 * @file
 * Template file for field_slideshow_pager
 *
 *
 */
if ($pager == 'number') {
  ?>

  <div id="field-slideshow-<?php

  print $slideshow_id;
  ?>-pager" class="field-slideshow-pager slides-<?php

  print count($items);
  ?>"></div>

<?php

}
elseif ($pager == 'image' || $pager == 'carousel') {
  ?>

  <?php

  if ($pager == 'carousel') {
    ?>
    <div id="field-slideshow-<?php

    print $slideshow_id;
    ?>-carousel-wrapper" class="field-slideshow-carousel-wrapper<?php

    print $pager == 'carousel' && $carousel_skin ? " jcarousel-skin-" . $carousel_skin : "";
    ?>">
      <?php

    if (!$carousel_skin) {
      ?><a href="#" class="carousel-prev">«</a><?php

    }
    ?>
      <div id="field-slideshow-<?php

    print $slideshow_id;
    ?>-carousel" class="field-slideshow-carousel">
  <?php

  }
  ?>

  <?php

  print $thumbnails;
  ?>

  <?php

  if ($pager == 'carousel') {
    ?>
      </div>
      <?php

    if (!$carousel_skin) {
      ?><a href="#" class="carousel-next">»</a><?php

    }
    ?>
    </div>
  <?php

  }
  ?>

<?php

}