egroupware_official/addressbook/inc/hook_preferences.inc.php

27 lines
1.4 KiB
PHP
Raw Normal View History

<?php
/**************************************************************************\
2004-01-25 23:02:59 +01:00
* eGroupWare *
* http://www.egroupware.org *
2000-12-15 23:09:13 +01:00
* Written by Joseph Engo <jengo@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. *
\**************************************************************************/
2001-03-08 10:56:18 +01:00
/* $Id$ */
{
// Only Modify the $file and $title variables.....
$title = $appname;
$file = array();
$file['Preferences'] = $GLOBALS['egw']->link('/index.php','menuaction=addressbook.uiaddressbook.preferences');
if(!$GLOBALS['egw_info']['server']['deny_user_grants_access'])
$file['Grant Access'] = $GLOBALS['egw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname);
$file['Edit Categories'] = $GLOBALS['egw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='.$appname . '&cats_level=True&global_cats=True');
//Do not modify below this line
display_section($appname,$title,$file);
}
?>