small fixes for consistency.

This commit is contained in:
skeeter 2001-05-08 17:25:13 +00:00
parent 7cb10e7c49
commit 76a9cfebe4
2 changed files with 14 additions and 6 deletions

View File

@ -16,9 +16,13 @@
global $phpgw, $phpgw_info, $treemenu; 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"; $font = $phpgw_info['theme']['font'];
$navbar = $phpgw_info['user']['preferences']['common']['navbar_format'];
$treemenu[] = '..'.($navbar != 'text'?'<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">':'').($navbar != 'icons'?'<font face="'.$font.'">'.ucwords($appname).'</font>':'').'|'.$phpgw->link('/'.$appname.'/help/index.php');
$treemenu[] = '...<font face="'.$font.'">Overview</font>|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php');
// Modify the $treemenu variables from here down..... // 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="'.$font.'">Account Management</font>|'.$phpgw->link('/'.$appname.'/help/account.php');
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Session Management</font>|'.$phpgw->link('/'.$appname.'/help/session.php')."\n"; $treemenu[] = '...<font face="'.$font.'">Session Management</font>|'.$phpgw->link('/'.$appname.'/help/session.php');
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Other</font>|'.$phpgw->link('/'.$appname.'/help/other.php')."\n"; $treemenu[] = '...<font face="'.$font.'">Other</font>|'.$phpgw->link('/'.$appname.'/help/other.php');
?> ?>

View File

@ -16,8 +16,12 @@
global $phpgw, $phpgw_info, $treemenu; 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"; $font = $phpgw_info['theme']['font'];
$navbar = $phpgw_info['user']['preferences']['common']['navbar_format'];
$treemenu[] = '..'.($navbar != 'text'?'<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">':'').($navbar != 'icons'?'<font face="'.$font.'">'.ucwords($appname).'</font>':'').'|'.$phpgw->link('/'.$appname.'/help/index.php');
$treemenu[] = '...<font face="'.$font.'">Overview</font>|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php');
// Modify the $treemenu variables from here down..... // Modify the $treemenu variables from here down.....
$treemenu[] = '...<font face="'.$phpgw_info['theme']['font'].'">Settings</font>|/'.$appname.'/help/settings.php'."\n"; $treemenu[] = '...<font face="'.$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'].'">Other</font>|/'.$appname.'/help/other.php'."\n";
?> ?>