diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-07-16 19:56:10 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-07-16 20:00:05 +0200 |
commit | 42308091efb977ee5ce1b81bc8de25721b482263 (patch) | |
tree | 901a21656eae642e328c4507707c0dabb59577b8 | |
parent | 876c1f4f004f1674b7241990a0203bb96ef55b79 (diff) | |
download | forums-42308091efb977ee5ce1b81bc8de25721b482263.tar forums-42308091efb977ee5ce1b81bc8de25721b482263.tar.gz forums-42308091efb977ee5ce1b81bc8de25721b482263.tar.bz2 forums-42308091efb977ee5ce1b81bc8de25721b482263.tar.xz forums-42308091efb977ee5ce1b81bc8de25721b482263.zip |
[ticket/12860] Add template events mcp_ban_unban
PHPBB3-12860
-rw-r--r-- | phpBB/docs/events.md | 16 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/mcp_ban.html | 2 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/mcp_ban.html | 2 |
3 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 98ce137557..e8e94e6a04 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -294,6 +294,22 @@ mcp_ban_fields_before * Since: 3.1.0-RC3 * Purpose: Add additional fields to the ban form in MCP +mcp_ban_unban_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 unban form in MCP + +mcp_ban_unban_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 unban 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 7e25ff3416..9504d16284 100644 --- a/phpBB/styles/prosilver/template/mcp_ban.html +++ b/phpBB/styles/prosilver/template/mcp_ban.html @@ -91,6 +91,7 @@ <!-- IF S_BANNED_OPTIONS --> <fieldset> + <!-- EVENT mcp_ban_unban_before --> <dl> <dt><label for="unban">{L_BAN_CELL}{L_COLON}</label></dt> <dd><select name="unban[]" id="unban" multiple="multiple" size="5" onchange="if (this.selectedIndex != -1) {display_details(this.options[this.selectedIndex].value);}">{BANNED_OPTIONS}</select></dd> @@ -107,6 +108,7 @@ <dt>{L_BAN_GIVE_REASON}{L_COLON}</dt> <dd><strong id="unbangivereason"></strong></dd> </dl> + <!-- EVENT mcp_ban_unban_after --> </fieldset> </div> diff --git a/phpBB/styles/subsilver2/template/mcp_ban.html b/phpBB/styles/subsilver2/template/mcp_ban.html index 0fab84e91c..b6d77c5709 100644 --- a/phpBB/styles/subsilver2/template/mcp_ban.html +++ b/phpBB/styles/subsilver2/template/mcp_ban.html @@ -80,6 +80,7 @@ <td class="row3" colspan="2">{L_UNBAN_EXPLAIN}</td> </tr> <!-- IF S_BANNED_OPTIONS --> + <!-- EVENT mcp_ban_unban_before --> <tr> <td class="row1" valign="top" width="45%"><b>{L_BAN_CELL}{L_COLON}</b></td> <td class="row2"><select name="unban[]" multiple="multiple" size="10" style="width: 50%" onchange="if (this.selectedIndex > -1) display_details(this.options[this.selectedIndex].value); else display_details(-1);">{BANNED_OPTIONS}</select></td> @@ -96,6 +97,7 @@ <td class="row1" valign="top"><b>{L_BAN_GIVE_REASON}{L_COLON}</b></td> <td class="row2"><textarea style="border: 0; width: 100%" name="unbangivereason" readonly="readonly" rows="5" cols="80"> </textarea></td> </tr> + <!-- EVENT mcp_ban_unban_after --> <tr> <td class="cat" colspan="2" align="center"><input type="submit" name="unbansubmit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" class="btnlite" /> </td> </tr> |