From 58d77b3ddfd23d3007ad57e1577b8bf6514c2178 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 8 May 2001 10:34:12 +0000 Subject: [PATCH] Change treemenu to an array --- admin/inc/hook_manual.inc.php | 8 ++++---- preferences/inc/hook_manual.inc.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/inc/hook_manual.inc.php b/admin/inc/hook_manual.inc.php index 14f69f7fb7..b88784272b 100755 --- a/admin/inc/hook_manual.inc.php +++ b/admin/inc/hook_manual.inc.php @@ -16,9 +16,9 @@ global $phpgw, $phpgw_info, $treemenu; } - $treemenu .= '..'.ucwords($appname).''.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n"; + $treemenu[] = '..'.ucwords($appname).''.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n"; // Modify the $treemenu variables from here down..... - $treemenu .= '...Account Management|'.$phpgw->link('/'.$appname.'/help/account.php')."\n"; - $treemenu .= '...Session Management|'.$phpgw->link('/'.$appname.'/help/session.php')."\n"; - $treemenu .= '...Other|'.$phpgw->link('/'.$appname.'/help/other.php')."\n"; + $treemenu[] = '...Account Management|'.$phpgw->link('/'.$appname.'/help/account.php')."\n"; + $treemenu[] = '...Session Management|'.$phpgw->link('/'.$appname.'/help/session.php')."\n"; + $treemenu[] = '...Other|'.$phpgw->link('/'.$appname.'/help/other.php')."\n"; ?> diff --git a/preferences/inc/hook_manual.inc.php b/preferences/inc/hook_manual.inc.php index 480b97c78d..4f43d90ae1 100755 --- a/preferences/inc/hook_manual.inc.php +++ b/preferences/inc/hook_manual.inc.php @@ -16,8 +16,8 @@ global $phpgw, $phpgw_info, $treemenu; } - $treemenu .= '..'.ucwords($appname).''.ucwords($appname).'|/'.$appname.'/help/'.$appname.'.php'."\n"; + $treemenu[] = '..'.ucwords($appname).''.ucwords($appname).'|/'.$appname.'/help/'.$appname.'.php'."\n"; // Modify the $treemenu variables from here down..... - $treemenu .= '...Settings|/'.$appname.'/help/settings.php'."\n"; - $treemenu .= '...Other|/'.$appname.'/help/other.php'."\n"; + $treemenu[] = '...Settings|/'.$appname.'/help/settings.php'."\n"; + $treemenu[] = '...Other|/'.$appname.'/help/other.php'."\n"; ?>