Fixed title for quoted replies

git-svn-id: file:///svn/phpbb/trunk@925 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-08-23 15:55:35 +00:00
parent f1bc3ef37f
commit 7dbfbde723

View file

@ -1172,8 +1172,12 @@ if($mode == "newtopic")
{ {
$post_a = $lang['Post_a_new_topic']; $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']; $post_a = $lang['Post_a_reply'];
} }
else if($mode == "editpost") else if($mode == "editpost")
@ -1495,13 +1499,8 @@ if($mode == "newtopic")
{ {
$hidden_form_fields .= "<input type=\"hidden\" name=\"" . POST_FORUM_URL . "\" value=\"$forum_id\" />"; $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\" />"; $hidden_form_fields .= "<input type=\"hidden\" name=\"" . POST_TOPIC_URL . "\" value=\"$topic_id\" />";
} }
else if($mode == "editpost") else if($mode == "editpost")