From cab8181af165f05681756aaf9a4cfc460ef0429e Mon Sep 17 00:00:00 2001 From: rxu Date: Wed, 5 Feb 2014 22:47:31 +0800 Subject: [PATCH] [ticket/12166] Add template events to quickreply_editor.html. Add template event pair - quickreply_editor_message_before and quickreply_editor_message_before to quickreply_editor.html for both of prosilver and subsilver2 styles. This allows extensions to modify quick reply postform. For example, to add BBCode buttons and/or smilies and so on. PHPBB3-12166 --- phpBB/docs/events.md | 16 ++++++++++++++++ .../prosilver/template/quickreply_editor.html | 2 ++ .../subsilver2/template/quickreply_editor.html | 2 ++ 3 files changed, 20 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 7d507216ef..0a3a655465 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -279,6 +279,22 @@ posting_editor_subject_before * Since: 3.1.0-a2 * Purpose: Add field (e.g. textbox) to the posting screen before the subject +quickreply_editor_message_after +=== +* Locations: + + styles/prosilver/template/quickreply_editor.html + + styles/subsilver2/template/quickreply_editor.html +* Since: 3.1.0-a4 +* Purpose: Add content after the quick reply textbox + +quickreply_editor_message_before +=== +* Locations: + + styles/prosilver/template/quickreply_editor.html + + styles/subsilver2/template/quickreply_editor.html +* Since: 3.1.0-a4 +* Purpose: Add content before the quick reply textbox + simple_footer_after === * Locations: diff --git a/phpBB/styles/prosilver/template/quickreply_editor.html b/phpBB/styles/prosilver/template/quickreply_editor.html index 83d253384e..774d013cd3 100644 --- a/phpBB/styles/prosilver/template/quickreply_editor.html +++ b/phpBB/styles/prosilver/template/quickreply_editor.html @@ -7,9 +7,11 @@
+
+
{S_FORM_TOKEN} diff --git a/phpBB/styles/subsilver2/template/quickreply_editor.html b/phpBB/styles/subsilver2/template/quickreply_editor.html index 72dc5506bf..b2b7b1624e 100644 --- a/phpBB/styles/subsilver2/template/quickreply_editor.html +++ b/phpBB/styles/subsilver2/template/quickreply_editor.html @@ -8,10 +8,12 @@ {L_SUBJECT}{L_COLON} + {L_MESSAGE}{L_COLON} +