aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorProsk8er <prosk8er@gotskillslounge.com>2014-03-29 09:57:11 -0400
committerProsk8er <prosk8er@gotskillslounge.com>2014-03-29 09:57:11 -0400
commitfb25917fa951e1687fcd66a29137aa1acc966e0c (patch)
treed2b74105d13867c7eec8146cec9531cf2a40b452
parent2e6911b7e7bb4c1ec4e2a24c2f3e6d09f7d18d96 (diff)
downloadforums-fb25917fa951e1687fcd66a29137aa1acc966e0c.tar
forums-fb25917fa951e1687fcd66a29137aa1acc966e0c.tar.gz
forums-fb25917fa951e1687fcd66a29137aa1acc966e0c.tar.bz2
forums-fb25917fa951e1687fcd66a29137aa1acc966e0c.tar.xz
forums-fb25917fa951e1687fcd66a29137aa1acc966e0c.zip
[ticket/12301] Template Event overall_header_body_before
add template event overall_header_body_before PHPBB3-12301
-rw-r--r--phpBB/adm/style/overall_header.html2
-rw-r--r--phpBB/adm/style/simple_header.html2
-rw-r--r--phpBB/docs/events.md28
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html2
-rw-r--r--phpBB/styles/prosilver/template/simple_header.html2
-rw-r--r--phpBB/styles/subsilver2/template/overall_header.html2
-rw-r--r--phpBB/styles/subsilver2/template/simple_header.html1
7 files changed, 39 insertions, 0 deletions
diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html
index 1fc1261489..7e7f0cecee 100644
--- a/phpBB/adm/style/overall_header.html
+++ b/phpBB/adm/style/overall_header.html
@@ -112,6 +112,8 @@ function popup(url, width, height, name)
<body class="{S_CONTENT_DIRECTION} nojs">
+<!-- EVENT acp_overall_header_body_before -->
+
<div id="wrap">
<div id="page-header">
<h1>{L_ADMIN_PANEL}</h1>
diff --git a/phpBB/adm/style/simple_header.html b/phpBB/adm/style/simple_header.html
index 0ca751cd7e..770b7da8a6 100644
--- a/phpBB/adm/style/simple_header.html
+++ b/phpBB/adm/style/simple_header.html
@@ -106,4 +106,6 @@ function find_username(url)
<body class="{S_CONTENT_DIRECTION}">
+<!-- EVENT acp_simple_header_body_before -->
+
<div id="page-body" class="simple-page-body">
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index dfefc0c1ea..e3ca7c9aa1 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -40,6 +40,12 @@ acp_overall_footer_after
* Since: 3.1.0-a1
* Purpose: Add content below the footer in the ACP
+acp_overall_header_body_before
+===
+* Location: adm/style/overall_header.html
+* Since: 3.1.0-b2
+* Purpose: Add content to the header body
+
acp_overall_header_head_append
===
* Location: adm/style/overall_header.html
@@ -52,6 +58,12 @@ acp_simple_footer_after
* Since: 3.1.0-a1
* Purpose: Add content below the simple footer in the ACP
+acp_simple_header_body_before
+===
+* Location: adm/style/simple_header.html
+* Since: 3.1.0-b2
+* Purpose: Add content to the header body
+
acp_simple_header_head_append
===
* Location: adm/style/overall_header.html
@@ -223,6 +235,14 @@ overall_footer_copyright_prepend
* Since: 3.1.0-a1
* Purpose: Add content before the copyright line
+overall_header_body_before
+===
+* Locations:
+ + styles/prosilver/template/overall_header.html
+ + styles/subsilver2/template/overall_header.html
+* Since: 3.1.0-b2
+* Purpose: Add content to the header body
+
overall_header_breadcrumb_append
===
* Locations:
@@ -342,6 +362,14 @@ simple_footer_after
* Since: 3.1.0-a1
* Purpose: Add content directly prior to the `</body>` tag of the simple footer
+simple_header_body_before
+===
+* Locations:
+ + styles/prosilver/template/simple_header.html
+ + styles/subsilver2/template/simple_header.html
+* Since: 3.1.0-b2
+* Purpose: Add content to the header body
+
topiclist_row_prepend
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index df02963e3c..3c4f03c073 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -50,6 +50,8 @@
</head>
<body id="phpbb" class="nojs section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
+<!-- EVENT overall_header_body_before -->
+
<div id="wrap">
<a id="top" accesskey="t"></a>
<div id="page-header">
diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html
index 53c86689e0..24a99154d0 100644
--- a/phpBB/styles/prosilver/template/simple_header.html
+++ b/phpBB/styles/prosilver/template/simple_header.html
@@ -28,6 +28,8 @@
<body id="phpbb" class="nojs {S_CONTENT_DIRECTION}">
+<!-- EVENT simple_header_body_before -->
+
<div id="simple-wrap">
<a id="top" accesskey="t"></a>
<div id="page-body">
diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html
index 5da73bd70d..fbf01ce6a8 100644
--- a/phpBB/styles/subsilver2/template/overall_header.html
+++ b/phpBB/styles/subsilver2/template/overall_header.html
@@ -134,6 +134,8 @@ function marklist(id, name, state)
</head>
<body class="{S_CONTENT_DIRECTION}">
+<!-- EVENT overall_header_body_before -->
+
<a name="top"></a>
<div id="wrapheader">
diff --git a/phpBB/styles/subsilver2/template/simple_header.html b/phpBB/styles/subsilver2/template/simple_header.html
index 43ca16ed87..85528e6769 100644
--- a/phpBB/styles/subsilver2/template/simple_header.html
+++ b/phpBB/styles/subsilver2/template/simple_header.html
@@ -12,5 +12,6 @@
</head>
<body class="{S_CONTENT_DIRECTION}">
+<!-- EVENT simple_header_body_before -->
<a name="top"></a>
<div id="wrapcentre">