Author: ralfbecker
Date: Mon Apr 25 22:14:47 2016
New Revision: 55838
URL: http://svn.stylite.de/viewvc/egroupware?rev=55838&view=rev
Log:
hide spellchecker config and always use browser native spellchecker
Modified:
trunk/admin/templates/default/config.xet
trunk/egroupware/api/src/Html/CkEditorConfig.php
trunk/setup/templates/default/config.tpl
Modified: trunk/admin/templates/default/config.xet
URL: http://svn.stylite.de/viewvc/egroupware/trunk/admin/templates/default/config.xet?rev=55838&r1=55837&r2=55838&view=diff
==============================================================================
--- trunk/admin/templates/default/config.xet (original)
+++ trunk/admin/templates/default/config.xet Mon Apr 25 22:14:47 2016
@@ -70,6 +70,7 @@
<description value="How big should thumbnails for linked images be (maximum in pixels) ?" label="%s:"/>
<textbox id="newsettings[link_list_thumbnail]" size="5"/>
</row>
+ <!-- disable spellcheck config in favor to always use browser native spellchecker
<row>
<description value="Enable spellcheck in rich text editor" label="%s:"/>
<select id="newsettings[enabled_spellcheck]">
@@ -79,7 +80,7 @@
<option value="YesBrowserBased">{Yes, use browser based spell checking engine} - {more secure}</option>
<option value="YesUseWebSpellCheck">Yes, use WebSpellChecker</option>
</select>
- </row>
+ </row> -->
<row>
<description value="EGroupware Tutorial" label="%s:"/>
<select id="newsettings[egw_tutorial_disable]">
@@ -91,7 +92,7 @@
</row>
<row>
<description value="Applications available on mobile devices" label="%s:"/>
- <select-app id="newsettings[fw_mobile_app_list]" multiple="true" tags="true" options=",,enabled" width="100%"/>
+ <select-app id="newsettings[fw_mobile_app_list]" multiple="true" tags="true" other=",enabled" width="100%"/>
</row>
<row>
<description value="security" span="all" class="subHeader"/>
Modified: trunk/egroupware/api/src/Html/CkEditorConfig.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Html/CkEditorConfig.php?rev=55838&r1=55837&r2=55838&view=diff
==============================================================================
--- trunk/egroupware/api/src/Html/CkEditorConfig.php (original)
+++ trunk/egroupware/api/src/Html/CkEditorConfig.php Mon Apr 25 22:14:47 2016
@@ -319,6 +319,13 @@
private static function add_spellchecker_options(&$config, &$spellchecker_button, &$scayt_button)
{
//error_log(__METHOD__.__LINE__.' Spellcheck:'.$GLOBALS['egw_info']['server']['enabled_spellcheck']);
+
+ // currently we only support browser native spellchecker, and always disable Scayt
+ $config['disableNativeSpellChecker'] = false;
+ $config['scayt_autoStartup'] = false;
+ $spellchecker_button = $scayt_button = null;
+
+ /*
if (isset($GLOBALS['egw_info']['server']['enabled_spellcheck']) && $GLOBALS['egw_info']['server']['enabled_spellcheck'])
{
// enable browsers native spellchecker as default, if e.g.: aspell fails
@@ -349,6 +356,7 @@
{
$config['scayt_autoStartup'] = false;
}
+ */
}
/**
Modified: trunk/setup/templates/default/config.tpl
URL: http://svn.stylite.de/viewvc/egroupware/trunk/setup/templates/default/config.tpl?rev=55838&r1=55837&r2=55838&view=diff
==============================================================================
--- trunk/setup/templates/default/config.tpl (original)
+++ trunk/setup/templates/default/config.tpl Mon Apr 25 22:14:47 2016
@@ -75,14 +75,14 @@
</td>
</tr>
- <tr class="row_on">
+ <!-- tr class="row_on">
<td>{lang_Complete_path_to_aspell_program}:</td>
<td>
<input name="newsettings[aspell_path]" value="{value_aspell_path}" size="40">
</td>
- </tr>
-
- <tr class="row_off">
+ </tr -->
+
+ <tr class="row_on">
<td colspan="2"> </td>
</tr>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.