1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-31 11:39:37 +02:00

[ticket/16383] Add core events to modify friends list

PHPBB3-16383
This commit is contained in:
Dark❶ 2020-02-28 00:30:34 +05:30
parent 2ee9d4f101
commit 300f887c02
No known key found for this signature in database
GPG Key ID: FAE32A15F9132DE8

View File

@ -376,13 +376,13 @@ if ($module->is_active('zebra', 'friends'))
{
$which = (time() - $update_time < $row['online_time'] && ($row['viewonline'] || $auth->acl_get('u_viewonline'))) ? 'online' : 'offline';
$tpl_ary = array(
$tpl_ary = [
'USER_ID' => $row['user_id'],
'U_PROFILE' => get_username_string('profile', $row['user_id'], $row['username'], $row['user_colour']),
'USER_COLOUR' => get_username_string('colour', $row['user_id'], $row['username'], $row['user_colour']),
'USERNAME' => get_username_string('username', $row['user_id'], $row['username'], $row['user_colour']),
'USERNAME_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'])
);
];
/**
* Event to modify the template before listing of friends