function theme_views_slideshow_singleframe_controls in Views Slideshow 6.2
The slideshow controls.
1 theme call to theme_views_slideshow_singleframe_controls()
- template_preprocess_views_slideshow_singleframe in contrib/
views_slideshow_singleframe/ views_slideshow_singleframe.theme.inc - Implements template_preprocess_hook_THEMENAME().
File
- contrib/
views_slideshow_singleframe/ views_slideshow_singleframe.theme.inc, line 188 - Theme & preprocess functions for the Views Slideshow: SingleFrame module.
Code
function theme_views_slideshow_singleframe_controls($vss_id, $view, $options) {
$classes = array(
'views_slideshow_singleframe_controls',
'views_slideshow_controls',
);
$attributes['class'] = implode(' ', $classes);
$attributes['id'] = "views_slideshow_singleframe_controls_" . $vss_id;
$attributes = drupal_attributes($attributes);
$output = "<div{$attributes}>";
$output .= theme('views_slideshow_singleframe_control_previous', $vss_id, $view, $options);
if ($options['views_slideshow_singleframe']['timeout']) {
$output .= theme('views_slideshow_singleframe_control_pause', $vss_id, $view, $options);
}
$output .= theme('views_slideshow_singleframe_control_next', $vss_id, $view, $options);
$output .= "</div>\n";
return $output;
}