aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-06-24 22:06:47 +0200
committerPayBas <contact@paybas.com>2014-06-25 14:19:06 +0200
commit23caeb77122a25ef8ec10099733852c0abf812be (patch)
tree8e34d83623ff81a5fb0b7b9cc695b708ac1539f5 /phpBB/includes/functions_content.php
parent775dc316b000d67e16e0f45133a24219e1918137 (diff)
downloadforums-23caeb77122a25ef8ec10099733852c0abf812be.tar
forums-23caeb77122a25ef8ec10099733852c0abf812be.tar.gz
forums-23caeb77122a25ef8ec10099733852c0abf812be.tar.bz2
forums-23caeb77122a25ef8ec10099733852c0abf812be.tar.xz
forums-23caeb77122a25ef8ec10099733852c0abf812be.zip
[ticket/12662] Add span containers to all usernames for consistency
PHPBB3-12662
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 74b3e0c70f..09bd3e6cdb 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -1334,9 +1334,9 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
global $phpbb_root_path, $phpEx;
$_profile_cache['base_url'] = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&amp;u={USER_ID}');
- $_profile_cache['tpl_noprofile'] = '{USERNAME}';
+ $_profile_cache['tpl_noprofile'] = '<span class="username">{USERNAME}</span>';
$_profile_cache['tpl_noprofile_colour'] = '<span style="color: {USERNAME_COLOUR};" class="username-coloured">{USERNAME}</span>';
- $_profile_cache['tpl_profile'] = '<a href="{PROFILE_URL}">{USERNAME}</a>';
+ $_profile_cache['tpl_profile'] = '<a href="{PROFILE_URL}" class="username">{USERNAME}</a>';
$_profile_cache['tpl_profile_colour'] = '<a href="{PROFILE_URL}" style="color: {USERNAME_COLOUR};" class="username-coloured">{USERNAME}</a>';
}