egroupware/preferences/inc/hook_preferences.inc.php

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');
display_section('Preferences','Preferences',$file);
?>