1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > |
---|
2 | <!-- |
---|
3 | * FCKeditor - The text editor for Internet - http://www.fckeditor.net |
---|
4 | * Copyright (C) 2003-2007 Frederico Caldeira Knabben |
---|
5 | * |
---|
6 | * == BEGIN LICENSE == |
---|
7 | * |
---|
8 | * Licensed under the terms of any of the following licenses at your |
---|
9 | * choice: |
---|
10 | * |
---|
11 | * - GNU General Public License Version 2 or later (the "GPL") |
---|
12 | * http://www.gnu.org/licenses/gpl.html |
---|
13 | * |
---|
14 | * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") |
---|
15 | * http://www.gnu.org/licenses/lgpl.html |
---|
16 | * |
---|
17 | * - Mozilla Public License Version 1.1 or later (the "MPL") |
---|
18 | * http://www.mozilla.org/MPL/MPL-1.1.html |
---|
19 | * |
---|
20 | * == END LICENSE == |
---|
21 | * |
---|
22 | * Source editor dialog window. |
---|
23 | --> |
---|
24 | <html> |
---|
25 | <head> |
---|
26 | <title>Source</title> |
---|
27 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
28 | <meta name="robots" content="noindex, nofollow"> |
---|
29 | <link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> |
---|
30 | <script language="javascript"> |
---|
31 | |
---|
32 | var oEditor = window.parent.InnerDialogLoaded() ; |
---|
33 | var FCK = oEditor.FCK ; |
---|
34 | var FCKConfig = oEditor.FCKConfig ; |
---|
35 | |
---|
36 | window.onload = function() |
---|
37 | { |
---|
38 | // EnableXHTML and EnableSourceXHTML has been deprecated |
---|
39 | // document.getElementById('txtSource').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ; |
---|
40 | document.getElementById('txtSource').value = FCK.GetXHTML( FCKConfig.FormatSource ) ; |
---|
41 | |
---|
42 | // Activate the "OK" button. |
---|
43 | window.parent.SetOkButton( true ) ; |
---|
44 | } |
---|
45 | |
---|
46 | //#### The OK button was hit. |
---|
47 | function Ok() |
---|
48 | { |
---|
49 | if ( oEditor.FCKBrowserInfo.IsIE ) |
---|
50 | oEditor.FCKUndo.SaveUndoStep() ; |
---|
51 | |
---|
52 | FCK.SetHTML( document.getElementById('txtSource').value, false ) ; |
---|
53 | |
---|
54 | return true ; |
---|
55 | } |
---|
56 | </script> |
---|
57 | </head> |
---|
58 | <body scroll="no" style="OVERFLOW: hidden"> |
---|
59 | <table width="100%" height="100%"> |
---|
60 | <tr> |
---|
61 | <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> |
---|
62 | </tr> |
---|
63 | </table> |
---|
64 | </body> |
---|
65 | </html> |
---|