Subversion Repositories Applications.papyrus

Rev

Rev 431 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
431 ddelon 1
<!--
2
 * FCKeditor - The text editor for internet
3
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
4
 *
5
 * Licensed under the terms of the GNU Lesser General Public License:
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 *
8
 * For further information visit:
9
 * 		http://www.fckeditor.net/
10
 *
521 ddelon 11
 * "Support Open Source software. What about a donation today?"
12
 *
431 ddelon 13
 * File Name: fck_source.html
14
 * 	Source editor dialog window.
15
 *
16
 * File Authors:
17
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
18
-->
19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
20
<html>
21
	<head>
22
		<title>Source</title>
23
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24
		<meta name="robots" content="noindex, nofollow">
25
		<link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
26
		<script language="javascript">
27
 
28
var oEditor		= window.parent.InnerDialogLoaded() ;
29
var FCK			= oEditor.FCK ;
30
var FCKConfig	= oEditor.FCKConfig ;
31
 
32
window.onload = function()
33
{
34
	document.getElementById('txtSource').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ;
35
 
36
	// Activate the "OK" button.
37
	window.parent.SetOkButton( true ) ;
38
}
39
 
40
//#### The OK button was hit.
41
function Ok()
42
{
43
	if ( oEditor.FCKBrowserInfo.IsIE )
44
		oEditor.FCKUndo.SaveUndoStep() ;
45
 
46
	FCK.SetHTML( document.getElementById('txtSource').value, false ) ;
47
 
48
	return true ;
49
}
50
		</script>
51
	</head>
52
	<body scroll="no" style="OVERFLOW: hidden">
53
		<table width="100%" height="100%">
54
			<tr>
55
				<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>
56
			</tr>
57
		</table>
58
	</body>
59
</html>