2
* FCKeditor - The text editor for internet
3
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
* Licensed under the terms of the GNU Lesser General Public License:
6
* http://www.opensource.org/licenses/lgpl-license.php
8
* For further information visit:
9
* http://www.fckeditor.net/
11
* "Support Open Source software. What about a donation today?"
13
* File Name: fck_source.html
14
* Source editor dialog window.
17
* Frederico Caldeira Knabben (fredck@fckeditor.net)
19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
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">
28
var oEditor = window.parent.InnerDialogLoaded() ;
29
var FCK = oEditor.FCK ;
30
var FCKConfig = oEditor.FCKConfig ;
32
window.onload = function()
34
// EnableXHTML and EnableSourceXHTML has been deprecated
35
// 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 ) ;
38
// Activate the "OK" button.
39
window.parent.SetOkButton( true ) ;
42
//#### The OK button was hit.
45
if ( oEditor.FCKBrowserInfo.IsIE )
46
oEditor.FCKUndo.SaveUndoStep() ;
48
FCK.SetHTML( document.getElementById('txtSource').value, false ) ;
54
<body scroll="no" style="OVERFLOW: hidden">
55
<table width="100%" height="100%">
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>