aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoddo <git@zoddo.fr>2018-07-30 00:24:56 +0200
committerZoddo <git@zoddo.fr>2018-07-30 00:24:56 +0200
commit6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed (patch)
treed45226fad7cbf821814c47bfca4a4a666031b694
parent5304b7d0b31caa3913fbdfae0957b1493e56753e (diff)
downloadforums-6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed.tar
forums-6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed.tar.gz
forums-6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed.tar.bz2
forums-6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed.tar.xz
forums-6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed.zip
[ticket/15735] Add viewtopic_body_postrow_content_after template event
Needed for extensions who adds information at the end of the message (such as moderator messages). PHPBB3-15735
-rw-r--r--phpBB/docs/events.md7
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html2
2 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 2f4c47e6d8..6672353296 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -2674,6 +2674,13 @@ viewtopic_body_postrow_back2top_prepend
* Since: 3.1.8-RC1
* Purpose: Add content to the post's bottom directly before the back to top link
+viewtopic_body_postrow_content_after
+===
+* Locations:
+ + styles/prosilver/template/viewtopic_body.html
+* Since: 3.2.4-RC1
+* Purpose: Add content after the message content in topics views
+
viewtopic_body_postrow_custom_fields_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index a9136e1810..8d7e26f099 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -326,6 +326,8 @@
<div class="content">{postrow.MESSAGE}</div>
+ <!-- EVENT viewtopic_body_postrow_content_after -->
+
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<dl class="attachbox">
<dt>