mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/12339] Add Event core.page_header_after
PHPBB3-12339
This commit is contained in:
parent
5e688f9540
commit
205e098b38
1 changed files with 11 additions and 0 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue