| <! |
| |
| <a name="maincontent"></a> |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {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><strong>{NAME}</strong></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}" /> |
| {S_FORM_TOKEN} |
| </p> |
| </fieldset> |
| </form> |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
| |
| <h1>{L_TITLE}</h1> |
| |
| <p>{L_EXPLAIN}</p> |
| |
| <! |
| <div class="successbox"> |
| <p>{L_IMAGESET_UPDATED}</p> |
| </div> |
| <! |
| |
| <! |
| <div class="errorbox"> |
| <p>{L_NO_IMAGE}</p> |
| </div> |
| <! |
| |
| <script type="text/javascript" defer="defer"> |
| // <![CDATA[ |
| function update_image(newimage) |
| { |
| document.getElementById('newimg').src = (newimage) ? '../styles/{A_NAME}/imageset/' + encodeURI(newimage) : 'images/no_image.png'; |
| } |
| // ]]> |
| </script> |
| <script type="text/javascript"> |
| // <![CDATA[ |
| /** |
| * 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() |
| { |
| <! |
| dE('img_dimensions', -1); |
| <! |
| } |
| // ]]> |
| </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();"> |
| <! |
| <option class="sep" value="" disabled="disabled">{category.NAME}</option> |
| <! |
| <! |
| <! |
| </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="{IMG_SRC}" 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=""<! |
| <! |
| <option class="sep" value=""><! |
| <! |
| <option value="{imagesetlist.images.VALUE}"<! |
| <! |
| <! |
| </select> |
| </dd> |
| </dl> |
| <dl> |
| <dt><label for="imgsize">{L_INCLUDE_DIMENSIONS}:</label><br /><span>{L_DIMENSIONS_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="imgsize" id="imgsize" onclick="display_options(1);" value="1"<! |
| <label><input type="radio" class="radio" name="imgsize" onclick="display_options(0);" value="0"<! |
| </dl> |
| <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> |
| </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}" /> |
| {S_FORM_TOKEN} |
| </fieldset> |
| </form> |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
| |
| <h1>{L_EDIT}</h1> |
| |
| <p>{L_EDIT_EXPLAIN}</p> |
| |
| <p>{L_SELECTED}: <strong>{SELECTED_TEMPLATE}</strong></p> |
| |
| <form id="acp_styles" method="post" action="{U_ACTION}"> |
| |
| <! |
| <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> |
| {S_FORM_TOKEN} |
| </fieldset> |
| <! |
| </form> |
| |
| <! |
| <script type="text/javascript" defer="defer"> |
| // <![CDATA[ |
| |
| function change_editor_height(height) |
| { |
| height = Number(height); |
| |
| if (isNaN(height)) |
| { |
| return; |
| } |
| |
| 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) |
| { |
| value = Number(value); |
| |
| if (isNaN(value)) |
| { |
| return; |
| } |
| |
| url = document.getElementById(form_name).action; |
| |
| // Make sure & is actually... & |
| url = url.replace(/&/g, '&'); |
| |
| 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_EDITOR}</legend> |
| <! |
| <dl> |
| <dt><label>{L_SELECTED_FILE}:</label></dt> |
| <dd>{TEMPLATE_FILE}</dd> |
| </dl> |
| <! |
| <dl> |
| <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> |
| </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} |
| {S_FORM_TOKEN} |
| <input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" /> |
| </fieldset> |
| </form> |
| <! |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {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> |
| <! |
| <! |
| <td><a href="{file.U_VIEWSOURCE}" onclick="popup(this.href, 750, 550, '_source'); return false;">{file.FILENAME_PATH}</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> |
| <! |
| <tr class="row1"> |
| <td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td> |
| </tr> |
| <! |
| </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 /> |
| {S_FORM_TOKEN} |
| <input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" /> |
| </p> |
| </fieldset> |
| </form> |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
| |
| <h1>{L_TITLE}</h1> |
| |
| <p>{L_EXPLAIN}</p> |
| |
| <! |
| <div class="errorbox"> |
| <h3>{L_WARNING}</h3> |
| <p>{ERROR_MSG}</p> |
| </div> |
| <! |
| |
| <form id="acp_styles" method="post" action="{U_ACTION}"> |
| |
| <fieldset> |
| <legend>{L_TITLE}</legend> |
| <dl> |
| <dt><label>{L_NAME}:</label></dt> |
| <dd><strong>{NAME}</strong></dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="inc_template">{L_INCLUDE_TEMPLATE}:</label></dt> |
| <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> |
| </dl> |
| <dl> |
| <dt><label for="inc_theme">{L_INCLUDE_THEME}:</label></dt> |
| <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> |
| </dl> |
| <dl> |
| <dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt> |
| <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> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt> |
| <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> |
| </dl> |
| <dl> |
| <dt><label for="format">{L_ARCHIVE_FORMAT}:</label></dt> |
| <dd>{FORMAT_BUTTONS}</dd> |
| </dl> |
| |
| <p class="quick"> |
| {S_FORM_TOKEN} |
| <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> |
| </p> |
| </fieldset> |
| |
| |
| </form> |
| |
| <! |
| |
| <h1>{L_TITLE}</h1> |
| |
| <p>{L_EXPLAIN}</p> |
| |
| <! |
| |
| <table cellspacing="1"> |
| <col class="row1" /><! |
| <thead> |
| <tr> |
| <th>{L_NAME}</th> |
| <! |
| <th>{L_OPTIONS}</th> |
| <th>{L_ACTIONS}</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td class="row3" colspan="{$COLSPAN}"><strong>{L_INSTALLED}</strong></td> |
| </tr> |
| <! |
| <tr> |
| <td><strong>{installed.NAME}</strong><! |
| <! |
| <td style="text-align: center;">{installed.STYLE_COUNT}</td> |
| <! |
| <td style="text-align: center;"> |
| {installed.S_OPTIONS} |
| </td> |
| <td style="text-align: center;"> |
| <! |
| <a href="{installed.U_STYLE_ACT_DEACT}">{installed.L_STYLE_ACT_DEACT}</a> | |
| <! |
| {installed.S_ACTIONS} |
| <! |
| | <a href="{installed.U_PREVIEW}">{L_PREVIEW}</a> |
| <! |
| </td> |
| </tr> |
| <! |
| <tr> |
| <td class="row3" colspan="{$COLSPAN}"><strong>{L_UNINSTALLED}</strong></td> |
| </tr> |
| <! |
| <tr> |
| <td class="row1" colspan="{$COLSPAN}" style="text-align: center;">{L_NO_UNINSTALLED}</td> |
| </tr> |
| <! |
| <! |
| <tr> |
| <td<! |
| <td style="text-align: center;" colspan="2"><a href="{uninstalled.U_INSTALL}">{L_INSTALL}</a></td> |
| </tr> |
| <! |
| </tbody> |
| </table> |
| |
| <! |
| <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> |
| <! |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
| |
| <h1>{L_TITLE}</h1> |
| |
| <p>{L_EXPLAIN}</p> |
| |
| <! |
| <div class="errorbox"> |
| <h3>{L_WARNING}</h3> |
| <p>{ERROR_MSG}</p> |
| </div> |
| <! |
| |
| <form id="acp_styles" method="post" action="{U_ACTION}"> |
| |
| <fieldset> |
| <legend>{L_TITLE}</legend> |
| <dl> |
| <dt><label for="name">{L_NAME}:</label></dt> |
| <dd><! |
| </dl> |
| <dl> |
| <dt><label for="copyright">{L_COPYRIGHT}:</label></dt> |
| <dd><! |
| </dl> |
| <! |
| <dl> |
| <dt><label for="inheriting">{L_INHERITING_FROM}:</label></dt> |
| <dd><b id="inheriting">{S_SUPERTEMPLATE}</b></dd> |
| </dl> |
| <! |
| <! |
| <dl> |
| <dt><label for="template_id">{L_STYLE_TEMPLATE}:</label></dt> |
| <dd><! |
| </dl> |
| <dl> |
| <dt><label for="theme_id">{L_STYLE_THEME}:</label></dt> |
| <dd><! |
| </dl> |
| <dl> |
| <dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt> |
| <dd><! |
| </dl> |
| <! |
| <! |
| <dl> |
| <dt><label for="store_db">{L_LOCATION}:</label><br /><span><! |
| <dd><label><input type="radio" class="radio" name="store_db" value="0"<! |
| <label><input type="radio" class="radio" name="store_db" value="1"<! |
| </dl> |
| <! |
| <! |
| </fieldset> |
| |
| <fieldset> |
| <legend>{L_OPTIONS}</legend> |
| <dl> |
| <dt><label for="style_active">{L_STYLE_ACTIVE}:</label></dt> |
| <dd><label><input type="radio" class="radio" name="style_active" value="1"<! |
| <label><input type="radio" class="radio" name="style_active" value="0"<! |
| </dl> |
| <! |
| <dl> |
| <dt><label for="style_default">{L_STYLE_DEFAULT}:</label></dt> |
| <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> |
| </dl> |
| <! |
| <! |
| </fieldset> |
| |
| <fieldset class="submit-buttons"> |
| <legend>{L_SUBMIT}</legend> |
| <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> |
| {S_FORM_TOKEN} |
| </fieldset> |
| |
| </form> |
| |
| <! |
| |
| <! |