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.
Fichier
-
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
}