FCKeditor 2.6.6
[freeside.git] / httemplate / elements / fckeditor / editor / dialog / fck_flash / fck_flash_preview.html
index ad3a0a1..68a4c79 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
 <!--\r
  * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2007 Frederico Caldeira Knabben\r
+ * Copyright (C) 2003-2010 Frederico Caldeira Knabben\r
  *\r
  * == BEGIN LICENSE ==\r
  *\r
                <title></title>\r
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
                <meta name="robots" content="noindex, nofollow">\r
-               <link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" />\r
+               <script src="../common/fck_dialog_common.js" type="text/javascript"></script>\r
                <script language="javascript">\r
 \r
+var FCKTools   = window.parent.FCKTools ;\r
+var FCKConfig  = window.parent.FCKConfig ;\r
+\r
 // Sets the Skin CSS\r
-document.write( '<link href="' + window.parent.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;\r
+document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ;\r
+document.write( FCKTools.GetStyleHtml( GetCommonDialogCss( '../' ) ) ) ;\r
 \r
 if ( window.parent.FCKConfig.BaseHref.length > 0 )\r
        document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ;\r