Index: includes/menu.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/menu.inc,v retrieving revision 1.335 diff -u -p -r1.335 menu.inc --- includes/menu.inc 19 Aug 2009 23:29:13 -0000 1.335 +++ includes/menu.inc 21 Aug 2009 14:42:40 -0000 @@ -1249,7 +1249,7 @@ function theme_menu_item_link($link) { $link['localized_options'] = array(); } - return l($link['title'], $link['href'], $link['localized_options']); + return l($link['title'] . (!empty($link['active']) ? ' (Active task)' : ''), $link['href'], $link['localized_options']); } /** @@ -1497,7 +1497,7 @@ function menu_local_tasks($level = 0, $r if ($item['type'] == MENU_DEFAULT_LOCAL_TASK) { // Find the first parent which is not a default local task. for ($p = $item['tab_parent']; $tasks[$p]['type'] == MENU_DEFAULT_LOCAL_TASK; $p = $tasks[$p]['tab_parent']); - $link = theme('menu_item_link', array('href' => $tasks[$p]['href']) + $item); + $link = theme('menu_item_link', array('href' => $tasks[$p]['href'], 'active' => TRUE) + $item); $tabs_current .= theme('menu_local_task', $link, TRUE); $next_path = $item['path']; }