Mercurial > repos > phpBB-MODs > Special_And_Normal_Rank_Images
changeset 11:d6d0591252de v1.2.2
* Fix FIND instructions for changes in phpBB v3.0.8
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 04 Dec 2010 14:33:34 +0000 |
parents | 1b7db8283b8d |
children | 6418d4da6f3f |
files | install.xml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/install.xml Sat Dec 04 14:10:30 2010 +0000 +++ b/install.xml Sat Dec 04 14:33:34 2010 +0000 @@ -200,7 +200,7 @@ get_user_rank($user_rank, (($user_id == ANONYMOUS) ? false : $row['user_posts']), $memberrow['RANK_TITLE'], $memberrow['RANK_IMG'], $memberrow['RANK_IMG_SRC']);]]></action> </edit> <edit> - <find><![CDATA[ if (!empty($data['user_allow_viewemail']) || $auth->acl_get('a_user'))]]></find> + <find><![CDATA[ if ((!empty($data['user_allow_viewemail']) && $auth->acl_get('u_sendemail')) || $auth->acl_get('a_user'))]]></find> <action type="before-add"><![CDATA[ $extra_rank_title = $extra_rank_img = $extra_rank_img_src = ''; if (defined('SHOW_SPECIAL_AS_EXTRA') && SHOW_SPECIAL_AS_EXTRA) @@ -276,7 +276,7 @@ 'extra_rank_image_src' => '',]]></action> </edit> <edit> - <find><![CDATA[ if (!empty($row['user_allow_viewemail']) || $auth->acl_get('a_email'))]]></find> + <find><![CDATA[ if ((!empty($row['user_allow_viewemail']) && $auth->acl_get('u_sendemail')) || $auth->acl_get('a_email'))]]></find> <action type="before-add"><![CDATA[ if (defined('SHOW_SPECIAL_AS_EXTRA') && SHOW_SPECIAL_AS_EXTRA) {