aboutsummaryrefslogtreecommitdiffstats
path: root/tags.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-04 00:35:12 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-04 00:35:12 +0000
commitf33fdc91b2a5cb4ce0681df52b37ca5781660503 (patch)
treeb6e1d6653e5bd8f35b8d2bb016c173653a3abcf5 /tags.php
parent42abf4c57664d2596872d437f70b95193f9a5d18 (diff)
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
Diffstat (limited to 'tags.php')
-rw-r--r--tags.php4
1 files changed, 2 insertions, 2 deletions
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'],