phptemplate_menu_local_tasks

Versions
5 – 6
phptemplate_menu_local_tasks()

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

Related topics

Code

themes/garland/template.php, line 81

<?php
function phptemplate_menu_local_tasks() {
  $output = '';

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

  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.