From 40666dd96fa7e9dbcd27614d6a2a54744a353c74 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 9 Aug 2015 13:49:44 +0200 Subject: [PATCH] [ticket/14086] Add mcp_forum_topic_title_* template events Allows to add some information before/after the topic title PHPBB3-14086 --- phpBB/docs/events.md | 16 ++++++++++++++++ phpBB/styles/prosilver/template/mcp_forum.html | 2 ++ phpBB/styles/subsilver2/template/mcp_forum.html | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index b768daf3df..f5238602d7 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -504,6 +504,22 @@ mcp_ban_unban_before * Since: 3.1.0-RC3 * Purpose: Add additional fields to the unban form in MCP +mcp_forum_topic_title_before +=== +* Locations: + + styles/prosilver/template/mcp_forum.html + + styles/subsilver2/template/mcp_forum.html +* Since: 3.1.6-RC1 +* Purpose: Add some information before the topic title + +mcp_forum_topic_title_after +=== +* Locations: + + styles/prosilver/template/mcp_forum.html + + styles/subsilver2/template/mcp_forum.html +* Since: 3.1.6-RC1 +* Purpose: Add some information after the topic title + mcp_front_latest_logs_after === * Locations: diff --git a/phpBB/styles/prosilver/template/mcp_forum.html b/phpBB/styles/prosilver/template/mcp_forum.html index 8fdec01212..3e08316b10 100644 --- a/phpBB/styles/prosilver/template/mcp_forum.html +++ b/phpBB/styles/prosilver/template/mcp_forum.html @@ -42,7 +42,9 @@
[ {L_SELECT_MERGE} ]   + {topicrow.TOPIC_TITLE} + {topicrow.UNAPPROVED_IMG} {topicrow.DELETED_IMG} {REPORTED_IMG} diff --git a/phpBB/styles/subsilver2/template/mcp_forum.html b/phpBB/styles/subsilver2/template/mcp_forum.html index b168bf3ac8..eac1c6dcce 100644 --- a/phpBB/styles/subsilver2/template/mcp_forum.html +++ b/phpBB/styles/subsilver2/template/mcp_forum.html @@ -29,7 +29,7 @@ [ {L_SELECT_MERGE} -

{NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} {topicrow.TOPIC_TITLE} +

{NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} {topicrow.TOPIC_TITLE} {topicrow.UNAPPROVED_IMG}