function theme_menu_local_tasks

Same name and namespace in other branches
  1. 7.x drupal-7.x/includes/menu.inc \theme_menu_local_tasks()

Returns the rendered local tasks. The default implementation renders them as tabs.

Related topics

2 theme calls to theme_menu_local_tasks()
chameleon_page in drupal-6.x/themes/chameleon/chameleon.theme
template_preprocess_page in drupal-6.x/includes/theme.inc
Process variables for page.tpl.php

Archivo

drupal-6.x/includes/menu.inc, line 1459
API for the Drupal menu system.

Código

function theme_menu_local_tasks() {
  $output = '';

  if ($primary = menu_primary_local_tasks()) {
    $output .= "<ul class=\"tabs primary\">\n" . $primary . "</ul>\n";
  }
  if ($secondary = menu_secondary_local_tasks()) {
    $output .= "<ul class=\"tabs secondary\">\n" . $secondary . "</ul>\n";
  }

  return $output;
}