1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/7707] Add get_username_string() where possible

PHPBB3-7707
This commit is contained in:
Oliver Schramm
2014-03-16 00:11:12 +01:00
parent 325931a56b
commit 4b2d7735b3
7 changed files with 19 additions and 23 deletions

View File

@@ -1175,7 +1175,7 @@ while ($row = $db->sql_fetchrow($result))
'user_colour' => $row['user_colour'],
'online' => false,
'profile' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u=$poster_id"),
'profile' => get_username_string('profile', $poster_id, $row['username'], $row['user_colour']),
'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '',
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',