Blame Identity/Webenv/phpBB/3.0.4/adm/style/acp_modules.html

ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
	<script type="text/javascript">
ef5584
	// 
ef5584
		function display_options(value)
ef5584
		{
ef5584
			if (value == 'category')
ef5584
			{
ef5584
				dE('modoptions', -1);
ef5584
			}
ef5584
			else
ef5584
			{
ef5584
				dE('modoptions', 1);
ef5584
			}
ef5584
		}
ef5584
ef5584
		function display_modes(value)
ef5584
		{
ef5584
			// Find the old select tag
ef5584
			var item = document.getElementById('module_mode');
ef5584
ef5584
			// Create the new select tag
ef5584
			var new_node = document.createElement('select');
ef5584
			new_node.setAttribute('id', 'module_mode');
ef5584
			new_node.setAttribute('name', 'module_mode');
ef5584
ef5584
			// Substitute it for the old one
ef5584
			item.parentNode.replaceChild(new_node, item);
ef5584
ef5584
			// Reset the variable
ef5584
			item = document.getElementById('module_mode');
ef5584
ef5584
			var j = 0;
ef5584
ef5584
		
ef5584
			if (value == '{m_names.A_NAME}')
ef5584
			{
ef5584
	
ef5584
				item.options[j] = new Option('{m_names.modes.A_VALUE}');
ef5584
				item.options[j].value = '{m_names.modes.A_OPTION}';
ef5584
				j++;
ef5584
	
ef5584
			}
ef5584
ef5584
ef5584
			// select first item
ef5584
			item.options[0].selected = true;
ef5584
		}
ef5584
ef5584
	// ]]>
ef5584
	</script>
ef5584
ef5584
	« {L_BACK}
ef5584
ef5584
	

{L_TITLE} :: {MODULENAME}

ef5584
ef5584
	

{L_EDIT_MODULE_EXPLAIN}

ef5584
ef5584
	
ef5584
		
ef5584
			

{L_WARNING}

ef5584
			

{ERROR_MSG}

ef5584
		
ef5584
	
ef5584
ef5584
	<form id="moduleedit" method="post" action="{U_EDIT_ACTION}">
ef5584
ef5584
	<fieldset>
ef5584
		<legend>{L_GENERAL_OPTIONS}</legend>
ef5584
	
ef5584
		
<label for="module_langname">{L_MODULE_LANGNAME}:</label>
ef5584
		{L_MODULE_LANGNAME_EXPLAIN}
ef5584
		
<input name="module_langname" type="text" class="text medium" id="module_langname" value="{MODULE_LANGNAME}" />
ef5584
	
ef5584
	
ef5584
		
<label for="module_type">{L_MODULE_TYPE}:</label>
ef5584
		
<select name="module_type" id="module_type" onchange="display_options(this.value);"><option value="category"<!-- IF S_IS_CAT --> selected="selected">{L_CATEGORY}</option><option value="module"<!-- IF not S_IS_CAT --> selected="selected">{L_MODULE}</option></select>
ef5584
	
ef5584
	
ef5584
		
<label for="parent_id">{L_PARENT}:</label>
ef5584
		
<select name="module_parent_id" id="parent_id">{S_CAT_OPTIONS}</select>
ef5584
	
ef5584
	
ef5584
	
ef5584
		
<label for="module_enabled">{L_MODULE_ENABLED}:</label>
ef5584
		
<label><input type="radio" class="radio" name="module_enabled" id="module_enabled" value="1"<!-- IF MODULE_ENABLED --> checked="checked" /> {L_YES}</label>
ef5584
			<label><input type="radio" class="radio" name="module_enabled" value="0"<!-- IF not MODULE_ENABLED --> checked="checked" /> {L_NO}</label>
ef5584
	
ef5584
	
style="display: none;">
ef5584
		
ef5584
			
<label for="module_display">{L_MODULE_DISPLAYED}:</label>
{L_MODULE_DISPLAYED_EXPLAIN}
ef5584
			
<label><input type="radio" class="radio" name="module_display" id="module_display" value="1"<!-- IF MODULE_DISPLAY --> checked="checked" /> {L_YES}</label>
ef5584
				<label><input type="radio" class="radio" name="module_display" value="0"<!-- IF not MODULE_DISPLAY --> checked="checked" /> {L_NO}</label>
ef5584
		
ef5584
		
ef5584
			
<label for="module_basename">{L_CHOOSE_MODULE}:</label>
ef5584
			{L_CHOOSE_MODULE_EXPLAIN}
ef5584
			
<select name="module_basename" id="module_basename" onchange="display_modes(this.value);">{S_MODULE_NAMES}</select>
ef5584
		
ef5584
		
ef5584
			
<label for="module_mode">{L_CHOOSE_MODE}:</label>
ef5584
			{L_CHOOSE_MODE_EXPLAIN}
ef5584
			
<select name="module_mode" id="module_mode">{S_MODULE_MODES}</select>
ef5584
		
ef5584
	
ef5584
ef5584
	

ef5584
		<input type="hidden" name="action" value="{ACTION}" />
ef5584
		<input type="hidden" name="m" value="{MODULE_ID}" />
ef5584
		
ef5584
		<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /> 
ef5584
		<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
ef5584
	

ef5584
	{S_FORM_TOKEN}
ef5584
	</fieldset>
ef5584
	</form>
ef5584
ef5584
ef5584
ef5584
	

{L_ACP_MODULE_MANAGEMENT}

ef5584
ef5584
	

{L_ACP_MODULE_MANAGEMENT_EXPLAIN}

ef5584
ef5584
	
ef5584
		
ef5584
			

{L_WARNING}

ef5584
			

{ERROR_MSG}

ef5584
		
ef5584
	
ef5584
ef5584
	
ef5584
	
ef5584
	
ef5584
		{NAVIGATION} [{L_EDIT} | {L_DELETE} | {L_DISABLE}{L_ENABLE}]
ef5584
	
ef5584
	
ef5584
	
ef5584
ef5584
	
ef5584
		
ef5584
			
ef5584
		
ef5584
		
ef5584
			
ef5584
				{modules.MODULE_IMAGE}
ef5584
				{modules.MODULE_TITLE} [{L_HIDDEN_MODULE}]
ef5584
				 {L_DISABLE}{L_ENABLE} 
ef5584
				
ef5584
					
ef5584
						{ICON_MOVE_UP_DISABLED}
ef5584
						{ICON_MOVE_DOWN}
ef5584
					
ef5584
						{ICON_MOVE_UP} 
ef5584
						{ICON_MOVE_DOWN} 
ef5584
					
ef5584
						{ICON_MOVE_UP}	
ef5584
						{ICON_MOVE_DOWN_DISABLED}
ef5584
					
ef5584
						{ICON_MOVE_UP_DISABLED}
ef5584
						{ICON_MOVE_DOWN_DISABLED}
ef5584
					
ef5584
					{ICON_EDIT} 
ef5584
					{ICON_DELETE}
ef5584
				
ef5584
			
ef5584
		
ef5584
		
ef5584
		
ef5584
	
ef5584
ef5584
	
 
ef5584
ef5584
	<form id="quick" method="post" action="{U_ACTION}">
ef5584
ef5584
	<fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
ef5584
		<input type="hidden" name="action" value="quickadd" />
ef5584
ef5584
		<select name="quick_install">{S_INSTALL_OPTIONS}</select>
ef5584
		<input class="button2" name="quickadd" type="submit" value="{L_ADD_MODULE}" />
ef5584
	</fieldset>
ef5584
	
ef5584
	</form>
ef5584
ef5584
	<form id="module" method="post" action="{U_ACTION}">
ef5584
ef5584
	<fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
ef5584
		<input type="hidden" name="action" value="add" />
ef5584
		<input type="hidden" name="module_parent_id" value="{PARENT_ID}" />
ef5584
ef5584
		<input type="text" name="module_langname" maxlength="255" /> 
ef5584
		<input class="button2" name="addmodule" type="submit" value="{L_CREATE_MODULE}" />
ef5584
	</fieldset>
ef5584
ef5584
	</form>
ef5584
ef5584
	
 

ef5584
	
ef5584
	<form id="mselect" method="post" action="{U_SEL_ACTION}">
ef5584
	<fieldset class="quick">
ef5584
		{L_SELECT_MODULE}: <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{MODULE_BOX}</select> 
ef5584
ef5584
		<input class="button2" type="submit" value="{L_GO}" />
ef5584
	</fieldset>
ef5584
	</form>
ef5584
ef5584
ef5584
ef5584