From 5834354491dfcf1158d82139515b3064faf4b831 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 18 Aug 2005 21:31:21 +0000 Subject: [PATCH] - bug 133 fixed : "Nb of images incorectly rendered in "tool tip" near category in category menu". Correction reported (and improved) from branch 1.4 git-svn-id: http://piwigo.org/svn/trunk@831 68402e56-0260-453c-a942-63ccdbb3a9ee --- doc/ChangeLog | 6 ++++++ include/functions_html.inc.php | 21 +++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 1aac74aaa..cdbee6e5c 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2005-08-18 Pierrick LE GALL + + * bug 133 fixed : "Nb of images incorectly rendered in "tool tip" + near category in category menu". Correction reported (and + improved) from branch 1.4 + 2005-08-18 Pierrick LE GALL * improvement : screen admin/picture_modify diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index dc5f8679c..b797d2657 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -394,24 +394,21 @@ function get_html_menu_category($categories) } $menu.= ' - - '.$category['name'].' - '; + '.$category['name'].''; if ($category['nb_images'] > 0) { $menu.= ' - - ['.$category['nb_images'].'] - - '.get_icon($category['date_last']); + '; + $menu.= '['.$category['nb_images'].']'; + $menu.= ''; + $menu.= get_icon($category['date_last']); } - $menu.= ''; + $menu.= ' + '; } $menu.= '