From f33fdc91b2a5cb4ce0681df52b37ca5781660503 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 4 Apr 2006 00:35:12 +0000 Subject: 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 ...) 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 --- tags.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tags.php') diff --git a/tags.php b/tags.php index e61ee1f24..bd6a53b90 100644 --- a/tags.php +++ b/tags.php @@ -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'], -- cgit v1.2.3