aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-06-06 21:44:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-06-06 21:44:49 +0000
commitc2834abfae4ac9bc02cb245d1bdb5bf78802ec26 (patch)
tree6691f2409cd2af03de0ac49b1db42d47cce01704 /phpBB/posting.php
parentb3d98c8ba1b6f21b4a7c412b94ce5cae80cb4a40 (diff)
downloadforums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar
forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar.gz
forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar.bz2
forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar.xz
forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.zip
- 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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php8
1 files changed, 6 insertions, 2 deletions
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&amp;f=" . $forum_id,
'U_VIEWTOPIC' => ($mode != 'post') ? "viewtopic.$phpEx$SID&amp;$forum_id&amp;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 &amp; 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');
}