aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-08-23 15:55:35 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-08-23 15:55:35 +0000
commit7dbfbde723e06419fba8d029db3962fc476fadbe (patch)
treebbc9062691a5ca29f24988c828edf8ec4948a68d
parentf1bc3ef37fc07c9226c7f99739f2f89207449ffe (diff)
downloadforums-7dbfbde723e06419fba8d029db3962fc476fadbe.tar
forums-7dbfbde723e06419fba8d029db3962fc476fadbe.tar.gz
forums-7dbfbde723e06419fba8d029db3962fc476fadbe.tar.bz2
forums-7dbfbde723e06419fba8d029db3962fc476fadbe.tar.xz
forums-7dbfbde723e06419fba8d029db3962fc476fadbe.zip
Fixed title for quoted replies
git-svn-id: file:///svn/phpbb/trunk@925 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/posting.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index ef7a600571..4882704f5c 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1172,8 +1172,12 @@ if($mode == "newtopic")
{
$post_a = $lang['Post_a_new_topic'];
}
-else if($mode == "reply")
+else if($mode == "reply" || $mode == "quote")
{
+ //
+ // Set mode to reply
+ //
+ $mode = "reply";
$post_a = $lang['Post_a_reply'];
}
else if($mode == "editpost")
@@ -1495,13 +1499,8 @@ if($mode == "newtopic")
{
$hidden_form_fields .= "<input type=\"hidden\" name=\"" . POST_FORUM_URL . "\" value=\"$forum_id\" />";
}
-else if($mode == "reply" || $mode == "quote")
+else if($mode == "reply")
{
- //
- // Reset mode to reply if quote is in effect
- // to allow proper handling by submit/preview
- //
- $mode = "reply";
$hidden_form_fields .= "<input type=\"hidden\" name=\"" . POST_TOPIC_URL . "\" value=\"$topic_id\" />";
}
else if($mode == "editpost")