aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-10-30 21:27:40 -0700
committerDavid King <imkingdavid@gmail.com>2013-11-02 15:27:53 -0700
commitb8eeca7048cdb6573b3c055f4e2aa3410cb4b506 (patch)
tree85b3f675180314a5adf2080832d4437b1fb831ad /phpBB/styles
parent3be5fe535470f075af9718dc301b06981c9c695f (diff)
downloadforums-b8eeca7048cdb6573b3c055f4e2aa3410cb4b506.tar
forums-b8eeca7048cdb6573b3c055f4e2aa3410cb4b506.tar.gz
forums-b8eeca7048cdb6573b3c055f4e2aa3410cb4b506.tar.bz2
forums-b8eeca7048cdb6573b3c055f4e2aa3410cb4b506.tar.xz
forums-b8eeca7048cdb6573b3c055f4e2aa3410cb4b506.zip
[ticket/11972] Add posting_editor_message_before template event
PHPBB3-11972
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/posting_editor.html2
-rw-r--r--phpBB/styles/subsilver2/template/posting_body.html1
2 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html
index 9e7716e542..5afd317fc3 100644
--- a/phpBB/styles/prosilver/template/posting_editor.html
+++ b/phpBB/styles/prosilver/template/posting_editor.html
@@ -133,6 +133,8 @@
<!-- ENDIF -->
</div>
+ <!-- EVENT posting_editor_message_before -->
+
<div id="message-box">
<textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>
</div>
diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html
index efd606550e..ee36e76eb0 100644
--- a/phpBB/styles/subsilver2/template/posting_body.html
+++ b/phpBB/styles/subsilver2/template/posting_body.html
@@ -203,6 +203,7 @@
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<!-- INCLUDE posting_buttons.html -->
+ <!-- EVENT posting_editor_message_before -->
<tr>
<td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 700px; height: 270px; min-width: 98%; max-width: 98%;">{MESSAGE}</textarea></td>
<!-- IF S_BBCODE_ALLOWED -->