From 205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6 Mon Sep 17 00:00:00 2001 From: PayBas Date: Tue, 1 Apr 2014 14:23:58 +0200 Subject: [PATCH] [ticket/12339] Add Event core.page_header_after PHPBB3-12339 --- phpBB/includes/functions.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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');