views-slideshow-thumbnail-hover.tpl.php in Views Slideshow 6
File
views-slideshow-thumbnail-hover.tpl.php
View source
<?php
$base = drupal_get_path('module', 'views_slideshow');
drupal_add_js($base . '/js/views_slideshow.js', 'module');
drupal_add_css($base . '/css/views_slideshow.css', 'module');
$js = theme('views_slideshow_div_js', $rows, $options, $id);
drupal_add_js($js, 'inline');
$teaser = $options['hover_breakout'] == VIEWS_SLIDESHOW_HOVER_BREAKOUT_TEASER ? TRUE : FALSE;
$output = '';
$view_teasers = FALSE;
$view_teasers = theme('views_slideshow_breakout_teasers', $rows, $id);
if (!$options['teasers_last']) {
$output .= $view_teasers;
}
$hidden_elements = theme('views_slideshow_no_display_section', $view, $rows, $id, $options['mode'], $teaser);
$output .= theme('views_slideshow_main_section', $id, $hidden_elements);
if ($view_teasers && $options['teasers_last']) {
$output .= $view_teasers;
}
print $output;