aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorrechosen <rechosen@gmail.com>2013-07-14 23:31:41 +0200
committerrechosen <rechosen@gmail.com>2013-08-02 11:16:02 +0200
commit2f1635116cbaaee3645044022f883f075f5ded69 (patch)
tree51a9405c249a770bd67d4ca03368a66cedb4e6d4 /phpBB
parent84689680143f6e2b02dfb41d019419dce91a47ec (diff)
downloadforums-2f1635116cbaaee3645044022f883f075f5ded69.tar
forums-2f1635116cbaaee3645044022f883f075f5ded69.tar.gz
forums-2f1635116cbaaee3645044022f883f075f5ded69.tar.bz2
forums-2f1635116cbaaee3645044022f883f075f5ded69.tar.xz
forums-2f1635116cbaaee3645044022f883f075f5ded69.zip
[ticket/9550] Add template event ucp_pm_viewmessage_custom_fields_before
Adds a template event required for the karma extension. It allows adding data before the custom fields under the username and avatar next to every private message in prosilver. Explanation from http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=44379: Used by the karma extension to add a karma score indication that allows users to see how respected the pm sender is. PHPBB3-9550
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/styles/prosilver/template/ucp_pm_viewmessage.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
index 22149c8b80..accea4d3dd 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
@@ -85,6 +85,7 @@
<!-- IF AUTHOR_JOINED --><dd><strong>{L_JOINED}{L_COLON}</strong> {AUTHOR_JOINED}</dd><!-- ENDIF -->
<!-- IF AUTHOR_FROM --><dd><strong>{L_LOCATION}{L_COLON}</strong> {AUTHOR_FROM}</dd><!-- ENDIF -->
+ <!-- EVENT ucp_pm_viewmessage_custom_fields_before -->
<!-- BEGIN custom_fields -->
<dd><strong>{custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- END custom_fields -->