You are here

function theme_menu_local_task in Drupal 6

Same name and namespace in other branches
  1. 4 includes/menu.inc \theme_menu_local_task()
  2. 5 includes/menu.inc \theme_menu_local_task()
  3. 7 includes/menu.inc \theme_menu_local_task()

Generate the HTML output for a single local task link.

Related topics

1 theme call to theme_menu_local_task()
menu_local_tasks in includes/menu.inc
Collects the local tasks (tabs) for a given level.

File

includes/menu.inc, line 1167
API for the Drupal menu system.

Code

function theme_menu_local_task($link, $active = FALSE) {
  return '<li ' . ($active ? 'class="active" ' : '') . '>' . $link . "</li>\n";
}