Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1921
Line -... Line 1...
-
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
1
<!--
2
<!--
2
 * FCKeditor - The text editor for internet
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * 
5
 *
5
 * Licensed under the terms of the GNU Lesser General Public License:
6
 * == BEGIN LICENSE ==
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
-
 
7
 * 
7
 *
8
 * For further information visit:
8
 * Licensed under the terms of any of the following licenses at your
9
 * 		http://www.fckeditor.net/
9
 * choice:
10
 * 
10
 *
11
 * "Support Open Source software. What about a donation today?"
11
 *  - GNU General Public License Version 2 or later (the "GPL")
-
 
12
 *    http://www.gnu.org/licenses/gpl.html
12
 * 
13
 *
-
 
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
13
 * File Name: fck_source.html
15
 *    http://www.gnu.org/licenses/lgpl.html
-
 
16
 *
-
 
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
14
 * 	Source editor dialog window.
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
-
 
19
 *
-
 
20
 * == END LICENSE ==
15
 * 
21
 *
16
 * File Authors:
-
 
17
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
22
 * Source editor dialog window.
18
-->
23
-->
19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-
 
20
<html>
24
<html>
21
	<head>
25
	<head>
22
		<title>Source</title>
26
		<title>Source</title>
23
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
27
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24
		<meta name="robots" content="noindex, nofollow">
28
		<meta name="robots" content="noindex, nofollow">
25
		<link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
29
		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
26
		<script language="javascript">
30
		<script language="javascript">
Line 27... Line 31...
27
		
31
 
28
var oEditor		= window.parent.InnerDialogLoaded() ;
32
var oEditor		= window.parent.InnerDialogLoaded() ;
29
var FCK			= oEditor.FCK ;
33
var FCK			= oEditor.FCK ;
-
 
34
var FCKConfig	= oEditor.FCKConfig ;
-
 
35
var FCKTools	= oEditor.FCKTools ;
-
 
36
 
Line 30... Line 37...
30
var FCKConfig	= oEditor.FCKConfig ;
37
document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
31
 
38
 
32
window.onload = function()
39
window.onload = function()
33
{
40
{
Line 43... Line 50...
43
function Ok()
50
function Ok()
44
{
51
{
45
	if ( oEditor.FCKBrowserInfo.IsIE )
52
	if ( oEditor.FCKBrowserInfo.IsIE )
46
		oEditor.FCKUndo.SaveUndoStep() ;
53
		oEditor.FCKUndo.SaveUndoStep() ;
Line 47... Line 54...
47
			
54
 
Line 48... Line 55...
48
	FCK.SetHTML( document.getElementById('txtSource').value, false ) ;
55
	FCK.SetData( document.getElementById('txtSource').value, false ) ;
49
	
56
 
50
	return true ;
57
	return true ;
51
}
58
}