diff options
| author | David King <imkingdavid@gmail.com> | 2012-08-26 15:09:50 -0400 |
|---|---|---|
| committer | David King <imkingdavid@gmail.com> | 2012-08-26 15:09:50 -0400 |
| commit | 02644c02b9d6bed5e4a8e20323bdafb2ca9749b4 (patch) | |
| tree | 3db8a5b3b17c25f594fe38fdc2158907caffc0f6 | |
| parent | ca62b1ffb0c1f37877fbb59beef7cd38c012b827 (diff) | |
| download | forums-02644c02b9d6bed5e4a8e20323bdafb2ca9749b4.tar forums-02644c02b9d6bed5e4a8e20323bdafb2ca9749b4.tar.gz forums-02644c02b9d6bed5e4a8e20323bdafb2ca9749b4.tar.bz2 forums-02644c02b9d6bed5e4a8e20323bdafb2ca9749b4.tar.xz forums-02644c02b9d6bed5e4a8e20323bdafb2ca9749b4.zip | |
[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
| -rw-r--r-- | phpBB/posting.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index ff959bb4b7..81ef31f96c 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -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(); |
