From 10c67fe12a5f814d7f6ab3727b2f1099ba6a7e6d Mon Sep 17 00:00:00 2001 From: rxu Date: Sat, 17 Jan 2015 16:40:09 +0700 Subject: [PATCH] [ticket/13512] Add template events before/after the post details Add template events to viewtopic_body.html to allow extensions adding content before/after the post details. PHPBB3-13512 --- phpBB/docs/events.md | 16 ++++++++++++++++ .../prosilver/template/viewtopic_body.html | 2 ++ .../subsilver2/template/viewtopic_body.html | 2 ++ 3 files changed, 20 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 3ab3fc65da..8086bc9f43 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1531,6 +1531,22 @@ viewtopic_body_postrow_post_content_footer * Since: 3.1.0-RC4 * Purpose: Add data at the end of the posts. +viewtopic_body_postrow_post_details_after +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html + + styles/subsilver2/template/viewtopic_body.html +* Since: 3.1.4-RC1 +* Purpose: Add content after the post details + +viewtopic_body_postrow_post_details_before +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html + + styles/subsilver2/template/viewtopic_body.html +* Since: 3.1.4-RC1 +* Purpose: Add content before the post details + viewtopic_body_postrow_post_notices_after === * Locations: diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 7850412cf3..3b2c0a9c65 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -249,7 +249,9 @@ +

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

+
diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html index 780ece82a2..ff39515876 100644 --- a/phpBB/styles/subsilver2/template/viewtopic_body.html +++ b/phpBB/styles/subsilver2/template/viewtopic_body.html @@ -167,6 +167,7 @@ + @@ -177,6 +178,7 @@
+