Fix: Meilleur respet W3C

This commit is contained in:
Laurent Destailleur 2005-08-21 18:55:34 +00:00
parent 45327fe709
commit 7c2ef05a38

View File

@ -220,7 +220,7 @@ class Form
}
// Si traduction existe, on l'utilise, sinon on prend le libellé par défaut
if ($obj->code) { print $obj->code . ' - '; }
print ($obj->code && $langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->libelle!='-'?$obj->libelle:''));
print ($obj->code && $langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->libelle!='-'?$obj->libelle:' '));
print '</option>';
$i++;
}