aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-13 15:59:13 -0700
committerMarc Alexander <admin@m-a-styles.de>2018-10-13 15:59:13 -0700
commit5d98b66e95ca6e93e05e13577a35f6f63f48562e (patch)
treeff311adb8b16f85085ffd701146883938e554fef
parentaa7b4bdfce944f8f9f26b86a0cb9b1d5a0beadcd (diff)
parentf9b1f9ced566a504bf5ba147eac9740d5abdce3c (diff)
downloadforums-5d98b66e95ca6e93e05e13577a35f6f63f48562e.tar
forums-5d98b66e95ca6e93e05e13577a35f6f63f48562e.tar.gz
forums-5d98b66e95ca6e93e05e13577a35f6f63f48562e.tar.bz2
forums-5d98b66e95ca6e93e05e13577a35f6f63f48562e.tar.xz
forums-5d98b66e95ca6e93e05e13577a35f6f63f48562e.zip
Merge pull request #5375 from senky/ticket/15706
[ticket/15706] Add mcp_post_report_buttons_top_* events
-rw-r--r--phpBB/docs/events.md14
-rw-r--r--phpBB/styles/prosilver/template/mcp_post.html2
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 28f9e82a69..99fdc06a78 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -981,6 +981,20 @@ mcp_post_additional_options
* Since: 3.1.5-RC1
* Purpose: Add content within the list of post moderation actions
+mcp_post_report_buttons_top_after
+===
+* Locations:
+ + styles/prosilver/template/mcp_post.html
+* Since: 3.2.4-RC1
+* Purpose: Add content after report buttons
+
+mcp_post_report_buttons_top_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_post.html
+* Since: 3.2.4-RC1
+* Purpose: Add content before report buttons
+
mcp_topic_options_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html
index af16c8ab84..f066919529 100644
--- a/phpBB/styles/prosilver/template/mcp_post.html
+++ b/phpBB/styles/prosilver/template/mcp_post.html
@@ -31,10 +31,12 @@
<form method="post" id="mcp_report" action="{S_CLOSE_ACTION}">
<fieldset class="submit-buttons">
+ {% EVENT mcp_post_report_buttons_top_before %}
<!-- IF not S_REPORT_CLOSED -->
<input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /> &nbsp;
<!-- ENDIF -->
<input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" />
+ {% EVENT mcp_post_report_buttons_top_after %}
<input type="hidden" name="report_id_list[]" value="{REPORT_ID}" />
{S_FORM_TOKEN}
</fieldset>