| 1 | <!-- INCLUDE overall_header.html -->
|
|---|
| 2 |
|
|---|
| 3 | <a name="maincontent"></a>
|
|---|
| 4 |
|
|---|
| 5 | <!-- IF S_DELETE -->
|
|---|
| 6 |
|
|---|
| 7 | <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
|---|
| 8 |
|
|---|
| 9 | <h1>{L_TITLE}</h1>
|
|---|
| 10 |
|
|---|
| 11 | <p>{L_EXPLAIN}</p>
|
|---|
| 12 |
|
|---|
| 13 | <form id="acp_styles" method="post" action="{U_ACTION}">
|
|---|
| 14 |
|
|---|
| 15 | <fieldset>
|
|---|
| 16 | <legend>{L_TITLE}</legend>
|
|---|
| 17 | <dl>
|
|---|
| 18 | <dt><label>{L_NAME}:</label></dt>
|
|---|
| 19 | <dd><strong>{NAME}</strong></dd>
|
|---|
| 20 | </dl>
|
|---|
| 21 | <dl>
|
|---|
| 22 | <dt><label for="new_id">{L_REPLACE}:</label><br /><span>{L_REPLACE_EXPLAIN}</span></dt>
|
|---|
| 23 | <dd><select id="new_id" name="new_id">{S_REPLACE_OPTIONS}</select></dd>
|
|---|
| 24 | </dl>
|
|---|
| 25 |
|
|---|
| 26 | <p class="quick">
|
|---|
| 27 | <input class="button1" type="submit" name="update" value="{L_DELETE}" />
|
|---|
| 28 | {S_FORM_TOKEN}
|
|---|
| 29 | </p>
|
|---|
| 30 | </fieldset>
|
|---|
| 31 | </form>
|
|---|
| 32 |
|
|---|
| 33 | <!-- ELSEIF S_EDIT_IMAGESET -->
|
|---|
| 34 |
|
|---|
| 35 | <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
|---|
| 36 |
|
|---|
| 37 | <h1>{L_TITLE}</h1>
|
|---|
| 38 |
|
|---|
| 39 | <p>{L_EXPLAIN}</p>
|
|---|
| 40 |
|
|---|
| 41 | <!-- IF SUCCESS -->
|
|---|
| 42 | <div class="successbox">
|
|---|
| 43 | <p>{L_IMAGESET_UPDATED}</p>
|
|---|
| 44 | </div>
|
|---|
| 45 | <!-- ENDIF -->
|
|---|
| 46 |
|
|---|
| 47 | <!-- IF ERROR -->
|
|---|
| 48 | <div class="errorbox">
|
|---|
| 49 | <p>{L_NO_IMAGE}</p>
|
|---|
| 50 | </div>
|
|---|
| 51 | <!-- ENDIF -->
|
|---|
| 52 |
|
|---|
| 53 | <script type="text/javascript" defer="defer">
|
|---|
| 54 | // <![CDATA[
|
|---|
| 55 | function update_image(newimage)
|
|---|
| 56 | {
|
|---|
| 57 | document.getElementById('newimg').src = (newimage) ? '../styles/{A_PATH}/imageset/' + encodeURI(newimage) : 'images/no_image.png';
|
|---|
| 58 | }
|
|---|
| 59 | // ]]>
|
|---|
| 60 | </script>
|
|---|
| 61 | <script type="text/javascript">
|
|---|
| 62 | // <![CDATA[
|
|---|
| 63 | /**
|
|---|
| 64 | * Handle displaying/hiding the dimension fields
|
|---|
| 65 | */
|
|---|
| 66 | function display_options(value)
|
|---|
| 67 | {
|
|---|
| 68 | if (value == 0)
|
|---|
| 69 | {
|
|---|
| 70 | dE('img_dimensions', -1);
|
|---|
| 71 | }
|
|---|
| 72 | else
|
|---|
| 73 | {
|
|---|
| 74 | dE('img_dimensions', 1);
|
|---|
| 75 | }
|
|---|
| 76 | }
|
|---|
| 77 |
|
|---|
| 78 | /**
|
|---|
| 79 | * Init the wanted display functionality if javascript is enabled.
|
|---|
| 80 | * If javascript is not available, the user is still able to properly administrate.
|
|---|
| 81 | */
|
|---|
| 82 | onload = function()
|
|---|
| 83 | {
|
|---|
| 84 | <!-- IF not IMAGE_SIZE -->
|
|---|
| 85 | dE('img_dimensions', -1);
|
|---|
| 86 | <!-- ENDIF -->
|
|---|
| 87 | }
|
|---|
| 88 | // ]]>
|
|---|
| 89 | </script>
|
|---|
| 90 |
|
|---|
| 91 | <form method="post" action="{U_ACTION}">
|
|---|
| 92 |
|
|---|
| 93 | <fieldset class="quick" style="text-align: left;">
|
|---|
| 94 | <legend>{L_SELECT_IMAGE}</legend>
|
|---|
| 95 | {L_SELECT_IMAGE}: <select name="imgname" onchange="this.form.submit();">
|
|---|
| 96 | <!-- BEGIN category -->
|
|---|
| 97 | <option class="sep" value="" disabled="disabled">{category.NAME}</option>
|
|---|
| 98 | <!-- BEGIN images --><option value="{category.images.VALUE}"<!-- IF category.images.SELECTED--> selected="selected"<!-- ENDIF -->> {category.images.TEXT}</option>
|
|---|
| 99 | <!-- END images -->
|
|---|
| 100 | <!-- END category -->
|
|---|
| 101 | </select> <input class="button1" type="submit" value="{L_SELECT}" tabindex="100" />
|
|---|
| 102 | </fieldset>
|
|---|
| 103 |
|
|---|
| 104 | <fieldset>
|
|---|
| 105 | <legend>{L_EDIT_IMAGESET}</legend>
|
|---|
| 106 | <dl>
|
|---|
| 107 | <dt><label>{L_CURRENT_IMAGE}:</label></dt>
|
|---|
| 108 | <dd><img src="<!-- IF IMAGE_REQUEST -->{IMAGE_REQUEST}<!-- ELSE -->images/no_image.png<!-- ENDIF -->" alt="" /></dd>
|
|---|
| 109 | </dl>
|
|---|
| 110 | <dl>
|
|---|
| 111 | <dt><label>{L_SELECTED_IMAGE}:</label></dt>
|
|---|
| 112 | <dd><img src="{IMG_SRC}" id="newimg" alt="" /></dd>
|
|---|
| 113 | </dl>
|
|---|
| 114 | </fieldset>
|
|---|
| 115 |
|
|---|
| 116 | <fieldset>
|
|---|
| 117 | <legend>{L_IMAGE}</legend>
|
|---|
| 118 | <dl>
|
|---|
| 119 | <dt><label for="imgpath">{L_IMAGE}:</label></dt>
|
|---|
| 120 | <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>
|
|---|
| 121 | <!-- BEGIN imagesetlist -->
|
|---|
| 122 | <option class="sep" value=""><!-- IF imagesetlist.TYPE -->{L_LOCALISED_IMAGES}<!-- ELSE -->{L_GLOBAL_IMAGES}<!-- ENDIF --></option>
|
|---|
| 123 | <!-- BEGIN images -->
|
|---|
| 124 | <option value="{imagesetlist.images.VALUE}"<!-- IF imagesetlist.images.SELECTED--> selected="selected"<!-- ENDIF -->>{imagesetlist.images.TEXT}</option>
|
|---|
| 125 | <!-- END images -->
|
|---|
| 126 | <!-- END imagesetlist -->
|
|---|
| 127 | </select>
|
|---|
| 128 | </dd>
|
|---|
| 129 | </dl>
|
|---|
| 130 | <dl>
|
|---|
| 131 | <dt><label for="imgsize">{L_INCLUDE_DIMENSIONS}:</label><br /><span>{L_DIMENSIONS_EXPLAIN}</span></dt>
|
|---|
| 132 | <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>
|
|---|
| 133 | <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>
|
|---|
| 134 | </dl>
|
|---|
| 135 | <div id="img_dimensions">
|
|---|
| 136 | <dl>
|
|---|
| 137 | <dt><label for="imgwidth">{L_IMAGE_WIDTH}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
|
|---|
| 138 | <dd><input id="imgwidth" type="text" name="imgwidth" value="{IMAGE_SIZE}" /></dd>
|
|---|
| 139 | </dl>
|
|---|
| 140 | <dl>
|
|---|
| 141 | <dt><label for="imgheight">{L_IMAGE_HEIGHT}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
|
|---|
| 142 | <dd><input id="imgheight" type="text" name="imgheight" value="{IMAGE_HEIGHT}" /></dd>
|
|---|
| 143 | </dl>
|
|---|
| 144 | </div>
|
|---|
| 145 | </fieldset>
|
|---|
| 146 |
|
|---|
| 147 | <fieldset class="submit-buttons">
|
|---|
| 148 | <legend>{L_SUBMIT}</legend>
|
|---|
| 149 | <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> <input class="button2" type="reset" value="{L_RESET}" />
|
|---|
| 150 | {S_FORM_TOKEN}
|
|---|
| 151 | </fieldset>
|
|---|
| 152 | </form>
|
|---|
| 153 |
|
|---|
| 154 | <!-- ELSEIF S_EDIT_TEMPLATE or S_EDIT_THEME -->
|
|---|
| 155 |
|
|---|
| 156 | <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
|---|
| 157 |
|
|---|
| 158 | <h1>{L_EDIT}</h1>
|
|---|
| 159 |
|
|---|
| 160 | <p>{L_EDIT_EXPLAIN}</p>
|
|---|
| 161 |
|
|---|
| 162 | <p>{L_SELECTED}: <strong>{SELECTED_TEMPLATE}</strong></p>
|
|---|
| 163 |
|
|---|
| 164 | <form id="acp_styles" method="post" action="{U_ACTION}">
|
|---|
| 165 |
|
|---|
| 166 | <!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
|
|---|
| 167 | <fieldset>
|
|---|
| 168 | <legend>{L_SELECT}</legend>
|
|---|
| 169 | <dl>
|
|---|
| 170 | <dt><label for="template_file">{L_FILE}:</label></dt>
|
|---|
| 171 | <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>
|
|---|
| 172 | </dl>
|
|---|
| 173 | {S_FORM_TOKEN}
|
|---|
| 174 | </fieldset>
|
|---|
| 175 | <!-- ENDIF -->
|
|---|
| 176 | </form>
|
|---|
| 177 |
|
|---|
| 178 | <!-- IF TEMPLATE_FILE or (S_EDIT_THEME and S_THEME_IN_DB) -->
|
|---|
| 179 | <script type="text/javascript" defer="defer">
|
|---|
| 180 | // <![CDATA[
|
|---|
| 181 |
|
|---|
| 182 | function change_editor_height(height)
|
|---|
| 183 | {
|
|---|
| 184 | height = Number(height);
|
|---|
| 185 |
|
|---|
| 186 | if (isNaN(height))
|
|---|
| 187 | {
|
|---|
| 188 | return;
|
|---|
| 189 | }
|
|---|
| 190 |
|
|---|
| 191 | editor = document.getElementById('template_data');
|
|---|
| 192 | editor.rows = Math.max(5, Math.min(height, 999));
|
|---|
| 193 |
|
|---|
| 194 | append_text_rows('acp_styles', height);
|
|---|
| 195 | append_text_rows('acp_template', height);
|
|---|
| 196 | }
|
|---|
| 197 |
|
|---|
| 198 | function append_text_rows(form_name, value)
|
|---|
| 199 | {
|
|---|
| 200 | value = Number(value);
|
|---|
| 201 |
|
|---|
| 202 | if (isNaN(value))
|
|---|
| 203 | {
|
|---|
| 204 | return;
|
|---|
| 205 | }
|
|---|
| 206 |
|
|---|
| 207 | url = document.getElementById(form_name).action;
|
|---|
| 208 |
|
|---|
| 209 | // Make sure & is actually... &
|
|---|
| 210 | url = url.replace(/&/g, '&');
|
|---|
| 211 |
|
|---|
| 212 | var_start = url.indexOf('&text_rows=');
|
|---|
| 213 | if (var_start == -1)
|
|---|
| 214 | {
|
|---|
| 215 | document.getElementById(form_name).action = url + "&text_rows=" + value;
|
|---|
| 216 | }
|
|---|
| 217 | else
|
|---|
| 218 | {
|
|---|
| 219 | url_start = url.substring(0, var_start + 1);
|
|---|
| 220 | var_end = url.substring(var_start + 1).indexOf('&');
|
|---|
| 221 | if (var_end == -1)
|
|---|
| 222 | {
|
|---|
| 223 | document.getElementById(form_name).action = url_start + "text_rows=" + value;
|
|---|
| 224 | }
|
|---|
| 225 | else
|
|---|
| 226 | {
|
|---|
| 227 | document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
|
|---|
| 228 | }
|
|---|
| 229 | }
|
|---|
| 230 | }
|
|---|
| 231 |
|
|---|
| 232 | // ]]>
|
|---|
| 233 | </script>
|
|---|
| 234 |
|
|---|
| 235 | <form id="acp_template" method="post" action="{U_ACTION}">
|
|---|
| 236 |
|
|---|
| 237 | <fieldset>
|
|---|
| 238 | <legend>{L_EDITOR}</legend>
|
|---|
| 239 | <!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
|
|---|
| 240 | <dl>
|
|---|
| 241 | <dt><label>{L_SELECTED_FILE}:</label></dt>
|
|---|
| 242 | <dd>{TEMPLATE_FILE}</dd>
|
|---|
| 243 | </dl>
|
|---|
| 244 | <!-- ENDIF -->
|
|---|
| 245 | <dl>
|
|---|
| 246 | <dt><label for="text_rows">{L_EDITOR_HEIGHT}:</label></dt>
|
|---|
| 247 | <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>
|
|---|
| 248 | </dl>
|
|---|
| 249 | <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>
|
|---|
| 250 | </fieldset>
|
|---|
| 251 |
|
|---|
| 252 | <fieldset class="submit-buttons">
|
|---|
| 253 | <legend>{L_SUBMIT}</legend>
|
|---|
| 254 | {S_HIDDEN_FIELDS}
|
|---|
| 255 | {S_FORM_TOKEN}
|
|---|
| 256 | <input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />
|
|---|
| 257 | </fieldset>
|
|---|
| 258 | </form>
|
|---|
| 259 | <!-- ENDIF -->
|
|---|
| 260 |
|
|---|
| 261 | <!-- ELSEIF S_CACHE -->
|
|---|
| 262 |
|
|---|
| 263 | <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
|---|
| 264 |
|
|---|
| 265 | <h1>{L_TEMPLATE_CACHE}</h1>
|
|---|
| 266 |
|
|---|
| 267 | <p>{L_TEMPLATE_CACHE_EXPLAIN}</p>
|
|---|
| 268 |
|
|---|
| 269 | <form id="acp_styles" method="post" action="{U_ACTION}">
|
|---|
| 270 | <fieldset class="tabulated">
|
|---|
| 271 | <legend>{L_TEMPLATE_CACHE}</legend>
|
|---|
| 272 |
|
|---|
| 273 | <table cellspacing="1">
|
|---|
| 274 | <thead>
|
|---|
| 275 | <tr>
|
|---|
| 276 | <th>{L_CACHE_FILENAME}</th>
|
|---|
| 277 | <th>{L_CACHE_FILESIZE}</th>
|
|---|
| 278 | <th>{L_CACHE_CACHED}</th>
|
|---|
| 279 | <th>{L_CACHE_MODIFIED}</th>
|
|---|
| 280 | <th>{L_MARK}</th>
|
|---|
| 281 | </tr>
|
|---|
| 282 | </thead>
|
|---|
| 283 | <tbody>
|
|---|
| 284 | <!-- BEGIN file -->
|
|---|
| 285 | <!-- IF file.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
|---|
| 286 | <td><a href="{file.U_VIEWSOURCE}" onclick="popup(this.href, 750, 550, '_source'); return false;">{file.FILENAME_PATH}</a></td>
|
|---|
| 287 | <td>{file.FILESIZE}</td>
|
|---|
| 288 | <td>{file.CACHED}</td>
|
|---|
| 289 | <td>{file.MODIFIED}</td>
|
|---|
| 290 | <td><input type="checkbox" class="radio" name="delete[]" value="{file.FILENAME}" /></td>
|
|---|
| 291 | </tr>
|
|---|
| 292 | <!-- BEGINELSE -->
|
|---|
| 293 | <tr class="row1">
|
|---|
| 294 | <td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td>
|
|---|
| 295 | </tr>
|
|---|
| 296 | <!-- END file -->
|
|---|
| 297 | </tbody>
|
|---|
| 298 | </table>
|
|---|
| 299 |
|
|---|
| 300 | <p class="quick">
|
|---|
| 301 | <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 />
|
|---|
| 302 | {S_FORM_TOKEN}
|
|---|
| 303 | <input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" />
|
|---|
| 304 | </p>
|
|---|
| 305 | </fieldset>
|
|---|
| 306 | </form>
|
|---|
| 307 |
|
|---|
| 308 | <!-- ELSEIF S_EXPORT -->
|
|---|
| 309 |
|
|---|
| 310 | <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
|---|
| 311 |
|
|---|
| 312 | <h1>{L_TITLE}</h1>
|
|---|
| 313 |
|
|---|
| 314 | <p>{L_EXPLAIN}</p>
|
|---|
| 315 |
|
|---|
| 316 | <!-- IF S_ERROR_MSG -->
|
|---|
| 317 | <div class="errorbox">
|
|---|
| 318 | <h3>{L_WARNING}</h3>
|
|---|
| 319 | <p>{ERROR_MSG}</p>
|
|---|
| 320 | </div>
|
|---|
| 321 | <!-- ENDIF -->
|
|---|
| 322 |
|
|---|
| 323 | <form id="acp_styles" method="post" action="{U_ACTION}">
|
|---|
| 324 |
|
|---|
| 325 | <fieldset>
|
|---|
| 326 | <legend>{L_TITLE}</legend>
|
|---|
| 327 | <dl>
|
|---|
| 328 | <dt><label>{L_NAME}:</label></dt>
|
|---|
| 329 | <dd><strong>{NAME}</strong></dd>
|
|---|
| 330 | </dl>
|
|---|
| 331 | <!-- IF S_STYLE -->
|
|---|
| 332 | <dl>
|
|---|
| 333 | <dt><label for="inc_template">{L_INCLUDE_TEMPLATE}:</label></dt>
|
|---|
| 334 | <dd><label><input type="radio" class="radio" id="inc_template" name="inc_template" value="1" checked="checked" /> {L_YES}</label>
|
|---|
| 335 | <label><input type="radio" class="radio" name="inc_template" value="0" /> {L_NO}</label></dd>
|
|---|
| 336 | </dl>
|
|---|
| 337 | <dl>
|
|---|
| 338 | <dt><label for="inc_theme">{L_INCLUDE_THEME}:</label></dt>
|
|---|
| 339 | <dd><label><input type="radio" class="radio" id="inc_theme" name="inc_theme" value="1" checked="checked" /> {L_YES}</label>
|
|---|
| 340 | <label><input type="radio" class="radio" name="inc_theme" value="0" /> {L_NO}</label></dd>
|
|---|
| 341 | </dl>
|
|---|
| 342 | <dl>
|
|---|
| 343 | <dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt>
|
|---|
| 344 | <dd><label><input type="radio" class="radio" id="inc_imageset" name="inc_imageset" value="1" checked="checked" /> {L_YES}</label>
|
|---|
| 345 | <label><input type="radio" class="radio" name="inc_imageset" value="0" /> {L_NO}</label></dd>
|
|---|
| 346 | </dl>
|
|---|
| 347 | <!-- ENDIF -->
|
|---|
| 348 | <dl>
|
|---|
| 349 | <dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt>
|
|---|
| 350 | <dd><label><input type="radio" class="radio" id="store" name="store" value="1" checked="checked" /> {L_EXPORT_STORE}</label>
|
|---|
| 351 | <label><input type="radio" class="radio" name="store" value="0" /> {L_EXPORT_DOWNLOAD}</label></dd>
|
|---|
| 352 | </dl>
|
|---|
| 353 | <dl>
|
|---|
| 354 | <dt><label for="format">{L_ARCHIVE_FORMAT}:</label></dt>
|
|---|
| 355 | <dd>{FORMAT_BUTTONS}</dd>
|
|---|
| 356 | </dl>
|
|---|
| 357 |
|
|---|
| 358 | <p class="quick">
|
|---|
| 359 | {S_FORM_TOKEN}
|
|---|
| 360 | <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
|---|
| 361 | </p>
|
|---|
| 362 | </fieldset>
|
|---|
| 363 |
|
|---|
| 364 |
|
|---|
| 365 | </form>
|
|---|
| 366 |
|
|---|
| 367 | <!-- ELSEIF S_FRONTEND -->
|
|---|
| 368 |
|
|---|
| 369 | <h1>{L_TITLE}</h1>
|
|---|
| 370 |
|
|---|
| 371 | <p>{L_EXPLAIN}</p>
|
|---|
| 372 |
|
|---|
| 373 | <!-- IF S_STYLE --> <!-- DEFINE $COLSPAN = 5 --> <!-- ELSE --> <!-- DEFINE $COLSPAN = 4 --> <!-- ENDIF -->
|
|---|
| 374 |
|
|---|
| 375 | <table cellspacing="1">
|
|---|
| 376 | <col class="row1" /><!-- IF S_STYLE --><col class="row1" /><!-- ENDIF --><col class="row2" /><col class="row2" />
|
|---|
| 377 | <thead>
|
|---|
| 378 | <tr>
|
|---|
| 379 | <th>{L_NAME}</th>
|
|---|
| 380 | <!-- IF S_STYLE --><th>{L_STYLE_USED_BY}</th><!-- ENDIF -->
|
|---|
| 381 | <th>{L_OPTIONS}</th>
|
|---|
| 382 | <th>{L_ACTIONS}</th>
|
|---|
| 383 | </tr>
|
|---|
| 384 | </thead>
|
|---|
| 385 | <tbody>
|
|---|
| 386 | <tr>
|
|---|
| 387 | <td class="row3" colspan="{$COLSPAN}"><strong>{L_INSTALLED}</strong></td>
|
|---|
| 388 | </tr>
|
|---|
| 389 | <!-- BEGIN installed -->
|
|---|
| 390 | <tr>
|
|---|
| 391 | <td><strong>{installed.NAME}</strong><!-- IF installed.S_DEFAULT_STYLE --> *<!-- ENDIF --></td>
|
|---|
| 392 | <!-- IF S_STYLE -->
|
|---|
| 393 | <td style="text-align: center;">{installed.STYLE_COUNT}</td>
|
|---|
| 394 | <!-- ENDIF -->
|
|---|
| 395 | <td style="text-align: center;">
|
|---|
| 396 | {installed.S_OPTIONS}
|
|---|
| 397 | </td>
|
|---|
| 398 | <td style="text-align: center;">
|
|---|
| 399 | <!-- IF S_STYLE -->
|
|---|
| 400 | <a href="{installed.U_STYLE_ACT_DEACT}">{installed.L_STYLE_ACT_DEACT}</a> |
|
|---|
| 401 | <!-- ENDIF -->
|
|---|
| 402 | {installed.S_ACTIONS}
|
|---|
| 403 | <!-- IF S_STYLE -->
|
|---|
| 404 | | <a href="{installed.U_PREVIEW}">{L_PREVIEW}</a>
|
|---|
| 405 | <!-- ENDIF -->
|
|---|
| 406 | </td>
|
|---|
| 407 | </tr>
|
|---|
| 408 | <!-- END installed -->
|
|---|
| 409 | <tr>
|
|---|
| 410 | <td class="row3" colspan="{$COLSPAN}"><strong>{L_UNINSTALLED}</strong></td>
|
|---|
| 411 | </tr>
|
|---|
| 412 | <!-- IF not .uninstalled -->
|
|---|
| 413 | <tr>
|
|---|
| 414 | <td class="row1" colspan="{$COLSPAN}" style="text-align: center;">{L_NO_UNINSTALLED}</td>
|
|---|
| 415 | </tr>
|
|---|
| 416 | <!-- ENDIF -->
|
|---|
| 417 | <!-- BEGIN uninstalled -->
|
|---|
| 418 | <tr>
|
|---|
| 419 | <td<!-- IF S_STYLE --> colspan="2"<!-- ENDIF -->><strong>{uninstalled.NAME}</strong><br /><span>{L_COPYRIGHT}: {uninstalled.COPYRIGHT}</span></td>
|
|---|
| 420 | <td style="text-align: center;" colspan="2"><a href="{uninstalled.U_INSTALL}">{L_INSTALL}</a></td>
|
|---|
| 421 | </tr>
|
|---|
| 422 | <!-- END uninstalled -->
|
|---|
| 423 | </tbody>
|
|---|
| 424 | </table>
|
|---|
| 425 |
|
|---|
| 426 | <!-- IF S_STYLE -->
|
|---|
| 427 | <form id="acp_styles" method="post" action="{U_ACTION}">
|
|---|
| 428 |
|
|---|
| 429 | <fieldset class="quick">
|
|---|
| 430 | <legend>{L_CREATE}</legend>
|
|---|
| 431 | {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}" />
|
|---|
| 432 | </fieldset>
|
|---|
| 433 |
|
|---|
| 434 | </form>
|
|---|
| 435 | <!-- ENDIF -->
|
|---|
| 436 |
|
|---|
| 437 | <!-- ELSEIF S_DETAILS -->
|
|---|
| 438 |
|
|---|
| 439 | <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
|---|
| 440 |
|
|---|
| 441 | <h1>{L_TITLE}</h1>
|
|---|
| 442 |
|
|---|
| 443 | <p>{L_EXPLAIN}</p>
|
|---|
| 444 |
|
|---|
| 445 | <!-- IF S_ERROR_MSG -->
|
|---|
| 446 | <div class="errorbox">
|
|---|
| 447 | <h3>{L_WARNING}</h3>
|
|---|
| 448 | <p>{ERROR_MSG}</p>
|
|---|
| 449 | </div>
|
|---|
| 450 | <!-- ENDIF -->
|
|---|
| 451 |
|
|---|
| 452 | <form id="acp_styles" method="post" action="{U_ACTION}">
|
|---|
| 453 |
|
|---|
| 454 | <fieldset>
|
|---|
| 455 | <legend>{L_TITLE}</legend>
|
|---|
| 456 | <dl>
|
|---|
| 457 | <dt><label for="name">{L_NAME}:</label></dt>
|
|---|
| 458 | <dd><!-- IF S_INSTALL --><strong id="name">{NAME}</strong><!-- ELSE --><input type="text" id="name" name="name" value="{NAME}" /><!-- ENDIF --></dd>
|
|---|
| 459 | </dl>
|
|---|
| 460 | <dl>
|
|---|
| 461 | <dt><label for="copyright">{L_COPYRIGHT}:</label></dt>
|
|---|
| 462 | <dd><!-- IF S_INSTALL --><strong id="copyright">{COPYRIGHT}</strong><!-- ELSE --><input type="text" id="copyright" name="copyright" value="{COPYRIGHT}" /><!-- ENDIF --></dd>
|
|---|
| 463 | </dl>
|
|---|
| 464 | <!-- IF S_SUPERTEMPLATE -->
|
|---|
| 465 | <dl>
|
|---|
| 466 | <dt><label for="inheriting">{L_INHERITING_FROM}:</label></dt>
|
|---|
| 467 | <dd><strong id="inheriting">{S_SUPERTEMPLATE}</strong></dd>
|
|---|
| 468 | </dl>
|
|---|
| 469 | <!-- ENDIF -->
|
|---|
| 470 | <!-- IF S_STYLE and not S_BASIS -->
|
|---|
| 471 | <dl>
|
|---|
| 472 | <dt><label for="template_id">{L_STYLE_TEMPLATE}:</label></dt>
|
|---|
| 473 | <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>
|
|---|
| 474 | </dl>
|
|---|
| 475 | <dl>
|
|---|
| 476 | <dt><label for="theme_id">{L_STYLE_THEME}:</label></dt>
|
|---|
| 477 | <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>
|
|---|
| 478 | </dl>
|
|---|
| 479 | <dl>
|
|---|
| 480 | <dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt>
|
|---|
| 481 | <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>
|
|---|
| 482 | </dl>
|
|---|
| 483 | <!-- ENDIF -->
|
|---|
| 484 | <!-- IF (S_TEMPLATE or S_THEME) and (S_LOCATION or not S_INSTALL) -->
|
|---|
| 485 | <dl>
|
|---|
| 486 | <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>
|
|---|
| 487 | <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>
|
|---|
| 488 | <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>
|
|---|
| 489 | </dl>
|
|---|
| 490 | <!-- ENDIF -->
|
|---|
| 491 | <!-- IF S_STYLE -->
|
|---|
| 492 | </fieldset>
|
|---|
| 493 |
|
|---|
| 494 | <fieldset>
|
|---|
| 495 | <legend>{L_OPTIONS}</legend>
|
|---|
| 496 | <dl>
|
|---|
| 497 | <dt><label for="style_active">{L_STYLE_ACTIVE}:</label></dt>
|
|---|
| 498 | <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>
|
|---|
| 499 | <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>
|
|---|
| 500 | </dl>
|
|---|
| 501 | <!-- IF not S_STYLE_DEFAULT -->
|
|---|
| 502 | <dl>
|
|---|
| 503 | <dt><label for="style_default">{L_STYLE_DEFAULT}:</label></dt>
|
|---|
| 504 | <dd><label><input type="radio" class="radio" name="style_default" value="1" /> {L_YES}</label>
|
|---|
| 505 | <label><input type="radio" class="radio" id="style_default" name="style_default" value="0" checked="checked" /> {L_NO}</label></dd>
|
|---|
| 506 | </dl>
|
|---|
| 507 | <!-- ENDIF -->
|
|---|
| 508 | <!-- ENDIF -->
|
|---|
| 509 | </fieldset>
|
|---|
| 510 |
|
|---|
| 511 | <fieldset class="submit-buttons">
|
|---|
| 512 | <legend>{L_SUBMIT}</legend>
|
|---|
| 513 | <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
|---|
| 514 | {S_FORM_TOKEN}
|
|---|
| 515 | </fieldset>
|
|---|
| 516 |
|
|---|
| 517 | </form>
|
|---|
| 518 |
|
|---|
| 519 | <!-- ENDIF -->
|
|---|
| 520 |
|
|---|
| 521 | <!-- INCLUDE overall_footer.html -->
|
|---|