[ticket/16795] Add template events around signature in viewtopic

PHPBB3-16795
This commit is contained in:
3D-I 2021-06-08 23:02:42 +02:00
parent 5169a947f4
commit cdca28eb3f
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>