Blame Extras/phpBB/3.0.4/styles/modern/template/mcp_ban.html

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('unbangivereason').innerHTML = ban_give_reason[option];
4c79b5
		document.getElementById('unbanreason').innerHTML = ban_reason[option];
4c79b5
		document.getElementById('unbanlength').innerHTML = ban_length[option];
4c79b5
	}
4c79b5
4c79b5
// ]]>
4c79b5
</script>
4c79b5
4c79b5
<form id="mcp_ban" method="post" action="{U_ACTION}">
4c79b5
4c79b5

{L_TITLE}

4c79b5
4c79b5
4c79b5
	
4c79b5
4c79b5
	

{L_TITLE}

4c79b5
	

{L_EXPLAIN}

4c79b5
4c79b5
	<fieldset>
4c79b5
	
4c79b5
		
<label for="ban">{L_BAN_CELL}:</label>
4c79b5
		
<label for="ban"><textarea name="ban" id="ban" class="inputbox" cols="40" rows="3">{BAN_QUANTIFIER}</textarea></label>
4c79b5
		
{L_FIND_USERNAME}
4c79b5
	
4c79b5
	
4c79b5
		
<label for="banlength">{L_BAN_LENGTH}:</label>
4c79b5
		
<label for="banlength"><select name="banlength" id="banlength" onchange="if(this.value==-1){document.getElementById('banlengthother').style.display = 'block';}else{document.getElementById('banlengthother').style.display='none';}">{S_BAN_END_OPTIONS}</select></label>
4c79b5
		
<label><input type="text" name="banlengthother" class="inputbox" />
{L_YEAR_MONTH_DAY}</label>
4c79b5
	
4c79b5
	
4c79b5
		
<label for="banreason">{L_BAN_REASON}:</label>
4c79b5
		
<input name="banreason" id="banreason" type="text" class="inputbox" maxlength="255" />
4c79b5
	
4c79b5
	
4c79b5
		
<label for="bangivereason">{L_BAN_GIVE_REASON}:</label>
4c79b5
		
<input name="bangivereason" id="bangivereason" type="text" class="inputbox" maxlength="255" />
4c79b5
	
4c79b5
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
<label for="banexclude0">{L_BAN_EXCLUDE}:</label>
{L_BAN_EXCLUDE_EXPLAIN}
4c79b5
		
4c79b5
			<label for="banexclude1"><input type="radio" name="banexclude" id="banexclude1" value="1" /> {L_YES}</label> 
4c79b5
			<label for="banexclude0"><input type="radio" name="banexclude" id="banexclude0" value="0" checked="checked" /> {L_NO}</label>
4c79b5
		
4c79b5
	
4c79b5
	</fieldset>
4c79b5
4c79b5
	
4c79b5
4c79b5
4c79b5
<fieldset class="submit-buttons">
4c79b5
	{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />  
4c79b5
	<input type="submit" name="bansubmit" value="{L_SUBMIT}" class="button1" />
4c79b5
	{S_FORM_TOKEN}
4c79b5
</fieldset>
4c79b5
4c79b5
4c79b5
	
4c79b5
4c79b5
	

{L_UNBAN_TITLE}

4c79b5
	

{L_UNBAN_EXPLAIN}

4c79b5
4c79b5
	
4c79b5
		<fieldset>
4c79b5
		
4c79b5
			
<label for="unban">{L_BAN_CELL}:</label>
4c79b5
			
<select name="unban[]" id="unban" multiple="multiple" size="5" onchange="if (this.selectedIndex != -1) {display_details(this.options[this.selectedIndex].value);}">{BANNED_OPTIONS}</select>
4c79b5
		
4c79b5
		
4c79b5
			
{L_BAN_LENGTH}:
4c79b5
			
4c79b5
		
4c79b5
		
4c79b5
			
{L_BAN_REASON}:
4c79b5
			
4c79b5
		
4c79b5
		
4c79b5
			
{L_BAN_GIVE_REASON}:
4c79b5
			
4c79b5
		
4c79b5
		</fieldset>
4c79b5
4c79b5
		
4c79b5
	
4c79b5
4c79b5
	<fieldset class="submit-buttons">
4c79b5
		{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />  
4c79b5
		<input type="submit" name="unbansubmit" value="{L_SUBMIT}" class="button1" />
4c79b5
	</fieldset>
4c79b5
4c79b5
	
4c79b5
4c79b5
		

{L_NO_BAN_CELL}

4c79b5
4c79b5
		
4c79b5
	
4c79b5
4c79b5
	
4c79b5
</form>
4c79b5
4c79b5