forked from Wavyzz/dolibarr
Qual: Mutualize a lot of duplicate functions into functions.lib.php
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* \file htdocs/admin/security.php
|
||||
* \ingroup setup
|
||||
* \brief Page de configuration du module securite
|
||||
* \version $Id: security.php,v 1.56 2011/07/31 22:23:24 eldy Exp $
|
||||
* \version $Id: security.php,v 1.57 2011/08/17 15:56:23 eldy Exp $
|
||||
*/
|
||||
|
||||
require("../main.inc.php");
|
||||
@@ -268,8 +268,7 @@ foreach ($arrayhandler as $key => $module)
|
||||
print '<td width="100" align="center">';
|
||||
if ($conf->global->USER_PASSWORD_GENERATED == $key)
|
||||
{
|
||||
$title='';
|
||||
print img_tick($title);
|
||||
print img_picto('','tick');
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -302,7 +301,7 @@ print '<td colspan="3">'.$langs->trans("DoNotStoreClearPassword").'</td>';
|
||||
print '<td align="center" width="60">';
|
||||
if ($conf->global->DATABASE_PWD_ENCRYPTED)
|
||||
{
|
||||
print img_tick();
|
||||
print img_picto($langs->trans("Active"),'tick');
|
||||
}
|
||||
print '</td>';
|
||||
if (! $conf->global->DATABASE_PWD_ENCRYPTED)
|
||||
@@ -336,7 +335,7 @@ print '<td colspan="3">'.$langs->trans("MainDbPasswordFileConfEncrypted").'</td>
|
||||
print '<td align="center" width="60">';
|
||||
if (preg_match('/crypted:/i',$dolibarr_main_db_pass) || ! empty($dolibarr_main_db_encrypted_pass))
|
||||
{
|
||||
print img_tick();
|
||||
print img_picto($langs->trans("Active"),'tick');
|
||||
}
|
||||
|
||||
print '</td>';
|
||||
@@ -374,7 +373,7 @@ print '</td>';
|
||||
print '<td align="center" width="60">';
|
||||
if($conf->global->PDF_SECURITY_ENCRYPTION == 1)
|
||||
{
|
||||
print img_tick();
|
||||
print img_picto($langs->trans("Active"),'tick');
|
||||
}
|
||||
|
||||
print '</td>';
|
||||
@@ -402,7 +401,7 @@ print '<td colspan="3">'.$langs->trans("DisableForgetPasswordLinkOnLogonPage").'
|
||||
print '<td align="center" width="60">';
|
||||
if($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK == 1)
|
||||
{
|
||||
print img_tick();
|
||||
print img_picto($langs->trans("Active"),'tick');
|
||||
}
|
||||
print '</td>';
|
||||
if ($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK == 0)
|
||||
@@ -431,5 +430,5 @@ print '</div>';
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter('$Date: 2011/07/31 22:23:24 $ - $Revision: 1.56 $');
|
||||
llxFooter('$Date: 2011/08/17 15:56:23 $ - $Revision: 1.57 $');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user