egroupware_official/preferences/inc/hook_preferences.inc.php
2002-11-04 00:50:18 +00:00

24 lines
1.1 KiB
PHP

<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* 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. *
\**************************************************************************/
/* $Id$ */
if ($GLOBALS['phpgw']->acl->check('changepassword',1))
{
$file['Change your Password'] = $GLOBALS['phpgw']->link('/preferences/changepassword.php');
}
$file['change your settings'] = $GLOBALS['phpgw']->link('/preferences/preferences.php','appname=preferences&type=user');
display_section('preferences',$file);
?>