aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-08-18 21:31:21 +0000
committerplegall <plg@piwigo.org>2005-08-18 21:31:21 +0000
commit5834354491dfcf1158d82139515b3064faf4b831 (patch)
tree6ef078a114122bd45445b303c570544495092beb
parent4b9bc10cde25d43c813584f80416181e11274157 (diff)
- 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
-rw-r--r--doc/ChangeLog6
-rw-r--r--include/functions_html.inc.php21
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,5 +1,11 @@
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
rewritten. Presentation copied from admin/cat_modify : fieldsets
regroup fields. Ability to synchronize metadata for the displayed
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.= '
- <a href="'.$url.'"
- title="'.$lang['hint_category'].'"
- class="'.$class.'">
- '.$category['name'].'
- </a>';
+ <a href="'.$url.'" class="'.$class.'">'.$category['name'].'</a>';
if ($category['nb_images'] > 0)
{
$menu.= '
- <span class="menuInfoCat"
- title="'.$category['nb_images'].'
- '.$lang['images_available'].'">
- ['.$category['nb_images'].']
- </span>
- '.get_icon($category['date_last']);
+ <span class="menuInfoCat"';
+ $menu.= ' title="'.$category['nb_images'];
+ $menu.= ' '.$lang['images_available'].'">';
+ $menu.= '['.$category['nb_images'].']';
+ $menu.= '</span>';
+ $menu.= get_icon($category['date_last']);
}
- $menu.= '</li>';
+ $menu.= '
+ </li>';
}
$menu.= '