--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r
+<!--\r
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
+ *\r
+ * == BEGIN LICENSE ==\r
+ *\r
+ * Licensed under the terms of any of the following licenses at your\r
+ * choice:\r
+ *\r
+ * - GNU General Public License Version 2 or later (the "GPL")\r
+ * http://www.gnu.org/licenses/gpl.html\r
+ *\r
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ * http://www.gnu.org/licenses/lgpl.html\r
+ *\r
+ * - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ * http://www.mozilla.org/MPL/MPL-1.1.html\r
+ *\r
+ * == END LICENSE ==\r
+ *\r
+ * Spell Check dialog window.\r
+-->\r
+<html>\r
+ <head>\r
+ <title>Spell Check</title>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
+ <meta content="noindex, nofollow" name="robots">\r
+ <script src="common/fck_dialog_common.js" type="text/javascript"></script>\r
+ <script src="fck_spellerpages/spellerpages/spellChecker.js"></script>\r
+ <script type="text/javascript">\r
+\r
+var oEditor = window.parent.InnerDialogLoaded() ;\r
+var FCKLang = oEditor.FCKLang ;\r
+\r
+window.onload = function()\r
+{\r
+ document.getElementById('txtHtml').value = oEditor.FCK.EditorDocument.body.innerHTML ;\r
+\r
+ var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ;\r
+ oSpeller.spellCheckScript = oEditor.FCKConfig.SpellerPagesServerScript || 'server-scripts/spellchecker.php' ;\r
+ oSpeller.OnFinished = oSpeller_OnFinished ;\r
+ oSpeller.openChecker() ;\r
+}\r
+\r
+function OnSpellerControlsLoad( controlsWindow )\r
+{\r
+ // Translate the dialog box texts\r
+ oEditor.FCKLanguageManager.TranslatePage( controlsWindow.document ) ;\r
+}\r
+\r
+function oSpeller_OnFinished( numberOCorrections )\r
+{\r
+ if ( numberOCorrections > 0 )\r
+ {\r
+ oEditor.FCKUndo.SaveUndoStep() ;\r
+ oEditor.FCK.EditorDocument.body.innerHTML = document.getElementById('txtHtml').value ;\r
+ if ( oEditor.FCKBrowserInfo.IsIE )\r
+ oEditor.FCKSelection.Collapse( true ) ;\r
+ }\r
+ window.parent.Cancel() ;\r
+}\r
+\r
+ </script>\r
+ </head>\r
+ <body style="OVERFLOW: hidden" scroll="no" style="padding:0px;">\r
+ <input type="hidden" id="txtHtml" value="">\r
+ <iframe id="frmSpell" src="javascript:void(0)" name="spellchecker" width="100%" height="100%" frameborder="0"></iframe>\r
+ </body>\r
+</html>\r