diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index f85c0054c0c..a5e5f4c7c62 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -219,7 +219,7 @@ foreach ($dirlist as $dirroot) { $modules[$i] = $objMod; $filename[$i]= $modName; - $orders[$i] = "$objMod->family"."_".$j; // Tri par famille puis numero module + $orders[$i] = $objMod->family."_".$j; // Tri par famille puis numero module //print "x".$modName." ".$orders[$i]."\n
"; $categ[$objMod->special]++; // Array of all different modules categories $dirmod[$i] = $dirroot; @@ -233,6 +233,7 @@ foreach ($dirlist as $dirroot) } asort($orders); +//var_dump($orders); // Affichage debut page @@ -340,7 +341,10 @@ foreach ($orders as $key => $value) print " "; if ($family!=$oldfamily) { - print "
".$familylib[$family]."
"; + $familytext=empty($familylib[$family])?$family:$familylib[$family]; + print "
"; + print $familytext; + print "
"; $oldfamily=$family; } else