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:
parent
2ee9d4f101
commit
300f887c02
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user