Same name and namespace in other branches
  1. 8.x-1.x quicktabs.module \theme_qt_ui_tabs_tabset()

Theme function to output tablinks for jQuery UI style tabs.

1 theme call to theme_qt_ui_tabs_tabset()
QuickUiTabs::render dans plugins/QuickUiTabs.inc
The only method that renderer plugins must implement.

Fichier

./quicktabs.module, line 591

Code

function theme_qt_ui_tabs_tabset($vars) {
    $output = '<ul>';
    foreach ($vars['tabset']['tablinks'] as $i => $tab) {
        if (is_array($tab)) {
            $output .= '<li>' . drupal_render($tab) . '</li>';
        }
    }
    $output .= '</ul>';
    return $output;
}