diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-02 23:12:10 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-05-02 23:12:10 +0200 |
| commit | 0d133e483b32d46c323ced7ff6146ced75b5f143 (patch) | |
| tree | 08067f35a90865836f179791115bba8285da4b26 | |
| parent | 56f881953db33f5aa9362de77ab635979b1e4b3b (diff) | |
| parent | 9431a018cb4b850143d6b9dc0e6a38994b0da5f4 (diff) | |
| download | forums-0d133e483b32d46c323ced7ff6146ced75b5f143.tar forums-0d133e483b32d46c323ced7ff6146ced75b5f143.tar.gz forums-0d133e483b32d46c323ced7ff6146ced75b5f143.tar.bz2 forums-0d133e483b32d46c323ced7ff6146ced75b5f143.tar.xz forums-0d133e483b32d46c323ced7ff6146ced75b5f143.zip | |
Merge pull request #2385 from prototech/ticket/12478
Add contact field before/after events.
| -rw-r--r-- | phpBB/docs/events.md | 16 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_pm_viewmessage.html | 3 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 67fa96ffbc..1cc1300c05 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -667,6 +667,22 @@ viewtopic_print_head_append * Since: 3.1.0-a1 * 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 === * Locations: diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index 627b5aa6ed..81171e97b2 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -33,7 +33,7 @@ <!-- END custom_fields --> <!-- EVENT ucp_pm_viewmessage_custom_fields_after --> - + <!-- EVENT ucp_pm_viewmessage_contact_fields_before --> <!-- IF .contact --> <dd class="profile-contact"> <strong>{L_CONTACT_USER}{L_COLON}</strong> @@ -59,6 +59,7 @@ </div> </dd> <!-- ENDIF --> + <!-- EVENT ucp_pm_viewmessage_contact_fields_after --> </dl> <div class="postbody"> diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 485083a2ba..8912382c48 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -143,6 +143,7 @@ <!-- END custom_fields --> <!-- EVENT viewtopic_body_postrow_custom_fields_after --> + <!-- EVENT viewtopic_body_contact_fields_before --> <!-- IF not S_IS_BOT and .postrow.contact --> <dd class="profile-contact"> <strong>{L_CONTACT_USER}{L_COLON}</strong> @@ -169,6 +170,7 @@ </div> </dd> <!-- ENDIF --> + <!-- EVENT viewtopic_body_contact_fields_after --> </dl> |
