[ticket/12864] Add template event to header after stylesheets

https://tracker.phpbb.com/browse/PHPBB3-12864

PHPBB3-12864