egroupware/infolog/inc/hook_preferences.inc.php

31 lines
1.5 KiB
PHP
Raw Normal View History

2001-05-23 21:07:45 +02:00
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* Written by Ralf Becker <RalfBecker@outdoor-training.de> *
* ------------------------------------------------------- *
* 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$ */
{
// Only Modify the $file and $title variables.....
2001-11-23 21:05:08 +01:00
$file = array(
'Preferences' => $GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.preferences'),
2002-01-12 16:46:47 +01:00
'Grant Access' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
2002-01-12 05:55:35 +01:00
'Edit Categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True')
);
//Do not modify below this line
list($ver,$mayor,$minor,$ref) = explode('.',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
if ($minor > 14)
display_section($appname,$file);
else
display_section($appname,$appname,$file);
2001-05-23 21:07:45 +02:00
}
2001-05-23 21:07:45 +02:00
?>