mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 17:13:42 +02:00
- 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
This commit is contained in:
@@ -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.= '
|
||||
|
||||
Reference in New Issue
Block a user