diff options
author | David King <imkingdavid@gmail.com> | 2012-08-23 12:49:09 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-08-23 12:49:09 -0400 |
commit | 7ee3eb16ac1a4f11003c72b77352ad7fda53050d (patch) | |
tree | a0924c8ab4d93cd72e9258b8527ffdb684727060 /phpBB/posting.php | |
parent | e67b010846389b649aa46729fc4180f2a177e24d (diff) | |
download | forums-7ee3eb16ac1a4f11003c72b77352ad7fda53050d.tar forums-7ee3eb16ac1a4f11003c72b77352ad7fda53050d.tar.gz forums-7ee3eb16ac1a4f11003c72b77352ad7fda53050d.tar.bz2 forums-7ee3eb16ac1a4f11003c72b77352ad7fda53050d.tar.xz forums-7ee3eb16ac1a4f11003c72b77352ad7fda53050d.zip |
[feature/add_events] Add more parameters to core.modify_posting_parameters
PHPBB3-9550
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 33f0bae353..f37d6128de 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -50,6 +50,11 @@ $current_time = time(); * Note: $refresh must be true to retain previously submitted form data. * * @event core.modify_posting_parameters +* @var int post_id ID of the post +* @var int topic_id ID of the topic +* @var int forum_id ID of the forum +* @var int draft_id ID of the draft +* @var int lastclick Timestamp of when the form was last loaded * @var bool submit Whether or not the form has been submitted * @var bool preview Whether or not the post is being previewed * @var bool save Whether or not a draft is being saved @@ -67,7 +72,7 @@ $current_time = time(); * language keys. * @since 3.1-A1 */ -$vars = array('submit', 'preview', 'save', 'load', 'delete', 'cancel', 'refresh', 'mode', 'error'); +$vars = array('post_id', 'topic_id', 'forum_id', 'draft_id', 'lastclick', 'submit', 'preview', 'save', 'load', 'delete', 'cancel', 'refresh', 'mode', 'error'); extract($phpbb_dispatcher->trigger_event('core.modify_posting_parameters', compact($vars))); // Was cancel pressed? If so then redirect to the appropriate page |