Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
392 jpm 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2
<!--
3
 * FCKeditor - The text editor for internet
4
 * Copyright (C) 2003-2005 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
 * File Name: fck_spellerpages.html
13
 * 	Spell Check dialog window.
14
 *
15
 * File Authors:
16
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
17
-->
18
<html>
19
	<head>
20
		<title>Spell Check</title>
21
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
22
		<meta content="noindex, nofollow" name="robots">
23
		<script src="fck_spellerpages/spellerpages/spellChecker.js"></script>
24
		<script type="text/javascript">
25
 
26
var oEditor = window.parent.InnerDialogLoaded() ;
27
var FCKLang = oEditor.FCKLang ;
28
 
29
window.onload = function()
30
{
31
	document.getElementById('txtHtml').value = oEditor.FCK.GetHTML() ;
32
 
33
	var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ;
34
	oSpeller.OnFinished = oSpeller_OnFinished ;
35
	oSpeller.openChecker() ;
36
}
37
 
38
function OnSpellerControlsLoad( controlsWindow )
39
{
40
	// Translate the dialog box texts
41
	oEditor.FCKLanguageManager.TranslatePage( controlsWindow.document ) ;
42
}
43
 
44
function oSpeller_OnFinished( numberOCorrections )
45
{
46
	if ( numberOCorrections > 0 )
47
		oEditor.FCK.SetHTML( document.getElementById('txtHtml').value ) ;
48
	window.parent.Cancel() ;
49
}
50
 
51
		</script>
52
	</head>
53
	<body style="OVERFLOW: hidden" scroll="no" style="padding:0px;">
54
		<input type="hidden" id="txtHtml" value="">
55
		<iframe id="frmSpell" src="../fckblank.html" name="spellchecker" width="100%" height="100%" frameborder="no"></iframe>
56
	</body>
57
</html>