diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/elements/htmlarea.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/elements/htmlarea.html')
-rw-r--r-- | httemplate/elements/htmlarea.html | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/httemplate/elements/htmlarea.html b/httemplate/elements/htmlarea.html deleted file mode 100644 index f00c77360..000000000 --- a/httemplate/elements/htmlarea.html +++ /dev/null @@ -1,40 +0,0 @@ -<%doc> - -Example: - - include('/elements/htmlarea.html', - 'field' => 'fieldname', - 'curr_value' => $curr_value, - 'height' => 800, - ); - -</%doc> - -% #init -<SCRIPT TYPE="text/javascript" src="<% $p %>elements/fckeditor/fckeditor.js"> -</SCRIPT> - -% #editor -<SCRIPT TYPE="text/javascript"> - - var oFCKeditor = new FCKeditor('<% $opt{'field'} %>'); - oFCKeditor.Value = <% $opt{'curr_value'} |js_string %>; - - oFCKeditor.BasePath = '<% $p %>elements/fckeditor/'; - oFCKeditor.Config['SkinPath'] = '<% $p %>elements/fckeditor/editor/skins/silver/'; -% if ( $opt{'width'} ) { - oFCKeditor.Width = '<% $opt{'width'} %>'; -% } - oFCKeditor.Height = '<% $opt{'height'} || 420 %>'; - oFCKeditor.Config['StartupFocus'] = true; - oFCKeditor.Config['EnterMode'] = 'br'; - - oFCKeditor.Create(); - -</SCRIPT> - -<%init> - -my %opt = @_; - -</%init> |