mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Group ordering on legend
git-svn-id: file:///svn/phpbb/trunk@6037 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a3570cd048
commit
90c514188a
2 changed files with 4 additions and 2 deletions
|
@ -39,7 +39,8 @@ $l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OT
|
||||||
$sql = 'SELECT group_id, group_name, group_colour, group_type
|
$sql = 'SELECT group_id, group_name, group_colour, group_type
|
||||||
FROM ' . GROUPS_TABLE . '
|
FROM ' . GROUPS_TABLE . '
|
||||||
WHERE group_legend = 1
|
WHERE group_legend = 1
|
||||||
AND group_type <> ' . GROUP_HIDDEN;
|
AND group_type <> ' . GROUP_HIDDEN . '
|
||||||
|
ORDER BY group_name ASC';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$legend = '';
|
$legend = '';
|
||||||
|
|
|
@ -324,7 +324,8 @@ $pagination = generate_pagination(append_sid("{$phpbb_root_path}viewonline.$phpE
|
||||||
// Grab group details for legend display
|
// Grab group details for legend display
|
||||||
$sql = 'SELECT group_id, group_name, group_colour, group_type
|
$sql = 'SELECT group_id, group_name, group_colour, group_type
|
||||||
FROM ' . GROUPS_TABLE . '
|
FROM ' . GROUPS_TABLE . '
|
||||||
WHERE group_legend = 1';
|
WHERE group_legend = 1
|
||||||
|
ORDER BY group_name ASC';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$legend = '';
|
$legend = '';
|
||||||
|
|
Loading…
Add table
Reference in a new issue