diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index 2bcc06e8165..7760e28be68 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -234,10 +234,7 @@ print ''; print ''; print ''; print ''; -if ($conf->global->DATABASE_PWD_ENCRYPTED == 0 || $allow_disable_encryption) -{ - print ''; -} +print ''; print ''; print ""; @@ -255,15 +252,19 @@ if ($conf->global->DATABASE_PWD_ENCRYPTED == 0) print ''.$langs->trans("Activate").''; print ""; } + +print '"; } - +else +{ + print '-'; +} +print ""; print ""; print '';
'.$langs->trans("Encryption").''.$langs->trans("Activated").''.$langs->trans("Action").''.$langs->trans("Action").'
'; if($conf->global->DATABASE_PWD_ENCRYPTED == 1 && $allow_disable_encryption) { //On n'autorise pas l'annulation de l'encryption car les mots de passe ne peuvent pas être décodés //Do not allow "disable encryption" as passwords cannot be decrypted - print ''; print ''.$langs->trans("Disable").''; - print "