egroupware_official/calendar/inc/hook_manual.inc.php

29 lines
1.7 KiB
PHP
Executable File

<?php
/**************************************************************************\
* phpGroupWare - Calendar Holidays *
* http://www.phpgroupware.org *
* Written by Mark Peters <skeeter@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$ */
if (floor(phpversion()) == 4) {
global $phpgw, $phpgw_info, $treemenu;
}
$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.....
$treemenu[] = '...<font face="'.$font.'">Viewing</font>|'.$phpgw->link('/'.$appname.'/help/view.php');
$treemenu[] = '...<font face="'.$font.'">Adding</font>|'.$phpgw->link('/'.$appname.'/help/add.php');
$treemenu[] = '...<font face="'.$font.'">Edit/Deleting</font>|'.$phpgw->link('/'.$appname.'/help/edit_delete.php');
?>