Fix: mise en page

This commit is contained in:
Regis Houssin 2007-04-25 13:31:45 +00:00
parent af40def9d7
commit 04131df32c

View File

@ -262,16 +262,20 @@ if ($conf->global->DATABASE_PWD_ENCRYPTED == 0)
} }
print '<td align="center" width="100">'; print '<td align="center" width="100">';
if($conf->global->DATABASE_PWD_ENCRYPTED == 1 && $allow_disable_encryption) if($conf->global->DATABASE_PWD_ENCRYPTED == 1)
{ {
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 //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 //Do not allow "disable encryption" as passwords cannot be decrypted
print '<a href="security.php?action=disable_encrypt">'.$langs->trans("Disable").'</a>'; print '<a href="security.php?action=disable_encrypt">'.$langs->trans("Disable").'</a>';
} }
else else
{ {
print '-'; print '-';
}
} }
print "</td>"; print "</td>";
print "</td>"; print "</td>";
print '</tr>'; print '</tr>';