{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}