function theme_rotor_tabs in Rotor Banner 7
Same name and namespace in other branches
- 5.7 rotor.module \theme_rotor_tabs()
 - 5 rotor.module \theme_rotor_tabs()
 - 6.2 rotor.module \theme_rotor_tabs()
 - 6 rotor.module \theme_rotor_tabs()
 
Theme for the rotor tabs.
Parameters
array $items The array of items from where to get the tabs.:
1 theme call to theme_rotor_tabs()
- rotor-view-rotor.tpl.php in theme/
rotor-view-rotor.tpl.php  - views-view-unformatted.tpl.php Default simple view template to display a list of rows.
 
File
- ./
rotor.module, line 349  - A rotor banner consists in a set of images that will be changing. This module is made using jquery.
 
Code
function theme_rotor_tabs($items = array()) {
  $output = '<div class="rotor-tabs">';
  foreach ($items as $item) {
    $node = node_load($item->nid);
    $output .= theme('rotor_tab', $node);
  }
  $output .= '</div>';
  return $output;
}