aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrizzo <mail@crizzo.de>2015-03-13 22:17:11 +0100
committerCrizzo <mail@crizzo.de>2015-03-13 23:37:07 +0100
commit0a52d732e4321d8b5375fd14461db9c463ad5af3 (patch)
tree74ba3bc1ec5bada4d79135624861b8cd390d87e9
parente132e9ba76e63f71a6019b79c7a42417b3b633b4 (diff)
downloadforums-0a52d732e4321d8b5375fd14461db9c463ad5af3.tar
forums-0a52d732e4321d8b5375fd14461db9c463ad5af3.tar.gz
forums-0a52d732e4321d8b5375fd14461db9c463ad5af3.tar.bz2
forums-0a52d732e4321d8b5375fd14461db9c463ad5af3.tar.xz
forums-0a52d732e4321d8b5375fd14461db9c463ad5af3.zip
[ticket/13701] Adds two new events to posting_pm_layout.html
These events wrap the includes of posting_pm_header.html to add some content before and after it. PHPBB3-13701
-rw-r--r--phpBB/docs/events.md14
-rw-r--r--phpBB/styles/prosilver/template/posting_pm_layout.html2
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 5c4b6a8d7d..fd6cfdfeaa 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -976,6 +976,20 @@ posting_pm_header_find_username_before
* Since: 3.1.0-RC4
* Purpose: Add content before the find username link on composing pm
+posting_pm_layout_include_pm_header_after
+===
+* Locations:
+ + styles/prosilver/template/posting_pm_layout.html
+* Since: 3.1.4-RC1
+* Purpose: Add content after the include of posting_pm_header.html
+
+posting_pm_layout_include_pm_header_before
+===
+* Locations:
+ + styles/prosilver/template/posting_pm_layout.html
+* Since: 3.1.4-RC1
+* Purpose: Add content before the include of posting_pm_header.html
+
quickreply_editor_panel_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/posting_pm_layout.html b/phpBB/styles/prosilver/template/posting_pm_layout.html
index 3bdadd06ca..7f4a0ea8d7 100644
--- a/phpBB/styles/prosilver/template/posting_pm_layout.html
+++ b/phpBB/styles/prosilver/template/posting_pm_layout.html
@@ -19,7 +19,9 @@
<div class="panel" id="pmheader-postingbox">
<div class="inner">
+ <!-- EVENT posting_pm_layout_include_pm_header_before -->
<!-- INCLUDE posting_pm_header.html -->
+ <!-- EVENT posting_pm_layout_include_pm_header_after -->
</div>
</div>