--- /dev/null
+<html>\r
+ <head>\r
+ <link rel="stylesheet" type="text/css" href="spellerStyle.css" />\r
+ <script type="text/javascript" src="controlWindow.js"></script>\r
+ <script type="text/javascript">\r
+var spellerObject;\r
+var controlWindowObj;\r
+\r
+if( parent.opener ) {\r
+ spellerObject = parent.opener.speller;\r
+}\r
+\r
+function ignore_word() {\r
+ if( spellerObject ) {\r
+ spellerObject.ignoreWord();\r
+ }\r
+}\r
+\r
+function ignore_all() {\r
+ if( spellerObject ) {\r
+ spellerObject.ignoreAll();\r
+ }\r
+}\r
+\r
+function replace_word() {\r
+ if( spellerObject ) {\r
+ spellerObject.replaceWord();\r
+ }\r
+}\r
+\r
+function replace_all() {\r
+ if( spellerObject ) {\r
+ spellerObject.replaceAll();\r
+ }\r
+}\r
+\r
+function end_spell() {\r
+ if( spellerObject ) {\r
+ spellerObject.terminateSpell();\r
+ }\r
+}\r
+\r
+function undo() {\r
+ if( spellerObject ) {\r
+ spellerObject.undo();\r
+ }\r
+}\r
+\r
+function suggText() {\r
+ if( controlWindowObj ) {\r
+ controlWindowObj.setSuggestedText();\r
+ }\r
+}\r
+\r
+var FCKLang = window.parent.parent.FCKLang ; // by FredCK\r
+\r
+function init_spell() {\r
+ // By FredCK (fckLang attributes have been added to the HTML source of this page)\r
+ window.parent.parent.OnSpellerControlsLoad( this ) ;\r
+\r
+ var controlForm = document.spellcheck;\r
+\r
+ // create a new controlWindow object\r
+ controlWindowObj = new controlWindow( controlForm );\r
+\r
+ // call the init_spell() function in the parent frameset\r
+ if( parent.frames.length ) {\r
+ parent.init_spell( controlWindowObj );\r
+ } else {\r
+ alert( 'This page was loaded outside of a frameset. It might not display properly' );\r
+ }\r
+}\r
+\r
+</script>\r
+ </head>\r
+ <body class="controlWindowBody" onLoad="init_spell();" style="OVERFLOW: hidden" scroll="no"> <!-- by FredCK -->\r
+ <form name="spellcheck">\r
+ <table border="0" cellpadding="0" cellspacing="0" border="0" align="center">\r
+ <tr>\r
+ <td colspan="3" class="normalLabel"><span fckLang="DlgSpellNotInDic">Not in dictionary:</span></td>\r
+ </tr>\r
+ <tr>\r
+ <td colspan="3"><input class="readonlyInput" type="text" name="misword" readonly /></td>\r
+ </tr>\r
+ <tr>\r
+ <td colspan="3" height="5"></td>\r
+ </tr>\r
+ <tr>\r
+ <td class="normalLabel"><span fckLang="DlgSpellChangeTo">Change to:</span></td>\r
+ </tr>\r
+ <tr valign="top">\r
+ <td>\r
+ <table border="0" cellpadding="0" cellspacing="0" border="0">\r
+ <tr>\r
+ <td class="normalLabel">\r
+ <input class="textDefault" type="text" name="txtsugg" />\r
+ </td>\r
+ </tr>\r
+ <tr>\r
+ <td>\r
+ <select class="suggSlct" name="sugg" size="7" onChange="suggText();" onDblClick="replace_word();">\r
+ <option></option>\r
+ </select>\r
+ </td>\r
+ </tr>\r
+ </table>\r
+ </td>\r
+ <td> </td>\r
+ <td>\r
+ <table border="0" cellpadding="0" cellspacing="0" border="0">\r
+ <tr>\r
+ <td>\r
+ <input class="buttonDefault" type="button" fckLang="DlgSpellBtnIgnore" value="Ignore" onClick="ignore_word();">\r
+ </td>\r
+ <td> </td>\r
+ <td>\r
+ <input class="buttonDefault" type="button" fckLang="DlgSpellBtnIgnoreAll" value="Ignore All" onClick="ignore_all();">\r
+ </td>\r
+ </tr>\r
+ <tr>\r
+ <td colspan="3" height="5"></td>\r
+ </tr>\r
+ <tr>\r
+ <td>\r
+ <input class="buttonDefault" type="button" fckLang="DlgSpellBtnReplace" value="Replace" onClick="replace_word();">\r
+ </td>\r
+ <td> </td>\r
+ <td>\r
+ <input class="buttonDefault" type="button" fckLang="DlgSpellBtnReplaceAll" value="Replace All" onClick="replace_all();">\r
+ </td>\r
+ </tr>\r
+ <tr>\r
+ <td colspan="3" height="5"></td>\r
+ </tr>\r
+ <tr>\r
+ <td>\r
+ <input class="buttonDefault" type="button" name="btnUndo" fckLang="DlgSpellBtnUndo" value="Undo" onClick="undo();"\r
+ disabled>\r
+ </td>\r
+ <td> </td>\r
+ <td>\r
+ <!-- by FredCK\r
+ <input class="buttonDefault" type="button" value="Close" onClick="end_spell();">\r
+ -->\r
+ </td>\r
+ </tr>\r
+ </table>\r
+ </td>\r
+ </tr>\r
+ </table>\r
+ </form>\r
+ </body>\r
+</html>\r