1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

Merge pull request #2385 from prototech/ticket/12478

Add contact field before/after events.
This commit is contained in:
Joas Schilling 2014-05-02 23:12:10 +02:00
commit 0d133e483b
3 changed files with 20 additions and 1 deletions

View File

@ -667,6 +667,22 @@ viewtopic_print_head_append
* Since: 3.1.0-a1 * Since: 3.1.0-a1
* Purpose: Add asset calls directly before the `</head>` tag of the Print Topic screen * Purpose: Add asset calls directly before the `</head>` tag of the Print Topic screen
viewtopic_body_contact_fields_after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.0-b3
* Purpose: Add data after the contact fields on the user profile when viewing
a post
viewtopic_body_contact_fields_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.0-b3
* Purpose: Add data before the contact fields on the user profile when viewing
a post
viewtopic_body_footer_before viewtopic_body_footer_before
=== ===
* Locations: * Locations:

View File

@ -33,7 +33,7 @@
<!-- END custom_fields --> <!-- END custom_fields -->
<!-- EVENT ucp_pm_viewmessage_custom_fields_after --> <!-- EVENT ucp_pm_viewmessage_custom_fields_after -->
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
<!-- IF .contact --> <!-- IF .contact -->
<dd class="profile-contact"> <dd class="profile-contact">
<strong>{L_CONTACT_USER}{L_COLON}</strong> <strong>{L_CONTACT_USER}{L_COLON}</strong>
@ -59,6 +59,7 @@
</div> </div>
</dd> </dd>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT ucp_pm_viewmessage_contact_fields_after -->
</dl> </dl>
<div class="postbody"> <div class="postbody">

View File

@ -143,6 +143,7 @@
<!-- END custom_fields --> <!-- END custom_fields -->
<!-- EVENT viewtopic_body_postrow_custom_fields_after --> <!-- EVENT viewtopic_body_postrow_custom_fields_after -->
<!-- EVENT viewtopic_body_contact_fields_before -->
<!-- IF not S_IS_BOT and .postrow.contact --> <!-- IF not S_IS_BOT and .postrow.contact -->
<dd class="profile-contact"> <dd class="profile-contact">
<strong>{L_CONTACT_USER}{L_COLON}</strong> <strong>{L_CONTACT_USER}{L_COLON}</strong>
@ -169,6 +170,7 @@
</div> </div>
</dd> </dd>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT viewtopic_body_contact_fields_after -->
</dl> </dl>