mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/events] Adding ledge viewonline_location
Used by phpBB Gallery PHPBB3-9550
This commit is contained in:
parent
4d87b2254c
commit
bd3024b318
1 changed files with 5 additions and 0 deletions
|
@ -317,6 +317,11 @@ while ($row = $db->sql_fetchrow($result))
|
|||
default:
|
||||
$location = $user->lang['INDEX'];
|
||||
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
|
||||
|
||||
$vars = array('on_page', 'row', 'location', 'location_url');
|
||||
$event = new phpbb_event_data(compact($vars));
|
||||
$phpbb_dispatcher->dispatch('core.viewonline_location', $event);
|
||||
extract($event->get_data_filtered($vars));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue