Optimize group name localize flag icon loading.

This commit is contained in:
Rooty 2024-03-11 09:50:14 +01:00
parent aaf8573c78
commit b7947fea74

View File

@ -140,8 +140,8 @@ Class AdminGroup extends CoordinationObj
$lib=$tab[$i]->getLibelle($defaultCode);
}
$img =$tab[$i]->getIcone();
$GLOBALS['SYSTEM_TEMPLATE']->MxImage("blocName.pictoLanguage", $img, htmlentitiesconv($lib));
// $img =$tab[$i]->getIcone();
$GLOBALS['SYSTEM_TEMPLATE']->MxImage("blocName.pictoLanguage", $tab[$i]->getIcone(), htmlentitiesconv($lib));
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("blocName.nameInput", "text", "nameLanguage".$tab[$i]->getCode(), "", "class=\"form\" required=\"true\" title=\"".htmlspecialchars(getMessage("TxtGroupName"), ENT_QUOTES)."\"", getMessage("TxtGroupName"));
//Récupère le nom de l'objet dans la langue correspondante à la boucle