1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 23:55:26 +02:00

[ticket/17152] Add template event to viewtopic_body.html

Add template event to viewtopic_body.html before the message

PHPBB3-17152
This commit is contained in:
rxu 2023-07-01 00:20:24 +07:00
parent 22d6b035d6
commit b550d1db0a
No known key found for this signature in database
GPG Key ID: 955F0567380E586A
2 changed files with 9 additions and 0 deletions

View File

@ -3304,6 +3304,13 @@ viewtopic_body_postrow_content_after
* Since: 3.2.4-RC1 * Since: 3.2.4-RC1
* Purpose: Add content after the message content in topics views * Purpose: Add content after the message content in topics views
viewtopic_body_postrow_content_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.3.11-RC1
* Purpose: Add content before the message content in topics views
viewtopic_body_postrow_custom_fields_after viewtopic_body_postrow_custom_fields_after
=== ===
* Locations: * Locations:

View File

@ -336,6 +336,8 @@
</p> </p>
<!-- ENDIF --> <!-- ENDIF -->
{% EVENT viewtopic_body_postrow_content_before %}
<div class="content">{postrow.MESSAGE}</div> <div class="content">{postrow.MESSAGE}</div>
<!-- EVENT viewtopic_body_postrow_content_after --> <!-- EVENT viewtopic_body_postrow_content_after -->