fix: sql query erros when: no items for the selected tag, search returns

no result, caddie is empty

fix: tag cloud was showing least used tags

fix: strip html tags from head/title element on the page
(tag index page title contained <a>...)

improvement: added 5 tag levels in css for "ready to use" tags

fix: corrected png icon calendar_created.png for IE

fix: english language for nbm

git-svn-id: http://piwigo.org/svn/trunk@1120 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-04-04 00:35:12 +00:00
parent 42abf4c576
commit f33fdc91b2
9 changed files with 85 additions and 71 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ function counter_compare($a, $b)
return tag_id_compare($a, $b);
}
return ($a['counter'] < $b['counter']) ? -1 : 1;
return ($a['counter'] < $b['counter']) ? +1 : -1;
}
function tag_id_compare($a, $b)
@@ -102,7 +102,7 @@ foreach ($tags as $tag)
),
)
),
'NAME' => $tag['name'],
'TITLE' => $tag['counter'],
'CLASS' => 'tagLevel'.$tag['level'],