{html_head}{/html_head} {combine_css path="plugins/LocalFilesEditor/locfiledit.css"} {footer_script} function loadEditarea() {ldelim} editAreaLoader.init({ldelim} id: "text" {foreach from=$EDITAREA_OPTIONS key=option item=value} , {$option}: {$value|editarea_quote} {/foreach} }); jQuery("#showedit").hide(); jQuery("#hideedit").show(); jQuery.post("plugins/LocalFilesEditor/update_config.php", {ldelim} editarea: "on"}); } function unloadEditarea() {ldelim} editAreaLoader.delete_instance("text"); jQuery("#hideedit").hide(); jQuery("#showedit").show(); jQuery.post("plugins/LocalFilesEditor/update_config.php", {ldelim} editarea: "off"}); } jQuery("#editarea_buttons").show(); {if $LOAD_EDITAREA == 'on'} if (document.getElementById("text") != null) loadEditarea(); {/if} {/footer_script}

LocalFiles Editor

{if isset ($create_tpl)}
{'locfiledit_new_filename'|@translate}
{'locfiledit_parent_directory'|@translate} {html_options name=tpl_parent options=$create_tpl.PARENT_OPTIONS selected=$create_tpl.PARENT_SELECTED}
{'locfiledit_model'|@translate} {html_options name=tpl_model options=$create_tpl.MODEL_OPTIONS selected=$create_tpl.MODEL_SELECTED}


{/if} {if isset ($css_lang_tpl)} {html_options name=file_to_edit options=$css_lang_tpl.OPTIONS selected=$css_lang_tpl.SELECTED}

{if isset ($css_lang_tpl.NEW_FILE_URL)} {'locfiledit_new_tpl'|@translate} {/if} {/if} {if !empty($show_default)} {foreach from=$show_default item=file name=default_loop} {'locfiledit_show_default'|@translate} "{$file.FILE}" {if !($smarty.foreach.default_loop.last)}
{/if} {/foreach} {/if} {if isset ($zone_edit)} {$zone_edit.FILE_NAME}
{if isset ($restore)} {/if} {if isset ($restore_infos)}

{'locfiledit_save_bak'|@translate} {/if} {/if}