mirror of
				https://github.com/phpbb/phpbb.git
				synced 2025-10-26 21:21:32 +01:00 
			
		
		
		
	- allow cancelling search index creation/removal - custom CSS class name input too short [Bug #8328] - give an error message if a password wasn't convertable (special characters in non-standard encoding) - moved still_on_time to functions.php, used by acp_search and converter, might be useful for MODs (or complex cron scripts) - do not allow empty passwords on login - add sids to local URLs in posts (this was a really terrible bug to fix ;-)) [Bug #7892] - ignore invalid HTTP_X_FORWARDED_FOR headers (just use REMOTE_ADDR if invalid) [Bug #8314] - changed forum listing code on search page and acp_attachments [Bug #6658] - search indexing uses still_on_time(), smaller batch size (1000) and meta_refresh() instead of redirect(), this should solve a few problems [Bugs #8034, #8270] - made password requirement language strings clearer - ALPHA is not meant to be alphanumric [Bug #7764] - display bug in firefox on linux making the pagination wrap on search results page (caused by  ) git-svn-id: file:///svn/phpbb/trunk@7076 89ea8834-ac86-4346-8a33-228a782c2dd0
		
			
				
	
	
		
			639 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			639 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- INCLUDE overall_header.html -->
 | |
| 
 | |
| <a name="maincontent"></a>
 | |
| 
 | |
| <!-- IF S_DELETE -->
 | |
| 
 | |
| 	<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 
 | |
| 	<h1>{L_TITLE}</h1>
 | |
| 
 | |
| 	<p>{L_EXPLAIN}</p>
 | |
| 
 | |
| 	<form id="acp_styles" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 	<fieldset>
 | |
| 		<legend>{L_TITLE}</legend>
 | |
| 	<dl>
 | |
| 		<dt><label>{L_NAME}:</label></dt>
 | |
| 		<dd><b>{NAME}</b></dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="new_id">{L_REPLACE}:</label><br /><span>{L_REPLACE_EXPLAIN}</span></dt>
 | |
| 		<dd><select name="new_id">{S_REPLACE_OPTIONS}</select></dd>
 | |
| 	</dl>
 | |
| 
 | |
| 	<p class="quick">
 | |
| 		<input class="button1" type="submit" name="update" value="{L_DELETE}" />
 | |
| 	</p>
 | |
| 	</fieldset>
 | |
| 
 | |
| 	</form>
 | |
| 
 | |
| <!-- ELSEIF S_EDIT_IMAGESET -->
 | |
| 
 | |
| 	<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 
 | |
| 	<h1>{L_TITLE}</h1>
 | |
| 
 | |
| 	<p>{L_EXPLAIN}</p>
 | |
| 
 | |
| 	<!-- IF SUCCESS -->
 | |
| 		<div class="successbox">
 | |
| 			<p>{L_IMAGESET_UPDATED}</p>
 | |
| 		</div>
 | |
| 	<!-- ENDIF -->
 | |
| 
 | |
| 	<!-- IF ERROR -->
 | |
| 		<div class="errorbox">
 | |
| 			<p>{L_NO_IMAGE}</p>
 | |
| 		</div>
 | |
| 	<!-- ENDIF -->
 | |
| 
 | |
| 	<script type="text/javascript" defer="defer">
 | |
| 	<!--
 | |
| 		function update_image(newimage)
 | |
| 		{
 | |
| 			document.getElementById('newimg').src = (newimage) ? "../styles/{NAME}/imageset/" + newimage : "images/no_image.png";
 | |
| 		}
 | |
| 	//-->
 | |
| 	</script>
 | |
| 
 | |
| 	<form method="post" action="{U_ACTION}">
 | |
| 
 | |
| 	<fieldset class="quick" style="text-align: left;">
 | |
| 		<legend>{L_SELECT_IMAGE}</legend>
 | |
| 		{L_SELECT_IMAGE}: <select name="imgname" onchange="this.form.submit();">
 | |
| 		<!-- BEGIN category -->
 | |
| 			<option class="sep" value="">{category.NAME}</option>
 | |
| 				<!-- BEGIN images --><option value="{category.images.VALUE}"<!-- IF category.images.SELECTED--> selected="selected"<!-- ENDIF -->>{category.images.TEXT}</option>
 | |
| 				<!-- END images -->
 | |
| 			<!-- END category -->
 | |
| 		</select>  <input class="button1" type="submit" value="{L_SELECT}" tabindex="100" />
 | |
| 	</fieldset>
 | |
| 
 | |
| 	<fieldset>
 | |
| 		<legend>{L_EDIT_IMAGESET}</legend>
 | |
| 	<dl>
 | |
| 		<dt><label>{L_CURRENT_IMAGE}:</label></dt>
 | |
| 		<dd><img src="<!-- IF IMAGE_REQUEST -->{IMAGE_REQUEST}<!-- ELSE -->images/no_image.png<!-- ENDIF -->" alt="" /></dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label>{L_SELECTED_IMAGE}:</label></dt>
 | |
| 		<dd><img src="images/no_image.png" id="newimg" alt="" /></dd>
 | |
| 	</dl>
 | |
| 	</fieldset>
 | |
| 
 | |
| 	<fieldset>
 | |
| 	<legend>{L_IMAGE}</legend>
 | |
| 	<dl>
 | |
| 		<dt><label for="imgpath">{L_IMAGE}:</label></dt>
 | |
| 		<dd><select id="imgpath" name="imgpath" onchange="update_image(this.options[selectedIndex].value);"><option value=""<!-- IF not IMAGE_SELECT--> selected="selected"<!-- ENDIF -->>{L_NO_IMAGE}</option>
 | |
| 			<!-- BEGIN imagesetlist -->
 | |
| 			<option class="sep" value=""><!-- IF imagesetlist.TYPE -->{L_LOCALISED_IMAGES}<!-- ELSE -->{L_GLOBAL_IMAGES}<!-- ENDIF --></option>
 | |
| 				<!-- BEGIN images -->
 | |
| 				<option value="{imagesetlist.images.VALUE}"<!-- IF imagesetlist.images.SELECTED--> selected="selected"<!-- ENDIF -->>{imagesetlist.images.TEXT}</option>
 | |
| 				<!-- END images -->
 | |
| 			<!-- END imagesetlist -->
 | |
| 			</select>
 | |
| 		</dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="imgsize">{L_INCLUDE_DIMENSIONS}:</label><br /><span>{L_DIMENSIONS_EXPLAIN}</span></dt>
 | |
| 		<dd><input type="radio" class="radio" name="imgsize" id="imgsize" value="1"<!-- IF IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_YES}  <input type="radio" class="radio" name="imgsize" value="0"<!-- IF not IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
 | |
| 	</dl>
 | |
| 	</fieldset>
 | |
| 
 | |
| 	<fieldset class="submit-buttons">
 | |
| 		<legend>{L_SUBMIT}</legend>
 | |
| 		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />  <input class="button2" type="reset" value="{L_RESET}" />
 | |
| 	</fieldset>
 | |
| 
 | |
| 	</form>
 | |
| 
 | |
| <!-- ELSEIF S_EDIT_TEMPLATE or S_EDIT_THEME -->
 | |
| 
 | |
| 	<script type="text/javascript" defer="defer">
 | |
| 	<!--
 | |
| 		function append_text_rows(form_name, value)
 | |
| 		{
 | |
| 			url = document.getElementById(form_name).action;
 | |
| 			var_start = url.indexOf('&text_rows=');
 | |
| 			if (var_start == -1)
 | |
| 			{
 | |
| 				document.getElementById(form_name).action = url + "&text_rows=" + value;
 | |
| 			}
 | |
| 			else
 | |
| 			{
 | |
| 				url_start = url.substring(0, var_start + 1);
 | |
| 				var_end = url.substring(var_start + 1).indexOf('&');
 | |
| 				if (var_end == -1)
 | |
| 				{
 | |
| 					document.getElementById(form_name).action = url_start + "text_rows=" + value;
 | |
| 				}
 | |
| 				else
 | |
| 				{
 | |
| 					document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	//-->
 | |
| 	</script>
 | |
| 
 | |
| 	<!-- IF S_EDIT_TEMPLATE -->
 | |
| 
 | |
| 		<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 
 | |
| 		<h1>{L_EDIT_TEMPLATE}</h1>
 | |
| 
 | |
| 		<p>{L_EDIT_TEMPLATE_EXPLAIN}</p>
 | |
| 
 | |
| 		<p>{L_SELECTED_TEMPLATE}: <b>{SELECTED_TEMPLATE}</b></p>
 | |
| 
 | |
| 		<form id="acp_styles" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 		<fieldset>
 | |
| 			<legend>{L_SELECT_TEMPLATE}</legend>
 | |
| 		<dl>
 | |
| 			<dt><label for="template_file">{L_TEMPLATE_FILE}:</label></dt>
 | |
| 			<dd><select id="template_file" name="template_file" onchange="if (this.options[this.selectedIndex].value != '') this.form.submit();">{S_TEMPLATES}</select> <input class="button2" type="submit" value="{L_SELECT}" /></dd>
 | |
| 		</dl>
 | |
| 		</fieldset>
 | |
| 
 | |
| 		</form>
 | |
| 
 | |
| 		<!-- IF TEMPLATE_FILE -->
 | |
| 			<script type="text/javascript" defer="defer">
 | |
| 			<!--
 | |
| 
 | |
| 				function change_editor_height(height)
 | |
| 				{
 | |
| 					editor = document.getElementById('template_data');
 | |
| 					editor.rows = Math.max(5, Math.min(height, 999));
 | |
| 
 | |
| 					append_text_rows('acp_styles', height);
 | |
| 					append_text_rows('acp_template', height);
 | |
| 				}
 | |
| 
 | |
| 				function append_text_rows(form_name, value)
 | |
| 				{
 | |
| 					url = document.getElementById(form_name).action;
 | |
| 					var_start = url.indexOf('&text_rows=');
 | |
| 					if (var_start == -1)
 | |
| 					{
 | |
| 						document.getElementById(form_name).action = url + "&text_rows=" + value;
 | |
| 					}
 | |
| 					else
 | |
| 					{
 | |
| 						url_start = url.substring(0, var_start + 1);
 | |
| 						var_end = url.substring(var_start + 1).indexOf('&');
 | |
| 						if (var_end == -1)
 | |
| 						{
 | |
| 							document.getElementById(form_name).action = url_start + "text_rows=" + value;
 | |
| 						}
 | |
| 						else
 | |
| 						{
 | |
| 							document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
 | |
| 						}
 | |
| 					}
 | |
| 				}
 | |
| 			//-->
 | |
| 			</script>
 | |
| 
 | |
| 			<form id="acp_template" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 			<fieldset>
 | |
| 				<legend>{L_TEMPLATE_EDITOR}</legend>
 | |
| 			<dl>
 | |
| 				<dt><label>{L_SELECTED_TEMPLATE_FILE}:</label></dt>
 | |
| 				<dd>{TEMPLATE_FILE}</dd>
 | |
| 			</dl>
 | |
| 			<dl>
 | |
| 				<dt><label for="text_rows">{L_TEMPLATE_EDITOR_HEIGHT}:</label></dt>
 | |
| 				<dd><input id="text_rows" type="text" maxlength="3" value="{TEXT_ROWS}" /> <input class="button2" type="button" name="update" onclick="change_editor_height(this.form.text_rows.value);" value="{L_UPDATE}" /></dd>
 | |
| 			</dl>
 | |
| 			<textarea id="template_data" name="template_data" style="font-family:'Courier New', monospace;font-size:9pt;line-height:125%;width:100%;" cols="80" rows="{TEXT_ROWS}">{TEMPLATE_DATA}</textarea>
 | |
| 			</fieldset>
 | |
| 
 | |
| 			<fieldset class="submit-buttons">
 | |
| 				<legend>{L_SUBMIT}</legend>
 | |
| 				{S_HIDDEN_FIELDS}
 | |
| 				<input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />
 | |
| 			</fieldset>
 | |
| 
 | |
| 			</form>
 | |
| 		<!-- ENDIF -->
 | |
| 
 | |
| 	<!-- ELSEIF S_EDIT_THEME -->
 | |
| 
 | |
| 		<script type="text/javascript">
 | |
| 		<!--
 | |
| 
 | |
| 			function change_editor_height(height)
 | |
| 			{
 | |
| 				editor = document.getElementById('css_data');
 | |
| 				editor.rows = Math.max(5, Math.min(height, 999));
 | |
| 
 | |
| 				append_text_rows('acp_styles', height);
 | |
| 				append_text_rows('acp_theme', height);
 | |
| 				append_text_rows('acp_custom_class', height);
 | |
| 			}
 | |
| 
 | |
| 		//-->
 | |
| 		</script>
 | |
| 
 | |
| 		<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 
 | |
| 		<h1>{L_EDIT_THEME}</h1>
 | |
| 
 | |
| 		<p>{L_EDIT_THEME_EXPLAIN}</p>
 | |
| 
 | |
| 		<p>{L_SELECTED_THEME}: <strong>{SELECTED_THEME}</strong></p>
 | |
| 
 | |
| 		<!-- IF S_SHOWCSS -->
 | |
| 			<h3>{L_SHOW_CSS_NOTE}</h3>
 | |
| 			<p>{L_SHOW_CSS_EXPLAIN}</p>
 | |
| 		<!-- ENDIF -->
 | |
| 		<form id="acp_styles" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 		<fieldset>
 | |
| 			<legend>{L_SELECT_CLASS}</legend>
 | |
| 		<dl>
 | |
| 			<dt><label for="css_class">{L_SELECT_CLASS}:</label></dt>
 | |
| 			<dd><select id="css_class" name="css_class" onchange="if (this.options[this.selectedIndex].value != '') this.form.submit();">{S_CLASSES}</select></dd>
 | |
| 			<dd><input class="button1" type="submit" id="select_class" name="select_class" value="{L_SELECT}" /></dd>
 | |
| 		</dl>
 | |
| 		<!-- IF S_CLASS -->
 | |
| 			<dl>
 | |
| 				<dt><label>{L_SELECTED_CLASS}:</label></dt>
 | |
| 				<dd>{S_CLASS}</dd>
 | |
| 			</dl>
 | |
| 		<!-- ENDIF -->
 | |
| 		</fieldset>
 | |
| 	
 | |
| 		</form>
 | |
| 
 | |
| 		<!-- IF S_CLASS -->
 | |
| 
 | |
| 			<form id="acp_theme" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 			<!-- IF S_SHOWCSS -->
 | |
| 
 | |
| 				<fieldset>
 | |
| 					<legend>{L_THEME_EDITOR}</legend>
 | |
| 				<dl>
 | |
| 					<dt><label for="text_rows">{L_THEME_EDITOR_HEIGHT}:</label></dt>
 | |
| 					<dd><input id="text_rows" type="text" maxlength="3" value="{TEXT_ROWS}" /> <input class="button1" type="button" name="update" onclick="change_editor_height(this.form.text_rows.value);" value="{L_UPDATE}" /></dd>
 | |
| 				</dl>
 | |
| 				<textarea id="css_data" name="css_data" style="font-family:'Courier New', monospace;font-size:9pt;line-height:125%;width:100%;" cols="80" rows="{TEXT_ROWS}">{CSS_DATA}</textarea>
 | |
| 				</fieldset>
 | |
| 
 | |
| 			<!-- ELSE -->
 | |
| 
 | |
| 				<fieldset>
 | |
| 					<legend>{L_BACKGROUND}</legend>
 | |
| 				<dl>
 | |
| 					<dt><label for="background_color">{L_BACKGROUND_COLOUR}:</label><br /><span>{L_CSS_COLOUR_EXPLAIN}</span></dt>
 | |
| 					<dd><input id="background_color" name="background_color" type="text" value="{BACKGROUND_COLOR}" size="6" />  <span>[ <a href="#" onclick="swatch('background_color'); return false">{L_COLOUR_SWATCH}</a> ]</span></dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="backround_image">{L_BACKGROUND_IMAGE}:</label></dt>
 | |
| 					<dd><select id="background_image" name="background_image">{S_BACKGROUND_IMAGE}</select></dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="background_repeat">{L_BACKGROUND_REPEAT}:</label></dt>
 | |
| 					<dd><select id="background_repeat" name="background_repeat">{S_BACKGROUND_REPEAT}</select></dd>
 | |
| 				</dl>
 | |
| 				</fieldset>
 | |
| 
 | |
| 				<fieldset>
 | |
| 					<legend>{L_FOREGROUND}</legend>
 | |
| 				<dl>
 | |
| 					<dt><label for="color">{L_FONT_COLOUR}:</label><br /><span>{L_CSS_COLOUR_EXPLAIN}</span></dt>
 | |
| 					<dd><input id="color" name="color" type="text" value="{COLOR}" size="6" />  <span>[ <a href="#" onclick="swatch('color'); return false">{L_COLOUR_SWATCH}</a> ]</span></dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="font_family">{L_FONT_FACE}:</label><br /><span>{L_FONT_FACE_EXPLAIN}</span></dt>
 | |
| 					<dd><input id="font_family" name="font_family" type="text" value="{FONT_FAMILY}" size="40" maxlength="255" /></dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="font_size">{L_FONT_SIZE}:</label></dt>
 | |
| 					<dd><input id="font_size" name="font_size" type="text" value="{FONT_SIZE}" size="5" maxlength="5" /> <select id="font_size_unit" name="font_size_unit">{S_FONT_SIZE_UNITS}</select></dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="font_weight">{L_BOLD}:</label></dt>
 | |
| 					<dd><input id="font_weight" type="radio" class="radio" name="font_weight" value="bold"<!-- IF FONT_WEIGHT eq "bold" --> checked="checked"<!-- ENDIF --> /> {L_YES}   <input type="radio" class="radio" name="font_weight" value="none"<!-- IF FONT_WEIGHT eq "none" --> checked="checked"<!-- ENDIF --> /> {L_NO}   <input type="radio" class="radio" name="font_weight" value=""<!-- IF not FONT_WEIGHT --> checked="checked"<!-- ENDIF --> /> {L_UNSET}</dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="font_style">{L_ITALIC}:</label></dt>
 | |
| 					<dd><input id="font_style" type="radio" class="radio" name="font_style" value="italic"<!-- IF FONT_STYLE eq "italic" --> checked="checked"<!-- ENDIF --> /> {L_YES}   <input type="radio" class="radio" name="font_style" value="none"<!-- IF FONT_STYLE eq "none" --> checked="checked"<!-- ENDIF --> /> {L_NO}   <input type="radio" class="radio" name="font_style" value=""<!-- IF not FONT_STYLE --> checked="checked"<!-- ENDIF --> /> {L_UNSET}</dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="text_decoration">{L_UNDERLINE}:</label></dt>
 | |
| 					<dd><input id="text_decoration" type="radio" class="radio" name="text_decoration" value="underline"<!-- IF TEXT_DECORATION eq "underline" --> checked="checked"<!-- ENDIF --> /> {L_YES}   <input type="radio" class="radio" name="text_decoration" value="none"<!-- IF TEXT_DECORATION eq "none" --> checked="checked"<!-- ENDIF --> /> {L_NO}   <input type="radio" class="radio" name="text_decoration" value=""<!-- IF not TEXT_DECORATION --> checked="checked"<!-- ENDIF --> /> {L_UNSET}</dd>
 | |
| 				</dl>
 | |
| 				<dl>
 | |
| 					<dt><label for="line_height">{L_LINE_SPACING}</label></dt>
 | |
| 					<dd><input id="line_height" name="line_height" type="text" value="{LINE_HEIGHT}" size="3" maxlength="3" /> <select id="line_height_unit" name="line_height_unit">{S_LINE_HEIGHT_UNITS}</select></dd>
 | |
| 				</dl>
 | |
| 				</fieldset>
 | |
| 
 | |
| 			<!-- ENDIF -->
 | |
| 
 | |
| 			<fieldset class="submit-buttons">
 | |
| 				<legend>{L_SUBMIT}</legend>
 | |
| 				{S_HIDDEN_FIELDS}
 | |
| 				<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /> 
 | |
| 				<!-- IF S_SHOWCSS -->
 | |
| 					<input class="button2" type="submit" id="hidecss" name="hidecss" value="{L_HIDE_CSS}" /> 
 | |
| 				<!-- ELSE -->
 | |
| 					<input class="button2" type="submit" id="showcss" name="showcss" value="{L_SHOW_CSS}" /> 
 | |
| 				<!-- ENDIF -->
 | |
| 				<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
 | |
| 			</fieldset>
 | |
| 
 | |
| 			</form>
 | |
| 
 | |
| 		<!-- ENDIF -->
 | |
| 
 | |
| 		<br />
 | |
| 		<h1>{L_CUSTOM_CLASS}</h1>
 | |
| 
 | |
| 		<p>{L_CUSTOM_CLASS_EXPLAIN}</p>
 | |
| 
 | |
| 		<form id="acp_custom_class" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 		<fieldset>
 | |
| 			<legend>{L_CUSTOM_CLASS}</legend>
 | |
| 		<dl>
 | |
| 			<dt><label for="custom_class">{L_CSS_CLASS_NAME}:</label></dt>
 | |
| 			<dd><input id="custom_class" name="custom_class" type="text" value="" maxlength="200" size="40" /></dd>
 | |
| 		</dl>
 | |
| 
 | |
| 		<p class="quick">
 | |
| 			<input class="button1" type="submit" id="add_custom" name="add_custom" value="{L_SUBMIT}" />
 | |
| 		</p>
 | |
| 		</fieldset>
 | |
| 
 | |
| 		</form>
 | |
| 	
 | |
| 	<!-- ENDIF -->
 | |
| 
 | |
| <!-- ELSEIF S_CACHE -->
 | |
| 
 | |
| 	<script type="text/javascript">
 | |
| 	<!--
 | |
| 
 | |
| 		function viewsource(url)
 | |
| 		{
 | |
| 			window.open(url, '_source', 'HEIGHT=550,resizable=yes,scrollbars=yes,WIDTH=750');
 | |
| 			return false;
 | |
| 		}
 | |
| 	
 | |
| 	//-->
 | |
| 	</script>
 | |
| 
 | |
| 	<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 	
 | |
| 	<h1>{L_TEMPLATE_CACHE}</h1>
 | |
| 	
 | |
| 	<p>{L_TEMPLATE_CACHE_EXPLAIN}</p>
 | |
| 	
 | |
| 	<form name="acp_styles" method="post" action="{U_ACTION}">
 | |
| 	<fieldset class="tabulated">
 | |
| 	<legend>{L_TEMPLATE_CACHE}</legend>
 | |
| 
 | |
| 	<table cellspacing="1">
 | |
| 	<thead>
 | |
| 	<tr>
 | |
| 		<th>{L_CACHE_FILENAME}</th>
 | |
| 		<th>{L_CACHE_FILESIZE}</th>
 | |
| 		<th>{L_CACHE_CACHED}</th>
 | |
| 		<th>{L_CACHE_MODIFIED}</th>
 | |
| 		<th>{L_MARK}</th>
 | |
| 	</tr>
 | |
| 	</thead>
 | |
| 	<tbody>
 | |
| 	<!-- BEGIN file -->
 | |
| 		<!-- IF file.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
 | |
| 			<td><a href="{file.U_VIEWSOURCE}" onclick="viewsource('{file.UA_VIEWSOURCE}');return false">{file.FILENAME}</a></td>
 | |
| 			<td>{file.FILESIZE}</td>
 | |
| 			<td>{file.CACHED}</td>
 | |
| 			<td>{file.MODIFIED}</td>
 | |
| 			<td><input type="checkbox" class="radio" name="delete[]" value="{file.FILENAME}" /></td>
 | |
| 		</tr>
 | |
| 	<!-- BEGINELSE -->
 | |
| 		<tr class="row1">
 | |
| 			<td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td>
 | |
| 		</tr>
 | |
| 	<!-- END file -->
 | |
| 	</tbody>
 | |
| 	</table>
 | |
| 
 | |
| 	<p class="quick">
 | |
| 		<span class="small"><a href="#" onclick="marklist('acp_styles', 'delete', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('acp_styles', 'delete', false); return false;">{L_UNMARK_ALL}</a></span><br />
 | |
| 
 | |
| 		<input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" />
 | |
| 	</p>
 | |
| 	</fieldset>
 | |
| 
 | |
| 	</form>
 | |
| 
 | |
| <!-- ELSEIF S_EXPORT -->
 | |
| 
 | |
| 	<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 
 | |
| 	<h1>{L_TITLE}</h1>
 | |
| 
 | |
| 	<p>{L_EXPLAIN}</p>
 | |
| 
 | |
| 	<!-- IF S_ERROR_MSG -->
 | |
| 		<div class="errorbox">
 | |
| 			<h3>{L_WARNING}</h3>
 | |
| 			<p>{ERROR_MSG}</p>
 | |
| 		</div>
 | |
| 	<!-- ENDIF -->
 | |
| 
 | |
| 	<form id="acp_styles" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 	<fieldset>
 | |
| 		<legend>{L_TITLE}</legend>
 | |
| 	<dl>
 | |
| 		<dt><label>{L_NAME}:</label></dt>
 | |
| 		<dd><b>{NAME}</b></dd>
 | |
| 	</dl>
 | |
| 	<!-- IF S_STYLE -->
 | |
| 		<dl>
 | |
| 			<dt><label for="inc_template">{L_INCLUDE_TEMPLATE}:</label></dt>
 | |
| 			<dd><input type="radio" class="radio" id="inc_template" name="inc_template" value="1" checked="checked" />  {L_YES}  <input type="radio" class="radio" name="inc_template" value="0" />  {L_NO}</dd>
 | |
| 		</dl>
 | |
| 		<dl>
 | |
| 			<dt><label for="inc_theme">{L_INCLUDE_THEME}:</label></dt>
 | |
| 			<dd><input type="radio" class="radio" id="inc_theme" name="inc_theme" value="1" checked="checked" />  {L_YES}  <input type="radio" class="radio" name="inc_theme" value="0" />  {L_NO}</dd>
 | |
| 		</dl>
 | |
| 		<dl>
 | |
| 			<dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt>
 | |
| 			<dd><input type="radio" class="radio" id="inc_imageset" name="inc_imageset" value="1" checked="checked" />  {L_YES}  <input type="radio" class="radio" name="inc_imageset" value="0" />  {L_NO}</dd>
 | |
| 		</dl>
 | |
| 	<!-- ENDIF -->
 | |
| 	<dl>
 | |
| 		<dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt>
 | |
| 		<dd><input type="radio" class="radio" id="store" name="store" value="1" checked="checked" />  {L_EXPORT_STORE}  <input type="radio" class="radio" name="store" value="0" />  {L_EXPORT_DOWNLOAD}</dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="format">{L_ARCHIVE_FORMAT}:</label></dt>
 | |
| 		<dd>{FORMAT_BUTTONS}</dd>
 | |
| 	</dl>
 | |
| 
 | |
| 	<p class="quick">
 | |
| 		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
 | |
| 	</p>
 | |
| 	</fieldset>
 | |
| 
 | |
| 	</form>
 | |
| 
 | |
| <!-- ELSEIF S_FRONTEND -->
 | |
| 
 | |
| 	<h1>{L_TITLE}</h1>
 | |
| 
 | |
| 	<p>{L_EXPLAIN}</p>
 | |
| 
 | |
| 	<!-- IF S_STYLE --> <!-- DEFINE $COLSPAN = 5 --> <!-- ELSE --> <!-- DEFINE $COLSPAN = 4 --> <!-- ENDIF -->
 | |
| 
 | |
| 	<table cellspacing="1">
 | |
| 		<col class="row1" /><!-- IF S_STYLE --><col class="row1" /><!-- ENDIF --><col class="row2" /><col class="row2" />
 | |
| 	<thead>
 | |
| 	<tr>
 | |
| 		<th>{L_NAME}</th>
 | |
| 		<!-- IF S_STYLE --><th>{L_STYLE_USED_BY}</th><!-- ENDIF -->
 | |
| 		<th>{L_OPTIONS}</th>
 | |
| 		<th>{L_ACTIONS}</th>
 | |
| 	</tr>
 | |
| 	</thead>
 | |
| 	<tbody>
 | |
| 	<tr>
 | |
| 		<td class="row3" colspan="{$COLSPAN}"><b>{L_INSTALLED}</b></td>
 | |
| 	</tr>
 | |
| 	<!-- BEGIN installed -->
 | |
| 	<tr>
 | |
| 		<td><strong>{installed.NAME}</strong><!-- IF installed.S_DEFAULT_STYLE --> *<!-- ENDIF --></td>
 | |
| 		<!-- IF S_STYLE -->
 | |
| 			<td style="text-align: center;">{installed.STYLE_COUNT}</td>
 | |
| 		<!-- ENDIF -->
 | |
| 		<td style="text-align: center;">
 | |
| 			{installed.S_OPTIONS}
 | |
| 		</td>
 | |
| 		<td style="text-align: center;">
 | |
| 			<!-- IF S_STYLE -->
 | |
| 				<a href="{installed.U_STYLE_ACT_DEACT}">{installed.L_STYLE_ACT_DEACT}</a> |
 | |
| 			<!-- ENDIF -->
 | |
| 			{installed.S_ACTIONS}
 | |
| 			<!-- IF S_STYLE -->
 | |
| 				| <a href="{installed.U_PREVIEW}">{L_PREVIEW}</a>
 | |
| 			<!-- ENDIF -->
 | |
| 		</td>
 | |
| 	<!-- END installed -->
 | |
| 	<tr>
 | |
| 		<td class="row3" colspan="{$COLSPAN}"><b>{L_UNINSTALLED}</b></td>
 | |
| 	</tr>
 | |
| 	<!-- IF not .uninstalled -->
 | |
| 		<tr>
 | |
| 			<td class="row1" colspan="{$COLSPAN}" style="text-align: center;">{L_NO_UNINSTALLED}</td>
 | |
| 		</tr>
 | |
| 	<!-- ENDIF -->
 | |
| 	<!-- BEGIN uninstalled -->
 | |
| 		<tr>
 | |
| 			<td<!-- IF S_STYLE --> colspan="2"<!-- ENDIF -->><b>{uninstalled.NAME}</b><br /><span>{L_COPYRIGHT}: {uninstalled.COPYRIGHT}</span></td>
 | |
| 			<td style="text-align: center;" colspan="2"><a href="{uninstalled.U_INSTALL}">{L_INSTALL}</a></td>
 | |
| 		</tr>
 | |
| 	<!-- END uninstalled -->
 | |
| 	</tbody>
 | |
| 	</table>
 | |
| 
 | |
| 	<!-- IF S_STYLE -->
 | |
| 		<form id="acp_styles" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 		<fieldset class="quick">
 | |
| 			<legend>{L_CREATE}</legend>
 | |
| 			{L_CREATE}: <input type="text" name="name" value="" /> {L_FROM} <select name="basis">{S_BASIS_OPTIONS}</select> <input class="button2" type="submit" name="add" value="{L_SUBMIT}" />
 | |
| 		</fieldset>
 | |
| 
 | |
| 		</form>
 | |
| 	<!-- ENDIF -->
 | |
| 
 | |
| <!-- ELSEIF S_DETAILS -->
 | |
| 
 | |
| 	<a href="{U_BACK}" style="float: right">« {L_BACK}</a>
 | |
| 
 | |
| 	<h1>{L_TITLE}</h1>
 | |
| 
 | |
| 	<p>{L_EXPLAIN}</p>
 | |
| 
 | |
| 	<!-- IF S_ERROR_MSG -->
 | |
| 		<div class="errorbox">
 | |
| 			<h3>{L_WARNING}</h3>
 | |
| 			<p>{ERROR_MSG}</p>
 | |
| 		</div>
 | |
| 	<!-- ENDIF -->
 | |
| 
 | |
| 	<form id="acp_styles" method="post" action="{U_ACTION}">
 | |
| 
 | |
| 	<fieldset>
 | |
| 		<legend>{L_TITLE}</legend>
 | |
| 	<dl>
 | |
| 		<dt><label for="name">{L_NAME}:</label></dt>
 | |
| 		<dd><!-- IF S_INSTALL --><b id="name">{NAME}</b><!-- ELSE --><input type="text" id="name" name="name" value="{NAME}" /><!-- ENDIF --></dd>
 | |
| 	</dl>
 | |
| 	<dl>
 | |
| 		<dt><label for="copyright">{L_COPYRIGHT}:</label></dt>
 | |
| 		<dd><!-- IF S_INSTALL --><b id="name">{COPYRIGHT}</b><!-- ELSE --><input type="text" id="copyright" name="copyright" value="{COPYRIGHT}" /><!-- ENDIF --></dd>
 | |
| 	</dl>
 | |
| 	<!-- IF S_STYLE and not S_BASIS -->
 | |
| 		<dl>
 | |
| 			<dt><label for="template_id">{L_STYLE_TEMPLATE}:</label></dt>
 | |
| 			<dd><!-- IF S_INSTALL --><b id="template_id">{TEMPLATE_NAME}</b><!-- ELSE --><select id="template_id" name="template_id">{S_TEMPLATE_OPTIONS}</select><!-- ENDIF --></dd>
 | |
| 		</dl>
 | |
| 		<dl>
 | |
| 			<dt><label for="theme_id">{L_STYLE_THEME}:</label></dt>
 | |
| 			<dd><!-- IF S_INSTALL --><b id="theme_id">{THEME_NAME}</b><!-- ELSE --><select id="theme_id" name="theme_id">{S_THEME_OPTIONS}</select><!-- ENDIF --></dd>
 | |
| 		</dl>
 | |
| 		<dl>
 | |
| 			<dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt>
 | |
| 			<dd><!-- IF S_INSTALL --><b id="imageset_id">{IMAGESET_NAME}</b><!-- ELSE --><select id="imageset_id" name="imageset_id">{S_IMAGESET_OPTIONS}</select><!-- ENDIF --></dd>
 | |
| 		</dl>
 | |
| 	<!-- ENDIF -->
 | |
| 	<!-- IF S_TEMPLATE or S_THEME -->
 | |
| 		<dl>
 | |
| 			<dt><label for="store_db">{L_LOCATION}:</label><br /><span>{L_LOCATION_EXPLAIN}</span></dt>
 | |
| 			<dd><input type="radio" class="radio" name="store_db" value="0"<!-- IF not S_STORE_DB --> id="store_db" checked="checked"<!-- ENDIF --> />  {L_STORE_FILESYSTEM}  <input type="radio" class="radio" name="store_db" value="1"<!-- IF S_STORE_DB --> id="store_db" checked="checked"<!-- ENDIF --> />  {L_STORE_DATABASE}</dd>
 | |
| 		</dl>
 | |
| 	<!-- ENDIF -->
 | |
| 	<!-- IF S_STYLE -->
 | |
| 		</fieldset>
 | |
| 
 | |
| 		<fieldset>
 | |
| 			<legend>{L_OPTIONS}</legend>
 | |
| 		<dl>
 | |
| 			<dt><label for="style_active">{L_STYLE_ACTIVE}:</label></dt>
 | |
| 			<dd><input type="radio" class="radio" name="style_active" value="1"<!-- IF S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> />  {L_YES}  <input type="radio" class="radio" name="style_active" value="0"<!-- IF not S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> />  {L_NO}</dd>
 | |
| 		</dl>
 | |
| 		<!-- IF not S_STYLE_DEFAULT -->
 | |
| 			<dl>
 | |
| 				<dt><label for="style_default">{L_STYLE_DEFAULT}:</label></dt>
 | |
| 				<dd><input type="radio" class="radio" name="style_default" value="1" />  {L_YES}  <input type="radio" class="radio" id="style_default" name="style_default" value="0" checked="checked" />  {L_NO}</dd>
 | |
| 			</dl>
 | |
| 		<!-- ENDIF -->
 | |
| 	<!-- ENDIF -->
 | |
| 	</fieldset>
 | |
| 
 | |
| 	<fieldset class="submit-buttons">
 | |
| 		<legend>{L_SUBMIT}</legend>
 | |
| 		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
 | |
| 	</fieldset>
 | |
| 
 | |
| 	</form>
 | |
| 
 | |
| <!-- ENDIF -->
 | |
| 
 | |
| <!-- INCLUDE overall_footer.html -->
 |