diff options
author | Zoddo <git@zoddo.fr> | 2018-07-29 22:30:15 +0200 |
---|---|---|
committer | Zoddo <git@zoddo.fr> | 2018-07-29 22:41:06 +0200 |
commit | a4e2d89e037dbbcb349777113f4a6f6142d5ddb6 (patch) | |
tree | 1347438a7e14b5c95202d15d2cd98b4fff868020 | |
parent | 04899d1efd261493111e309600531d363b73bc46 (diff) | |
download | forums-a4e2d89e037dbbcb349777113f4a6f6142d5ddb6.tar forums-a4e2d89e037dbbcb349777113f4a6f6142d5ddb6.tar.gz forums-a4e2d89e037dbbcb349777113f4a6f6142d5ddb6.tar.bz2 forums-a4e2d89e037dbbcb349777113f4a6f6142d5ddb6.tar.xz forums-a4e2d89e037dbbcb349777113f4a6f6142d5ddb6.zip |
[ticket/15735] Add posting_preview_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.md | 7 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/posting_preview.html | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index f2b87ce7f1..42dea6b360 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1707,6 +1707,13 @@ posting_poll_body_options_after * Since: 3.1.4-RC1 * Purpose: Add content after the poll options on creating a poll +posting_preview_content_after +=== +* Locations: + + styles/prosilver/template/posting_preview.html +* Since: 3.2.4-RC1 +* Purpose: Add content after the message content preview + posting_preview_poll_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_preview.html b/phpBB/styles/prosilver/template/posting_preview.html index aac117c090..781d0de06b 100644 --- a/phpBB/styles/prosilver/template/posting_preview.html +++ b/phpBB/styles/prosilver/template/posting_preview.html @@ -31,6 +31,8 @@ <div class="content">{PREVIEW_MESSAGE}</div> + <!-- EVENT posting_preview_content_after --> + <!-- IF .attachment --> <dl class="attachbox"> <dt>{L_ATTACHMENTS}</dt> |