Change default preferences value for notifications and CKEditor

This commit is contained in:
Hadi Nategh 2014-04-24 13:03:45 +00:00
parent 7f2cf7fed2
commit 1f0c3b943f
2 changed files with 8 additions and 5 deletions

View File

@ -26,7 +26,7 @@ $GLOBALS['settings'] = array(
'help' => 'Choose a notification-chain. You will be notified over the backends included in the chain.<br />' 'help' => 'Choose a notification-chain. You will be notified over the backends included in the chain.<br />'
.'Note: If a notification-chain is marked as "disabled", your Administrator does not allow one or' .'Note: If a notification-chain is marked as "disabled", your Administrator does not allow one or'
.' more of the backends included in the chain and notifications falls back to "E-Mail" while notifying you.', .' more of the backends included in the chain and notifications falls back to "E-Mail" while notifying you.',
'default'=> 'popup_or_email', 'default'=> 'popup_and_email',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False
), ),

View File

@ -339,7 +339,8 @@ class preferences_hooks
'values' => egw_ckeditor_config::$font_options, 'values' => egw_ckeditor_config::$font_options,
'help' => 'Automatically start with this font', 'help' => 'Automatically start with this font',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => false 'admin' => false,
'default' => 'arial, helvetica, sans-serif'
), ),
'rte_font_unit' => array( 'rte_font_unit' => array(
'type' => 'select', 'type' => 'select',
@ -349,7 +350,8 @@ class preferences_hooks
'help' => 'Unit of displayed font sizes: either "px" as used eg. for web-pages or "pt" as used in text processing.', 'help' => 'Unit of displayed font sizes: either "px" as used eg. for web-pages or "pt" as used in text processing.',
'default'=> 'pt', 'default'=> 'pt',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => false 'admin' => false,
'default' => 'pt'
), ),
'rte_font_size' => array( 'rte_font_size' => array(
'type' => 'select', 'type' => 'select',
@ -358,7 +360,8 @@ class preferences_hooks
'values' => egw_ckeditor_config::$font_size_options, 'values' => egw_ckeditor_config::$font_size_options,
'help' => 'Automatically start with this font size', 'help' => 'Automatically start with this font size',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => false 'admin' => false,
'default' => '10'
), ),
'spellchecker_lang' => array( 'spellchecker_lang' => array(
'type' => 'select', 'type' => 'select',
@ -388,7 +391,7 @@ class preferences_hooks
'help' => 'Select the theme (visualization) of the rich text editor.', 'help' => 'Select the theme (visualization) of the rich text editor.',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,
'forced' => 'office2003', 'forced' => 'moono',
), ),
'rte_features' => array( 'rte_features' => array(
'type' => 'select', 'type' => 'select',