aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-26 21:51:29 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-26 21:51:29 +0100
commit95424f1b98a60e3b9a803e0a6262b368f2886219 (patch)
tree687521ee3d1754332a5e60a6a288a85f2d962090
parent64b66a51b6291aa91277f98207813dbb78e7df6a (diff)
parentfe382708f5d8dae6a49d5032d874bdfc6b26a2f2 (diff)
downloadforums-95424f1b98a60e3b9a803e0a6262b368f2886219.tar
forums-95424f1b98a60e3b9a803e0a6262b368f2886219.tar.gz
forums-95424f1b98a60e3b9a803e0a6262b368f2886219.tar.bz2
forums-95424f1b98a60e3b9a803e0a6262b368f2886219.tar.xz
forums-95424f1b98a60e3b9a803e0a6262b368f2886219.zip
Merge pull request #5474 from mrgoldy/ticket/15901
[ticket/15901] Add mcp_post_ template events
-rw-r--r--phpBB/docs/events.md14
-rw-r--r--phpBB/styles/prosilver/template/mcp_post.html4
2 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index de3952cafc..8b38d554a3 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -1009,6 +1009,20 @@ mcp_post_report_buttons_top_before
* Since: 3.2.4-RC1
* Purpose: Add content before report buttons
+mcp_post_text_after
+===
+* Locations:
+ + styles/prosilver/template/mcp_post.html
+* Since: 3.2.6-RC1
+* Purpose: Add content after the post text
+
+mcp_post_text_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_post.html
+* Since: 3.2.6-RC1
+* Purpose: Add content before the post text
+
mcp_topic_options_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html
index cf9d0bd6c1..c2297a8053 100644
--- a/phpBB/styles/prosilver/template/mcp_post.html
+++ b/phpBB/styles/prosilver/template/mcp_post.html
@@ -108,10 +108,14 @@
</p>
<!-- ENDIF -->
+ {% EVENT mcp_post_text_before %}
+
<div id="post_details" class="content post_details">
{POST_PREVIEW}
</div>
+ {% EVENT mcp_post_text_after %}
+
<!-- IF S_HAS_ATTACHMENTS -->
<dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt>