forked from extern/egroupware
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$ */
|
/* $Id$ */
|
||||||
|
|
||||||
if (floor(phpversion()) == 4) {
|
|
||||||
global $phpgw, $phpgw_info, $treemenu;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Only Modify the $file variable.....
|
// Only Modify the $file variable.....
|
||||||
$file = Array();
|
$file = Array();
|
||||||
//Do not modify below this line
|
//Do not modify below this line
|
||||||
$font = $phpgw_info['theme']['font'];
|
display_manual_section($appname,$file);
|
||||||
$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);
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
@ -11,9 +11,6 @@
|
|||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
if (floor(phpversion()) == 4) {
|
|
||||||
global $phpgw, $phpgw_info, $treemenu;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Only Modify the $file variable.....
|
// Only Modify the $file variable.....
|
||||||
$file = Array(
|
$file = Array(
|
||||||
@ -22,22 +19,5 @@
|
|||||||
'Other' => 'other.php'
|
'Other' => 'other.php'
|
||||||
);
|
);
|
||||||
//Do not modify below this line
|
//Do not modify below this line
|
||||||
$font = $phpgw_info['theme']['font'];
|
display_manual_section($appname,$file);
|
||||||
$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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
@ -12,10 +12,6 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
if (floor(phpversion()) == 4) {
|
|
||||||
global $phpgw, $phpgw_info, $treemenu;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Only Modify the $file variable.....
|
// Only Modify the $file variable.....
|
||||||
$file = Array(
|
$file = Array(
|
||||||
'Viewing' => 'view.php',
|
'Viewing' => 'view.php',
|
||||||
@ -23,22 +19,5 @@
|
|||||||
'Edit/Deleting' => 'edit_delete.php'
|
'Edit/Deleting' => 'edit_delete.php'
|
||||||
);
|
);
|
||||||
//Do not modify below this line
|
//Do not modify below this line
|
||||||
$font = $phpgw_info['theme']['font'];
|
display_manual_section($appname,$file);
|
||||||
$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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
@ -12,32 +12,11 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
if (floor(phpversion()) == 4) {
|
|
||||||
global $phpgw, $phpgw_info, $treemenu;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Only Modify the $file variable.....
|
// Only Modify the $file variable.....
|
||||||
$file = Array(
|
$file = Array(
|
||||||
'Settings' => 'settings.php',
|
'Settings' => 'settings.php',
|
||||||
'Other' => 'other.php'
|
'Other' => 'other.php'
|
||||||
);
|
);
|
||||||
//Do not modify below this line
|
//Do not modify below this line
|
||||||
$font = $phpgw_info['theme']['font'];
|
display_manual_section($appname,$file);
|
||||||
$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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user