mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fixed title for quoted replies
git-svn-id: file:///svn/phpbb/trunk@925 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f1bc3ef37f
commit
7dbfbde723
1 changed files with 6 additions and 7 deletions
|
@ -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")
|
||||||
|
|
Loading…
Add table
Reference in a new issue