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 '
| '.$langs->trans("Encryption").' | '; print ''.$langs->trans("Activated").' | '; -if ($conf->global->DATABASE_PWD_ENCRYPTED == 0 || $allow_disable_encryption) -{ - print ''.$langs->trans("Action").' | '; -} +print ''.$langs->trans("Action").' | '; print '||
| '; 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 " | "; } - +else +{ + print '-'; +} +print ""; print ""; print '||||