You are here

function theme_views_slideshow_main_section in Views Slideshow 6

Same name and namespace in other branches
  1. 5 views_slideshow.module \theme_views_slideshow_main_section()
  2. 6.3 theme/views_slideshow.theme.inc \theme_views_slideshow_main_section()
  3. 6.2 views_slideshow.theme.inc \theme_views_slideshow_main_section()
  4. 7.3 theme/views_slideshow.theme.inc \theme_views_slideshow_main_section()

This displays the main element, where the current slide is shown.

4 theme calls to theme_views_slideshow_main_section()
views-slideshow-single-frame.tpl.php in ./views-slideshow-single-frame.tpl.php
views-slideshow-singleframe.tpl.php in contrib/views_slideshow_singleframe/views-slideshow-singleframe.tpl.php
Views Slideshow: Single Frame
views-slideshow-thumbnail-hover.tpl.php in ./views-slideshow-thumbnail-hover.tpl.php
views-slideshow-thumbnailhover.tpl.php in contrib/views_slideshow_thumbnailhover/views-slideshow-thumbnailhover.tpl.php

File

./views_slideshow.theme.inc, line 45

Code

function theme_views_slideshow_main_section($id, $hidden_elements) {
  $output = "\n\n" . '<div id="views_slideshow_main_' . $id . '" class="views_slideshow_main">' . "\n  ";
  $output .= $hidden_elements;
  $output .= '</div><!--close views_slideshow_main_' . $id . "-->\n\n";
  return $output;
}