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"; ?>