aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-10-02 15:38:22 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-10-02 15:38:22 +0200
commit240ff277070844a11bc541c750818af568960d20 (patch)
tree32e378b1890c7f99451a4bc523818b527c92f3e9 /phpBB
parent90241ae4e66b3f8d40eb823c0d4434183af02864 (diff)
parenteb2aa1f83a9f3a032e3574612fb4e56ce4d2e520 (diff)
downloadforums-240ff277070844a11bc541c750818af568960d20.tar
forums-240ff277070844a11bc541c750818af568960d20.tar.gz
forums-240ff277070844a11bc541c750818af568960d20.tar.bz2
forums-240ff277070844a11bc541c750818af568960d20.tar.xz
forums-240ff277070844a11bc541c750818af568960d20.zip
Merge pull request #3000 from rxu/ticket/13110
[ticket/13110] Add core event to the page_footer() function
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index a502314ded..7700dcfd27 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -5290,6 +5290,18 @@ function page_footer($run_cron = true, $display_template = true, $exit_handler =
}
}
+ /**
+ * Execute code and/or modify output before displaying the template.
+ *
+ * @event core.page_footer_after
+ * @var bool display_template Whether or not to display the template
+ * @var bool exit_handler Whether or not to run the exit_handler()
+ *
+ * @since 3.1.0-RC5
+ */
+ $vars = array('display_template', 'exit_handler');
+ extract($phpbb_dispatcher->trigger_event('core.page_footer_after', compact($vars)));
+
if ($display_template)
{
$template->display('body');