|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<script type="text/javascript">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var ban_length = new Array();
|
|
|
4c79b5 |
ban_length[-1] = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
ban_length['{ban_length.BAN_ID}'] = '{ban_length.A_LENGTH}';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var ban_reason = new Array();
|
|
|
4c79b5 |
ban_reason[-1] = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
ban_reason['{ban_reason.BAN_ID}'] = '{ban_reason.A_REASON}';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var ban_give_reason = new Array();
|
|
|
4c79b5 |
ban_give_reason[-1] = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
ban_give_reason['{ban_give_reason.BAN_ID}'] = '{ban_give_reason.A_REASON}';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
function display_details(option)
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
document.getElementById('mcp_ban').unbangivereason.value = ban_give_reason[option];
|
|
|
4c79b5 |
document.getElementById('mcp_ban').unbanreason.value = ban_reason[option];
|
|
|
4c79b5 |
document.getElementById('mcp_ban').unbanlength.value = ban_length[option];
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</script>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<form id="mcp_ban" method="post" action="{U_ACTION}">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_TITLE}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_EXPLAIN}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_CELL}:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<textarea name="ban" id="ban" cols="40" rows="3" class="post">{USERNAMES}</textarea>
|
|
|
4c79b5 |
[ {L_FIND_USERNAME} ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_LENGTH}:
|
|
|
4c79b5 |
<select name="banlength">{S_BAN_END_OPTIONS}</select> <input type="text" name="banlengthother" class="post" /> {L_YEAR_MONTH_DAY}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_EXCLUDE}: {L_BAN_EXCLUDE_EXPLAIN}
|
|
|
4c79b5 |
<input type="radio" class="radio" name="banexclude" value="1" /> {L_YES} <input type="radio" class="radio" name="banexclude" value="0" checked="checked" /> {L_NO}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_REASON}:
|
|
|
4c79b5 |
<input name="banreason" type="text" class="post" maxlength="255" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_GIVE_REASON}:
|
|
|
4c79b5 |
<input name="bangivereason" type="text" class="post" maxlength="255" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" name="bansubmit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" class="btnlite" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_UNBAN_TITLE}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_UNBAN_EXPLAIN}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_CELL}:
|
|
|
4c79b5 |
<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>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_LENGTH}:
|
|
|
4c79b5 |
<input style="border: 0; width: 100%" type="text" name="unbanlength" disabled="disabled" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_REASON}:
|
|
|
4c79b5 |
<textarea style="border: 0; width: 100%" name="unbanreason" disabled="disabled" rows="5" cols="80"> </textarea>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_BAN_GIVE_REASON}:
|
|
|
4c79b5 |
<textarea style="border: 0; width: 100%" name="unbangivereason" disabled="disabled" rows="5" cols="80"> </textarea>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" name="unbansubmit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" class="btnlite" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{L_NO_BAN_CELL}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
{S_FORM_TOKEN}
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|