aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-04-01 14:23:58 +0200
committerPayBas <contact@paybas.com>2014-04-01 14:25:40 +0200
commit205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6 (patch)
tree14bf8e112434ce6184119342da73099180f332b2 /phpBB/includes
parent5e688f9540ebb5b32a22202257d5ca36e8e3e254 (diff)
downloadforums-205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6.tar
forums-205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6.tar.gz
forums-205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6.tar.bz2
forums-205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6.tar.xz
forums-205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6.zip
[ticket/12339] Add Event core.page_header_after
PHPBB3-12339
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index ebd676b17a..1e77b6cde4 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4957,6 +4957,17 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
'SITE_LOGO_IMG' => $user->img('site_logo'),
));
+ /**
+ * Execute code and/or overwrite _common_ template variables after they have been assigned.
+ *
+ * @event core.page_header_after
+ * @var string page_title Page title
+ *
+ * @since 3.1-B3
+ */
+ $vars = array('page_title');
+ extract($phpbb_dispatcher->trigger_event('core.page_header_after', compact($vars)));
+
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');