From cf4e2c81f948a1a9e54258d3ced978d1ad2ef234 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 12 Apr 2011 11:40:06 +0000 Subject: merge r10307 from trunk to branch 2.2 feature:2262 Replace editarea by Codemirror: http://codemirror.net git-svn-id: http://piwigo.org/svn/branches/2.2@10310 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/LocalFilesEditor/show_default.tpl | 59 +++++++++++++++++++------------ 1 file changed, 36 insertions(+), 23 deletions(-) (limited to 'plugins/LocalFilesEditor/show_default.tpl') diff --git a/plugins/LocalFilesEditor/show_default.tpl b/plugins/LocalFilesEditor/show_default.tpl index d5acfe438..bf35586d4 100644 --- a/plugins/LocalFilesEditor/show_default.tpl +++ b/plugins/LocalFilesEditor/show_default.tpl @@ -1,43 +1,56 @@ {html_head} - {/html_head} -{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} -{known_script id="editarea" src=$LOCALEDIT_PATH|@cat:"editarea/edit_area_full.js"} - + +{if $LOAD_CODEMIRROR == 'on'} +if (document.getElementById("text") != null) loadCodemirror(); +{/if} +{/footer_script}
-

{$TITLE}

+
{$TITLE}
- - -- cgit v1.2.3