mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 15:16:16 +02:00
Danger Wil Robinson Danger! Paul is commiting files! Danger
git-svn-id: file:///svn/phpbb/trunk@4972 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
33d0903698
commit
f84ee572c3
@ -36,7 +36,7 @@ $l_total_post_s = ($total_posts == 0) ? 'TOTAL_POSTS_ZERO' : 'TOTAL_POSTS_OTHER'
|
||||
$l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OTHER';
|
||||
|
||||
// Grab group details for legend display
|
||||
$sql = 'SELECT group_name, group_colour, group_type
|
||||
$sql = 'SELECT group_id, group_name, group_colour, group_type
|
||||
FROM ' . GROUPS_TABLE . '
|
||||
WHERE group_legend = 1';
|
||||
$result = $db->sql_query($sql);
|
||||
@ -44,7 +44,7 @@ $result = $db->sql_query($sql);
|
||||
$legend = '';
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$legend .= (($legend != '') ? ', ' : '') . '<span style="color:#' . $row['group_colour'] . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</span>';
|
||||
$legend .= (($legend != '') ? ', ' : '') . '<a style="color:#' . $row['group_colour'] . '" href="memberlist.' . $phpEx . $SID . '&mode=group&g=' . $row['group_id'] . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</span>';
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
|
@ -125,7 +125,7 @@ if ($forum_data['forum_password'])
|
||||
// Redirect to login upon emailed notification links
|
||||
if (isset($_GET['e']) && $user->data['user_id'] == ANONYMOUS)
|
||||
{
|
||||
login_box($user->cur_page, '', $user->lang['LOGIN_NOTIFY_FORUM']);
|
||||
login_box('', $user->lang['LOGIN_NOTIFY_FORUM']);
|
||||
}
|
||||
|
||||
// Permissions check
|
||||
@ -136,7 +136,7 @@ if (!$auth->acl_get('f_read', $forum_id))
|
||||
trigger_error($user->lang['SORRY_AUTH_READ']);
|
||||
}
|
||||
|
||||
login_box($user->cur_page, '', $user->lang['LOGIN_VIEWFORUM']);
|
||||
login_box('', $user->lang['LOGIN_VIEWFORUM']);
|
||||
}
|
||||
|
||||
// Build navigation links
|
||||
|
@ -276,7 +276,7 @@ if (isset($_GET['e']))
|
||||
|
||||
if ($user->data['user_id'] == ANONYMOUS)
|
||||
{
|
||||
login_box($redirect_url . "&p=$post_id&e=$jump_to", '', $user->lang['LOGIN_NOTIFY_TOPIC']);
|
||||
login_box($redirect_url . "&p=$post_id&e=$jump_to", $user->lang['LOGIN_NOTIFY_TOPIC']);
|
||||
}
|
||||
else if ($jump_to > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user