diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 21dcf0834..c08ca525e 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -346,25 +346,21 @@ function get_html_menu_category($categories) $level = substr_count($category['global_rank'], '.') + 1; if ($level > $ref_level) { - $menu.= ' - ",($ref_level-$level)); } $ref_level = $level; - $menu.= ' - - '.$category['name'].''; + $menu.= "\n".''.$category['name'].''; if ($category['nb_images'] > 0) { - $menu.= ' - '; $menu.= '['.$category['nb_images'].']'; @@ -388,9 +382,8 @@ function get_html_menu_category($categories) $menu.= get_icon($category['date_last']); } } - - $menu.= ' - '; + + $menu.= str_repeat("\n",($level)); return $menu; }