mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
More controlled manual app. Controller can be more easily modified bya single source.
This commit is contained in:
parent
cbffd8bd21
commit
7185c8fdb1
@ -12,21 +12,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
// Only Modify the $file variable.....
|
||||
$file = Array();
|
||||
//Do not modify below this line
|
||||
$font = $phpgw_info['theme']['font'];
|
||||
$navbar = $phpgw_info['user']['preferences']['common']['navbar_format'];
|
||||
$lang = strtoupper($phpgw_info['user']['preferences']['common']['lang']);
|
||||
$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');
|
||||
|
||||
$help_file = check_help_file($appname,$lang,$appname.'.php');
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">Overview</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
display_manual_section($appname,$file);
|
||||
?>
|
||||
|
@ -11,9 +11,6 @@
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
// Only Modify the $file variable.....
|
||||
$file = Array(
|
||||
@ -22,22 +19,5 @@
|
||||
'Other' => 'other.php'
|
||||
);
|
||||
//Do not modify below this line
|
||||
$font = $phpgw_info['theme']['font'];
|
||||
$navbar = $phpgw_info['user']['preferences']['common']['navbar_format'];
|
||||
$lang = strtoupper($phpgw_info['user']['preferences']['common']['lang']);
|
||||
$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');
|
||||
|
||||
$help_file = check_help_file($appname,$lang,$appname.'.php');
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">Overview</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
while(list($title,$filename) = each($file))
|
||||
{
|
||||
$help_file = check_help_file($appname,$lang,$filename);
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">'.$title.'</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
}
|
||||
display_manual_section($appname,$file);
|
||||
?>
|
||||
|
@ -12,10 +12,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
// Only Modify the $file variable.....
|
||||
$file = Array(
|
||||
'Viewing' => 'view.php',
|
||||
@ -23,22 +19,5 @@
|
||||
'Edit/Deleting' => 'edit_delete.php'
|
||||
);
|
||||
//Do not modify below this line
|
||||
$font = $phpgw_info['theme']['font'];
|
||||
$navbar = $phpgw_info['user']['preferences']['common']['navbar_format'];
|
||||
$lang = strtoupper($phpgw_info['user']['preferences']['common']['lang']);
|
||||
$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');
|
||||
|
||||
$help_file = check_help_file($appname,$lang,$appname.'.php');
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">Overview</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
while(list($title,$filename) = each($file))
|
||||
{
|
||||
$help_file = check_help_file($appname,$lang,$filename);
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">'.$title.'</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
}
|
||||
display_manual_section($appname,$file);
|
||||
?>
|
||||
|
@ -12,32 +12,11 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
// Only Modify the $file variable.....
|
||||
$file = Array(
|
||||
'Settings' => 'settings.php',
|
||||
'Settings' => 'settings.php',
|
||||
'Other' => 'other.php'
|
||||
);
|
||||
//Do not modify below this line
|
||||
$font = $phpgw_info['theme']['font'];
|
||||
$navbar = $phpgw_info['user']['preferences']['common']['navbar_format'];
|
||||
$lang = strtoupper($phpgw_info['user']['preferences']['common']['lang']);
|
||||
$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');
|
||||
|
||||
$help_file = check_help_file($appname,$lang,$appname.'.php');
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">Overview</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
while(list($title,$filename) = each($file))
|
||||
{
|
||||
$help_file = check_help_file($appname,$lang,$filename);
|
||||
if($help_file != '')
|
||||
{
|
||||
$treemenu[] = '...<font face="'.$font.'">'.$title.'</font>|'.$phpgw->link($help_file);
|
||||
}
|
||||
}
|
||||
display_manual_section($appname,$file);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user