# HG changeset patch
# User Dan
# Date 1242417385 14400
# Node ID aa6f26d965776bfe296be8c96f1c8cbda5dabe5e
# Parent 4ecf46e5eeab1f0608ee11a1a3147fa9fcb1e750
User homepage/URL is now displayed on user pages
diff -r 4ecf46e5eeab -r aa6f26d96577 includes/namespaces/user.php
--- a/includes/namespaces/user.php Fri May 15 15:56:10 2009 -0400
+++ b/includes/namespaces/user.php Fri May 15 15:56:25 2009 -0400
@@ -338,6 +338,12 @@
echo '
' . $lang->get('userpage_lbl_email') . ' ' . $email_link . ' |
';
}
+ if ( !empty($userdata['user_homepage']) )
+ {
+ $class = ( $class == 'row1' ) ? 'row3' : 'row1';
+ echo '' . $lang->get('userpage_lbl_homepage') . ' ' . $userdata['user_homepage'] . ' |
';
+ }
+
$class = ( $class == 'row1' ) ? 'row3' : 'row1';
if ( $session->user_logged_in )
{
diff -r 4ecf46e5eeab -r aa6f26d96577 language/english/user.json
--- a/language/english/user.json Fri May 15 15:56:10 2009 -0400
+++ b/language/english/user.json Fri May 15 15:56:25 2009 -0400
@@ -649,6 +649,7 @@
msg_no_comments: 'This user has not posted any comments.',
heading_contact: 'Get in touch',
lbl_email: 'E-mail address:',
+ lbl_homepage: 'Website:',
btn_send_pm: 'Send %username% a Private Message!',
btn_send_pm_guest: 'You could send %username% a Private Message if you were logged in.',
lbl_aim: 'AIM:',