aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-10-30 21:28:50 -0700
committerDavid King <imkingdavid@gmail.com>2013-11-02 15:27:53 -0700
commit835900123e2b6a16288cb6eb635716326dd523c0 (patch)
treec000cce02ebfd1cbcde91b74e879792bf78f306f
parentb8eeca7048cdb6573b3c055f4e2aa3410cb4b506 (diff)
downloadforums-835900123e2b6a16288cb6eb635716326dd523c0.tar
forums-835900123e2b6a16288cb6eb635716326dd523c0.tar.gz
forums-835900123e2b6a16288cb6eb635716326dd523c0.tar.bz2
forums-835900123e2b6a16288cb6eb635716326dd523c0.tar.xz
forums-835900123e2b6a16288cb6eb635716326dd523c0.zip
[ticket/11972] Add posting_editor_message_after template event
PHPBB3-11972
-rw-r--r--phpBB/docs/events.md7
-rw-r--r--phpBB/styles/prosilver/template/posting_editor.html2
-rw-r--r--phpBB/styles/subsilver2/template/posting_body.html1
3 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index c2a8ac1538..73a058b69c 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -157,6 +157,13 @@ overall_header_navigation_prepend
* Since: 3.1.0-a1
* Purpose: Add links before the navigation links in the header
+posting_editor_message_after
+===
+* Locations:
+ + styles/prosilver/template/posting_editor.html
+ + styles/subsilver2/template/posting_body.html
+* Purpose: Add field (e.g. textbox) to the posting screen after the message
+
posting_editor_message_before
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html
index 5afd317fc3..5677b92fc3 100644
--- a/phpBB/styles/prosilver/template/posting_editor.html
+++ b/phpBB/styles/prosilver/template/posting_editor.html
@@ -138,6 +138,8 @@
<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>
+
+ <!-- EVENT posting_editor_message_after -->
</fieldset>
<!-- IF $EXTRA_POSTING_OPTIONS eq 1 -->
diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html
index ee36e76eb0..9395e24eb1 100644
--- a/phpBB/styles/subsilver2/template/posting_body.html
+++ b/phpBB/styles/subsilver2/template/posting_body.html
@@ -216,6 +216,7 @@
</td>
<!-- ENDIF -->
</tr>
+ <!-- EVENT posting_editor_message_after -->
</table>
</td>
</tr>