[ticket/12513] Add simple_header head event with support for CSS assets calls

PHPBB3-12513
This commit is contained in:
Matt Friedman 2014-05-07 11:53:25 -07:00
parent 3c86a9bcca
commit 8fda490050
3 changed files with 17 additions and 0 deletions

View file

@ -617,6 +617,14 @@ simple_header_body_before
* Since: 3.1.0-b2 * Since: 3.1.0-b2
* Purpose: Add content to the header body * Purpose: Add content to the header body
simple_header_head_append
===
* Locations:
+ styles/prosilver/template/simple_header.html
+ styles/subsilver2/template/simple_header.html
* Since: 3.1.0-b4
* Purpose: Add asset calls directly before the `</head>` tag
topiclist_row_prepend topiclist_row_prepend
=== ===
* Locations: * Locations:

View file

@ -24,6 +24,10 @@
<!-- DEFINE $POPUP = 1 --> <!-- DEFINE $POPUP = 1 -->
<!-- EVENT simple_header_head_append -->
{$STYLESHEETS}
</head> </head>
<body id="phpbb" class="nojs {S_CONTENT_DIRECTION} {BODY_CLASS}"> <body id="phpbb" class="nojs {S_CONTENT_DIRECTION} {BODY_CLASS}">

View file

@ -9,6 +9,11 @@
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<link rel="stylesheet" href="{T_STYLESHEET_LANG_LINK}" type="text/css" /> <link rel="stylesheet" href="{T_STYLESHEET_LANG_LINK}" type="text/css" />
<!-- EVENT simple_header_head_append -->
{$STYLESHEETS}
</head> </head>
<body class="{S_CONTENT_DIRECTION} {BODY_CLASS}"> <body class="{S_CONTENT_DIRECTION} {BODY_CLASS}">