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 '
| '.$langs->trans("MainCats").' | |||
| '.$langs->trans("MainCats").' | |||
| ".$cat->label." | \n"; print "\t\t".$cat->description." | \n"; + + if ($cat->visible == 1) + { + print "\t\t".$langs->trans("ContentsVisibleByAllShort")." | \n"; + } + else + { + print "\t\t".$langs->trans("ContentsNoVisibleByAllShort")." | \n"; + } + print "\t