From 76a9cfebe459f83f82f37091f1d606a681aef666 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 8 May 2001 17:25:13 +0000 Subject: [PATCH] small fixes for consistency. --- admin/inc/hook_manual.inc.php | 12 ++++++++---- preferences/inc/hook_manual.inc.php | 8 ++++++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/admin/inc/hook_manual.inc.php b/admin/inc/hook_manual.inc.php index b88784272b..7208da11cd 100755 --- a/admin/inc/hook_manual.inc.php +++ b/admin/inc/hook_manual.inc.php @@ -16,9 +16,13 @@ global $phpgw, $phpgw_info, $treemenu; } - $treemenu[] = '..'.ucwords($appname).''.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n"; + $font = $phpgw_info['theme']['font']; + $navbar = $phpgw_info['user']['preferences']['common']['navbar_format']; + + $treemenu[] = '..'.($navbar != 'text'?''.ucwords($appname).'':'').($navbar != 'icons'?''.ucwords($appname).'':'').'|'.$phpgw->link('/'.$appname.'/help/index.php'); + $treemenu[] = '...Overview|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php'); // 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'); + $treemenu[] = '...Session Management|'.$phpgw->link('/'.$appname.'/help/session.php'); + $treemenu[] = '...Other|'.$phpgw->link('/'.$appname.'/help/other.php'); ?> diff --git a/preferences/inc/hook_manual.inc.php b/preferences/inc/hook_manual.inc.php index 4f43d90ae1..75a18a3df6 100755 --- a/preferences/inc/hook_manual.inc.php +++ b/preferences/inc/hook_manual.inc.php @@ -16,8 +16,12 @@ global $phpgw, $phpgw_info, $treemenu; } - $treemenu[] = '..'.ucwords($appname).''.ucwords($appname).'|/'.$appname.'/help/'.$appname.'.php'."\n"; + $font = $phpgw_info['theme']['font']; + $navbar = $phpgw_info['user']['preferences']['common']['navbar_format']; + + $treemenu[] = '..'.($navbar != 'text'?''.ucwords($appname).'':'').($navbar != 'icons'?''.ucwords($appname).'':'').'|'.$phpgw->link('/'.$appname.'/help/index.php'); + $treemenu[] = '...Overview|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php'); // Modify the $treemenu variables from here down..... - $treemenu[] = '...Settings|/'.$appname.'/help/settings.php'."\n"; + $treemenu[] = '...Settings|/'.$appname.'/help/settings.php'."\n"; $treemenu[] = '...Other|/'.$appname.'/help/other.php'."\n"; ?>