aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-11-27 15:15:12 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-11-27 15:15:12 +0000
commitafd03ff1b86103653e914aa38251ea2581c59bc6 (patch)
tree48c96139139005b358233c208b516294bcec5d87 /phpBB/includes/functions.php
parent1e8cc35b2a3803cce3810d4a7a9970b219462b72 (diff)
downloadforums-afd03ff1b86103653e914aa38251ea2581c59bc6.tar
forums-afd03ff1b86103653e914aa38251ea2581c59bc6.tar.gz
forums-afd03ff1b86103653e914aa38251ea2581c59bc6.tar.bz2
forums-afd03ff1b86103653e914aa38251ea2581c59bc6.tar.xz
forums-afd03ff1b86103653e914aa38251ea2581c59bc6.zip
oops
git-svn-id: file:///svn/phpbb/trunk@3107 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 729c1c8120..09cb5b365f 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -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(