aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-08-03 22:20:48 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-08-03 22:20:48 +0200
commit5330ea0f0924ec8edff8522d340654617080e95e (patch)
treec83b3b486d06a2ba66e5b0776a62570f9d1e0209
parentf68820762b2d78bc26c59724a3dd98091bb3379b (diff)
parent775df0eb8a3545b873d23190caa2934d43e4189e (diff)
downloadforums-5330ea0f0924ec8edff8522d340654617080e95e.tar
forums-5330ea0f0924ec8edff8522d340654617080e95e.tar.gz
forums-5330ea0f0924ec8edff8522d340654617080e95e.tar.bz2
forums-5330ea0f0924ec8edff8522d340654617080e95e.tar.xz
forums-5330ea0f0924ec8edff8522d340654617080e95e.zip
Merge pull request #4324 from Senky/ticket/14516
[ticket/14516] Add memberlist_email_before event
-rw-r--r--phpBB/docs/events.md8
-rw-r--r--phpBB/styles/prosilver/template/memberlist_email.html2
-rw-r--r--phpBB/styles/subsilver2/template/memberlist_email.html2
3 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 1fe8b915f1..0e71bf5c11 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -959,6 +959,14 @@ memberlist_body_username_prepend
* Purpose: Add information before every username in the memberlist. Works in
all display modes (leader, group and normal memberlist).
+memberlist_email_before
+===
+* Locations:
+ + styles/prosilver/template/memberlist_email.html
+ + styles/subsilver2/template/memberlist_email.html
+* Since: 3.1.10-RC1
+* Purpose: Allow adding customizations before the memberlist_email form.
+
memberlist_search_fields_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/memberlist_email.html b/phpBB/styles/prosilver/template/memberlist_email.html
index 4a9f764d07..eea699da08 100644
--- a/phpBB/styles/prosilver/template/memberlist_email.html
+++ b/phpBB/styles/prosilver/template/memberlist_email.html
@@ -1,5 +1,7 @@
<!-- INCLUDE overall_header.html -->
+<!-- EVENT memberlist_email_before -->
+
<!-- IF S_CONTACT_ADMIN-->
<h2 class="titlespace">{L_CONTACT_ADMIN}</h2>
<!-- ELSEIF S_SEND_USER -->
diff --git a/phpBB/styles/subsilver2/template/memberlist_email.html b/phpBB/styles/subsilver2/template/memberlist_email.html
index 78ab3e4b8d..04f36b2244 100644
--- a/phpBB/styles/subsilver2/template/memberlist_email.html
+++ b/phpBB/styles/subsilver2/template/memberlist_email.html
@@ -1,5 +1,7 @@
<!-- INCLUDE overall_header.html -->
+<!-- EVENT memberlist_email_before -->
+
<div id="pagecontent">
<form action="{S_POST_ACTION}" method="post" name="postform">