1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 07:07:51 +02:00

[feature/add_events] Added core.posting_modify_template_vars

Can be used to set template variables and such, as the template assignment
methods are not available to the modify_posting_paramters event.

PHPBB3-9550
This commit is contained in:
David King 2012-08-26 15:09:50 -04:00
parent ca62b1ffb0
commit 02644c02b9

View File

@ -1452,6 +1452,14 @@ $template->assign_vars(array(
'S_HIDDEN_FIELDS' => $s_hidden_fields)
);
/**
* This event allows you to modify template variables for the posting screen
*
* @event core.posting_modify_template_vars
* @since 3.1-A1
*/
$phpbb_dispatcher->trigger_event('core.posting_modify_template_vars');
// Build custom bbcodes array
display_custom_bbcodes();