diff options
author | rechosen <rechosen@gmail.com> | 2013-07-14 22:25:49 +0200 |
---|---|---|
committer | rechosen <rechosen@gmail.com> | 2013-08-02 11:16:02 +0200 |
commit | c049c8d6f0aea53e39de64c82a72ca4a724cb17d (patch) | |
tree | 994b692a8e0625e27dfc944b5274f2d2754f33ef /phpBB | |
parent | fd8ab9255981f9e613a0f0419c3115e4c470c5a7 (diff) | |
download | forums-c049c8d6f0aea53e39de64c82a72ca4a724cb17d.tar forums-c049c8d6f0aea53e39de64c82a72ca4a724cb17d.tar.gz forums-c049c8d6f0aea53e39de64c82a72ca4a724cb17d.tar.bz2 forums-c049c8d6f0aea53e39de64c82a72ca4a724cb17d.tar.xz forums-c049c8d6f0aea53e39de64c82a72ca4a724cb17d.zip |
[ticket/9550] Add template event viewtopic_body_postrow_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 post.
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 post author is.
PHPBB3-9550
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 1 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/viewtopic_body.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index bc8a71c9bf..3260ae8b92 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -239,6 +239,7 @@ <dd><strong>{postrow.PROFILE_FIELD1_NAME}{L_COLON}</strong> {postrow.PROFILE_FIELD1_VALUE}</dd> <!-- ENDIF --> + <!-- EVENT viewtopic_body_postrow_custom_fields_before --> <!-- BEGIN custom_fields --> <dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd> <!-- END custom_fields --> diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html index 38847d0805..787f67275b 100644 --- a/phpBB/styles/subsilver2/template/viewtopic_body.html +++ b/phpBB/styles/subsilver2/template/viewtopic_body.html @@ -208,6 +208,7 @@ <br /><b>{postrow.PROFILE_FIELD1_NAME}{L_COLON}</b> {postrow.PROFILE_FIELD1_VALUE} <!-- ENDIF --> + <!-- EVENT viewtopic_body_postrow_custom_fields_before --> <!-- BEGIN custom_fields --> <br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</b> {postrow.custom_fields.PROFILE_FIELD_VALUE} <!-- END custom_fields --> |