mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 06:39:14 +02:00
[ticket/12860] Add template events mcp_ban_unban
PHPBB3-12860
This commit is contained in:
parent
876c1f4f00
commit
42308091ef
@ -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:
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user