aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-15 16:44:44 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-15 16:44:44 +0000
commit04660b6475666564504c1dd11a8b0f41edb3c452 (patch)
tree78f4fedd66d08c9968098f4a528c208182538d7e /phpBB
parentbe43f44e3376dc3e5aeb680d30973693517ab339 (diff)
downloadforums-04660b6475666564504c1dd11a8b0f41edb3c452.tar
forums-04660b6475666564504c1dd11a8b0f41edb3c452.tar.gz
forums-04660b6475666564504c1dd11a8b0f41edb3c452.tar.bz2
forums-04660b6475666564504c1dd11a8b0f41edb3c452.tar.xz
forums-04660b6475666564504c1dd11a8b0f41edb3c452.zip
Email form - free with purchase of any two other items
git-svn-id: file:///svn/phpbb/trunk@1318 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index a5a6c956e6..a845e4b447 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -785,8 +785,7 @@ for($i = 0; $i < $total_posts; $i++)
$pm_img = "<a href=\"" . append_sid("privmsg.$phpEx?mode=post&amp;" . POST_USERS_URL . "=$poster_id") . "\"><img src=\"". $images['icon_pm'] . "\" alt=\"" . $lang['Private_messaging'] . "\" border=\"0\" /></a>";
- $email_addr = str_replace("@", " at ", $postrow[$i]['user_email']);
- $email_img = ($postrow[$i]['user_viewemail']) ? "<a href=\"mailto:$email_addr\"><img src=\"" . $images['icon_email'] . "\" alt=\"" . $lang['Send_email'] . " $poster\" border=\"0\" /></a>" : "";
+ $email_img = ( $postrow[$i]['user_viewemail'] ) ? "<a href=\"" . append_sid("profile.$phpEx?mode=email&amp;" . POST_USERS_URL ."=$poster_id") . "\"><img src=\"" . $images['icon_email'] . "\" alt=\"" . $lang['Send_email'] . " $poster\" border=\"0\" /></a>" : "";
$www_img = ($postrow[$i]['user_website']) ? "<a href=\"" . $postrow[$i]['user_website'] . "\" target=\"_userwww\"><img src=\"" . $images['icon_www'] . "\" alt=\"" . $lang['Visit_website'] . "\" border=\"0\" /></a>" : "";