aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-07-17 15:32:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-07-17 15:32:46 +0000
commit99a7ce5bbe92b1313a22db2d8dad51046dca26d9 (patch)
tree7926a5350a86f06e1c0b209d5a16674002750e98 /phpBB/posting.php
parent1a5e4f446a681b9dbf02951445bb1e2088bd435a (diff)
downloadforums-99a7ce5bbe92b1313a22db2d8dad51046dca26d9.tar
forums-99a7ce5bbe92b1313a22db2d8dad51046dca26d9.tar.gz
forums-99a7ce5bbe92b1313a22db2d8dad51046dca26d9.tar.bz2
forums-99a7ce5bbe92b1313a22db2d8dad51046dca26d9.tar.xz
forums-99a7ce5bbe92b1313a22db2d8dad51046dca26d9.zip
fix the schema files as well as other tiny bugs.
git-svn-id: file:///svn/phpbb/trunk@6190 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 3b8d007dbf..164fedb262 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -131,14 +131,14 @@ $result = $db->sql_query($sql);
$post_data = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
-$user->setup(array('posting', 'mcp', 'viewtopic'), $post_data['forum_style']);
-
if ($mode == 'popup')
{
upload_popup($post_data['forum_style']);
exit;
}
+$user->setup(array('posting', 'mcp', 'viewtopic'), $post_data['forum_style']);
+
// Use post_row values in favor of submitted ones...
$forum_id = (!empty($post_data['forum_id'])) ? (int) $post_data['forum_id'] : (int) $forum_id;
$topic_id = (!empty($post_data['topic_id'])) ? (int) $post_data['topic_id'] : (int) $topic_id;
@@ -1236,7 +1236,7 @@ function upload_popup($forum_style = 0)
($forum_style) ? $user->setup('posting', $forum_style) : $user->setup('posting');
- page_header('PROGRESS_BAR');
+ page_header($user->lang['PROGRESS_BAR']);
$template->set_filenames(array(
'popup' => 'posting_progress_bar.html')