Same name and namespace in other branches
  1. 5.0.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
  2. 8.x-3.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
  3. 8.x-4.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()

The slideshow controls.

Paramètres

array $vars: Theme variables.

Sujets associés

1 call to template_preprocess_views_slideshow_controls_text()
_views_slideshow_preprocess_views_slideshow_controls_text dans theme/views_slideshow.theme.inc
Backwards compatibility wrapper.

Fichier

theme/views_slideshow.theme.inc, line 394

Code

function template_preprocess_views_slideshow_controls_text(&$vars) {
    $module_path = drupal_get_path('module', 'views_slideshow');
    drupal_add_css($module_path . '/views_slideshow_controls_text.css', array(
        'type' => 'file',
    ));
    $vars['classes_array'][] = 'views_slideshow_controls_text';
    $vars['rendered_control_previous'] = theme(views_theme_functions('views_slideshow_controls_text_previous', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array(
        'vss_id' => $vars['vss_id'],
        'view' => $vars['view'],
        'settings' => $vars['settings'],
    ));
    $vars['rendered_control_pause'] = theme(views_theme_functions('views_slideshow_controls_text_pause', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array(
        'vss_id' => $vars['vss_id'],
        'view' => $vars['view'],
        'settings' => $vars['settings'],
    ));
    $vars['rendered_control_next'] = theme(views_theme_functions('views_slideshow_controls_text_next', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array(
        'vss_id' => $vars['vss_id'],
        'view' => $vars['view'],
        'settings' => $vars['settings'],
    ));
}