diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index 20beb61372a..e519f801bd4 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -100,7 +100,7 @@ $cats = $c->get_main_categories (); if ($cats != -1) { print ''; - print ''; + print ''; foreach ($cats as $cat) { @@ -108,6 +108,16 @@ if ($cats != -1) print "\t\n"; print "\t\t\n"; print "\t\t\n"; + + if ($cat->visible == 1) + { + print "\t\t\n"; + } + else + { + print "\t\t\n"; + } + print "\t\n"; } print "
'.$langs->trans("MainCats").'
'.$langs->trans("MainCats").'
".$cat->label."".$cat->description."".$langs->trans("ContentsVisibleByAllShort")."".$langs->trans("ContentsNoVisibleByAllShort")."
";