From a24839d21d09a329b65799bf0de0a3d5c45e1ba1 Mon Sep 17 00:00:00 2001 From: Kailey Truscott <kinerity@yahoo.com> Date: Sat, 11 Nov 2017 18:09:13 -0500 Subject: [PATCH] [ticket/15452] Add template event mcp_topic_postrow_post_before PHPBB3-15452 --- phpBB/docs/events.md | 7 +++++++ phpBB/styles/prosilver/template/mcp_topic.html | 1 + 2 files changed, 8 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6af3f55d21..14183c6957 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -953,6 +953,13 @@ 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_post_before +=== +* Locations: + + styles/prosilver/template/mcp_topic.html +* Since: 3.2.2-RC1 +* Purpose: Show additional content after postrow begins 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..0a5fdca07c 100644 --- a/phpBB/styles/prosilver/template/mcp_topic.html +++ b/phpBB/styles/prosilver/template/mcp_topic.html @@ -94,6 +94,7 @@ <div id="topicreview" class="topicreview"> <!-- BEGIN postrow --> + <!-- EVENT mcp_topic_postrow_post_before --> <div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> <div class="inner">