From 273314d0be7040e31b1db7621a4af59619271737 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 23 Jul 2001 16:43:10 +0000 Subject: [PATCH] Noted HTML,BBCode,Smilies status for signatures git-svn-id: file:///svn/phpbb/trunk@733 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/language/lang_english.php | 5 ++++ phpBB/posting.php | 19 +++++++++++---- phpBB/profile.php | 13 +++++++++- phpBB/templates/Default/posting_body.tpl | 2 +- phpBB/templates/Default/profile_add_body.tpl | 2 +- phpBB/templates/PSO/posting_body.tpl | 25 ++++---------------- phpBB/templates/PSO/profile_add_body.tpl | 2 +- 7 files changed, 40 insertions(+), 28 deletions(-) diff --git a/phpBB/language/lang_english.php b/phpBB/language/lang_english.php index c5b5587a2b..9ddea7bf53 100755 --- a/phpBB/language/lang_english.php +++ b/phpBB/language/lang_english.php @@ -373,6 +373,11 @@ $lang['Public_view_email'] = "Always show my Email Address"; $lang['password_if_changed'] = "You only need to supply a password if you want to change it"; $lang['password_confirm_if_changed'] = "You only need to confirm your password if you changed it above"; +$lang['is'] = "is"; // follows HTML or BBCode +$lang['are'] = "are"; // follows Smilies +$lang['OFF'] = "OFF"; +$lang['ON'] = "ON"; + $lang['Avatar'] = "Avatar"; $lang['Avatar_explain'] = "Displays a small graphic image below your details in posts. Only one image can be displayed at a time, its width can be no greater than " . $board_config['avatar_max_width'] . " pixels, a height no greater than " . $board_config['avatar_max_height'] . " pixels and a file size no more than " . (round($board_config['avatar_filesize'] / 1024)) . " kB."; $lang['Upload_Avatar_file'] = "Upload Avatar from your machine"; diff --git a/phpBB/posting.php b/phpBB/posting.php index 17811bfa96..aab293f0d8 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -487,6 +487,7 @@ if( ($mode == "newtopic" || $mode == "reply") && $topic_status == TOPIC_UNLOCKED if($db->sql_query($sql, END_TRANSACTION)) { + setcookie('phpbb2_' . $forum_id . '_' . $new_topic_id, '', 0, $cookiepath, $cookiedomain, $cookiesecure); // // If we get here the post has been inserted successfully. // @@ -1076,7 +1077,7 @@ $message_input = ' diff --git a/phpBB/templates/PSO/posting_body.tpl b/phpBB/templates/PSO/posting_body.tpl index 893270d873..8d0a61e1d8 100644 --- a/phpBB/templates/PSO/posting_body.tpl +++ b/phpBB/templates/PSO/posting_body.tpl @@ -11,42 +11,27 @@ function insertCode(formObj, selectObj) formObj.message.value += selectObj.options[selectObj.selectedIndex].value; return; } -function submit_check_alert(formObj) -{ - - return true; -} //--> - +
- + + - +
{L_POST_A} + {L_POST_A}
{L_USERNAME} {USERNAME_INPUT}
{L_SUBJECT} {SUBJECT_INPUT}
{L_MESSAGE_BODY}

{HTML_STATUS}
{BBCODE_STATUS}
{L_MESSAGE_BODY}

{L_HTML_IS} {HTML_STATUS}
{L_BBCODE_IS} {BBCODE_STATUS}
{L_SMILIES_ARE} {SMILIES_STATUS}
diff --git a/phpBB/templates/PSO/profile_add_body.tpl b/phpBB/templates/PSO/profile_add_body.tpl index 92ae2fe1a1..e78c25efea 100644 --- a/phpBB/templates/PSO/profile_add_body.tpl +++ b/phpBB/templates/PSO/profile_add_body.tpl @@ -62,7 +62,7 @@ - +
{MESSAGE_INPUT}
{L_SIGNATURE}:
{L_SIGNATURE_EXPLAIN}
{L_SIGNATURE}:
{L_SIGNATURE_EXPLAIN}

{L_HTML_IS} {HTML_STATUS}
{L_BBCODE_IS} {BBCODE_STATUS}
{L_SMILIES_ARE} {SMILIES_STATUS}