Fix: Load lang files of modules

This commit is contained in:
Laurent Destailleur
2008-09-29 23:34:56 +00:00
parent 88a630eb74
commit 7ac2bc014b

View File

@@ -326,6 +326,16 @@ foreach ($orders as $key => $value)
$const_name = $objMod->const_name;
// Load all lang files of module
if (is_array($objMod->langfiles))
{
foreach($objMod->langfiles as $domain)
{
$langs->load($domain);
}
}
// Print a separator if we change family
if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
print "<tr class=\"liste_titre\">\n <td colspan=\"9\"></td>\n</tr>\n";
$atleastoneforfamily=0;