* * -------------------------------------------- * * 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. * \**************************************************************************/ 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'); $file['Change your Personal Data'] = $GLOBALS['phpgw']->link('/preferences/changepersonaldata.php'); if(isset($_SERVER['HTTPS'])) { if($GLOBALS['phpgw_info']['server']['certificado']==1) { # Testa se um certificado foi apresentado( nas variaveis do apache ou via header http) if($_SERVER["SSL_CLIENT_CERT"]) { $aux = $_SERVER["SSL_CLIENT_CERT"]; } else { $aux = $_SERVER["HTTP_SSL_CLIENT_CERT"]; } if($aux) { $file['Dados do certificado digital'] = $GLOBALS['phpgw']->link('/preferences/cert_info.php'); } } } display_section('preferences',$file); ?>