[ticket/15901] Add mcp_post_ template events

PHPBB3-15901
This commit is contained in:
mrgoldy 2018-12-04 01:48:09 +01:00
parent 7182f5d88f
commit fe72d87460
2 changed files with 18 additions and 0 deletions

View file

@ -995,6 +995,20 @@ mcp_post_additional_options
* Since: 3.1.5-RC1
* Purpose: Add content within the list of post moderation actions
mcp_post_text_before
===
* Locations:
+ styles/prosilver/template/mcp_post.html
* Since 3.2.6-RC1
* Purpose: Add content before the post text
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_report_buttons_top_after
===
* Locations:

View file

@ -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>