From da7c41f167f28b8b4497a5617ce229972058a20b Mon Sep 17 00:00:00 2001 From: kasimi Date: Thu, 21 Jul 2016 15:35:54 +0200 Subject: [PATCH] [ticket/14715] Add template events in posting_topic_review & mcp_topic The events will allow adding content before and after the post details in topic review and topic moderation. PHPBB3-14715 --- phpBB/docs/events.md | 32 +++++++++++++++++++ .../styles/prosilver/template/mcp_topic.html | 3 ++ .../template/posting_topic_review.html | 3 ++ .../styles/subsilver2/template/mcp_topic.html | 2 ++ .../template/posting_topic_review.html | 2 ++ 5 files changed, 42 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 1fe8b915f1..7f26d4d1ee 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -875,6 +875,22 @@ 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_details_after +=== +* Locations: + + styles/prosilver/template/mpc_topic.html + + styles/subsilver2/template/mpc_topic.html +* Since: 3.1.10-RC1 +* Purpose: Add content after post details in topic moderation + +mcp_topic_postrow_post_details_before +=== +* Locations: + + styles/prosilver/template/mpc_topic.html + + styles/subsilver2/template/mpc_topic.html +* Since: 3.1.10-RC1 +* Purpose: Add content before post details in topic moderation + mcp_topic_topic_title_after === * Locations: @@ -1564,6 +1580,22 @@ posting_preview_poll_after * Since: 3.1.7-RC1 * Purpose: Add content after the poll preview block +posting_topic_review_row_post_details_after +=== +* Locations: + + styles/prosilver/template/posting_topic_review.html + + styles/subsilver2/template/posting_topic_review.html +* Since: 3.1.10-RC1 +* Purpose: Add content after post details in topic review + +posting_topic_review_row_post_details_before +=== +* Locations: + + styles/prosilver/template/posting_topic_review.html + + styles/subsilver2/template/posting_topic_review.html +* Since: 3.1.10-RC1 +* Purpose: Add content before post details in topic review + posting_topic_title_after === * Locations: diff --git a/phpBB/styles/prosilver/template/mcp_topic.html b/phpBB/styles/prosilver/template/mcp_topic.html index e6978191de..e42d03b964 100644 --- a/phpBB/styles/prosilver/template/mcp_topic.html +++ b/phpBB/styles/prosilver/template/mcp_topic.html @@ -112,7 +112,10 @@

{postrow.POST_SUBJECT}

+ +

{postrow.MINI_POST_IMG} {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} [ {L_POST_DETAILS} ]

+

diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html index 6909877196..c51d8032dc 100644 --- a/phpBB/styles/prosilver/template/posting_topic_review.html +++ b/phpBB/styles/prosilver/template/posting_topic_review.html @@ -43,7 +43,10 @@ +

{topic_review_row.MINI_POST_IMG}{topic_review_row.MINI_POST_IMG} {L_POST_BY_AUTHOR} {topic_review_row.POST_AUTHOR_FULL} » {topic_review_row.POST_DATE}

+ +
{topic_review_row.MESSAGE}
diff --git a/phpBB/styles/subsilver2/template/mcp_topic.html b/phpBB/styles/subsilver2/template/mcp_topic.html index c6a8236b20..222272ec02 100644 --- a/phpBB/styles/subsilver2/template/mcp_topic.html +++ b/phpBB/styles/subsilver2/template/mcp_topic.html @@ -74,12 +74,14 @@ {postrow.POST_AUTHOR_FULL} +
 {L_POST_SUBJECT}{L_COLON}  {postrow.POST_SUBJECT}
+ {INFO_IMG} diff --git a/phpBB/styles/subsilver2/template/posting_topic_review.html b/phpBB/styles/subsilver2/template/posting_topic_review.html index 20976861fc..46329e19fa 100644 --- a/phpBB/styles/subsilver2/template/posting_topic_review.html +++ b/phpBB/styles/subsilver2/template/posting_topic_review.html @@ -18,6 +18,7 @@ + @@ -41,6 +42,7 @@ +