Download & Extend

Question about phptemplate_variables

Project:PHPTemplate
Version:master
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I've been reading this node (Primary links menu active trail - yet another method) and have replaced phptemplate_variables accordingly. The problem is that now $tabs2 don't come up. Could anybody tell me how to implement $tabs2 in this function?:

<?php
function _phptemplate_variables($hook, $vars = array()) {
  switch (
$hook) {
    case
'page':
     
// reset primary & secondary to use our own function
     
$vars['primary_links'] = new_primary_links();
     
$vars['secondary_links'] = new_secondary_links();
      break;
  }
   if (
module_exists('advanced_forum')) {
   
$vars = advanced_forum_addvars($hook, $vars);
  }
  return
$vars;
}
?>

Thank you
nobody click here