Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1921
-
 
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
-
 
5
 *
-
 
6
 * == BEGIN LICENSE ==
4
 * 
7
 *
5
 * Licensed under the terms of the GNU Lesser General Public License:
8
 * Licensed under the terms of any of the following licenses at your
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
9
 * choice:
7
 * 
10
 *
8
 * For further information visit:
11
 *  - GNU General Public License Version 2 or later (the "GPL")
9
 * 		http://www.fckeditor.net/
12
 *    http://www.gnu.org/licenses/gpl.html
10
 * 
13
 *
11
 * "Support Open Source software. What about a donation today?"
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
-
 
15
 *    http://www.gnu.org/licenses/lgpl.html
12
 * 
16
 *
13
 * File Name: fck_source.html
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
15
 * 
19
 *
16
 * File Authors:
20
 * == END LICENSE ==
-
 
21
 *
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">
27
		
31
 
28
var oEditor		= window.parent.InnerDialogLoaded() ;
32
var oEditor		= window.parent.InnerDialogLoaded() ;
29
var FCK			= oEditor.FCK ;
33
var FCK			= oEditor.FCK ;
30
var FCKConfig	= oEditor.FCKConfig ;
34
var FCKConfig	= oEditor.FCKConfig ;
-
 
35
var FCKTools	= oEditor.FCKTools ;
-
 
36
 
-
 
37
document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
31
 
38
 
32
window.onload = function()
39
window.onload = function()
33
{
40
{
34
	// EnableXHTML and EnableSourceXHTML has been deprecated
41
	// EnableXHTML and EnableSourceXHTML has been deprecated
35
//	document.getElementById('txtSource').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ;
42
//	document.getElementById('txtSource').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ;
36
	document.getElementById('txtSource').value = FCK.GetXHTML( FCKConfig.FormatSource ) ;
43
	document.getElementById('txtSource').value = FCK.GetXHTML( FCKConfig.FormatSource ) ;
37
 
44
 
38
	// Activate the "OK" button.
45
	// Activate the "OK" button.
39
	window.parent.SetOkButton( true ) ;
46
	window.parent.SetOkButton( true ) ;
40
}
47
}
41
 
48
 
42
//#### The OK button was hit.
49
//#### The OK button was hit.
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() ;
47
			
54
 
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
}
52
		</script>
59
		</script>
53
	</head>
60
	</head>
54
	<body scroll="no" style="OVERFLOW: hidden">
61
	<body scroll="no" style="OVERFLOW: hidden">
55
		<table width="100%" height="100%">
62
		<table width="100%" height="100%">
56
			<tr>
63
			<tr>
57
				<td height="100%"><textarea id="txtSource" dir="ltr" style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 14px; PADDING-BOTTOM: 5px; WIDTH: 100%; PADDING-TOP: 5px; FONT-FAMILY: Monospace; HEIGHT: 100%">Loading. Please wait...</textarea></td>
64
				<td height="100%"><textarea id="txtSource" dir="ltr" style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 14px; PADDING-BOTTOM: 5px; WIDTH: 100%; PADDING-TOP: 5px; FONT-FAMILY: Monospace; HEIGHT: 100%">Loading. Please wait...</textarea></td>
58
			</tr>
65
			</tr>
59
		</table>
66
		</table>
60
	</body>
67
	</body>
61
</html>
68
</html>