mirror of
				https://github.com/phpbb/phpbb.git
				synced 2025-10-29 06:26:22 +01:00 
			
		
		
		
	- some other random things git-svn-id: file:///svn/phpbb/trunk@6880 89ea8834-ac86-4346-8a33-228a782c2dd0
		
			
				
	
	
		
			118 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			118 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- INCLUDE overall_header.html -->
 | |
| 
 | |
| <a name="maincontent"></a>
 | |
| 
 | |
| <p>{L_ACP_BAN_EXPLAIN}</p>
 | |
| 
 | |
| <h1>{L_TITLE}</h1>
 | |
| 
 | |
| <p>{L_EXPLAIN}</p>
 | |
| 
 | |
| <script type="text/javascript">
 | |
| <!--
 | |
| 
 | |
| 	var ban_length = new Array();
 | |
| 		ban_length[-1] = '';
 | |
| 	<!-- BEGIN ban_length -->
 | |
| 		ban_length['{ban_length.BAN_ID}'] = "{ban_length.A_LENGTH}";
 | |
| 	<!-- END ban_length -->
 | |
| 
 | |
| 	var ban_reason = new Array();
 | |
| 		ban_reason[-1] = '';
 | |
| 	<!-- BEGIN ban_reason -->
 | |
| 		ban_reason['{ban_reason.BAN_ID}'] = "{ban_reason.A_REASON}";
 | |
| 	<!-- END ban_reason -->
 | |
| 
 | |
| 	var ban_give_reason = new Array();
 | |
| 		ban_give_reason[-1] = '';
 | |
| 	<!-- BEGIN ban_give_reason -->
 | |
| 		ban_give_reason['{ban_give_reason.BAN_ID}'] = "{ban_give_reason.A_REASON}";
 | |
| 	<!-- END ban_give_reason -->
 | |
| 
 | |
| 	function display_details(option)
 | |
| 	{
 | |
| 		document.getElementById('acp_ban').unbangivereason.value = ban_give_reason[option];
 | |
| 		document.getElementById('acp_ban').unbanreason.value = ban_reason[option];
 | |
| 		document.getElementById('acp_ban').unbanlength.value = ban_length[option];
 | |
| 	}
 | |
| 
 | |
| //-->
 | |
| </script>
 | |
| 
 | |
| <form id="acp_ban" method="post" action="{U_ACTION}">
 | |
| 
 | |
| <fieldset>
 | |
| 	<legend>{L_TITLE}</legend>
 | |
| <dl>
 | |
| 	<dt><label for="ban">{L_BAN_CELL}:</label></dt>
 | |
| 	<dd><textarea name="ban" cols="40" rows="3" id="ban"></textarea></dd>
 | |
| 	<!-- 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 -->
 | |
| </dl>
 | |
| <dl>
 | |
| 	<dt><label for="banlength">{L_BAN_LENGTH}:</label></dt>
 | |
| 	<dd><select name="banlength" id="banlength">{S_BAN_END_OPTIONS}</select></dd>
 | |
| 	<dd><input type="text" name="banlengthother" maxlength="10" /> (YYYY-MM-DD)</dd>
 | |
| </dl>
 | |
| <dl>
 | |
| 	<dt><label for="banexclude">{L_BAN_EXCLUDE}:</label><br /><span>{L_BAN_EXCLUDE_EXPLAIN}</span></dt>
 | |
| 	<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>
 | |
| </dl>
 | |
| <dl>
 | |
| 	<dt><label for="banreason">{L_BAN_REASON}:</label></dt>
 | |
| 	<dd><input name="banreason" type="text" id="banreason" class="medium" maxlength="3000" /></dd>
 | |
| </dl>
 | |
| <dl>
 | |
| 	<dt><label for="bangivereason">{L_BAN_GIVE_REASON}:</label></dt>
 | |
| 	<dd><input name="bangivereason" type="text" id="bangivereason" class="medium" maxlength="3000" /></dd>
 | |
| </dl>
 | |
| 
 | |
| <p class="submit-buttons">
 | |
| 	<input class="button1" type="submit" id="bansubmit" name="bansubmit" value="{L_SUBMIT}" /> 
 | |
| 	<input class="button2" type="reset" id="banreset" name="banreset" value="{L_RESET}" />
 | |
| </p>
 | |
| </fieldset>
 | |
| 
 | |
| <br /><br />
 | |
| 
 | |
| <h1>{L_UNBAN_TITLE}</h1>
 | |
| 
 | |
| <p>{L_UNBAN_EXPLAIN}</p>
 | |
| 
 | |
| <fieldset>
 | |
| 	<legend>{L_UNBAN_TITLE}</legend>
 | |
| 
 | |
| <!-- IF S_BANNED_OPTIONS -->
 | |
| 	<dl>
 | |
| 		<dt><label for="unban">{L_BAN_CELL}:</label></dt>
 | |
| 		<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>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="unbanlength">{L_BAN_LENGTH}:</label></dt>
 | |
| 		<dd><input style="border: 0px;" type="text" name="unbanlength" id="unbanlength" class="full" disabled="disabled" /></dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="unbanreason">{L_BAN_REASON}:</label></dt>
 | |
| 		<dd><input style="border: 0px;" type="text" name="unbanreason" id="unbanreason" class="full" disabled="disabled" /></dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="unbangivereason">{L_BAN_GIVE_REASON}:</label></dt>
 | |
| 		<dd><input style="border: 0px;" type="text" name="unbangivereason" id="unbangivereason" class="full" disabled="disabled" /></dd>
 | |
| 	</dl>
 | |
| 
 | |
| 	<p class="submit-buttons">
 | |
| 		<input class="button1" type="submit" id="unbansubmit" name="unbansubmit" value="{L_SUBMIT}" /> 
 | |
| 		<input class="button2" type="reset" id="unbanreset" name="unbanreset" value="{L_RESET}" />
 | |
| 	</p>
 | |
| 	</fieldset>
 | |
| 
 | |
| <!-- ELSE -->
 | |
| 
 | |
| 	<p>{L_NO_BAN_CELL}</p>
 | |
| </fieldset>
 | |
| 
 | |
| <!-- ENDIF -->
 | |
| 
 | |
| </form>
 | |
| 
 | |
| <!-- INCLUDE overall_footer.html -->
 |