aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-05-31 11:47:43 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-05-31 11:47:43 +0000
commitb653b4dd670af1a07a29861e03f13a4a1960e96e (patch)
tree8d475b799e639c40a11ca5f45d58a5a57875c906 /phpBB/profile.php
parent0a99b25500f649cce6d465e8349fc8a48f21af4c (diff)
downloadforums-b653b4dd670af1a07a29861e03f13a4a1960e96e.tar
forums-b653b4dd670af1a07a29861e03f13a4a1960e96e.tar.gz
forums-b653b4dd670af1a07a29861e03f13a4a1960e96e.tar.bz2
forums-b653b4dd670af1a07a29861e03f13a4a1960e96e.tar.xz
forums-b653b4dd670af1a07a29861e03f13a4a1960e96e.zip
Various changes and fixes to enable search from username and template updates
git-svn-id: file:///svn/phpbb/trunk@382 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index a15ad94aa9..e39277aeed 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -320,10 +320,11 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"MSN" => stripslashes($profiledata['user_msnm']),
"L_YAHOO" => stripslashes($l_yahoo),
"YIM" => stripslashes($profiledata['user_yim']),
- "WEBSITE" => "<a href=\"".stripslashes($profiledata['user_website'])."\" target=\"_blank\">".stripslashes($profiledata['user_website'])."</a>",
+ "WEBSITE" => stripslashes($profiledata['user_website']),
"LOCATION" => stripslashes($profiledata['user_from']),
"OCCUPATION" => stripslashes($profiledata['user_occ']),
- "INTERESTS" => stripslashes($profiledata['user_interests']),
+ "INTERESTS" => stripslashes($profiledata['user_interests']),
+ "AVATAR_IMG" => $board_config['avatar_path'] . "/" . stripslashes($profiledata['user_avatar']),
"L_VIEWING_PROFILE" => $l_viewing_profile,
"L_USERNAME" => $l_username,
@@ -338,7 +339,11 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"L_MESSENGER" => $l_messenger,
"L_LOCATION" => $l_from,
"L_OCCUPATION" => $l_occupation,
- "L_INTERESTS" => $l_interests,
+ "L_INTERESTS" => $l_interests,
+ "L_AVATAR" => $l_avatar,
+
+ "U_SEARCH_USER" => append_sid("search.$phpEx?a=".urlencode($profiledata['username'])."&f=all&b=0&d=DESC&c=100&dosearch=1"),
+ "U_USER_WEBSITE" => stripslashes($profiledata['user_website']),
"S_PROFILE_ACTION" => append_sid("profile.$phpEx"))
);