diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-03-16 00:11:12 +0100 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-03-16 00:11:12 +0100 |
commit | 4b2d7735b30270ed933ed8ba3d6519183ec87dd6 (patch) | |
tree | 1b4d97caa5278959a38a34288eae2c0773495eb8 /phpBB/includes/acp/acp_main.php | |
parent | 325931a56bcaf23fb8bb3e1e3395ed739714f5d9 (diff) | |
download | forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar.gz forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar.bz2 forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar.xz forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.zip |
[ticket/7707] Add get_username_string() where possible
PHPBB3-7707
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
-rw-r--r-- | phpBB/includes/acp/acp_main.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index fd45027b49..4512905539 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -40,11 +40,7 @@ class acp_main $user_row = $db->sql_fetchrow($result); $db->sql_freeresult($result); - $perm_from = '<strong' . (($user_row['user_colour']) ? ' style="color: #' . $user_row['user_colour'] . '">' : '>'); - $perm_from .= ($user_row['user_id'] != ANONYMOUS) ? '<a href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $user_row['user_id']) . '">' : ''; - $perm_from .= $user_row['username']; - $perm_from .= ($user_row['user_id'] != ANONYMOUS) ? '</a>' : ''; - $perm_from .= '</strong>'; + $perm_from = get_username_string('full', $user_row['user_id'], $user_row['username'], $user_row['user_colour']); $template->assign_vars(array( 'S_RESTORE_PERMISSIONS' => true, |