5 include('/elements/htmlarea.html',
6 'field' => 'fieldname',
7 'curr_value' => $curr_value,
14 <SCRIPT TYPE="text/javascript" src="<% $p %>elements/ckeditor/ckeditor.js">
18 <textarea name="<% $opt{'field'} %>"><% $opt{'curr_value'} |h %></textarea>
20 <SCRIPT TYPE="text/javascript">
22 CKEDITOR.replace('<% $opt{'field'} %>', {
23 % if ( $opt{'width'} ) {
24 width: <% $opt{'width'} %>,
26 height: <% $opt{'height'} || 420 %>,
28 toolbarCanCollapse: true,
29 basePath: '<% $p %>elements/ckeditor/',