mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-11 17:20:53 +01:00
97b1130a36
phpgwapi/js/ckeditor3/plugins/aspell -changed phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/spellchecker.php to allow only configured aspell, tmp dirs and language settings -removed other than php spellchecker pages from phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/ -added toolbar options to reflect the use/change of calls of SpellCheck(er) via toolbar button configure options for CKeditor to use aspell (if available) or/and scayt
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
--------------- step 1 --------------------------------------
|
|
removed _samples directory
|
|
--------------- step 2 --------------------------------------
|
|
making functions init() and jsEncode Public
|
|
(used in felamimail/inc/class.uicompose.inc.php to initalize the ckeditor in any case (plaintext/html))
|
|
see patch below:
|
|
|
|
Index: phpgwapi/js/ckeditor3/ckeditor_php5.php
|
|
===================================================================
|
|
--- phpgwapi/js/ckeditor3/ckeditor_php5.php (Revision 30397)
|
|
+++ phpgwapi/js/ckeditor3/ckeditor_php5.php (Arbeitskopie)
|
|
@@ -431,7 +431,7 @@
|
|
/**
|
|
* Initializes CKEditor (executed only once).
|
|
*/
|
|
- private function init()
|
|
+ public function init()
|
|
{
|
|
static $initComplete;
|
|
$out = "";
|
|
@@ -522,7 +522,7 @@
|
|
* @param mixed $val
|
|
* @return string
|
|
*/
|
|
- private function jsEncode($val)
|
|
+ public function jsEncode($val)
|
|
{
|
|
if (is_null($val)) {
|
|
return 'null';
|
|
|
|
--------------- step 3 --------------------------------------
|
|
-added aspell as plugin, as it is not available by default anymore.
|
|
phpgwapi/js/ckeditor3/plugins/aspell
|
|
-changed phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/spellchecker.php
|
|
to allow only configured aspell, tmp dirs and language settings
|
|
-removed other than php spellchecker pages from phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/
|
|
-added toolbar options to reflect the use/change of calls of SpellCheck(er) via toolbar button
|