This should be the final format for the manual.

This commit is contained in:
skeeter 2001-05-08 01:17:31 +00:00
parent e21101da21
commit e9f9189cd9
3 changed files with 42 additions and 5 deletions

View File

@ -16,6 +16,10 @@
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.....
?> ?>

29
calendar/help/index.php Executable file
View File

@ -0,0 +1,29 @@
<?php
/**************************************************************************\
* phpGroupWare - User manual *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$phpgw_flags = Array(
'currentapp' => 'manual'
);
$phpgw_info['flags'] = $phpgw_flags;
include('../../header.inc.php');
?>
<img src="<?php echo $phpgw->common->image('calendar','navbar.gif'); ?>" border=0>
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
<p>
This app was based on <a href="http://webcalendar.sourceforge.net" target="_new">WebCalendar</a><br>
<p>
Transformed by <a href="<?php echo $phpgw->link('/email/compose.php','to=skeeter@phpgroupware.org'); ?>" target="_new">Mark A Peters (Skeeter)</a><br>
</font>
<?php
$phpgw->common->phpgw_footer();
?>

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'].'">Viewing</font>|'.$phpgw->link('/'.$appname.'/help/view.php')."\n"; $treemenu[] = '...<font face="'.$font.'">Viewing</font>|'.$phpgw->link('/'.$appname.'/help/view.php');
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Adding</font>|'.$phpgw->link('/'.$appname.'/help/add.php')."\n"; $treemenu[] = '...<font face="'.$font.'">Adding</font>|'.$phpgw->link('/'.$appname.'/help/add.php');
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Edit/Deleting</font>|'.$phpgw->link('/'.$appname.'/help/edit_delete.php')."\n"; $treemenu[] = '...<font face="'.$font.'">Edit/Deleting</font>|'.$phpgw->link('/'.$appname.'/help/edit_delete.php');
?> ?>