diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-05 00:53:39 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-05 00:53:39 +0000 |
commit | 6ca40653e93c5e544911b8c53348f9a7dd0b9771 (patch) | |
tree | 34af43b768d73d78b7b804779b6e5ee752e68d1b /phpBB/memberlist.php | |
parent | d806c0a55ff7d829902cb9c09851a3e73d254bd1 (diff) | |
download | forums-6ca40653e93c5e544911b8c53348f9a7dd0b9771.tar forums-6ca40653e93c5e544911b8c53348f9a7dd0b9771.tar.gz forums-6ca40653e93c5e544911b8c53348f9a7dd0b9771.tar.bz2 forums-6ca40653e93c5e544911b8c53348f9a7dd0b9771.tar.xz forums-6ca40653e93c5e544911b8c53348f9a7dd0b9771.zip |
A few minor updates
git-svn-id: file:///svn/phpbb/trunk@4080 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 254cd88625..e28daa9aef 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -718,7 +718,8 @@ function show_profile($data) { if ((empty($rank['rank_special']) && empty($data['user_rank']) && $data['user_posts'] >= $rank['rank_min']) || (!empty($rank['rank_special']) && $data['user_rank'] == $rank['rank_id'])) { - $rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $rank['rank_image'] . '" border="0" alt="' . $rank['rank_title'] . '" title="' . $rank['rank_title'] . '" /><br />' : ''; + $rank_title = (!empty($rank['rank_title'])) ? $rank['rank_title'] : ''; + $rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $rank['rank_image'] . '" border="0" alt="' .$rank_title . '" title="' . $rank_title . '" /><br />' : ''; break; } } @@ -785,28 +786,29 @@ function show_profile($data) 'ONLINE_IMG' => (intval($data['session_time']) >= time() - ($config['load_online_time'] * 60)) ? $user->img('btn_online', $user->lang['USER_ONLINE']) : $user->img('btn_offline', $user->lang['USER_ONLINE']), 'RANK_IMG' => $rank_img, - - 'JOINED' => $user->format_date($data['user_regdate'], $user->lang['DATE_FORMAT']), - 'VISITED' => (empty($last_visit)) ? ' - ' : $user->format_date($last_visit, $user->lang['DATE_FORMAT']), - 'POSTS' => ($data['user_posts']) ? $data['user_posts'] : 0, - 'PM_IMG' => $pm_img, - 'PM' => $pm, 'EMAIL_IMG' => $email_img, - 'EMAIL' => $email, 'WWW_IMG' => $www_img, - 'WWW' => $www, 'ICQ_STATUS_IMG'=> $icq_status_img, 'ICQ_IMG' => $icq_img, - 'ICQ' => $icq, 'AIM_IMG' => $aim_img, - 'AIM' => $aim, 'MSN_IMG' => $msn_img, - 'MSN' => $msn, 'YIM_IMG' => $yim_img, - 'YIM' => $yim, - 'S_ONLINE' => (intval($data['session_time']) >= time() - 300) ? true : false + 'JOINED' => $user->format_date($data['user_regdate'], $user->lang['DATE_FORMAT']), + 'VISITED' => (empty($last_visit)) ? ' - ' : $user->format_date($last_visit, $user->lang['DATE_FORMAT']), + 'POSTS' => ($data['user_posts']) ? $data['user_posts'] : 0, + + 'RANK' => $rank_title, + 'PM' => $pm, + 'EMAIL' => $email, + 'WWW' => $www, + 'ICQ' => $icq, + 'AIM' => $aim, + 'MSN' => $msn, + 'YIM' => $yim, + + 'S_ONLINE' => (intval($data['session_time']) >= time() - 300) ? true : false ); return $template_vars; |