aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2015-09-06 16:14:02 +0200
committerJakub Senko <jakubsenko@gmail.com>2015-10-12 09:40:08 +0200
commitfcf6c20291c1c0f2f25028d9116dbf91d0b367fb (patch)
treea78bce0573ed16f259babdfd46b87199b8ff5899
parent8cab2374f98e507cba2f0b10da4155110a73fc00 (diff)
downloadforums-fcf6c20291c1c0f2f25028d9116dbf91d0b367fb.tar
forums-fcf6c20291c1c0f2f25028d9116dbf91d0b367fb.tar.gz
forums-fcf6c20291c1c0f2f25028d9116dbf91d0b367fb.tar.bz2
forums-fcf6c20291c1c0f2f25028d9116dbf91d0b367fb.tar.xz
forums-fcf6c20291c1c0f2f25028d9116dbf91d0b367fb.zip
[ticket/14144] Add quickreply_editor_subject_before event
PHPBB3-14144
-rw-r--r--phpBB/docs/events.md8
-rw-r--r--phpBB/styles/prosilver/template/quickreply_editor.html1
-rw-r--r--phpBB/styles/subsilver2/template/quickreply_editor.html1
3 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index b69cbf77c9..d6fa482fe9 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -1283,6 +1283,14 @@ quickreply_editor_message_before
* Since: 3.1.0-a4
* Purpose: Add content before the quick reply textbox
+quickreply_editor_subject_before
+===
+* Locations:
+ + styles/prosilver/template/quickreply_editor.html
+ + styles/subsilver2/template/quickreply_editor.html
+* Since: 3.1.7-RC1
+* Purpose: Add content before the quick reply subject textbox
+
search_body_form_before
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/quickreply_editor.html b/phpBB/styles/prosilver/template/quickreply_editor.html
index 6a8846626e..ca8ccc0a6b 100644
--- a/phpBB/styles/prosilver/template/quickreply_editor.html
+++ b/phpBB/styles/prosilver/template/quickreply_editor.html
@@ -4,6 +4,7 @@
<div class="inner">
<h2 class="quickreply-title">{L_QUICKREPLY}</h2>
<fieldset class="fields1">
+ <!-- EVENT quickreply_editor_subject_before -->
<dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}{L_COLON}</label></dt>
<dd><input type="text" name="subject" id="subject" size="45" maxlength="124" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
diff --git a/phpBB/styles/subsilver2/template/quickreply_editor.html b/phpBB/styles/subsilver2/template/quickreply_editor.html
index 5afc723f48..a7614e841f 100644
--- a/phpBB/styles/subsilver2/template/quickreply_editor.html
+++ b/phpBB/styles/subsilver2/template/quickreply_editor.html
@@ -4,6 +4,7 @@
<tr>
<th align="center" colspan="2">{L_QUICKREPLY}</th>
</tr>
+ <!-- EVENT quickreply_editor_subject_before -->
<tr>
<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}{L_COLON}</b></td>
<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="124" tabindex="2" value="{SUBJECT}" /></td>