From c2834abfae4ac9bc02cb245d1bdb5bf78802ec26 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 6 Jun 2004 21:44:49 +0000 Subject: - added folder_moved image - new feature: bookmark topics - fixed post details link - added confirmation screen to cookie deletion git-svn-id: file:///svn/phpbb/trunk@4912 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'phpBB/posting.php') diff --git a/phpBB/posting.php b/phpBB/posting.php index 0b435adab2..c545718711 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -55,7 +55,7 @@ if ($cancel || ($current_time - $lastclick < 2 && $submit)) redirect($redirect); } -if (in_array($mode, array('post', 'reply', 'quote', 'edit', 'delete')) && !$forum_id) +if (in_array($mode, array('post', 'reply', 'quote', 'edit', 'delete', 'popup')) && !$forum_id) { trigger_error('NO_FORUM'); } @@ -964,7 +964,7 @@ $template->assign_vars(array( 'U_VIEW_FORUM' => "viewforum.$phpEx$SID&f=" . $forum_id, 'U_VIEWTOPIC' => ($mode != 'post') ? "viewtopic.$phpEx$SID&$forum_id&t=$topic_id" : '', - 'U_PROGRESS_BAR' => "posting.$phpEx$SID&mode=popup", + 'U_PROGRESS_BAR' => "posting.$phpEx$SID&f=$forum_id&mode=popup", // do NOT replace & with & here 'S_PRIVMSGS' => false, 'S_CLOSE_PROGRESS_WINDOW' => isset($_POST['add_file']), @@ -2025,6 +2025,10 @@ function upload_popup($forum_style) 'popup' => 'posting_progress_bar.html') ); + $template->assign_vars(array( + 'PROGRESS_BAR' => $user->img('attach_progress_bar', $user->lang['UPLOAD_IN_PROGRESS'])) + ); + $template->display('popup'); } -- cgit v1.2.1