1 <!-- INCLUDE overall_header.html -->
3 <a name=
"maincontent"></a>
5 <p>{L_ACP_BAN_EXPLAIN}
</p>
11 <script type=
"text/javascript">
14 var ban_length
= new Array();
16 <!-- BEGIN ban_length
-->
17 ban_length
['{ban_length.BAN_ID}'] = "{ban_length.A_LENGTH}";
18 <!-- END ban_length
-->
20 var ban_reason
= new Array();
22 <!-- BEGIN ban_reason
-->
23 ban_reason
['{ban_reason.BAN_ID}'] = "{ban_reason.A_REASON}";
24 <!-- END ban_reason
-->
26 var ban_give_reason
= new Array();
27 ban_give_reason
[-1] = '';
28 <!-- BEGIN ban_give_reason
-->
29 ban_give_reason
['{ban_give_reason.BAN_ID}'] = "{ban_give_reason.A_REASON}";
30 <!-- END ban_give_reason
-->
32 function display_details(option
)
34 document
.getElementById('acp_ban').unbangivereason
.value
= ban_give_reason
[option
];
35 document
.getElementById('acp_ban').unbanreason
.value
= ban_reason
[option
];
36 document
.getElementById('acp_ban').unbanlength
.value
= ban_length
[option
];
42 <form id=
"acp_ban" method=
"post" action=
"{U_ACTION}">
45 <legend>{L_TITLE}
</legend>
47 <dt><label for=
"ban">{L_BAN_CELL}:
</label></dt>
48 <dd><textarea name=
"ban" cols=
"40" rows=
"3" id=
"ban"></textarea></dd>
49 <!-- IF S_USERNAME_BAN --><dd>[
<a href=
"#" onclick=
"window.open('{U_FIND_USER}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}
</a> ]
</dd><!-- ENDIF -->
52 <dt><label for=
"banlength">{L_BAN_LENGTH}:
</label></dt>
53 <dd><select name=
"banlength" id=
"banlength">{S_BAN_END_OPTIONS}
</select></dd>
54 <dd><input type=
"text" name=
"banlengthother" /> (YYYY-MM-DD)
</dd>
57 <dt><label for=
"banexclude">{L_BAN_EXCLUDE}:
</label><br /><span>{L_BAN_EXCLUDE_EXPLAIN}
</span></dt>
58 <dd><input type=
"radio" name=
"banexclude" value=
"1" class=
"radio" /> {L_YES}
<input type=
"radio" name=
"banexclude" id=
"banexclude" value=
"0" checked=
"checked" class=
"radio" /> {L_NO}
</dd>
61 <dt><label for=
"banreason">{L_BAN_REASON}:
</label></dt>
62 <dd><input name=
"banreason" type=
"text" id=
"banreason" class=
"medium" /></dd>
65 <dt><label for=
"bangivereason">{L_BAN_GIVE_REASON}:
</label></dt>
66 <dd><input name=
"bangivereason" type=
"text" id=
"bangivereason" class=
"medium" /></dd>
70 <fieldset class=
"submit-buttons">
71 <input class=
"button1" type=
"submit" id=
"bansubmit" name=
"bansubmit" value=
"{L_SUBMIT}" />
72 <input class=
"button2" type=
"reset" id=
"banreset" name=
"banreset" value=
"{L_RESET}" />
77 <h1>{L_UNBAN_TITLE}
</h1>
79 <p>{L_UNBAN_EXPLAIN}
</p>
82 <legend>{L_UNBAN_TITLE}
</legend>
84 <!-- IF S_BANNED_OPTIONS -->
86 <dt><label for=
"unban">{L_BAN_CELL}:
</label></dt>
87 <dd><select id=
"unban" 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></dd>
90 <dt><label for=
"unbanlength">{L_BAN_LENGTH}:
</label></dt>
91 <dd><input style=
"border: 0px;" type=
"text" name=
"unbanlength" id=
"unbanlength" class=
"full" disabled=
"disabled" /></dd>
94 <dt><label for=
"unbanreason">{L_BAN_REASON}:
</label></dt>
95 <dd><input style=
"border: 0px;" type=
"text" name=
"unbanreason" id=
"unbanreason" class=
"full" disabled=
"disabled" /></dd>
98 <dt><label for=
"unbangivereason">{L_BAN_GIVE_REASON}:
</label></dt>
99 <dd><input style=
"border: 0px;" type=
"text" name=
"unbangivereason" id=
"unbangivereason" class=
"full" disabled=
"disabled" /></dd>
103 <fieldset class=
"submit-buttons">
104 <input class=
"button1" type=
"submit" id=
"unbansubmit" name=
"unbansubmit" value=
"{L_SUBMIT}" />
105 <input class=
"button2" type=
"reset" id=
"unbanreset" name=
"unbanreset" value=
"{L_RESET}" />
110 <p>{L_NO_BAN_CELL}
</p>
117 <!-- INCLUDE overall_footer.html -->