From 8ecf5649bbb3aa6f75640dfb32a99f4cbaccede2 Mon Sep 17 00:00:00 2001 From: patdenice Date: Fri, 11 Feb 2011 16:05:31 +0000 Subject: Remove knwo_script from LocalFiles Editor git-svn-id: http://piwigo.org/svn/trunk@9173 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/LocalFilesEditor/admin.tpl | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'plugins/LocalFilesEditor/admin.tpl') diff --git a/plugins/LocalFilesEditor/admin.tpl b/plugins/LocalFilesEditor/admin.tpl index d3e351db4..72880dd05 100644 --- a/plugins/LocalFilesEditor/admin.tpl +++ b/plugins/LocalFilesEditor/admin.tpl @@ -1,8 +1,6 @@ -{html_head}{/html_head} -{known_script id="editarea" src=$LOCALEDIT_PATH|@cat:"editarea/edit_area_full.js"} -{/html_head} +{combine_css path="plugins/LocalFilesEditor/locfiledit.css"} +{footer_script} function loadEditarea() {ldelim} editAreaLoader.init({ldelim} id: "text" @@ -21,7 +19,12 @@ function unloadEditarea() {ldelim} 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

@@ -96,8 +99,3 @@ function unloadEditarea() {ldelim} {/if}
- - -- cgit v1.2.3