the clan tags now is assigned a different color than the user

main
hecht 13 years ago
parent ea71ea8feb
commit 0535167230

@ -52,10 +52,10 @@ function generateUserNameByID($userid, $showClanTags = TRUE){
$nickname = $user_info['nickname'];
if($user_info['clanz_pre'] !== NULL && $user_info['clanz_pre'] != '' && $showClanTags) {
$nickname = $user_info['clanz_pre'] . ' ' . $nickname;
$nickname = '<span style="color:'.$GLOBALS['COLOR_CLAN_TAG'].'">'.$user_info['clanz_pre'] . '</span> ' . $nickname;
}
if($user_info['clanz_suff'] !== NULL && $user_info['clanz_suff'] != '' && $showClanTags) {
$nickname = $nickname . ' ' . $user_info['clanz_suff'];
$nickname = $nickname . ' <span style="color:'.$GLOBALS['COLOR_CLAN_TAG'].'">' . $user_info['clanz_suff'] . '</span>';
}
if($color == ''){
@ -164,4 +164,4 @@ function displayCount($value){
return number_format($value,0,'','.');
}
?>
?>

Loading…
Cancel
Save