You are here

function theme_rotor_tab in Rotor Banner 7

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

Theme for one Rotor tab.

Parameters

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

2 theme calls to theme_rotor_tab()
rotor-row-rotor.tpl.php in theme/rotor-row-rotor.tpl.php
views-view-unformatted.tpl.php Default simple view template to display a list of rows.
theme_rotor_tabs in ./rotor.module
Theme for the rotor tabs.

File

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

Code

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