| @@ 971-986 (lines=16) @@ | ||
| 968 | $editor = new XoopsFormTextArea($caption, $name, $value); |
|
| 969 | break; |
|
| 970 | ||
| 971 | case "koivi": |
|
| 972 | if (!$x22) { |
|
| 973 | if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/koivi/formwysiwygtextarea.php")) { |
|
| 974 | include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/koivi/formwysiwygtextarea.php"); |
|
| 975 | $editor = new XoopsFormWysiwygTextArea($caption, $name, $value, '100%', '400px'); |
|
| 976 | } else { |
|
| 977 | if ($dhtml) { |
|
| 978 | $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); |
|
| 979 | } else { |
|
| 980 | $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); |
|
| 981 | } |
|
| 982 | } |
|
| 983 | } else { |
|
| 984 | $editor = new XoopsFormEditor($caption, "koivi", $editor_configs); |
|
| 985 | } |
|
| 986 | break; |
|
| 987 | ||
| 988 | case "tinyeditor": |
|
| 989 | if (!$x22) { |
|
| @@ 1005-1020 (lines=16) @@ | ||
| 1002 | } |
|
| 1003 | break; |
|
| 1004 | ||
| 1005 | case "dhtmlext": |
|
| 1006 | if (!$x22) { |
|
| 1007 | if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/dhtmlext/dhtmlext.php")) { |
|
| 1008 | include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/dhtmlext/dhtmlext.php"); |
|
| 1009 | $editor = new XoopsFormDhtmlTextAreaExtended($caption, $name, $value, 10, 50); |
|
| 1010 | } else { |
|
| 1011 | if ($dhtml) { |
|
| 1012 | $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 50, 60); |
|
| 1013 | } else { |
|
| 1014 | $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); |
|
| 1015 | } |
|
| 1016 | } |
|
| 1017 | } else { |
|
| 1018 | $editor = new XoopsFormEditor($caption, "dhtmlext", $editor_configs); |
|
| 1019 | } |
|
| 1020 | break; |
|
| 1021 | ||
| 1022 | case 'tinymce' : |
|
| 1023 | if (!$x22) { |
|