You are here

function theme_rotor_tab in Rotor Banner 6

Same name and namespace in other branches
  1. 6.2 rotor.module \theme_rotor_tab()
  2. 7 rotor.module \theme_rotor_tab()

Theme for one Rotor tab.

Parameters

array $item The Rotor item whose tab is being displayed.:

2 calls to theme_rotor_tab()
theme_rotor_item in ./rotor.module
Theme for each Rotor item.
theme_rotor_tabs in ./rotor.module
Theme for the rotor tabs.

File

./rotor.module, line 580
A rotor banner consists in a set of images that will be changing. This module is made using jquery.

Code

function theme_rotor_tab($item) {
  return '<div class="rotor-tab">' . $item->title . '</div>';
}