mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-02 19:42:54 +02:00
TokenInput : order tags, theme for roma, 'new' text translated
git-svn-id: http://piwigo.org/svn/trunk@11008 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -2100,6 +2100,7 @@ function get_active_menu($menu_page)
|
||||
function get_fckb_taglist($query)
|
||||
{
|
||||
$result = pwg_query($query);
|
||||
|
||||
$taglist = array();
|
||||
while ($row = pwg_db_fetch_assoc($result))
|
||||
{
|
||||
@@ -2111,7 +2112,10 @@ function get_fckb_taglist($query)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$cmp = create_function('$a,$b', 'return strcasecmp($a["name"], $b["name"]);');
|
||||
usort($taglist, $cmp);
|
||||
|
||||
return $taglist;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user