3
XOOPS_ROOT_PATH/modules/news/include/functions.php
case 'koivi':
if(!$x22) {
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%', '450px', '');
}
} else {
$editor = new XoopsFormEditor($caption, 'koivi', $editor_configs);
}
break;
by
case 'koivi':
if(!$x22) {
if ( is_readable(XOOPS_ROOT_PATH . '/[color=990033]class/xoopseditor/koivi[/color]/formwysiwygtextarea.php')) {
include_once(XOOPS_ROOT_PATH . '/[color=990033]class/xoopseditor/koivi[/color]/formwysiwygtextarea.php');
$editor = new XoopsFormWysiwygTextArea($caption, $name, $value, '100%', '450px', '');
}
} else {
$editor = new XoopsFormEditor($caption, 'koivi', $editor_configs);
}
break;
Download xoopseditor!
http://dev.xoops.org/modules/xfmod/project/?htmlarea Julio,