diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-01-04 15:10:43 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-01-04 15:10:43 +0100 |
commit | 7256a2d944df10ef649794c6174fea5ca69adea3 (patch) | |
tree | c28b409e5a738f1a73f00a5f85ac9a204ff8d943 /phpBB/memberlist.php | |
parent | 5d091e2d8f5079a8ce8dc14500c29f6642c40e98 (diff) | |
download | forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar.gz forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar.bz2 forums-7256a2d944df10ef649794c6174fea5ca69adea3.tar.xz forums-7256a2d944df10ef649794c6174fea5ca69adea3.zip |
[feature/avatars] Add phpbb prefix to new functions
Although get_user_avatar() is not new, the phpbb prefix was prepended. This
is due to the fact that it was entirely rewritten and is therefore more or
less a completely new function.
PHPBB3-10018
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index e389d38fcc..bb2300eb6d 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -549,7 +549,7 @@ switch ($mode) $member['user_sig'] = smiley_text($member['user_sig']); } - $poster_avatar = get_user_avatar($member); + $poster_avatar = phpbb_get_user_avatar($member); // We need to check if the modules 'zebra' ('friends' & 'foes' mode), 'notes' ('user_notes' mode) and 'warn' ('warn_user' mode) are accessible to decide if we can display appropriate links $zebra_enabled = $friends_enabled = $foes_enabled = $user_notes_enabled = $warn_user_enabled = false; @@ -1234,7 +1234,7 @@ switch ($mode) break; } - $avatar_img = get_group_avatar($group_row); + $avatar_img = phpbb_get_group_avatar($group_row); // ... same for group rank $rank_title = $rank_img = $rank_img_src = ''; @@ -1727,7 +1727,7 @@ function show_profile($data, $user_notes_enabled = false, $warn_user_enabled = f 'A_USERNAME' => addslashes(get_username_string('username', $user_id, $username, $data['user_colour'])), - 'AVATAR_IMG' => get_user_avatar($data), + 'AVATAR_IMG' => phpbb_get_user_avatar($data), 'ONLINE_IMG' => (!$config['load_onlinetrack']) ? '' : (($online) ? $user->img('icon_user_online', 'ONLINE') : $user->img('icon_user_offline', 'OFFLINE')), 'S_ONLINE' => ($config['load_onlinetrack'] && $online) ? true : false, 'RANK_IMG' => $rank_img, |