htmlspecialchars($var->getValue($vars)));
if ($var->type->hasHelper('rte') && $browser->hasFeature('rte')) {
- $editor = Horde_Editor::factory('xinha', array('id' => $var->getVarName()));
+ $editor = Horde_Editor::factory('Xinha', array('id' => $var->getVarName()));
}
if ($var->type->hasHelper() && $browser->hasFeature('javascript')) {
*/
function initRTE($mode = 'imp')
{
- $editor = &Horde_Editor::singleton('fckeditor', array('id' => 'message', 'no_notify' => true));
+ $editor = &Horde_Editor::singleton('Fckeditor', array('id' => 'message', 'no_notify' => true));
$fck_buttons = $GLOBALS['prefs']->getValue('fckeditor_buttons');
if (!empty($fck_buttons)) {
}
if ($stationery['t'] == 'html') {
- $editor = &Horde_Editor::singleton('fckeditor', array('id' => 'content'));
+ $editor = &Horde_Editor::singleton('Fckeditor', array('id' => 'content'));
}
/* Show the header. */
$form->addVariable($flag . _("Tags"), "tags_$key", 'text', false, false, _("Enter one or more keywords that describe your news. Separate them by spaces."));
}
$form->addVariable($flag . _("Content"), "content_$key", 'longtext', ($key == $default_lang) ? true : false , false, false, array(20, 120));
+ // TODO: tinymce is no longer available
Horde_Editor::singleton('tinymce',
array('id' => "content_$key",
'config' => array('mode'=> 'exact',