[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
This commit is contained in:
Zoddo 2018-07-29 22:30:15 +02:00
parent 04899d1efd
commit a4e2d89e03
No known key found for this signature in database
GPG key ID: 43E8D68722C7D376
2 changed files with 9 additions and 0 deletions

View file

@ -1707,6 +1707,13 @@ posting_poll_body_options_after
* Since: 3.1.4-RC1 * Since: 3.1.4-RC1
* Purpose: Add content after the poll options on creating a poll * 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 posting_preview_poll_after
=== ===
* Locations: * Locations:

View file

@ -31,6 +31,8 @@
<div class="content">{PREVIEW_MESSAGE}</div> <div class="content">{PREVIEW_MESSAGE}</div>
<!-- EVENT posting_preview_content_after -->
<!-- IF .attachment --> <!-- IF .attachment -->
<dl class="attachbox"> <dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt> <dt>{L_ATTACHMENTS}</dt>