1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/adm/style/acp_styles.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,536 @@
1.4 +<!-- INCLUDE overall_header.html -->
1.5 +
1.6 +<a name="maincontent"></a>
1.7 +
1.8 +<!-- IF S_DELETE -->
1.9 +
1.10 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.11 +
1.12 + <h1>{L_TITLE}</h1>
1.13 +
1.14 + <p>{L_EXPLAIN}</p>
1.15 +
1.16 + <form id="acp_styles" method="post" action="{U_ACTION}">
1.17 +
1.18 + <fieldset>
1.19 + <legend>{L_TITLE}</legend>
1.20 + <dl>
1.21 + <dt><label>{L_NAME}:</label></dt>
1.22 + <dd><strong>{NAME}</strong></dd>
1.23 + </dl>
1.24 + <dl>
1.25 + <dt><label for="new_id">{L_REPLACE}:</label><br /><span>{L_REPLACE_EXPLAIN}</span></dt>
1.26 + <dd><select id="new_id" name="new_id">{S_REPLACE_OPTIONS}</select></dd>
1.27 + </dl>
1.28 + <!-- IF S_DELETE_STYLE -->
1.29 + <hr />
1.30 + <dl>
1.31 + <dt><label for="new_template_id">{L_DELETE_TEMPLATE}:</label><br /><span>{L_REPLACE_TEMPLATE_EXPLAIN}</span></dt>
1.32 + <dd><select id="new_template_id" name="new_template_id">{S_REPLACE_TEMPLATE_OPTIONS}</select></dd>
1.33 + </dl>
1.34 + <dl>
1.35 + <dt><label for="new_theme_id">{L_DELETE_THEME}:</label><br /><span>{L_REPLACE_THEME_EXPLAIN}</span></dt>
1.36 + <dd><select id="new_theme_id" name="new_theme_id">{S_REPLACE_THEME_OPTIONS}</select></dd>
1.37 + </dl>
1.38 + <dl>
1.39 + <dt><label for="new_imageset_id">{L_DELETE_IMAGESET}:</label><br /><span>{L_REPLACE_IMAGESET_EXPLAIN}</span></dt>
1.40 + <dd><select id="new_imageset_id" name="new_imageset_id">{S_REPLACE_IMAGESET_OPTIONS}</select></dd>
1.41 + </dl>
1.42 + <!-- ENDIF -->
1.43 +
1.44 + <p class="quick">
1.45 + <input class="button1" type="submit" name="update" value="{L_DELETE}" />
1.46 + {S_FORM_TOKEN}
1.47 + </p>
1.48 + </fieldset>
1.49 + </form>
1.50 +
1.51 +<!-- ELSEIF S_EDIT_IMAGESET -->
1.52 +
1.53 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.54 +
1.55 + <h1>{L_TITLE}</h1>
1.56 +
1.57 + <p>{L_EXPLAIN}</p>
1.58 +
1.59 + <!-- IF SUCCESS -->
1.60 + <div class="successbox">
1.61 + <p>{L_IMAGESET_UPDATED}</p>
1.62 + </div>
1.63 + <!-- ENDIF -->
1.64 +
1.65 + <!-- IF ERROR -->
1.66 + <div class="errorbox">
1.67 + <p>{L_NO_IMAGE}</p>
1.68 + </div>
1.69 + <!-- ENDIF -->
1.70 +
1.71 + <script type="text/javascript" defer="defer">
1.72 + // <![CDATA[
1.73 + function update_image(newimage)
1.74 + {
1.75 + document.getElementById('newimg').src = (newimage) ? '../styles/{A_PATH}/imageset/' + encodeURI(newimage) : 'images/no_image.png';
1.76 + }
1.77 + // ]]>
1.78 + </script>
1.79 + <script type="text/javascript">
1.80 + // <![CDATA[
1.81 + /**
1.82 + * Handle displaying/hiding the dimension fields
1.83 + */
1.84 + function display_options(value)
1.85 + {
1.86 + if (value == 0)
1.87 + {
1.88 + dE('img_dimensions', -1);
1.89 + }
1.90 + else
1.91 + {
1.92 + dE('img_dimensions', 1);
1.93 + }
1.94 + }
1.95 +
1.96 + /**
1.97 + * Init the wanted display functionality if javascript is enabled.
1.98 + * If javascript is not available, the user is still able to properly administer.
1.99 + */
1.100 + onload = function()
1.101 + {
1.102 + <!-- IF not IMAGE_SIZE -->
1.103 + dE('img_dimensions', -1);
1.104 + <!-- ENDIF -->
1.105 + }
1.106 + // ]]>
1.107 + </script>
1.108 +
1.109 + <form method="post" action="{U_ACTION}">
1.110 +
1.111 + <fieldset class="quick" style="text-align: left;">
1.112 + <legend>{L_SELECT_IMAGE}</legend>
1.113 + {L_SELECT_IMAGE}: <select name="imgname" onchange="this.form.submit();">
1.114 + <!-- BEGIN category -->
1.115 + <option class="sep" value="" disabled="disabled">{category.NAME}</option>
1.116 + <!-- BEGIN images --><option value="{category.images.VALUE}"<!-- IF category.images.SELECTED--> selected="selected"<!-- ENDIF -->> {category.images.TEXT}</option>
1.117 + <!-- END images -->
1.118 + <!-- END category -->
1.119 + </select> <input class="button1" type="submit" value="{L_SELECT}" tabindex="100" />
1.120 + </fieldset>
1.121 +
1.122 + <fieldset>
1.123 + <legend>{L_EDIT_IMAGESET}</legend>
1.124 + <dl>
1.125 + <dt><label>{L_CURRENT_IMAGE}:</label></dt>
1.126 + <dd><img src="<!-- IF IMAGE_REQUEST -->{IMAGE_REQUEST}<!-- ELSE -->images/no_image.png<!-- ENDIF -->" alt="" /></dd>
1.127 + </dl>
1.128 + <dl>
1.129 + <dt><label>{L_SELECTED_IMAGE}:</label></dt>
1.130 + <dd><img src="{IMG_SRC}" id="newimg" alt="" /></dd>
1.131 + </dl>
1.132 + </fieldset>
1.133 +
1.134 + <fieldset>
1.135 + <legend>{L_IMAGE}</legend>
1.136 + <dl>
1.137 + <dt><label for="imgpath">{L_IMAGE}:</label></dt>
1.138 + <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>
1.139 + <!-- BEGIN imagesetlist -->
1.140 + <option class="sep" value=""><!-- IF imagesetlist.TYPE -->{L_LOCALISED_IMAGES}<!-- ELSE -->{L_GLOBAL_IMAGES}<!-- ENDIF --></option>
1.141 + <!-- BEGIN images -->
1.142 + <option value="{imagesetlist.images.VALUE}"<!-- IF imagesetlist.images.SELECTED--> selected="selected"<!-- ENDIF -->>{imagesetlist.images.TEXT}</option>
1.143 + <!-- END images -->
1.144 + <!-- END imagesetlist -->
1.145 + </select>
1.146 + </dd>
1.147 + </dl>
1.148 + <dl>
1.149 + <dt><label for="imgsize">{L_INCLUDE_DIMENSIONS}:</label><br /><span>{L_DIMENSIONS_EXPLAIN}</span></dt>
1.150 + <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>
1.151 + <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>
1.152 + </dl>
1.153 + <div id="img_dimensions">
1.154 + <dl>
1.155 + <dt><label for="imgwidth">{L_IMAGE_WIDTH}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
1.156 + <dd><input id="imgwidth" type="text" name="imgwidth" value="{IMAGE_SIZE}" /></dd>
1.157 + </dl>
1.158 + <dl>
1.159 + <dt><label for="imgheight">{L_IMAGE_HEIGHT}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
1.160 + <dd><input id="imgheight" type="text" name="imgheight" value="{IMAGE_HEIGHT}" /></dd>
1.161 + </dl>
1.162 + </div>
1.163 + </fieldset>
1.164 +
1.165 + <fieldset class="submit-buttons">
1.166 + <legend>{L_SUBMIT}</legend>
1.167 + <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> <input class="button2" type="reset" value="{L_RESET}" />
1.168 + {S_FORM_TOKEN}
1.169 + </fieldset>
1.170 + </form>
1.171 +
1.172 +<!-- ELSEIF S_EDIT_TEMPLATE or S_EDIT_THEME -->
1.173 +
1.174 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.175 +
1.176 + <h1>{L_EDIT}</h1>
1.177 +
1.178 + <p>{L_EDIT_EXPLAIN}</p>
1.179 +
1.180 + <p>{L_SELECTED}: <strong>{SELECTED_TEMPLATE}</strong></p>
1.181 +
1.182 + <form id="acp_styles" method="post" action="{U_ACTION}">
1.183 +
1.184 + <!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
1.185 + <fieldset>
1.186 + <legend>{L_SELECT}</legend>
1.187 + <dl>
1.188 + <dt><label for="template_file">{L_FILE}:</label></dt>
1.189 + <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>
1.190 + </dl>
1.191 + {S_FORM_TOKEN}
1.192 + </fieldset>
1.193 + <!-- ENDIF -->
1.194 + </form>
1.195 +
1.196 + <!-- IF TEMPLATE_FILE or (S_EDIT_THEME and S_THEME_IN_DB) -->
1.197 + <script type="text/javascript" defer="defer">
1.198 + // <![CDATA[
1.199 +
1.200 + function change_editor_height(height)
1.201 + {
1.202 + height = Number(height);
1.203 +
1.204 + if (isNaN(height))
1.205 + {
1.206 + return;
1.207 + }
1.208 +
1.209 + editor = document.getElementById('template_data');
1.210 + editor.rows = Math.max(5, Math.min(height, 999));
1.211 +
1.212 + append_text_rows('acp_styles', height);
1.213 + append_text_rows('acp_template', height);
1.214 + }
1.215 +
1.216 + function append_text_rows(form_name, value)
1.217 + {
1.218 + value = Number(value);
1.219 +
1.220 + if (isNaN(value))
1.221 + {
1.222 + return;
1.223 + }
1.224 +
1.225 + url = document.getElementById(form_name).action;
1.226 +
1.227 + // Make sure & is actually... &
1.228 + url = url.replace(/&/g, '&');
1.229 +
1.230 + var_start = url.indexOf('&text_rows=');
1.231 + if (var_start == -1)
1.232 + {
1.233 + document.getElementById(form_name).action = url + "&text_rows=" + value;
1.234 + }
1.235 + else
1.236 + {
1.237 + url_start = url.substring(0, var_start + 1);
1.238 + var_end = url.substring(var_start + 1).indexOf('&');
1.239 + if (var_end == -1)
1.240 + {
1.241 + document.getElementById(form_name).action = url_start + "text_rows=" + value;
1.242 + }
1.243 + else
1.244 + {
1.245 + document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
1.246 + }
1.247 + }
1.248 + }
1.249 +
1.250 + // ]]>
1.251 + </script>
1.252 +
1.253 + <form id="acp_template" method="post" action="{U_ACTION}">
1.254 +
1.255 + <fieldset>
1.256 + <legend>{L_EDITOR}</legend>
1.257 + <!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
1.258 + <dl>
1.259 + <dt><label>{L_SELECTED_FILE}:</label></dt>
1.260 + <dd>{TEMPLATE_FILE}</dd>
1.261 + </dl>
1.262 + <!-- ENDIF -->
1.263 + <dl>
1.264 + <dt><label for="text_rows">{L_EDITOR_HEIGHT}:</label></dt>
1.265 + <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>
1.266 + </dl>
1.267 + <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>
1.268 + </fieldset>
1.269 +
1.270 + <fieldset class="submit-buttons">
1.271 + <legend>{L_SUBMIT}</legend>
1.272 + {S_HIDDEN_FIELDS}
1.273 + {S_FORM_TOKEN}
1.274 + <input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />
1.275 + </fieldset>
1.276 + </form>
1.277 + <!-- ENDIF -->
1.278 +
1.279 +<!-- ELSEIF S_CACHE -->
1.280 +
1.281 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.282 +
1.283 + <h1>{L_TEMPLATE_CACHE}</h1>
1.284 +
1.285 + <p>{L_TEMPLATE_CACHE_EXPLAIN}</p>
1.286 +
1.287 + <form id="acp_styles" method="post" action="{U_ACTION}">
1.288 + <fieldset class="tabulated">
1.289 + <legend>{L_TEMPLATE_CACHE}</legend>
1.290 +
1.291 + <table cellspacing="1">
1.292 + <thead>
1.293 + <tr>
1.294 + <th>{L_CACHE_FILENAME}</th>
1.295 + <th>{L_CACHE_FILESIZE}</th>
1.296 + <th>{L_CACHE_CACHED}</th>
1.297 + <th>{L_CACHE_MODIFIED}</th>
1.298 + <th>{L_MARK}</th>
1.299 + </tr>
1.300 + </thead>
1.301 + <tbody>
1.302 + <!-- BEGIN file -->
1.303 + <!-- IF file.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
1.304 + <td><a href="{file.U_VIEWSOURCE}" onclick="popup(this.href, 750, 550, '_source'); return false;">{file.FILENAME_PATH}</a></td>
1.305 + <td>{file.FILESIZE}</td>
1.306 + <td>{file.CACHED}</td>
1.307 + <td>{file.MODIFIED}</td>
1.308 + <td><input type="checkbox" class="radio" name="delete[]" value="{file.FILENAME}" /></td>
1.309 + </tr>
1.310 + <!-- BEGINELSE -->
1.311 + <tr class="row1">
1.312 + <td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td>
1.313 + </tr>
1.314 + <!-- END file -->
1.315 + </tbody>
1.316 + </table>
1.317 +
1.318 + <p class="quick">
1.319 + <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 />
1.320 + {S_FORM_TOKEN}
1.321 + <input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" />
1.322 + </p>
1.323 + </fieldset>
1.324 + </form>
1.325 +
1.326 +<!-- ELSEIF S_EXPORT -->
1.327 +
1.328 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.329 +
1.330 + <h1>{L_TITLE}</h1>
1.331 +
1.332 + <p>{L_EXPLAIN}</p>
1.333 +
1.334 + <!-- IF S_ERROR_MSG -->
1.335 + <div class="errorbox">
1.336 + <h3>{L_WARNING}</h3>
1.337 + <p>{ERROR_MSG}</p>
1.338 + </div>
1.339 + <!-- ENDIF -->
1.340 +
1.341 + <form id="acp_styles" method="post" action="{U_ACTION}">
1.342 +
1.343 + <fieldset>
1.344 + <legend>{L_TITLE}</legend>
1.345 + <dl>
1.346 + <dt><label>{L_NAME}:</label></dt>
1.347 + <dd><strong>{NAME}</strong></dd>
1.348 + </dl>
1.349 + <!-- IF S_STYLE -->
1.350 + <dl>
1.351 + <dt><label for="inc_template">{L_INCLUDE_TEMPLATE}:</label></dt>
1.352 + <dd><label><input type="radio" class="radio" id="inc_template" name="inc_template" value="1" checked="checked" /> {L_YES}</label>
1.353 + <label><input type="radio" class="radio" name="inc_template" value="0" /> {L_NO}</label></dd>
1.354 + </dl>
1.355 + <dl>
1.356 + <dt><label for="inc_theme">{L_INCLUDE_THEME}:</label></dt>
1.357 + <dd><label><input type="radio" class="radio" id="inc_theme" name="inc_theme" value="1" checked="checked" /> {L_YES}</label>
1.358 + <label><input type="radio" class="radio" name="inc_theme" value="0" /> {L_NO}</label></dd>
1.359 + </dl>
1.360 + <dl>
1.361 + <dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt>
1.362 + <dd><label><input type="radio" class="radio" id="inc_imageset" name="inc_imageset" value="1" checked="checked" /> {L_YES}</label>
1.363 + <label><input type="radio" class="radio" name="inc_imageset" value="0" /> {L_NO}</label></dd>
1.364 + </dl>
1.365 + <!-- ENDIF -->
1.366 + <dl>
1.367 + <dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt>
1.368 + <dd><label><input type="radio" class="radio" id="store" name="store" value="1" checked="checked" /> {L_EXPORT_STORE}</label>
1.369 + <label><input type="radio" class="radio" name="store" value="0" /> {L_EXPORT_DOWNLOAD}</label></dd>
1.370 + </dl>
1.371 + <dl>
1.372 + <dt><label for="format">{L_ARCHIVE_FORMAT}:</label></dt>
1.373 + <dd>{FORMAT_BUTTONS}</dd>
1.374 + </dl>
1.375 +
1.376 + <p class="quick">
1.377 + {S_FORM_TOKEN}
1.378 + <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
1.379 + </p>
1.380 + </fieldset>
1.381 +
1.382 +
1.383 + </form>
1.384 +
1.385 +<!-- ELSEIF S_FRONTEND -->
1.386 +
1.387 + <h1>{L_TITLE}</h1>
1.388 +
1.389 + <p>{L_EXPLAIN}</p>
1.390 +
1.391 + <!-- IF S_STYLE --> <!-- DEFINE $COLSPAN = 5 --> <!-- ELSE --> <!-- DEFINE $COLSPAN = 4 --> <!-- ENDIF -->
1.392 +
1.393 + <table cellspacing="1">
1.394 + <col class="row1" /><!-- IF S_STYLE --><col class="row1" /><!-- ENDIF --><col class="row2" /><col class="row2" />
1.395 + <thead>
1.396 + <tr>
1.397 + <th>{L_NAME}</th>
1.398 + <!-- IF S_STYLE --><th>{L_STYLE_USED_BY}</th><!-- ENDIF -->
1.399 + <th>{L_OPTIONS}</th>
1.400 + <th>{L_ACTIONS}</th>
1.401 + </tr>
1.402 + </thead>
1.403 + <tbody>
1.404 + <tr>
1.405 + <td class="row3" colspan="{$COLSPAN}"><strong>{L_INSTALLED}</strong></td>
1.406 + </tr>
1.407 + <!-- BEGIN installed -->
1.408 + <tr>
1.409 + <td><strong>{installed.NAME}</strong><!-- IF installed.S_DEFAULT_STYLE --> *<!-- ENDIF --></td>
1.410 + <!-- IF S_STYLE -->
1.411 + <td style="text-align: center;">{installed.STYLE_COUNT}</td>
1.412 + <!-- ENDIF -->
1.413 + <td style="text-align: center;">
1.414 + {installed.S_OPTIONS}
1.415 + </td>
1.416 + <td style="text-align: center;">
1.417 + <!-- IF S_STYLE -->
1.418 + <a href="{installed.U_STYLE_ACT_DEACT}">{installed.L_STYLE_ACT_DEACT}</a> |
1.419 + <!-- ENDIF -->
1.420 + {installed.S_ACTIONS}
1.421 + <!-- IF S_STYLE -->
1.422 + | <a href="{installed.U_PREVIEW}">{L_PREVIEW}</a>
1.423 + <!-- ENDIF -->
1.424 + </td>
1.425 + </tr>
1.426 + <!-- END installed -->
1.427 + <tr>
1.428 + <td class="row3" colspan="{$COLSPAN}"><strong>{L_UNINSTALLED}</strong></td>
1.429 + </tr>
1.430 + <!-- IF not .uninstalled -->
1.431 + <tr>
1.432 + <td class="row1" colspan="{$COLSPAN}" style="text-align: center;">{L_NO_UNINSTALLED}</td>
1.433 + </tr>
1.434 + <!-- ENDIF -->
1.435 + <!-- BEGIN uninstalled -->
1.436 + <tr>
1.437 + <td<!-- IF S_STYLE --> colspan="2"<!-- ENDIF -->><strong>{uninstalled.NAME}</strong><br /><span>{L_COPYRIGHT}: {uninstalled.COPYRIGHT}</span></td>
1.438 + <td style="text-align: center;" colspan="2"><a href="{uninstalled.U_INSTALL}">{L_INSTALL}</a></td>
1.439 + </tr>
1.440 + <!-- END uninstalled -->
1.441 + </tbody>
1.442 + </table>
1.443 +
1.444 + <!-- IF S_STYLE -->
1.445 + <form id="acp_styles" method="post" action="{U_ACTION}">
1.446 +
1.447 + <fieldset class="quick">
1.448 + <legend>{L_CREATE}</legend>
1.449 + {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}" />
1.450 + </fieldset>
1.451 +
1.452 + </form>
1.453 + <!-- ENDIF -->
1.454 +
1.455 +<!-- ELSEIF S_DETAILS -->
1.456 +
1.457 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.458 +
1.459 + <h1>{L_TITLE}</h1>
1.460 +
1.461 + <p>{L_EXPLAIN}</p>
1.462 +
1.463 + <!-- IF S_ERROR_MSG -->
1.464 + <div class="errorbox">
1.465 + <h3>{L_WARNING}</h3>
1.466 + <p>{ERROR_MSG}</p>
1.467 + </div>
1.468 + <!-- ENDIF -->
1.469 +
1.470 + <form id="acp_styles" method="post" action="{U_ACTION}">
1.471 +
1.472 + <fieldset>
1.473 + <legend>{L_TITLE}</legend>
1.474 + <dl>
1.475 + <dt><label for="name">{L_NAME}:</label></dt>
1.476 + <dd><!-- IF S_INSTALL --><strong id="name">{NAME}</strong><!-- ELSE --><input type="text" id="name" name="name" value="{NAME}" /><!-- ENDIF --></dd>
1.477 + </dl>
1.478 + <dl>
1.479 + <dt><label for="copyright">{L_COPYRIGHT}:</label></dt>
1.480 + <dd><!-- IF S_INSTALL --><strong id="copyright">{COPYRIGHT}</strong><!-- ELSE --><input type="text" id="copyright" name="copyright" value="{COPYRIGHT}" /><!-- ENDIF --></dd>
1.481 + </dl>
1.482 + <!-- IF S_SUPERTEMPLATE -->
1.483 + <dl>
1.484 + <dt><label for="inheriting">{L_INHERITING_FROM}:</label></dt>
1.485 + <dd><strong id="inheriting">{S_SUPERTEMPLATE}</strong></dd>
1.486 + </dl>
1.487 + <!-- ENDIF -->
1.488 + <!-- IF S_STYLE and not S_BASIS -->
1.489 + <dl>
1.490 + <dt><label for="template_id">{L_STYLE_TEMPLATE}:</label></dt>
1.491 + <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>
1.492 + </dl>
1.493 + <dl>
1.494 + <dt><label for="theme_id">{L_STYLE_THEME}:</label></dt>
1.495 + <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>
1.496 + </dl>
1.497 + <dl>
1.498 + <dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt>
1.499 + <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>
1.500 + </dl>
1.501 + <!-- ENDIF -->
1.502 + <!-- IF (S_TEMPLATE or S_THEME) and (S_LOCATION or not S_INSTALL) -->
1.503 + <dl>
1.504 + <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>
1.505 + <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>
1.506 + <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>
1.507 + </dl>
1.508 + <!-- ENDIF -->
1.509 + <!-- IF S_STYLE -->
1.510 + </fieldset>
1.511 +
1.512 + <fieldset>
1.513 + <legend>{L_OPTIONS}</legend>
1.514 + <dl>
1.515 + <dt><label for="style_active">{L_STYLE_ACTIVE}:</label></dt>
1.516 + <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>
1.517 + <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>
1.518 + </dl>
1.519 + <!-- IF not S_STYLE_DEFAULT -->
1.520 + <dl>
1.521 + <dt><label for="style_default">{L_STYLE_DEFAULT}:</label></dt>
1.522 + <dd><label><input type="radio" class="radio" name="style_default" value="1" /> {L_YES}</label>
1.523 + <label><input type="radio" class="radio" id="style_default" name="style_default" value="0" checked="checked" /> {L_NO}</label></dd>
1.524 + </dl>
1.525 + <!-- ENDIF -->
1.526 + <!-- ENDIF -->
1.527 + </fieldset>
1.528 +
1.529 + <fieldset class="submit-buttons">
1.530 + <legend>{L_SUBMIT}</legend>
1.531 + <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
1.532 + {S_FORM_TOKEN}
1.533 + </fieldset>
1.534 +
1.535 + </form>
1.536 +
1.537 +<!-- ENDIF -->
1.538 +
1.539 +<!-- INCLUDE overall_footer.html -->