Adding new preferences to fckeditor:

- Enter behaviour (p, br, ..)
- Spelcheck language
- Skyn
This commit is contained in:
José Luis Gordo Romero 2007-12-20 06:12:09 +00:00
parent 4d4d66ea9c
commit cf657cb5ad

View File

@ -73,6 +73,18 @@
'24' => lang('24 hour') '24' => lang('24 hour')
); );
$html_enter_mode = array(
'p' => lang('p: Paragraph'),
'div' => lang('div'),
'br' => lang('br')
);
$rich_text_editor_skins = array(
'default' => lang ('Default theme'),
'office2003' => lang ('Office 2003 theme'),
'silver' => lang ('Silver theme')
);
$langs = $GLOBALS['egw']->translation->get_installed_langs(); $langs = $GLOBALS['egw']->translation->get_installed_langs();
$user_apps = array(); $user_apps = array();
@ -201,6 +213,33 @@
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False
), ),
'spellchecker_lang' => array(
'type' => 'select',
'label' => 'Spellchecker language',
'name' => 'spellchecker_lang',
'values' => $langs,
'help' => 'Select the language of the spellchecker integrated into the rich text editor.',
'xmlrpc' => True,
'admin' => False
),
'rte_enter_mode' => array(
'type' => 'select',
'label' => 'Rich text editor enter mode',
'name' => 'rte_enter_mode',
'values' => $html_enter_mode,
'help' => 'Select how the rich text editor will generate the enter (linebreak) tag.',
'xmlrpc' => True,
'admin' => False
),
'rte_skin' => array(
'type' => 'select',
'label' => 'Rich text editor theme',
'name' => 'rte_skin',
'values' => $rich_text_editor_skins,
'help' => 'Select the theme (visualization) of the rich text editor.',
'xmlrpc' => True,
'admin' => False
),
'show_currentusers' => array( 'show_currentusers' => array(
'type' => 'check', 'type' => 'check',
'label' => 'Show number of current users', 'label' => 'Show number of current users',