From 04131df32c7a580343d23883aa5c80caadc40cc3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 25 Apr 2007 13:31:45 +0000 Subject: [PATCH] Fix: mise en page --- htdocs/admin/security.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index 8a2b77c82a6..18c03319e80 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -262,16 +262,20 @@ if ($conf->global->DATABASE_PWD_ENCRYPTED == 0) } print ''; -if($conf->global->DATABASE_PWD_ENCRYPTED == 1 && $allow_disable_encryption) +if($conf->global->DATABASE_PWD_ENCRYPTED == 1) { - //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 ''.$langs->trans("Disable").''; -} -else -{ - print '-'; + if ($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 ''.$langs->trans("Disable").''; + } + else + { + print '-'; + } } + print ""; print ""; print '';