aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-15 16:26:41 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-15 16:26:41 +0000
commit0ed25deb63d13a77a26d74866434bd2832242319 (patch)
tree97deba7f12f669aa9304339e36c1dcf8f5aed8ab /phpBB/privmsg.php
parent01488dc03b7bb67780d382ec9e2a4575012b05b6 (diff)
downloadforums-0ed25deb63d13a77a26d74866434bd2832242319.tar
forums-0ed25deb63d13a77a26d74866434bd2832242319.tar.gz
forums-0ed25deb63d13a77a26d74866434bd2832242319.tar.bz2
forums-0ed25deb63d13a77a26d74866434bd2832242319.tar.xz
forums-0ed25deb63d13a77a26d74866434bd2832242319.zip
Email form - free with purchase of any two other items
git-svn-id: file:///svn/phpbb/trunk@1316 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 1b0ff74c66..e92d9c9d0b 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -388,12 +388,11 @@ if( $mode == "read" )
$profile_img = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$user_id_from") . "\"><img src=\"" . $images['icon_profile'] . "\" alt=\"" . $lang['Read_profile'] . " $username_from\" border=\"0\" /></a>";
- $email_addr = str_replace("@", " at ", $privmsg['user_email']);
- $email_img = ($privmsg['user_viewemail'] && $email_addr != "" ) ? "<a href=\"mailto:$email_addr\"><img src=\"" . $images['icon_email'] . "\" alt=\"" . $lang['Send_email'] . " $username_from\" border=\"0\" /></a>" : "";
+ $email_img = ( $privmsg['user_viewemail'] ) ? "<a href=\"" . append_sid("profile.$phpEx?mode=email&amp;" . POST_USERS_URL ."=$user_id_from") . "\"><img src=\"" . $images['icon_email'] . "\" alt=\"" . $lang['Send_email'] . " $poster\" border=\"0\" /></a>" : "";
- $www_img = ($privmsg['user_website']) ? "<a href=\"" . $privmsg['user_website'] . "\" target=\"_userwww\"><img src=\"" . $images['icon_www'] . "\" alt=\"" . $lang['Visit_website'] . "\" border=\"0\" /></a>" : "";
+ $www_img = ( $privmsg['user_website']) ? "<a href=\"" . $privmsg['user_website'] . "\" target=\"_userwww\"><img src=\"" . $images['icon_www'] . "\" alt=\"" . $lang['Visit_website'] . "\" border=\"0\" /></a>" : "";
- if($privmsg['user_icq'])
+ if( $privmsg['user_icq'] )
{
$icq_status_img = "<a href=\"http://wwp.icq.com/" . $privmsg['user_icq'] . "#pager\"><img src=\"http://web.icq.com/whitepages/online?icq=" . $privmsg['user_icq'] . "&amp;img=5\" width=\"18\" height=\"18\" border=\"0\" /></a>";