mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user