source: trunk/admin/inc/FCKeditor/editor/dialog/fck_spellerpages.html@ 22

Last change on this file since 22 was 2, checked in by root, 15 years ago

importo il progetto

File size: 1.8 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2<!--
3 * FCKeditor - The text editor for internet
4 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
5 *
6 * Licensed under the terms of the GNU Lesser General Public License:
7 * http://www.opensource.org/licenses/lgpl-license.php
8 *
9 * For further information visit:
10 * http://www.fckeditor.net/
11 *
12 * "Support Open Source software. What about a donation today?"
13 *
14 * File Name: fck_spellerpages.html
15 * Spell Check dialog window.
16 *
17 * File Authors:
18 * Frederico Caldeira Knabben (fredck@fckeditor.net)
19-->
20<html>
21 <head>
22 <title>Spell Check</title>
23 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24 <meta content="noindex, nofollow" name="robots">
25 <script src="fck_spellerpages/spellerpages/spellChecker.js"></script>
26 <script type="text/javascript">
27
28var oEditor = window.parent.InnerDialogLoaded() ;
29var FCKLang = oEditor.FCKLang ;
30
31window.onload = function()
32{
33 document.getElementById('txtHtml').value = oEditor.FCK.EditorDocument.body.innerHTML ;
34
35 var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ;
36 oSpeller.OnFinished = oSpeller_OnFinished ;
37 oSpeller.openChecker() ;
38}
39
40function OnSpellerControlsLoad( controlsWindow )
41{
42 // Translate the dialog box texts
43 oEditor.FCKLanguageManager.TranslatePage( controlsWindow.document ) ;
44}
45
46function oSpeller_OnFinished( numberOCorrections )
47{
48 if ( numberOCorrections > 0 )
49 oEditor.FCK.SetHTML( document.getElementById('txtHtml').value ) ;
50 window.parent.Cancel() ;
51}
52
53 </script>
54 </head>
55 <body style="OVERFLOW: hidden" scroll="no" style="padding:0px;">
56 <input type="hidden" id="txtHtml" value="">
57 <iframe id="frmSpell" src="../fckblank.html" name="spellchecker" width="100%" height="100%" frameborder="0"></iframe>
58 </body>
59</html>
Note: See TracBrowser for help on using the repository browser.