diff options
| author | mrgoldy <gijsmartens1@gmail.com> | 2018-12-04 01:48:09 +0100 |
|---|---|---|
| committer | mrgoldy <gijsmartens1@gmail.com> | 2018-12-04 01:48:09 +0100 |
| commit | fe72d874609c0b15dece23d506050fd7771dbf89 (patch) | |
| tree | da36274d58738be56d77efe8b095b7a2282fc289 | |
| parent | 7182f5d88fee77f066619303be80203016528314 (diff) | |
| download | forums-fe72d874609c0b15dece23d506050fd7771dbf89.tar forums-fe72d874609c0b15dece23d506050fd7771dbf89.tar.gz forums-fe72d874609c0b15dece23d506050fd7771dbf89.tar.bz2 forums-fe72d874609c0b15dece23d506050fd7771dbf89.tar.xz forums-fe72d874609c0b15dece23d506050fd7771dbf89.zip | |
[ticket/15901] Add mcp_post_ template events
PHPBB3-15901
| -rw-r--r-- | phpBB/docs/events.md | 14 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/mcp_post.html | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index de3952cafc..8aad9a5c60 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -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: 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> |
