mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Moderator+ viewing of email addresses
git-svn-id: file:///svn/phpbb/trunk@1653 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2c7c978330
commit
88a58755da
1 changed files with 6 additions and 6 deletions
|
@ -754,7 +754,7 @@ for($i = 0; $i < $total_posts; $i++)
|
||||||
switch( $postrow[$i]['user_avatar_type'] )
|
switch( $postrow[$i]['user_avatar_type'] )
|
||||||
{
|
{
|
||||||
case USER_AVATAR_UPLOAD:
|
case USER_AVATAR_UPLOAD:
|
||||||
$poster_avatar = ( $board_config['avatar_upload_db'] ) ? "<img src=\"avatar.$phpEx?p=" . $postrow[$i]['post_id'] . "\" alt=\"\" />" : "<img src=\"" . $board_config['avatar_path'] . "/" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"0\" />";
|
$poster_avatar = "<img src=\"" . $board_config['avatar_path'] . "/" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"0\" />";
|
||||||
break;
|
break;
|
||||||
case USER_AVATAR_REMOTE:
|
case USER_AVATAR_REMOTE:
|
||||||
$poster_avatar = "<img src=\"" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"0\" />";
|
$poster_avatar = "<img src=\"" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"0\" />";
|
||||||
|
@ -839,7 +839,7 @@ for($i = 0; $i < $total_posts; $i++)
|
||||||
|
|
||||||
$pm_img = "<a href=\"" . append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$poster_id") . "\"><img src=\"". $images['icon_pm'] . "\" alt=\"" . $lang['Send_private_message'] . "\" title=\"" . $lang['Send_private_message'] . "\" border=\"0\" /></a>";
|
$pm_img = "<a href=\"" . append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$poster_id") . "\"><img src=\"". $images['icon_pm'] . "\" alt=\"" . $lang['Send_private_message'] . "\" title=\"" . $lang['Send_private_message'] . "\" border=\"0\" /></a>";
|
||||||
|
|
||||||
if( !empty($postrow[$i]['user_viewemail']) )
|
if( !empty($postrow[$i]['user_viewemail']) || $is_auth['auth_mod'] )
|
||||||
{
|
{
|
||||||
$email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL ."=" . $poster_id) : "mailto:" . $postrow[$i]['user_email'];
|
$email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL ."=" . $poster_id) : "mailto:" . $postrow[$i]['user_email'];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue