mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix for [eGroupWare-tracker] Bugs #1750: FCKeditor dont use the aspell path from config
-documenting the needed skripting for the configured aspell path in egw_integration.txt -re-imported spellcheck (aspell) integration from Jose -switching aspell integration on in fckconfig.js, as documented in FCKeditor_2.x/Developers_Guide/Configuration/Spell_Checker
This commit is contained in:
parent
2349c28fa8
commit
b12f35a56d
@ -3,10 +3,25 @@ header('Content-type: text/html; charset=utf-8');
|
|||||||
|
|
||||||
// The following variables values must reflect your installation needs.
|
// The following variables values must reflect your installation needs.
|
||||||
|
|
||||||
$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
|
//$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
|
||||||
//$aspell_prog = 'aspell'; // by FredCK (for Linux)
|
//$aspell_prog = 'aspell'; // by FredCK (for Linux)
|
||||||
|
if ($_GET['aspell_path'])
|
||||||
$lang = 'en_US';
|
{
|
||||||
|
$aspell_prog = $_GET['aspell_path'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$aspell_prog = 'aspell';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($_GET['spellchecker_lang'])
|
||||||
|
{
|
||||||
|
$lang = $_GET['spellchecker_lang'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$lang = 'en_US';
|
||||||
|
}
|
||||||
$aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; // by FredCK
|
$aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; // by FredCK
|
||||||
|
|
||||||
$tempfiledir = "./";
|
$tempfiledir = "./";
|
||||||
|
@ -1,3 +1,32 @@
|
|||||||
|
2008/10/09 (KlausLeithoff)
|
||||||
|
-editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
|
||||||
|
-SpellChecker integration (aspell configured path from egw)
|
||||||
|
from line 6 on ...
|
||||||
|
-----------------------------------------
|
||||||
|
-$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
|
||||||
|
+//$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
|
||||||
|
//$aspell_prog = 'aspell'; // by FredCK (for Linux)
|
||||||
|
-
|
||||||
|
-$lang = 'en_US';
|
||||||
|
+if ($_GET['aspell_path'])
|
||||||
|
+{
|
||||||
|
+ $aspell_prog = $_GET['aspell_path'];
|
||||||
|
+}
|
||||||
|
+else
|
||||||
|
+{
|
||||||
|
+ $aspell_prog = 'aspell';
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+if ($_GET['spellchecker_lang'])
|
||||||
|
+{
|
||||||
|
+ $lang = $_GET['spellchecker_lang'];
|
||||||
|
+}
|
||||||
|
+else
|
||||||
|
+{
|
||||||
|
+ $lang = 'en_US';
|
||||||
|
+}
|
||||||
|
$aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; // by FredCK
|
||||||
|
---------------------------------------
|
||||||
2008/04/15 (RalfBecker)
|
2008/04/15 (RalfBecker)
|
||||||
- update to FCK 2.6.3
|
- update to FCK 2.6.3
|
||||||
- editor/filemanager/connectors/php/io.php line 184:
|
- editor/filemanager/connectors/php/io.php line 184:
|
||||||
|
@ -160,7 +160,7 @@ FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-lar
|
|||||||
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
||||||
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
||||||
|
|
||||||
FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages'
|
FCKConfig.SpellChecker = 'SpellerPages' ; // 'ieSpell' | 'SpellerPages'
|
||||||
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
||||||
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
||||||
FCKConfig.FirefoxSpellChecker = false ;
|
FCKConfig.FirefoxSpellChecker = false ;
|
||||||
|
Loading…
Reference in New Issue
Block a user