2005-12-28 17:35:20 +00:00
|
|
|
<!-- INCLUDE overall_header.html -->
|
|
|
|
|
|
|
|
<a name="maincontent"></a>
|
|
|
|
|
|
|
|
<!-- IF S_DELETE -->
|
|
|
|
|
2007-07-26 15:51:11 +00:00
|
|
|
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
2005-12-28 17:35:20 +00:00
|
|
|
|
|
|
|
<h1>{L_TITLE}</h1>
|
|
|
|
|
|
|
|
<p>{L_EXPLAIN}</p>
|
|
|
|
|
|
|
|
<form id="acp_styles" method="post" action="{U_ACTION}">
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2005-12-28 17:35:20 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend>{L_TITLE}</legend>
|
|
|
|
<dl>
|
|
|
|
<dt><label>{L_NAME}:</label></dt>
|
2007-05-07 13:19:59 +00:00
|
|
|
<dd><strong>{NAME}</strong></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</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>
|
|
|
|
|
2006-11-24 02:04:43 +00:00
|
|
|
<p class="quick">
|
2005-12-28 17:35:20 +00:00
|
|
|
<input class="button1" type="submit" name="update" value="{L_DELETE}" />
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2006-11-24 02:04:43 +00:00
|
|
|
</p>
|
2005-12-28 17:35:20 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2006-01-22 05:33:09 +00:00
|
|
|
<!-- ELSEIF S_EDIT_IMAGESET -->
|
|
|
|
|
2007-07-26 15:51:11 +00:00
|
|
|
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
2006-01-22 05:33:09 +00:00
|
|
|
|
|
|
|
<h1>{L_TITLE}</h1>
|
|
|
|
|
|
|
|
<p>{L_EXPLAIN}</p>
|
2006-11-19 14:14:35 +00:00
|
|
|
|
|
|
|
<!-- 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">
|
2007-09-22 18:31:50 +00:00
|
|
|
// <![CDATA[
|
2006-06-06 20:53:46 +00:00
|
|
|
function update_image(newimage)
|
|
|
|
{
|
2009-03-17 11:40:56 +00:00
|
|
|
document.getElementById('newimg').src = (newimage) ? '../styles/{A_PATH}/imageset/' + encodeURI(newimage) : 'images/no_image.png';
|
2006-06-06 20:53:46 +00:00
|
|
|
}
|
2007-09-22 18:31:50 +00:00
|
|
|
// ]]>
|
2006-02-11 02:00:03 +00:00
|
|
|
</script>
|
2007-06-11 12:39:51 +00:00
|
|
|
<script type="text/javascript">
|
2007-09-22 18:31:50 +00:00
|
|
|
// <![CDATA[
|
2007-06-11 12:39:51 +00:00
|
|
|
/**
|
|
|
|
* Handle displaying/hiding the dimension fields
|
|
|
|
*/
|
|
|
|
function display_options(value)
|
|
|
|
{
|
|
|
|
if (value == 0)
|
|
|
|
{
|
|
|
|
dE('img_dimensions', -1);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
dE('img_dimensions', 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Init the wanted display functionality if javascript is enabled.
|
|
|
|
* If javascript is not available, the user is still able to properly administrate.
|
|
|
|
*/
|
|
|
|
onload = function()
|
|
|
|
{
|
|
|
|
<!-- IF not IMAGE_SIZE -->
|
|
|
|
dE('img_dimensions', -1);
|
|
|
|
<!-- ENDIF -->
|
|
|
|
}
|
2007-09-22 18:31:50 +00:00
|
|
|
// ]]>
|
2007-06-11 12:39:51 +00:00
|
|
|
</script>
|
2006-11-19 14:14:35 +00:00
|
|
|
|
2006-06-06 20:53:46 +00:00
|
|
|
<form method="post" action="{U_ACTION}">
|
2006-11-19 14:14:35 +00:00
|
|
|
|
|
|
|
<fieldset class="quick" style="text-align: left;">
|
2006-11-24 02:04:43 +00:00
|
|
|
<legend>{L_SELECT_IMAGE}</legend>
|
2006-11-19 14:14:35 +00:00
|
|
|
{L_SELECT_IMAGE}: <select name="imgname" onchange="this.form.submit();">
|
2006-06-06 20:53:46 +00:00
|
|
|
<!-- BEGIN category -->
|
2007-05-22 21:32:26 +00:00
|
|
|
<option class="sep" value="" disabled="disabled">{category.NAME}</option>
|
|
|
|
<!-- BEGIN images --><option value="{category.images.VALUE}"<!-- IF category.images.SELECTED--> selected="selected"<!-- ENDIF -->> {category.images.TEXT}</option>
|
2006-02-11 02:00:03 +00:00
|
|
|
<!-- END images -->
|
|
|
|
<!-- END category -->
|
2006-11-19 14:14:35 +00:00
|
|
|
</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>
|
2007-05-22 21:32:26 +00:00
|
|
|
<dd><img src="{IMG_SRC}" id="newimg" alt="" /></dd>
|
2006-11-19 14:14:35 +00:00
|
|
|
</dl>
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset>
|
2006-11-24 02:04:43 +00:00
|
|
|
<legend>{L_IMAGE}</legend>
|
2006-11-19 14:14:35 +00:00
|
|
|
<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>
|
2007-06-11 12:39:51 +00:00
|
|
|
<dd><label><input type="radio" class="radio" name="imgsize" id="imgsize" onclick="display_options(1);" value="1"<!-- IF IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
|
|
|
<label><input type="radio" class="radio" name="imgsize" onclick="display_options(0);" value="0"<!-- IF not IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
2006-11-19 14:14:35 +00:00
|
|
|
</dl>
|
2007-06-11 12:39:51 +00:00
|
|
|
<div id="img_dimensions">
|
|
|
|
<dl>
|
|
|
|
<dt><label for="imgwidth">{L_IMAGE_WIDTH}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
|
|
|
|
<dd><input type="text" name="imgwidth" value="{IMAGE_SIZE}" /></dd>
|
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="imgheight">{L_IMAGE_HEIGHT}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
|
|
|
|
<dd><input type="text" name="imgheight" value="{IMAGE_HEIGHT}" /></dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
2006-11-19 14:14:35 +00:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="submit-buttons">
|
2006-11-24 02:04:43 +00:00
|
|
|
<legend>{L_SUBMIT}</legend>
|
|
|
|
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> <input class="button2" type="reset" value="{L_RESET}" />
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2006-11-19 14:14:35 +00:00
|
|
|
</fieldset>
|
2006-06-06 20:53:46 +00:00
|
|
|
</form>
|
|
|
|
|
2006-05-20 23:56:12 +00:00
|
|
|
<!-- ELSEIF S_EDIT_TEMPLATE or S_EDIT_THEME -->
|
2006-06-06 20:53:46 +00:00
|
|
|
|
2007-07-26 15:51:11 +00:00
|
|
|
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
2006-05-07 21:44:23 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<h1>{L_EDIT}</h1>
|
2006-05-07 21:44:23 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<p>{L_EDIT_EXPLAIN}</p>
|
2006-05-07 21:44:23 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<p>{L_SELECTED}: <strong>{SELECTED_TEMPLATE}</strong></p>
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<form id="acp_styles" method="post" action="{U_ACTION}">
|
2006-05-07 21:44:23 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
|
|
|
|
<fieldset>
|
|
|
|
<legend>{L_SELECT}</legend>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="template_file">{L_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>
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2007-05-13 20:35:34 +00:00
|
|
|
</fieldset>
|
|
|
|
<!-- ENDIF -->
|
|
|
|
</form>
|
2006-05-07 21:44:23 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<!-- IF TEMPLATE_FILE or (S_EDIT_THEME and S_THEME_IN_DB) -->
|
|
|
|
<script type="text/javascript" defer="defer">
|
2007-09-22 18:31:50 +00:00
|
|
|
// <![CDATA[
|
2006-06-06 20:53:46 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
function change_editor_height(height)
|
|
|
|
{
|
2007-09-22 18:31:50 +00:00
|
|
|
height = Number(height);
|
|
|
|
|
|
|
|
if (isNaN(height))
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
editor = document.getElementById('template_data');
|
|
|
|
editor.rows = Math.max(5, Math.min(height, 999));
|
2006-06-06 20:53:46 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
append_text_rows('acp_styles', height);
|
|
|
|
append_text_rows('acp_template', height);
|
|
|
|
}
|
2006-06-06 20:53:46 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
function append_text_rows(form_name, value)
|
|
|
|
{
|
2007-09-22 18:31:50 +00:00
|
|
|
value = Number(value);
|
|
|
|
|
|
|
|
if (isNaN(value))
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
url = document.getElementById(form_name).action;
|
2007-09-22 18:31:50 +00:00
|
|
|
|
|
|
|
// Make sure & is actually... &
|
|
|
|
url = url.replace(/&/g, '&');
|
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
var_start = url.indexOf('&text_rows=');
|
|
|
|
if (var_start == -1)
|
|
|
|
{
|
|
|
|
document.getElementById(form_name).action = url + "&text_rows=" + value;
|
2006-06-06 20:53:46 +00:00
|
|
|
}
|
2007-05-13 20:35:34 +00:00
|
|
|
else
|
2006-06-06 20:53:46 +00:00
|
|
|
{
|
2007-05-13 20:35:34 +00:00
|
|
|
url_start = url.substring(0, var_start + 1);
|
|
|
|
var_end = url.substring(var_start + 1).indexOf('&');
|
|
|
|
if (var_end == -1)
|
2006-06-06 20:53:46 +00:00
|
|
|
{
|
2007-05-13 20:35:34 +00:00
|
|
|
document.getElementById(form_name).action = url_start + "text_rows=" + value;
|
2006-06-06 20:53:46 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2007-05-13 20:35:34 +00:00
|
|
|
document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
|
2006-06-06 20:53:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2007-09-18 14:49:19 +00:00
|
|
|
|
2007-09-22 18:31:50 +00:00
|
|
|
// ]]>
|
2006-06-06 20:53:46 +00:00
|
|
|
</script>
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<form id="acp_template" method="post" action="{U_ACTION}">
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2006-06-06 20:53:46 +00:00
|
|
|
<fieldset>
|
2007-05-13 20:35:34 +00:00
|
|
|
<legend>{L_EDITOR}</legend>
|
|
|
|
<!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
|
2006-05-20 23:56:12 +00:00
|
|
|
<dl>
|
2007-05-13 20:35:34 +00:00
|
|
|
<dt><label>{L_SELECTED_FILE}:</label></dt>
|
|
|
|
<dd>{TEMPLATE_FILE}</dd>
|
2006-05-20 23:56:12 +00:00
|
|
|
</dl>
|
|
|
|
<!-- ENDIF -->
|
|
|
|
<dl>
|
2007-05-13 20:35:34 +00:00
|
|
|
<dt><label for="text_rows">{L_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>
|
2006-05-20 23:56:12 +00:00
|
|
|
</dl>
|
2007-05-13 20:35:34 +00:00
|
|
|
<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>
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2007-05-13 20:35:34 +00:00
|
|
|
<fieldset class="submit-buttons">
|
|
|
|
<legend>{L_SUBMIT}</legend>
|
|
|
|
{S_HIDDEN_FIELDS}
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2007-05-13 20:35:34 +00:00
|
|
|
<input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />
|
2006-06-06 20:53:46 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
<!-- ENDIF -->
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2006-06-03 22:19:41 +00:00
|
|
|
<!-- ELSEIF S_CACHE -->
|
2006-06-06 20:53:46 +00:00
|
|
|
|
2007-07-26 15:51:11 +00:00
|
|
|
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
2008-08-16 13:03:00 +00:00
|
|
|
|
2006-06-03 22:19:41 +00:00
|
|
|
<h1>{L_TEMPLATE_CACHE}</h1>
|
2008-08-16 13:03:00 +00:00
|
|
|
|
2006-06-03 22:19:41 +00:00
|
|
|
<p>{L_TEMPLATE_CACHE_EXPLAIN}</p>
|
2008-08-16 13:03:00 +00:00
|
|
|
|
2006-06-03 22:19:41 +00:00
|
|
|
<form name="acp_styles" method="post" action="{U_ACTION}">
|
2006-11-24 02:04:43 +00:00
|
|
|
<fieldset class="tabulated">
|
|
|
|
<legend>{L_TEMPLATE_CACHE}</legend>
|
2006-06-03 22:19:41 +00:00
|
|
|
|
|
|
|
<table cellspacing="1">
|
2006-06-06 20:53:46 +00:00
|
|
|
<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 -->
|
2006-06-03 22:19:41 +00:00
|
|
|
<!-- IF file.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
2008-07-28 14:24:37 +00:00
|
|
|
<td><a href="{file.U_VIEWSOURCE}" onclick="popup(this.href, 750, 550, '_source'); return false;">{file.FILENAME_PATH}</a></td>
|
2006-06-03 22:19:41 +00:00
|
|
|
<td>{file.FILESIZE}</td>
|
|
|
|
<td>{file.CACHED}</td>
|
|
|
|
<td>{file.MODIFIED}</td>
|
2006-06-13 15:06:32 +00:00
|
|
|
<td><input type="checkbox" class="radio" name="delete[]" value="{file.FILENAME}" /></td>
|
2006-06-03 22:19:41 +00:00
|
|
|
</tr>
|
2006-06-06 20:53:46 +00:00
|
|
|
<!-- BEGINELSE -->
|
2006-06-03 22:19:41 +00:00
|
|
|
<tr class="row1">
|
|
|
|
<td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td>
|
|
|
|
</tr>
|
2006-06-06 20:53:46 +00:00
|
|
|
<!-- END file -->
|
|
|
|
</tbody>
|
2006-06-03 22:19:41 +00:00
|
|
|
</table>
|
|
|
|
|
2006-11-24 02:04:43 +00:00
|
|
|
<p class="quick">
|
2006-09-13 16:08:36 +00:00
|
|
|
<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 />
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2006-06-03 22:19:41 +00:00
|
|
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" />
|
2006-11-24 02:04:43 +00:00
|
|
|
</p>
|
2006-06-03 22:19:41 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2006-06-06 20:53:46 +00:00
|
|
|
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- ELSEIF S_EXPORT -->
|
|
|
|
|
2007-07-26 15:51:11 +00:00
|
|
|
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
2005-12-28 17:35:20 +00:00
|
|
|
|
|
|
|
<h1>{L_TITLE}</h1>
|
|
|
|
|
|
|
|
<p>{L_EXPLAIN}</p>
|
|
|
|
|
|
|
|
<!-- IF S_ERROR_MSG -->
|
2006-06-06 20:53:46 +00:00
|
|
|
<div class="errorbox">
|
|
|
|
<h3>{L_WARNING}</h3>
|
|
|
|
<p>{ERROR_MSG}</p>
|
|
|
|
</div>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- ENDIF -->
|
|
|
|
|
|
|
|
<form id="acp_styles" method="post" action="{U_ACTION}">
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2005-12-28 17:35:20 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend>{L_TITLE}</legend>
|
|
|
|
<dl>
|
|
|
|
<dt><label>{L_NAME}:</label></dt>
|
2007-05-07 13:19:59 +00:00
|
|
|
<dd><strong>{NAME}</strong></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<!-- IF S_STYLE -->
|
2006-06-06 20:53:46 +00:00
|
|
|
<dl>
|
|
|
|
<dt><label for="inc_template">{L_INCLUDE_TEMPLATE}:</label></dt>
|
2007-05-04 23:36:26 +00:00
|
|
|
<dd><label><input type="radio" class="radio" id="inc_template" name="inc_template" value="1" checked="checked" /> {L_YES}</label>
|
|
|
|
<label><input type="radio" class="radio" name="inc_template" value="0" /> {L_NO}</label></dd>
|
2006-06-06 20:53:46 +00:00
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="inc_theme">{L_INCLUDE_THEME}:</label></dt>
|
2007-05-04 23:36:26 +00:00
|
|
|
<dd><label><input type="radio" class="radio" id="inc_theme" name="inc_theme" value="1" checked="checked" /> {L_YES}</label>
|
|
|
|
<label><input type="radio" class="radio" name="inc_theme" value="0" /> {L_NO}</label></dd>
|
2006-06-06 20:53:46 +00:00
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt>
|
2007-05-04 23:36:26 +00:00
|
|
|
<dd><label><input type="radio" class="radio" id="inc_imageset" name="inc_imageset" value="1" checked="checked" /> {L_YES}</label>
|
|
|
|
<label><input type="radio" class="radio" name="inc_imageset" value="0" /> {L_NO}</label></dd>
|
2006-06-06 20:53:46 +00:00
|
|
|
</dl>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- ENDIF -->
|
|
|
|
<dl>
|
|
|
|
<dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt>
|
2007-05-04 23:36:26 +00:00
|
|
|
<dd><label><input type="radio" class="radio" id="store" name="store" value="1" checked="checked" /> {L_EXPORT_STORE}</label>
|
|
|
|
<label><input type="radio" class="radio" name="store" value="0" /> {L_EXPORT_DOWNLOAD}</label></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="format">{L_ARCHIVE_FORMAT}:</label></dt>
|
|
|
|
<dd>{FORMAT_BUTTONS}</dd>
|
|
|
|
</dl>
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2006-11-24 02:04:43 +00:00
|
|
|
<p class="quick">
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2005-12-28 17:35:20 +00:00
|
|
|
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
2006-11-24 02:04:43 +00:00
|
|
|
</p>
|
2005-12-28 17:35:20 +00:00
|
|
|
</fieldset>
|
|
|
|
|
2008-08-16 13:03:00 +00:00
|
|
|
|
2005-12-28 17:35:20 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<!-- ELSEIF S_FRONTEND -->
|
|
|
|
|
|
|
|
<h1>{L_TITLE}</h1>
|
|
|
|
|
|
|
|
<p>{L_EXPLAIN}</p>
|
|
|
|
|
2006-07-09 16:23:57 +00:00
|
|
|
<!-- IF S_STYLE --> <!-- DEFINE $COLSPAN = 5 --> <!-- ELSE --> <!-- DEFINE $COLSPAN = 4 --> <!-- ENDIF -->
|
2006-05-20 23:56:12 +00:00
|
|
|
|
2005-12-28 17:35:20 +00:00
|
|
|
<table cellspacing="1">
|
2006-07-09 16:23:57 +00:00
|
|
|
<col class="row1" /><!-- IF S_STYLE --><col class="row1" /><!-- ENDIF --><col class="row2" /><col class="row2" />
|
2005-12-28 17:35:20 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{L_NAME}</th>
|
|
|
|
<!-- IF S_STYLE --><th>{L_STYLE_USED_BY}</th><!-- ENDIF -->
|
|
|
|
<th>{L_OPTIONS}</th>
|
2006-07-09 16:23:57 +00:00
|
|
|
<th>{L_ACTIONS}</th>
|
2005-12-28 17:35:20 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2007-05-07 13:19:59 +00:00
|
|
|
<td class="row3" colspan="{$COLSPAN}"><strong>{L_INSTALLED}</strong></td>
|
2005-12-28 17:35:20 +00:00
|
|
|
</tr>
|
|
|
|
<!-- BEGIN installed -->
|
|
|
|
<tr>
|
2006-11-29 00:36:40 +00:00
|
|
|
<td><strong>{installed.NAME}</strong><!-- IF installed.S_DEFAULT_STYLE --> *<!-- ENDIF --></td>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- IF S_STYLE -->
|
|
|
|
<td style="text-align: center;">{installed.STYLE_COUNT}</td>
|
|
|
|
<!-- ENDIF -->
|
2006-07-09 16:23:57 +00:00
|
|
|
<td style="text-align: center;">
|
|
|
|
{installed.S_OPTIONS}
|
|
|
|
</td>
|
2005-12-28 17:35:20 +00:00
|
|
|
<td style="text-align: center;">
|
|
|
|
<!-- IF S_STYLE -->
|
|
|
|
<a href="{installed.U_STYLE_ACT_DEACT}">{installed.L_STYLE_ACT_DEACT}</a> |
|
|
|
|
<!-- ENDIF -->
|
2006-07-09 16:23:57 +00:00
|
|
|
{installed.S_ACTIONS}
|
2006-05-20 23:56:12 +00:00
|
|
|
<!-- IF S_STYLE -->
|
2006-09-13 16:08:36 +00:00
|
|
|
| <a href="{installed.U_PREVIEW}">{L_PREVIEW}</a>
|
2006-05-20 23:56:12 +00:00
|
|
|
<!-- ENDIF -->
|
2005-12-28 17:35:20 +00:00
|
|
|
</td>
|
2007-05-17 14:59:33 +00:00
|
|
|
</tr>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- END installed -->
|
|
|
|
<tr>
|
2007-05-07 13:19:59 +00:00
|
|
|
<td class="row3" colspan="{$COLSPAN}"><strong>{L_UNINSTALLED}</strong></td>
|
2005-12-28 17:35:20 +00:00
|
|
|
</tr>
|
|
|
|
<!-- IF not .uninstalled -->
|
2006-06-06 20:53:46 +00:00
|
|
|
<tr>
|
|
|
|
<td class="row1" colspan="{$COLSPAN}" style="text-align: center;">{L_NO_UNINSTALLED}</td>
|
|
|
|
</tr>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- ENDIF -->
|
|
|
|
<!-- BEGIN uninstalled -->
|
2006-06-06 20:53:46 +00:00
|
|
|
<tr>
|
2007-05-07 13:19:59 +00:00
|
|
|
<td<!-- IF S_STYLE --> colspan="2"<!-- ENDIF -->><strong>{uninstalled.NAME}</strong><br /><span>{L_COPYRIGHT}: {uninstalled.COPYRIGHT}</span></td>
|
2006-07-09 16:23:57 +00:00
|
|
|
<td style="text-align: center;" colspan="2"><a href="{uninstalled.U_INSTALL}">{L_INSTALL}</a></td>
|
2006-06-06 20:53:46 +00:00
|
|
|
</tr>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- END uninstalled -->
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2006-01-03 13:33:32 +00:00
|
|
|
<!-- IF S_STYLE -->
|
2006-06-06 20:53:46 +00:00
|
|
|
<form id="acp_styles" method="post" action="{U_ACTION}">
|
2006-01-03 13:33:32 +00:00
|
|
|
|
|
|
|
<fieldset class="quick">
|
2006-11-24 02:04:43 +00:00
|
|
|
<legend>{L_CREATE}</legend>
|
2007-05-06 15:31:39 +00:00
|
|
|
{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}" />
|
2006-01-03 13:33:32 +00:00
|
|
|
</fieldset>
|
|
|
|
|
2006-06-06 20:53:46 +00:00
|
|
|
</form>
|
2006-01-03 13:33:32 +00:00
|
|
|
<!-- ENDIF -->
|
2005-12-28 17:35:20 +00:00
|
|
|
|
|
|
|
<!-- ELSEIF S_DETAILS -->
|
|
|
|
|
2007-07-26 15:51:11 +00:00
|
|
|
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
2005-12-28 17:35:20 +00:00
|
|
|
|
|
|
|
<h1>{L_TITLE}</h1>
|
|
|
|
|
|
|
|
<p>{L_EXPLAIN}</p>
|
|
|
|
|
|
|
|
<!-- IF S_ERROR_MSG -->
|
2006-06-06 20:53:46 +00:00
|
|
|
<div class="errorbox">
|
|
|
|
<h3>{L_WARNING}</h3>
|
|
|
|
<p>{ERROR_MSG}</p>
|
|
|
|
</div>
|
2005-12-28 17:35:20 +00:00
|
|
|
<!-- ENDIF -->
|
|
|
|
|
|
|
|
<form id="acp_styles" method="post" action="{U_ACTION}">
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<legend>{L_TITLE}</legend>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="name">{L_NAME}:</label></dt>
|
2009-02-27 16:29:29 +00:00
|
|
|
<dd><!-- IF S_INSTALL --><strong id="name">{NAME}</strong><!-- ELSE --><input type="text" id="name" name="name" value="{NAME}" /><!-- ENDIF --></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="copyright">{L_COPYRIGHT}:</label></dt>
|
2009-02-27 16:29:29 +00:00
|
|
|
<dd><!-- IF S_INSTALL --><strong id="copyright">{COPYRIGHT}</strong><!-- ELSE --><input type="text" id="copyright" name="copyright" value="{COPYRIGHT}" /><!-- ENDIF --></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
2008-07-28 14:24:37 +00:00
|
|
|
<!-- IF S_SUPERTEMPLATE -->
|
|
|
|
<dl>
|
|
|
|
<dt><label for="inheriting">{L_INHERITING_FROM}:</label></dt>
|
2009-02-27 16:29:29 +00:00
|
|
|
<dd><strong id="inheriting">{S_SUPERTEMPLATE}</strong></dd>
|
2008-07-28 14:24:37 +00:00
|
|
|
</dl>
|
|
|
|
<!-- ENDIF -->
|
2006-01-03 13:33:32 +00:00
|
|
|
<!-- IF S_STYLE and not S_BASIS -->
|
2005-12-28 17:35:20 +00:00
|
|
|
<dl>
|
|
|
|
<dt><label for="template_id">{L_STYLE_TEMPLATE}:</label></dt>
|
2009-02-27 16:29:29 +00:00
|
|
|
<dd><!-- IF S_INSTALL --><strong id="template_id">{TEMPLATE_NAME}</strong><!-- ELSE --><select id="template_id" name="template_id">{S_TEMPLATE_OPTIONS}</select><!-- ENDIF --></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="theme_id">{L_STYLE_THEME}:</label></dt>
|
2009-02-27 16:29:29 +00:00
|
|
|
<dd><!-- IF S_INSTALL --><strong id="theme_id">{THEME_NAME}</strong><!-- ELSE --><select id="theme_id" name="theme_id">{S_THEME_OPTIONS}</select><!-- ENDIF --></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt>
|
2009-02-27 16:29:29 +00:00
|
|
|
<dd><!-- IF S_INSTALL --><strong id="imageset_id">{IMAGESET_NAME}</strong><!-- ELSE --><select id="imageset_id" name="imageset_id">{S_IMAGESET_OPTIONS}</select><!-- ENDIF --></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<!-- ENDIF -->
|
2008-07-28 14:24:37 +00:00
|
|
|
<!-- IF (S_TEMPLATE or S_THEME) and (S_LOCATION or not S_INSTALL) -->
|
2005-12-28 17:35:20 +00:00
|
|
|
<dl>
|
2008-07-28 14:24:37 +00:00
|
|
|
<dt><label for="store_db">{L_LOCATION}:</label><br /><span><!-- IF S_STORE_DB_DISABLED -->{L_LOCATION_DISABLED_EXPLAIN}<!-- ELSE -->{L_LOCATION_EXPLAIN}<!-- ENDIF --></span></dt>
|
|
|
|
<dd><label><input type="radio" class="radio" name="store_db" value="0"<!-- IF not S_STORE_DB --> id="store_db" checked="checked"<!-- ENDIF --> <!-- IF S_STORE_DB_DISABLED -->disabled="disabled" <!-- ENDIF --> />{L_STORE_FILESYSTEM}</label>
|
|
|
|
<label><input type="radio" class="radio" name="store_db" value="1"<!-- IF S_STORE_DB --> id="store_db" checked="checked"<!-- ENDIF --> <!-- IF S_STORE_DB_DISABLED -->disabled="disabled" <!-- ENDIF -->/> {L_STORE_DATABASE}</label></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF S_STYLE -->
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<legend>{L_OPTIONS}</legend>
|
|
|
|
<dl>
|
|
|
|
<dt><label for="style_active">{L_STYLE_ACTIVE}:</label></dt>
|
2007-05-04 23:36:26 +00:00
|
|
|
<dd><label><input type="radio" class="radio" name="style_active" value="1"<!-- IF S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
|
|
|
<label><input type="radio" class="radio" name="style_active" value="0"<!-- IF not S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<!-- IF not S_STYLE_DEFAULT -->
|
|
|
|
<dl>
|
|
|
|
<dt><label for="style_default">{L_STYLE_DEFAULT}:</label></dt>
|
2007-05-04 23:36:26 +00:00
|
|
|
<dd><label><input type="radio" class="radio" name="style_default" value="1" /> {L_YES}</label>
|
|
|
|
<label><input type="radio" class="radio" id="style_default" name="style_default" value="0" checked="checked" /> {L_NO}</label></dd>
|
2005-12-28 17:35:20 +00:00
|
|
|
</dl>
|
|
|
|
<!-- ENDIF -->
|
|
|
|
<!-- ENDIF -->
|
|
|
|
</fieldset>
|
|
|
|
|
2006-11-24 02:04:43 +00:00
|
|
|
<fieldset class="submit-buttons">
|
|
|
|
<legend>{L_SUBMIT}</legend>
|
2005-12-28 17:35:20 +00:00
|
|
|
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
2007-11-05 19:07:10 +00:00
|
|
|
{S_FORM_TOKEN}
|
2005-12-28 17:35:20 +00:00
|
|
|
</fieldset>
|
2008-08-16 13:03:00 +00:00
|
|
|
|
2005-12-28 17:35:20 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<!-- ENDIF -->
|
|
|
|
|
2006-11-24 02:04:43 +00:00
|
|
|
<!-- INCLUDE overall_footer.html -->
|