mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
Added admin enabling of email form
git-svn-id: file:///svn/phpbb/trunk@1320 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -187,7 +187,9 @@ if(($selected_members = $db->sql_numrows($result)) > 0)
|
||||
|
||||
if( !empty($members[$i]['user_viewemail']) )
|
||||
{
|
||||
$email_img = "<a href=\"" . append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL ."=$user_id") . "\"><img src=\"" . $images['icon_email'] . "\" border=\"0\" alt=\"" . $lang['Send_an_email'] . "\" /></a>";
|
||||
$email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL ."=" . $members[$i]['user_id']) : "mailto:" . $members[$i]['user_email'];
|
||||
|
||||
$email_img = "<a href=\"$email_uri\"><img src=\"" . $images['icon_email'] . "\" border=\"0\" alt=\"" . $lang['Send_email'] . " " . $members[$i]['username'] . "\" /></a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user