You are here

function theme_submenu in Drupal 4

Same name and namespace in other branches
  1. 5 includes/theme.inc \theme_submenu()
  2. 6 includes/theme.inc \theme_submenu()

Return a themed submenu, typically displayed under the tabs.

Parameters

$links: An array of links.

Related topics

File

includes/theme.inc, line 652
The theme system, which controls the output of Drupal.

Code

function theme_submenu($links) {
  return '<div class="submenu">' . implode(' | ', $links) . '</div>';
}