diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-09-21 15:05:04 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-09-21 15:05:04 +0000 |
commit | 7be10f7bf532d6b137f86a7b73d00922ab099687 (patch) | |
tree | b80d3798869c7b814e6bde4013e1cd6231996829 /phpBB/includes/acp/acp_users.php | |
parent | 69d29e9282e0fcdbcac0017acea8aaa942ee2623 (diff) | |
download | forums-7be10f7bf532d6b137f86a7b73d00922ab099687.tar forums-7be10f7bf532d6b137f86a7b73d00922ab099687.tar.gz forums-7be10f7bf532d6b137f86a7b73d00922ab099687.tar.bz2 forums-7be10f7bf532d6b137f86a7b73d00922ab099687.tar.xz forums-7be10f7bf532d6b137f86a7b73d00922ab099687.zip |
#i51 - #i63 - #i64
git-svn-id: file:///svn/phpbb/trunk@8095 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_users.php')
-rw-r--r-- | phpBB/includes/acp/acp_users.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php index e54ebf0a95..aaf066dfca 100644 --- a/phpBB/includes/acp/acp_users.php +++ b/phpBB/includes/acp/acp_users.php @@ -47,13 +47,7 @@ class acp_users $user_ip = request_var('user_ip', ''); $domain = gethostbyaddr($user_ip); - $ipwhois = ''; - - if ($ipwhois = user_ipwhois($user_ip)) - { - $ipwhois = preg_replace('#(\s)([\w\-\._\+]+@[\w\-\.]+)(\s)#', '\1<a href="mailto:\2">\2</a>\3', $ipwhois); - $ipwhois = preg_replace('#(\s)(http:/{2}[^\s]*)(\s)#', '\1<a href="\2">\2</a>\3', $ipwhois); - } + $ipwhois = user_ipwhois($user_ip); $template->assign_vars(array( 'MESSAGE_TITLE' => sprintf($user->lang['IP_WHOIS_FOR'], $domain), |