You are here

views-slideshow.tpl.php in Views Slideshow 6.3

Same filename and directory in other branches
  1. 7.3 theme/views-slideshow.tpl.php

Default views template for displaying a slideshow.

  • $view: The View object.
  • $options: Settings for the active style.
  • $rows: The rows output from the View.
  • $title: The title of this group of rows. May be empty.

File

theme/views-slideshow.tpl.php
View source
<?php

/**
 * @file
 * Default views template for displaying a slideshow.
 *
 * - $view: The View object.
 * - $options: Settings for the active style.
 * - $rows: The rows output from the View.
 * - $title: The title of this group of rows. May be empty.
 *
 * @ingroup views_templates
 */
?>

<?php

if (!empty($slideshow)) {
  ?>
  <div class="skin-<?php

  print $skin;
  ?>">
    <?php

  if (!empty($top_widget_rendered)) {
    ?>
      <div class="views-slideshow-controls-top clear-block">
        <?php

    print $top_widget_rendered;
    ?>
      </div>
    <?php

  }
  ?>

    <?php

  print $slideshow;
  ?>

    <?php

  if (!empty($bottom_widget_rendered)) {
    ?>
      <div class="views-slideshow-controls-bottom clear-block">
        <?php

    print $bottom_widget_rendered;
    ?>
      </div>
    <?php

  }
  ?>
  </div>
<?php

}