mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/15901] Add mcp_post_ template events
PHPBB3-15901
This commit is contained in:
parent
7182f5d88f
commit
fe72d87460
2 changed files with 18 additions and 0 deletions
|
@ -995,6 +995,20 @@ mcp_post_additional_options
|
||||||
* Since: 3.1.5-RC1
|
* Since: 3.1.5-RC1
|
||||||
* Purpose: Add content within the list of post moderation actions
|
* 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
|
mcp_post_report_buttons_top_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -108,10 +108,14 @@
|
||||||
</p>
|
</p>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
{% EVENT mcp_post_text_before %}
|
||||||
|
|
||||||
<div id="post_details" class="content post_details">
|
<div id="post_details" class="content post_details">
|
||||||
{POST_PREVIEW}
|
{POST_PREVIEW}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% EVENT mcp_post_text_after %}
|
||||||
|
|
||||||
<!-- IF S_HAS_ATTACHMENTS -->
|
<!-- IF S_HAS_ATTACHMENTS -->
|
||||||
<dl class="attachbox">
|
<dl class="attachbox">
|
||||||
<dt>{L_ATTACHMENTS}</dt>
|
<dt>{L_ATTACHMENTS}</dt>
|
||||||
|
|
Loading…
Add table
Reference in a new issue