mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-18 23:14:41 +01:00
#24601 ;_;
git-svn-id: file:///svn/phpbb/trunk@7197 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a1cad7ca60
commit
a08ef9c928
@ -3370,7 +3370,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
|
||||
}
|
||||
else if (!$profile_url && $username_colour)
|
||||
{
|
||||
$tpl = '<span style="color: {USERNAME_COLOUR}; font-weight: bold;">{USERNAME}</span>';
|
||||
$tpl = '<span style="color: {USERNAME_COLOUR};" class="username-coloured">{USERNAME}</span>';
|
||||
}
|
||||
else if ($profile_url && !$username_colour)
|
||||
{
|
||||
@ -3378,7 +3378,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
|
||||
}
|
||||
else if ($profile_url && $username_colour)
|
||||
{
|
||||
$tpl = '<a href="{PROFILE_URL}" style="color: {USERNAME_COLOUR}; font-weight: bold;">{USERNAME}</a>';
|
||||
$tpl = '<a href="{PROFILE_URL}" style="color: {USERNAME_COLOUR};" class="username-coloured">{USERNAME}</a>';
|
||||
}
|
||||
|
||||
return str_replace(array('{PROFILE_URL}', '{USERNAME_COLOUR}', '{USERNAME}'), array($profile_url, $username_colour, $username), $tpl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user