You are here

views-slideshow.tpl.php in Views Slideshow 7.3

Same filename and directory in other branches
  1. 6.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 vss_templates
 */
?>

<?php

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

  print $skin;
  ?>">
    <?php

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

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

  }
  ?>

    <?php

  print $slideshow;
  ?>

    <?php

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

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

  }
  ?>
  </div>
<?php

}

Related topics