aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-04 16:14:20 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-04 16:14:20 +0200
commit3674f95e52d726d91b01305f3c9c2cb4c25307e4 (patch)
tree8f5dbee87cd637e877ff5194294508ec3d7e088d
parenteb5202833465ca80791a8093ea5029ae4fdc0e42 (diff)
parent173bffb61a4843dc33b54804084ceda02f9fa3c1 (diff)
downloadforums-3674f95e52d726d91b01305f3c9c2cb4c25307e4.tar
forums-3674f95e52d726d91b01305f3c9c2cb4c25307e4.tar.gz
forums-3674f95e52d726d91b01305f3c9c2cb4c25307e4.tar.bz2
forums-3674f95e52d726d91b01305f3c9c2cb4c25307e4.tar.xz
forums-3674f95e52d726d91b01305f3c9c2cb4c25307e4.zip
Merge pull request #2346 from PayBas/ticket/12438
[ticket/12438] Add Template event memberlist_view_content_prepend * PayBas/ticket/12438: [ticket/12438] Add Template event memberlist_view_content_prepend
-rw-r--r--phpBB/docs/events.md8
-rw-r--r--phpBB/styles/prosilver/template/memberlist_view.html2
-rw-r--r--phpBB/styles/subsilver2/template/memberlist_view.html2
3 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 7b877f6285..3291ffd717 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -308,6 +308,14 @@ memberlist_view_content_append
* Since: 3.1.0-b2
* Purpose: Add custom content to the user profile view after the main content
+memberlist_view_content_prepend
+===
+* Locations:
+ + styles/prosilver/template/memberlist_view.html
+ + styles/subsilver2/template/memberlist_view.html
+* Since: 3.1.0-b3
+* Purpose: Add custom content to the user profile view before the main content
+
memberlist_view_user_statistics_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/memberlist_view.html b/phpBB/styles/prosilver/template/memberlist_view.html
index 3ef3f7ca07..a8b1e972fe 100644
--- a/phpBB/styles/prosilver/template/memberlist_view.html
+++ b/phpBB/styles/prosilver/template/memberlist_view.html
@@ -2,6 +2,8 @@
<h2 class="memberlist-title">{PAGE_TITLE}</h2>
+<!-- EVENT memberlist_view_content_prepend -->
+
<form method="post" action="{S_PROFILE_ACTION}" id="viewprofile">
<div class="panel bg1<!-- IF S_ONLINE --> online<!-- ENDIF -->">
<div class="inner">
diff --git a/phpBB/styles/subsilver2/template/memberlist_view.html b/phpBB/styles/subsilver2/template/memberlist_view.html
index 52f40707c0..4c8014a370 100644
--- a/phpBB/styles/subsilver2/template/memberlist_view.html
+++ b/phpBB/styles/subsilver2/template/memberlist_view.html
@@ -2,6 +2,8 @@
<div id="pagecontent">
+ <!-- EVENT memberlist_view_content_prepend -->
+
<form method="post" action="{S_PROFILE_ACTION}">
<table class="tablebg" width="100%" cellspacing="1">