Override or insert PHPTemplate variables into the templates.

File

themes/garland/template.php, line 57

Code

function _phptemplate_variables($hook, $vars) {
  if ($hook == 'page') {
    if ($secondary = menu_secondary_local_tasks()) {
      $output = '<span class="clear"></span>';
      $output .= "<ul class=\"tabs secondary\">\n" . $secondary . "</ul>\n";
      $vars['tabs2'] = $output;
    }

    // Hook into color.module
    if (module_exists('color')) {
      _color_page_alter($vars);
    }
    return $vars;
  }
  return array();
}