Change treemenu to an array

This commit is contained in:
Miles Lott 2001-05-08 10:34:12 +00:00
parent 24fb82eb64
commit 58d77b3ddf
2 changed files with 7 additions and 7 deletions

View File

@ -16,9 +16,9 @@
global $phpgw, $phpgw_info, $treemenu;
}
$treemenu .= '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n";
$treemenu[] = '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n";
// Modify the $treemenu variables from here down.....
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Account Management</font>|'.$phpgw->link('/'.$appname.'/help/account.php')."\n";
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Session Management</font>|'.$phpgw->link('/'.$appname.'/help/session.php')."\n";
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Other</font>|'.$phpgw->link('/'.$appname.'/help/other.php')."\n";
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Account Management</font>|'.$phpgw->link('/'.$appname.'/help/account.php')."\n";
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Session Management</font>|'.$phpgw->link('/'.$appname.'/help/session.php')."\n";
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Other</font>|'.$phpgw->link('/'.$appname.'/help/other.php')."\n";
?>

View File

@ -16,8 +16,8 @@
global $phpgw, $phpgw_info, $treemenu;
}
$treemenu .= '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|/'.$appname.'/help/'.$appname.'.php'."\n";
$treemenu[] = '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|/'.$appname.'/help/'.$appname.'.php'."\n";
// Modify the $treemenu variables from here down.....
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Settings</font>|/'.$appname.'/help/settings.php'."\n";
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Other</font>|/'.$appname.'/help/other.php'."\n";
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Settings</font>|/'.$appname.'/help/settings.php'."\n";
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Other</font>|/'.$appname.'/help/other.php'."\n";
?>