1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

Merge pull request #6226 from 3D-I/ticket/16795

[ticket/16795] Add template events around signature in viewtopic
This commit is contained in:
Marc Alexander 2021-06-13 22:06:35 +02:00
commit af98278590
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 18 additions and 1 deletions

View File

@ -3359,6 +3359,20 @@ viewtopic_body_postrow_rank_before
* Purpose: Add data before the rank on the user profile when viewing
a post
viewtopic_body_postrow_signature_after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.3.5-RC1
* Purpose: Add content after the signature
viewtopic_body_postrow_signature_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.3.5-RC1
* Purpose: Add content before the signature
viewtopic_body_topic_actions_before
===
* Locations:

View File

@ -367,7 +367,10 @@
<!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
<!-- EVENT viewtopic_body_postrow_post_notices_after -->
<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
{% EVENT viewtopic_body_postrow_signature_before %}
{% if postrow.SIGNATURE %}<div id="sig{{ postrow.POST_ID }}" class="signature">{{ postrow.SIGNATURE }}</div>{% endif %}
{% EVENT viewtopic_body_postrow_signature_after %}
<!-- EVENT viewtopic_body_postrow_post_content_footer -->
</div>