5
This seems to be working:
le="color: #000000"><?php case 'fck' : if( substr( XOOPS_VERSION , 6 , 3 ) > 2.0 ) { if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/fckeditor/formfckeditor.php")) { include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/fckeditor/formfckeditor.php"); $editor = new XoopsFormFckeditor( array('caption' =>$caption, 'name'=>$name, 'value'=>$value, 'width' =>'600px', 'height'=>'400px') ); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { if ( is_readable(XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php")) { include_once(XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php"); $editor = new XoopsFormWysiwygTextArea($caption, $name, $value, '100%', '400px'); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } break;
I also had to change line 58 from fckeditor.php from
$HtmlValue = htmlspecialchars( $this->Value ) ; to
$HtmlValue = "{$this->Value}" ;Path to FCKEditor: class/xoopseditor/fckeditor/
Hope it helps.