mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/events] Adding core.mcp_forum_topicrow ledge
PHPBB3-9550
This commit is contained in:
parent
e17d0daf51
commit
643081d56c
1 changed files with 5 additions and 0 deletions
|
@ -288,6 +288,11 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$vars = array('topic_row', 'row');
|
||||||
|
$event = new phpbb_event_data(compact($vars));
|
||||||
|
$phpbb_dispatcher->dispatch('core.mcp_forum_topicrow', $event);
|
||||||
|
extract($event->get_data_filtered($vars));
|
||||||
|
|
||||||
$template->assign_block_vars('topicrow', $topic_row);
|
$template->assign_block_vars('topicrow', $topic_row);
|
||||||
}
|
}
|
||||||
unset($topic_rows);
|
unset($topic_rows);
|
||||||
|
|
Loading…
Add table
Reference in a new issue