aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-26 15:09:50 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-26 15:09:50 -0400
commit02644c02b9d6bed5e4a8e20323bdafb2ca9749b4 (patch)
tree3db8a5b3b17c25f594fe38fdc2158907caffc0f6 /phpBB/posting.php
parentca62b1ffb0c1f37877fbb59beef7cd38c012b827 (diff)
downloadforums-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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php8
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();