summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/fck_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/dialog/fck_source.html')
-rw-r--r--httemplate/elements/fckeditor/editor/dialog/fck_source.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/httemplate/elements/fckeditor/editor/dialog/fck_source.html b/httemplate/elements/fckeditor/editor/dialog/fck_source.html
index aba9b395f..0782c653e 100644
--- a/httemplate/elements/fckeditor/editor/dialog/fck_source.html
+++ b/httemplate/elements/fckeditor/editor/dialog/fck_source.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ * Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
@@ -26,12 +26,15 @@
<title>Source</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
- <link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
+ <script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script language="javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKConfig = oEditor.FCKConfig ;
+var FCKTools = oEditor.FCKTools ;
+
+document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
window.onload = function()
{
@@ -49,7 +52,7 @@ function Ok()
if ( oEditor.FCKBrowserInfo.IsIE )
oEditor.FCKUndo.SaveUndoStep() ;
- FCK.SetHTML( document.getElementById('txtSource').value, false ) ;
+ FCK.SetData( document.getElementById('txtSource').value, false ) ;
return true ;
}