mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
oops
git-svn-id: file:///svn/phpbb/trunk@3107 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1e8cc35b2a
commit
afd03ff1b8
@ -184,7 +184,7 @@ function make_jumpbox($action, $forum_id = false)
|
||||
{
|
||||
global $auth, $template, $user, $db, $nav_links, $phpEx;
|
||||
|
||||
$boxstring = '<select name="f" onChange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"><option value="-1">' . $user->lang['Select_forum'] . '</option><option value="-1">-----------------</option>';
|
||||
$boxstring = '<input type="hidden" name="sid" value="' . $user->session_id . '" /><select name="f" onChange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"><option value="-1">' . $user->lang['Select_forum'] . '</option><option value="-1">-----------------</option>';
|
||||
|
||||
$sql = 'SELECT forum_id, forum_name, forum_postable, left_id, right_id
|
||||
FROM ' . FORUMS_TABLE . '
|
||||
@ -248,6 +248,7 @@ function make_jumpbox($action, $forum_id = false)
|
||||
{
|
||||
$boxstring .= '<option value="-1">' . $user->lang['No_forums'] . '</option>';
|
||||
}
|
||||
|
||||
$boxstring .= '</select>';
|
||||
|
||||
$template->assign_vars(array(
|
||||
|
@ -65,7 +65,7 @@ $prev_user_ip = '';
|
||||
$reading_sql = '';
|
||||
if (!empty($_REQUEST['f']))
|
||||
{
|
||||
$reading_sql = 'AND s.session_page LIKE \'%f=' . intval($_GET['f'])) . '%\'';
|
||||
$reading_sql = 'AND s.session_page LIKE \'%f=' . intval($_REQUEST['f']) . '%\'';
|
||||
}
|
||||
|
||||
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_colour, s.session_ip
|
||||
@ -125,7 +125,7 @@ if (empty($online_userlist))
|
||||
$online_userlist = $user->lang['None'];
|
||||
}
|
||||
|
||||
if (empty($_GET['f']))
|
||||
if (empty($_REQUEST['f']))
|
||||
{
|
||||
$online_userlist = $user->lang['Registered_users'] . ' ' . $online_userlist;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user