defaulthtmleditor) ? $CFG->defaulthtmleditor : ''); } $configuration = ''; switch ($editor) { case 'tinymce': $configuration = << EOF; break; case 'fckeditor': $configuration = << EOF; break; case 'xinha': $configuration = << _editor_url = "{$CFG->wwwroot}/lib/editor/xinha/" _editor_lang = "en"; _editor_skin = "blue-look"; EOF; break; case 'yuirte': $configuration = << EOF; break; default: break; } return $configuration; } public function activateEditor($name='', $id='') { $configuration = << createHTMLArea('$id'); EOF; return $configuration; } } ?>