1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 12:52:08 +02:00

[ticket/16421] Add contact field icon template events to viewtopic_body.html

PHPBB3-16421
This commit is contained in:
rxu 2020-04-02 12:31:38 +07:00
parent 8877688ee4
commit 45f0c77761
No known key found for this signature in database
GPG Key ID: 955F0567380E586A
2 changed files with 15 additions and 1 deletions

View File

@ -2942,6 +2942,20 @@ viewtopic_body_contact_fields_before
* Purpose: Add data before the contact fields on the user profile when viewing
a post
viewtopic_body_contact_icon_append
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.2.10-RC1
* Purpose: Add content directly after the contact field icons in post user miniprofiles
viewtopic_body_contact_icon_prepend
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.2.10-RC1
* Purpose: Add content directly before the contact field icons in post user miniprofiles
viewtopic_body_footer_before
===
* Locations:

View File

@ -192,7 +192,7 @@
<div>
<!-- ENDIF -->
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->>
<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>
{% EVENT viewtopic_body_contact_icon_prepend %}<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>{% EVENT viewtopic_body_contact_icon_append %}
</a>
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
</div>