nivo-slider-wrapper.tpl.php in Nivo Slider 7
Default theme implementation for displaying a banner.
A banner wraps slides in HTML, which provides an anchor for the Nivo Slider to target and create a slideshow with the appropriate settings and theming.
Available variables:
- $theme: String containing the name of the currently active theme.
- $banners: String of HTML representing a banner.
- $html_captions: String of HTML representing any HTML captions.
1 theme call to nivo-slider-wrapper.tpl.php
- nivo_slider_block_view in ./
nivo_slider.module - Implements hook_block_view().
File
themes/nivo-slider-wrapper.tpl.phpView source
<?php
/**
* @file
* Default theme implementation for displaying a banner.
*
* A banner wraps slides in HTML, which provides an anchor for the Nivo Slider
* to target and create a slideshow with the appropriate settings and theming.
*
* Available variables:
* - $theme: String containing the name of the currently active theme.
* - $banners: String of HTML representing a banner.
* - $html_captions: String of HTML representing any HTML captions.
*
* @see template_preprocess()
* @see template_process()
*/
if ($banners) {
?>
<div class="slider-wrapper theme-<?php
print $theme;
?>">
<div class="ribbon"></div>
<div id="slider" class="nivoSlider">
<?php
print $banners;
?>
</div>
</div>
<?php
if ($html_captions) {
?>
<?php
print $html_captions;
?>
<?php
}
}