diff options
author | Kailey Truscott <kinerity@yahoo.com> | 2017-11-11 17:56:14 -0500 |
---|---|---|
committer | Kailey Truscott <kinerity@yahoo.com> | 2017-11-13 07:37:08 -0500 |
commit | da3a1a5d208ced9a5ac999083c7ec2c2f7f7edce (patch) | |
tree | b651ec31ac194afc2ac3e6b408f06365f17d5765 | |
parent | 44d5bde61604979ea6f89951e78edf352f8a9bb5 (diff) | |
download | forums-da3a1a5d208ced9a5ac999083c7ec2c2f7f7edce.tar forums-da3a1a5d208ced9a5ac999083c7ec2c2f7f7edce.tar.gz forums-da3a1a5d208ced9a5ac999083c7ec2c2f7f7edce.tar.bz2 forums-da3a1a5d208ced9a5ac999083c7ec2c2f7f7edce.tar.xz forums-da3a1a5d208ced9a5ac999083c7ec2c2f7f7edce.zip |
[ticket/15451] Add template event mcp_topic_postrow_attachments_before/after
PHPBB3-15451
-rw-r--r-- | phpBB/docs/events.md | 14 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/mcp_topic.html | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6af3f55d21..a292a44a3f 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -953,6 +953,20 @@ mcp_topic_options_before * Since: 3.1.6-RC1 * Purpose: Add some options (field, checkbox, ...) before the subject field when split a subject +mcp_topic_postrow_attachments_after +=== +* Locations: + + styles/prosilver/template/mcp_topic.html +* Since: 3.2.2-RC1 +* Purpose: Show additional content after attachments in mcp topic review + +mcp_topic_postrow_attachments_before +=== +* Locations: + + styles/prosilver/template/mcp_topic.html +* Since: 3.2.2-RC1 +* Purpose: Show additional content before attachments in mcp topic review + mcp_topic_postrow_post_details_after === * Locations: diff --git a/phpBB/styles/prosilver/template/mcp_topic.html b/phpBB/styles/prosilver/template/mcp_topic.html index 35b1ecca0a..fe851883d9 100644 --- a/phpBB/styles/prosilver/template/mcp_topic.html +++ b/phpBB/styles/prosilver/template/mcp_topic.html @@ -143,6 +143,8 @@ <div class="content" id="message_{postrow.POST_ID}">{postrow.MESSAGE}</div> + <!-- EVENT mcp_topic_postrow_attachments_before --> + <!-- IF postrow.S_HAS_ATTACHMENTS --> <dl class="attachbox"> <dt>{L_ATTACHMENTS}</dt> @@ -152,6 +154,8 @@ </dl> <!-- ENDIF --> + <!-- EVENT mcp_topic_postrow_attachments_after --> + </div> </div> |