diff --git a/preferences/inc/hook_settings.inc.php b/preferences/inc/hook_settings.inc.php index 261b32053e..461b41a7d9 100755 --- a/preferences/inc/hook_settings.inc.php +++ b/preferences/inc/hook_settings.inc.php @@ -73,6 +73,18 @@ '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(); $user_apps = array(); @@ -201,6 +213,33 @@ 'xmlrpc' => True, '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( 'type' => 'check', 'label' => 'Show number of current users',