mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
Remove spellchecker lang from preferences
This commit is contained in:
parent
92e78ce746
commit
57349e6386
@ -127,9 +127,7 @@ class CkEditorConfig
|
|||||||
private static function read_lang_country()
|
private static function read_lang_country()
|
||||||
{
|
{
|
||||||
//use the lang and country information to construct a possible lang info for CKEditor UI and scayt_slang
|
//use the lang and country information to construct a possible lang info for CKEditor UI and scayt_slang
|
||||||
self::$lang = ($GLOBALS['egw_info']['user']['preferences']['common']['spellchecker_lang'] ?
|
self::$lang = $GLOBALS['egw_info']['user']['preferences']['common']['lang'];
|
||||||
$GLOBALS['egw_info']['user']['preferences']['common']['spellchecker_lang']:
|
|
||||||
$GLOBALS['egw_info']['user']['preferences']['common']['lang']);
|
|
||||||
|
|
||||||
self::$country = $GLOBALS['egw_info']['user']['preferences']['common']['country'];
|
self::$country = $GLOBALS['egw_info']['user']['preferences']['common']['country'];
|
||||||
|
|
||||||
|
@ -375,16 +375,6 @@ class preferences_hooks
|
|||||||
'admin' => false,
|
'admin' => false,
|
||||||
'default' => '10'
|
'default' => '10'
|
||||||
),
|
),
|
||||||
'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,
|
|
||||||
'default'=> $lang,
|
|
||||||
),
|
|
||||||
'rte_enter_mode' => array(
|
'rte_enter_mode' => array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => 'Rich text editor enter mode',
|
'label' => 'Rich text editor enter mode',
|
||||||
|
Loading…
Reference in New Issue
Block a user