aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-07-16 19:49:15 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2014-07-16 19:59:06 +0200
commit876c1f4f004f1674b7241990a0203bb96ef55b79 (patch)
treecee0170170329afb224e27e18f79c8afd2107c71 /phpBB
parentcd5fbd52c21fbe855622ce96b91e7b8e54fddde0 (diff)
downloadforums-876c1f4f004f1674b7241990a0203bb96ef55b79.tar
forums-876c1f4f004f1674b7241990a0203bb96ef55b79.tar.gz
forums-876c1f4f004f1674b7241990a0203bb96ef55b79.tar.bz2
forums-876c1f4f004f1674b7241990a0203bb96ef55b79.tar.xz
forums-876c1f4f004f1674b7241990a0203bb96ef55b79.zip
[ticket/12860] Add template events mcp_ban_fields
PHPBB3-12860
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/docs/events.md16
-rw-r--r--phpBB/styles/prosilver/template/mcp_ban.html2
-rw-r--r--phpBB/styles/subsilver2/template/mcp_ban.html2
3 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index f1c03672c3..98ce137557 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -278,6 +278,22 @@ index_body_stat_blocks_before
* Since: 3.1.0-a1
* Purpose: Add new statistic blocks above the Who Is Online and Board Statistics blocks
+mcp_ban_fields_after
+===
+* Locations:
+ + styles/prosilver/template/mcp_ban.html
+ + styles/subsilver2/template/mcp_ban.html
+* Since: 3.1.0-RC3
+* Purpose: Add additional fields to the ban form in MCP
+
+mcp_ban_fields_before
+===
+* Locations:
+ + styles/prosivler/template/mcp_ban.html
+ + styles/subsilver2/template/mcp_ban.html
+* Since: 3.1.0-RC3
+* Purpose: Add additional fields to the ban form in MCP
+
memberlist_body_username_append
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/mcp_ban.html b/phpBB/styles/prosilver/template/mcp_ban.html
index 591dbf8076..7e25ff3416 100644
--- a/phpBB/styles/prosilver/template/mcp_ban.html
+++ b/phpBB/styles/prosilver/template/mcp_ban.html
@@ -42,6 +42,7 @@
<p>{L_EXPLAIN}</p>
<fieldset>
+ <!-- EVENT mcp_ban_fields_before -->
<dl>
<dt><label for="ban">{L_BAN_CELL}{L_COLON}</label></dt>
<dd><label for="ban"><textarea name="ban" id="ban" class="inputbox" cols="40" rows="3">{BAN_QUANTIFIER}</textarea></label></dd>
@@ -70,6 +71,7 @@
<label for="banexclude0"><input type="radio" name="banexclude" id="banexclude0" value="0" checked="checked" /> {L_NO}</label>
</dd>
</dl>
+ <!-- EVENT mcp_ban_fields_after -->
</fieldset>
</div>
diff --git a/phpBB/styles/subsilver2/template/mcp_ban.html b/phpBB/styles/subsilver2/template/mcp_ban.html
index edf81c6d76..0fab84e91c 100644
--- a/phpBB/styles/subsilver2/template/mcp_ban.html
+++ b/phpBB/styles/subsilver2/template/mcp_ban.html
@@ -40,6 +40,7 @@
<tr>
<td class="row3" colspan="2">{L_EXPLAIN}</td>
</tr>
+<!-- EVENT mcp_ban_fields_before -->
<tr>
<td class="row1" width="45%" valign="top"><b>{L_BAN_CELL}{L_COLON}</b></td>
<td class="row2">
@@ -63,6 +64,7 @@
<td class="row1" valign="top"><b>{L_BAN_GIVE_REASON}{L_COLON}</b></td>
<td class="row2"><input name="bangivereason" type="text" class="post" maxlength="255" /></td>
</tr>
+<!-- EVENT mcp_ban_fields_after -->
<tr>
<td class="cat" colspan="2" align="center"><input type="submit" name="bansubmit" value="{L_SUBMIT}" class="btnmain" />&nbsp; <input type="reset" value="{L_RESET}" class="btnlite" />&nbsp;</td>
</tr>