source: branches/2.2.0.1/preferences/inc/hook_preferences.inc.php @ 3991

Revision 3991, 1.5 KB checked in by rafaelraymundo, 13 years ago (diff)

Ticket #1739 - Login com certificado em atributo customizável

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * phpGroupWare                                                             *
4  * http://www.phpgroupware.org                                              *
5  * Written by Joseph Engo <jengo@phpgroupware.org>                          *
6  * --------------------------------------------                             *
7  *  This program is free software; you can redistribute it and/or modify it *
8  *  under the terms of the GNU General Public License as published by the   *
9  *  Free Software Foundation; either version 2 of the License, or (at your  *
10  *  option) any later version.                                              *
11  \**************************************************************************/
12
13
14        if ($GLOBALS['phpgw']->acl->check('changepassword',1))
15        {
16                $file['Change your Password'] = $GLOBALS['phpgw']->link('/preferences/changepassword.php');
17        }
18        if (isset($GLOBALS['phpgw_info']['server']['certificado']))
19            {
20                if ($GLOBALS['phpgw_info']['server']['certificado'])
21                {
22                        $file['Register Digital Certificate'] = $GLOBALS['phpgw']->link('/preferences/handlecertificate.php');
23                }
24            }
25        $file['change your settings'] = $GLOBALS['phpgw']->link('/preferences/preferences.php','appname=preferences');
26       
27        $file['Change your Personal Data'] = $GLOBALS['phpgw']->link('/preferences/changepersonaldata.php');
28
29        display_section('preferences',$file);
30
31?>
Note: See TracBrowser for help on using the repository browser.