1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[feature/events] Add core.viewtopic_postrow ledge

PHPBB3-9550
This commit is contained in:
Michael Cullum 2012-03-15 20:49:33 +00:00 committed by Joas Schilling
parent 6c50f6610f
commit 54caef8f90

View File

@ -1574,6 +1574,11 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
$postrow = array_merge($postrow, $cp_row['row']);
}
$vars = array('postrow');
$event = new phpbb_event_data(compact($vars));
$phpbb_dispatcher->dispatch('core.viewtopic_postrow', $event);
extract($event->get_data_filtered($vars));
// Dump vars into template
$template->assign_block_vars('postrow', $postrow);