diff -r 1e4b759da336 -r acb7e23b6ffa includes/pageprocess.php
--- a/includes/pageprocess.php Sat Apr 26 17:25:28 2008 -0400
+++ b/includes/pageprocess.php Sun May 04 21:57:48 2008 -0400
@@ -1307,6 +1307,9 @@
}
}
+ // get the user's rank
+ $rank_data = $session->get_user_rank(intval($userdata['authoritative_uid']));
+
$this->header();
// if ( $send_headers )
@@ -1331,10 +1334,20 @@
// Basic user info
echo '
' . $lang->get('userpage_heading_basics', array('username' => htmlspecialchars($target_username))) . ' |
';
+
+ echo '';
if ( $userdata['user_has_avatar'] == '1' )
{
- echo ' |
|
';
+ echo '
';
}
+ // username
+ echo '' . htmlspecialchars($target_username) . '
';
+ // user title, if appropriate
+ if ( $rank_data['user_title'] )
+ echo htmlspecialchars($rank_data['user_title']) . '
';
+ // rank
+ echo htmlspecialchars($lang->get($rank_data['rank_title']));
+ echo '';
echo '' . $lang->get('userpage_lbl_joined') . ' ' . enano_date('F d, Y h:i a', $userdata['reg_time']) . ' |
';
echo '' . $lang->get('userpage_lbl_num_comments') . ' ' . $userdata['n_comments'] . ' |
';