5 include('/elements/htmlarea.html',
6 'field' => 'fieldname',
7 'curr_value' => $curr_value,
14 <SCRIPT TYPE="text/javascript" src="<% $p %>elements/fckeditor/fckeditor.js">
18 <SCRIPT TYPE="text/javascript">
20 var oFCKeditor = new FCKeditor('<% $opt{'field'} %>');
21 oFCKeditor.Value = <% $opt{'curr_value'} |js_string %>;
23 oFCKeditor.BasePath = '<% $p %>elements/fckeditor/';
24 oFCKeditor.Config['SkinPath'] = '<% $p %>elements/fckeditor/editor/skins/silver/';
25 oFCKeditor.Height = '<% $opt{'height'} || 420 %>';
26 oFCKeditor.Config['StartupFocus'] = true;