source: trunk/plugins/LocalFilesEditor/show_default.tpl @ 2455

Last change on this file since 2455 was 2291, checked in by patdenice, 17 years ago

Add editarea to LocalFiles Editor.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 363 bytes
Line 
1{if isset($editarea)}
2<script type="text/javascript" src="{$editarea.URL}"></script>
3<script type="text/javascript">
4editAreaLoader.init({ldelim}
5        id: "text"
6        {foreach from=$editarea.OPTIONS key=option item=value}
7  , {$option}: {$value|editarea_quote}
8  {/foreach}
9{rdelim});
10</script>
11{/if}
12
13<textarea rows="30" id="text" cols="90">{$DEFAULT_CONTENT}</textarea>
Note: See TracBrowser for help on using the repository browser.