aboutsummaryrefslogtreecommitdiffstats
path: root/BSF/plugins/LocalFilesEditor/show_default.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--BSF/plugins/LocalFilesEditor/show_default.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/BSF/plugins/LocalFilesEditor/show_default.tpl b/BSF/plugins/LocalFilesEditor/show_default.tpl
new file mode 100644
index 000000000..bccfc9712
--- /dev/null
+++ b/BSF/plugins/LocalFilesEditor/show_default.tpl
@@ -0,0 +1,13 @@
+{if isset($editarea)}
+<script type="text/javascript" src="{$editarea.URL}"></script>
+<script type="text/javascript">
+editAreaLoader.init({ldelim}
+ id: "text"
+ {foreach from=$editarea.OPTIONS key=option item=value}
+ , {$option}: {$value|editarea_quote}
+ {/foreach}
+{rdelim});
+</script>
+{/if}
+
+<textarea rows="30" id="text" cols="90">{$DEFAULT_CONTENT}</textarea> \ No newline at end of file