You are here

function theme_quicktabs_tabs in Quick Tabs 5

Same name and namespace in other branches
  1. 6.3 quicktabs.module \theme_quicktabs_tabs()
  2. 6 quicktabs.module \theme_quicktabs_tabs()
  3. 6.2 quicktabs.module \theme_quicktabs_tabs()
  4. 7.2 quicktabs.module \theme_quicktabs_tabs()

Theme function for output of the tabs. Use this to ADD extra classes. The general structure 'ul.quicktabs_tabs li a' needs to be maintained for the jQuery to work.

1 theme call to theme_quicktabs_tabs()
quicktabs_block in ./quicktabs.module
Implementation of hook_block

File

./quicktabs.module, line 562

Code

function theme_quicktabs_tabs($tabs) {
  $output .= '<ul class="quicktabs_tabs">';
  foreach ($tabs as $i => $tab) {
    $output .= '<li><a href="#">' . $tab . '</a></li>';
  }
  $output .= '</ul>';
  return $output;
}