Ticket #1622: 1622_6.patch
File 1622_6.patch, 26.0 KB (added by , 17 years ago) |
---|
-
editor/_source/classes/fckcontextmenu.js
26 26 this.CtrlDisable = false ; 27 27 28 28 var oPanel = this._Panel = new FCKPanel( parentWindow ) ; 29 oPanel.AppendStyleSheet( FCKConfig.Skin Path + 'fck_editor.css') ;29 oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; 30 30 oPanel.IsContextMenu = true ; 31 31 32 32 // The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla -
editor/_source/classes/fckmenublockpanel.js
36 36 FCKMenuBlockPanel.prototype.Create = function() 37 37 { 38 38 var oPanel = this.Panel = ( this.Parent && this.Parent.Panel ? this.Parent.Panel.CreateChildPanel() : new FCKPanel() ) ; 39 oPanel.AppendStyleSheet( FCKConfig.Skin Path + 'fck_editor.css') ;39 oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; 40 40 41 41 // Call the "base" implementation. 42 42 FCKMenuBlock.prototype.Create.call( this, oPanel.MainNode ) ; -
editor/_source/classes/fckspecialcombo.js
37 37 this.Items = new Object() ; 38 38 39 39 this._Panel = new FCKPanel( parentWindow || window ) ; 40 this._Panel.AppendStyleSheet( FCKConfig.Skin Path + 'fck_editor.css') ;40 this._Panel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; 41 41 this._PanelBox = this._Panel.MainNode.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; 42 42 this._PanelBox.className = 'SC_Panel' ; 43 43 this._PanelBox.style.width = this.PanelWidth + 'px' ; -
editor/_source/commandclasses/fcktextcolorcommand.js
39 39 oWindow = window.parent ; 40 40 41 41 this._Panel = new FCKPanel( oWindow ) ; 42 this._Panel.AppendStyleSheet( FCKConfig.Skin Path + 'fck_editor.css') ;42 this._Panel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; 43 43 this._Panel.MainNode.className = 'FCK_Panel' ; 44 44 this._CreatePanelBody( this._Panel.Document, this._Panel.MainNode ) ; 45 45 FCK.ToolbarSet.ToolbarItems.GetItem( this.Name ).RegisterPanel( this._Panel ) ; -
editor/_source/internals/fck.js
439 439 if ( FCKBrowserInfo.IsIE ) 440 440 sHeadExtra += FCK._GetBehaviorsStyle() ; 441 441 else if ( FCKConfig.ShowBorders ) 442 sHeadExtra += '<link href="' + FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css" rel="stylesheet" type="text/css" _fcktemp="true" />';442 sHeadExtra += FCKTools.GetStyleHtml( FCK_ShowTableBordersCSS, true ) ; 443 443 444 sHeadExtra += '<link href="' + FCKConfig.FullBasePath + 'css/fck_internal.css" rel="stylesheet" type="text/css" _fcktemp="true" />';444 sHeadExtra += FCKTools.GetStyleHtml( FCK_InternalCSS, true ) ; 445 445 446 446 // Attention: do not change it before testing it well (sample07)! 447 447 // This is tricky... if the head ends with <meta ... content type>, … … 970 970 971 971 function _FCK_GetEditorAreaStyleTags() 972 972 { 973 var sTags = '' ; 974 var aCSSs = FCKConfig.EditorAreaCSS ; 975 var sStyles = FCKConfig.EditorAreaStyles ; 976 977 for ( var i = 0 ; i < aCSSs.length ; i++ ) 978 sTags += '<link href="' + aCSSs[i] + '" rel="stylesheet" type="text/css" />' ; 979 980 if ( sStyles && sStyles.length > 0 ) 981 sTags += "<style>" + sStyles + "</style>" ; 982 983 return sTags ; 973 return FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) + 974 FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ; 984 975 } 985 976 986 977 function _FCK_KeystrokeHandler_OnKeystroke( keystroke, keystrokeValue ) -
editor/_source/internals/fckconfig.js
131 131 if ( !oConfig.PluginsPath.EndsWith('/') ) 132 132 oConfig.PluginsPath += '/' ; 133 133 134 // EditorAreaCSS accepts a single path string, a list of paths separated by 135 // a comma or and array of paths. 136 // In the string cases, transform it in an array. 137 if ( typeof( oConfig.EditorAreaCSS ) == 'string' ) 138 oConfig.EditorAreaCSS = oConfig.EditorAreaCSS.split(',') ; 139 134 // If no ToolbarComboPreviewCSS, point it to EditorAreaCSS. 140 135 var sComboPreviewCSS = oConfig.ToolbarComboPreviewCSS ; 141 136 if ( !sComboPreviewCSS || sComboPreviewCSS.length == 0 ) 142 137 oConfig.ToolbarComboPreviewCSS = oConfig.EditorAreaCSS ; 143 else if ( typeof( sComboPreviewCSS ) == 'string' )144 oConfig.ToolbarComboPreviewCSS = [ sComboPreviewCSS ] ;145 138 } 146 139 147 140 // Define toolbar sets collection. -
editor/_source/internals/fcktoolbarset.js
121 121 122 122 // Load external resources (must be done here, otherwise Firefox will not 123 123 // have the document DOM ready to be used right away. 124 FCKTools.AppendStyleSheet( eTargetDocument, FCKConfig.Skin Path + 'fck_editor.css') ;124 FCKTools.AppendStyleSheet( eTargetDocument, FCKConfig.SkinEditorCSS ) ; 125 125 126 126 oToolbarSet = eToolbarTarget.__FCKToolbarSet = new FCKToolbarSet( eTargetDocument ) ; 127 127 oToolbarSet._IFrame = eToolbarIFrame ; -
editor/_source/internals/fcktools.js
31 31 return eBR ; 32 32 } 33 33 34 // Returns a reference to the appended style sheet or an array with all the appended references 35 FCKTools.AppendStyleSheet = function( documentElement, cssFileUrlOrArray ) 34 /** 35 * Fixes relative URL entries defined inside CSS styles by appending a prefix 36 * to them. 37 * @param (String) cssStyles The CSS styles definition possibly containing url() 38 * paths. 39 * @param (String) urlFixPrefix The prefix to append to relative URLs. 40 */ 41 FCKTools.FixCssUrls = function( urlFixPrefix, cssStyles ) 36 42 { 37 if ( typeof( cssFileUrlOrArray ) == 'string' ) 38 return this._AppendStyleSheet( documentElement, cssFileUrlOrArray ) ; 43 if ( !urlFixPrefix || urlFixPrefix.length == 0 ) 44 return cssStyles ; 45 46 return cssStyles.replace( /url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g, function( match, opener, path, closer ) 47 { 48 if ( /^\/|^\w?:/.test() ) 49 return match ; 50 else 51 return 'url(' + opener + urlFixPrefix + path + closer + ')' ; 52 } ) ; 53 } 54 55 FCKTools._GetUrlFixedCss = function( cssStyles, urlFixPrefix ) 56 { 57 var match = cssStyles.match( /^([^|]+)\|([\s\S]*)/ ) ; 58 59 if ( match ) 60 return FCKTools.FixCssUrls( match[1], match[2] ) ; 39 61 else 40 {41 var aStyleSheeArray = new Array() ; 62 return cssStyles ; 63 } 42 64 43 for ( var i = 0 ; i < cssFileUrlOrArray.length ; i++ ) 44 aStyleSheeArray.push(this._AppendStyleSheet( documentElement, cssFileUrlOrArray[i] ) ) ; 65 /** 66 * Appends a <link css> or <style> element to the document. 67 * @param (Object) documentElement The DOM document object to which append the 68 * stylesheet. 69 * @param (Variant) cssFileOrDef A String pointing to the CSS file URL or an 70 * Array with many CSS file URLs or the CSS definitions for the <style> 71 * element. 72 * @return {Array} An array containing all elements created in the target 73 * document. It may include <link> or <style> elements, depending on the 74 * value passed with cssFileOrDef. 75 */ 76 FCKTools.AppendStyleSheet = function( domDocument, cssFileOrArrayOrDef ) 77 { 78 if ( !cssFileOrArrayOrDef ) 79 return [] ; 45 80 46 return aStyleSheeArray ; 81 if ( typeof( cssFileOrArrayOrDef ) == 'string' ) 82 { 83 // Test if the passed argument is an URL. 84 if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) 85 { 86 // The string may have several URLs separated by comma. 87 return this.AppendStyleSheet( domDocument, cssFileOrArrayOrDef.split(',') ) ; 88 } 89 else 90 return [ this.AppendStyleString( domDocument, FCKTools._GetUrlFixedCss( cssFileOrArrayOrDef ) ) ] ; 47 91 } 92 else 93 { 94 var styles = [] ; 95 for ( var i = 0 ; i < cssFileOrArrayOrDef.length ; i++ ) 96 styles.push( this._AppendStyleSheet( domDocument, cssFileOrArrayOrDef[i] ) ) ; 97 return styles ; 98 } 48 99 } 49 100 50 FCKTools. AppendStyleString = function ( documentElement, cssStyles)101 FCKTools.GetStyleHtml = (function() 51 102 { 52 this._AppendStyleString( documentElement, cssStyles ) ; 53 } 103 var getStyle = function( styleDef, markTemp ) 104 { 105 if ( styleDef.length == 0 ) 106 return '' ; 54 107 108 var temp = markTemp ? ' _fcktemp="true"' : '' ; 109 return '<' + 'style type="text/css"' + temp + '>' + styleDef + '<' + '/style>' ; 110 } 111 112 var getLink = function( cssFileUrl, markTemp ) 113 { 114 if ( cssFileUrl.length == 0 ) 115 return '' ; 116 117 var temp = markTemp ? ' _fcktemp="true"' : '' ; 118 return '<' + 'link href="' + cssFileUrl + '" type="text/css" rel="stylesheet" ' + temp + '/>' ; 119 } 120 121 return function( cssFileOrArrayOrDef, markTemp ) 122 { 123 if ( !cssFileOrArrayOrDef ) 124 return '' ; 125 126 if ( typeof( cssFileOrArrayOrDef ) == 'string' ) 127 { 128 // Test if the passed argument is an URL. 129 if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) 130 { 131 // The string may have several URLs separated by comma. 132 return this.GetStyleHtml( cssFileOrArrayOrDef.split(',') ) ; 133 } 134 else 135 return getStyle( this._GetUrlFixedCss( cssFileOrArrayOrDef ), markTemp ) ; 136 } 137 else 138 { 139 var html = '' ; 140 141 for ( var i = 0 ; i < cssFileOrArrayOrDef.length ; i++ ) 142 html += getLink( cssFileOrArrayOrDef[i], markTemp ) ; 143 144 return html ; 145 } 146 } 147 })() ; 148 55 149 FCKTools.GetElementDocument = function ( element ) 56 150 { 57 151 return element.ownerDocument || element.document ; -
editor/_source/internals/fcktools_gecko.js
49 49 } 50 50 51 51 // Appends a CSS style string to a document. 52 FCKTools. _AppendStyleString = function( documentElement, cssStyles )52 FCKTools.AppendStyleString = function( documentElement, cssStyles ) 53 53 { 54 if ( !cssStyles ) 55 return ; 56 54 57 var e = documentElement.createElement( "STYLE" ) ; 55 58 e.appendChild( documentElement.createTextNode( cssStyles ) ) ; 56 59 documentElement.getElementsByTagName( "HEAD" )[0].appendChild( e ) ; -
editor/_source/internals/fcktools_ie.js
33 33 } 34 34 35 35 // Appends a CSS style string to a document. 36 FCKTools. _AppendStyleString = function( documentElement, cssStyles )36 FCKTools.AppendStyleString = function( documentElement, cssStyles ) 37 37 { 38 if ( !cssStyles ) 39 return ; 40 38 41 var s = documentElement.createStyleSheet( "" ) ; 39 42 s.cssText = cssStyles ; 40 43 return s ; -
editor/css/fck_internal.css
21 21 * This CSS Style Sheet defines rules used by the editor for its internal use. 22 22 */ 23 23 24 /* ######### 25 * WARNING 26 * ######### 27 * When changing this file, the minified version of it must be updated in the 28 * fckeditor.html file (see FCK_InternalCSS). 29 */ 30 24 31 /* Fix to allow putting the caret at the end of the content in Firefox if 25 32 clicking below the content. */ 26 33 html -
editor/css/fck_showtableborders_gecko.css
21 21 * This CSS Style Sheet defines the rules to show table borders on Gecko. 22 22 */ 23 23 24 /* ######### 25 * WARNING 26 * ######### 27 * When changing this file, the minified version of it must be updated in the 28 * fckeditor.html file (see FCK_ShowTableBordersCSS). 29 */ 30 24 31 /* For tables with the "border" attribute set to "0" */ 25 32 table[border="0"], 26 33 table[border="0"] > tr > td, table[border="0"] > tr > th, -
editor/dialog/common/fck_dialog_common.css
22 22 * windows. 23 23 */ 24 24 25 /* ######### 26 * WARNING 27 * ######### 28 * When changing this file, the minified version of it must be updated in the 29 * fck_dialog_common.js file (see GetCommonDialogCss). 30 */ 31 25 32 .ImagePreviewArea 26 33 { 27 34 border: #000000 1px solid; -
editor/dialog/common/fck_dialog_common.js
54 54 } 55 55 })() ; 56 56 57 // Attention: FCKConfig must be available in the page. 58 function GetCommonDialogCss( prefix ) 59 { 60 return ( prefix || '' ) + 'common/fck_dialog_common.css' ; // @Packager.RemoveLine 61 /* @Packager.RemoveLine 62 // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor 63 return FCKConfig.BasePath + 'dialog/common/' + '|.ImagePreviewArea{border:#000 1px solid;overflow:auto;width:100%;height:170px;background-color:#fff}.FlashPreviewArea{border:#000 1px solid;padding:5px;overflow:auto;width:100%;height:170px;background-color:#fff}.BtnReset{float:left;background-position:center center;background-image:url(images/reset.gif);width:16px;height:16px;background-repeat:no-repeat;border:1px none;font-size:1px}.BtnLocked,.BtnUnlocked{float:left;background-position:center center;background-image:url(images/locked.gif);width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.BtnUnlocked{background-image:url(images/unlocked.gif)}.BtnOver{border:outset 1px;cursor:hand}' ; 64 @Packager.RemoveLine */ 65 } 66 57 67 // Gets a element by its Id. Used for shorter coding. 58 68 function GetE( elementId ) 59 69 { -
editor/dialog/fck_flash.html
28 28 <meta content="noindex, nofollow" name="robots"> 29 29 <script src="common/fck_dialog_common.js" type="text/javascript"></script> 30 30 <script src="fck_flash/fck_flash.js" type="text/javascript"></script> 31 <link href="common/fck_dialog_common.css" type="text/css" rel="stylesheet"> 31 <script type="text/javascript"> 32 33 document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ; 34 35 </script> 32 36 </head> 33 37 <body scroll="no" style="OVERFLOW: hidden"> 34 38 <div id="divInfo"> -
editor/dialog/fck_flash/fck_flash.js
26 26 var FCK = oEditor.FCK ; 27 27 var FCKLang = oEditor.FCKLang ; 28 28 var FCKConfig = oEditor.FCKConfig ; 29 var FCKTools = oEditor.FCKTools ; 29 30 30 31 //#### Dialog Tabs 31 32 -
editor/dialog/fck_flash/fck_flash_preview.html
26 26 <title></title> 27 27 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 28 28 <meta name="robots" content="noindex, nofollow"> 29 <link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" />30 29 <script src="../common/fck_dialog_common.js" type="text/javascript"></script> 31 30 <script language="javascript"> 32 31 32 var FCKTools = window.parent.FCKTools ; 33 var FCKConfig = window.parent.FCKConfig ; 34 33 35 // Sets the Skin CSS 34 document.write( '<link href="' + window.parent.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; 36 document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; 37 document.write( FCKTools.GetStyleHtml( GetCommonDialogCss( '../' ) ) ) ; 35 38 36 39 if ( window.parent.FCKConfig.BaseHref.length > 0 ) 37 40 document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ; -
editor/dialog/fck_image.html
28 28 <meta name="robots" content="noindex, nofollow" /> 29 29 <script src="common/fck_dialog_common.js" type="text/javascript"></script> 30 30 <script src="fck_image/fck_image.js" type="text/javascript"></script> 31 <link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> 31 <script type="text/javascript"> 32 33 document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ; 34 35 </script> 32 36 </head> 33 37 <body scroll="no" style="overflow: hidden"> 34 38 <div id="divInfo"> -
editor/dialog/fck_image/fck_image.js
27 27 var FCKLang = oEditor.FCKLang ; 28 28 var FCKConfig = oEditor.FCKConfig ; 29 29 var FCKDebug = oEditor.FCKDebug ; 30 var FCKTools = oEditor.FCKTools ; 30 31 31 32 var bImageButton = ( document.location.search.length > 0 && document.location.search.substr(1) == 'ImageButton' ) ; 32 33 -
editor/dialog/fck_image/fck_image_preview.html
28 28 <title></title> 29 29 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 30 30 <meta name="robots" content="noindex, nofollow" /> 31 <link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" />32 31 <script src="../common/fck_dialog_common.js" type="text/javascript"></script> 33 32 <script type="text/javascript"> 34 33 34 var FCKTools = window.parent.FCKTools ; 35 var FCKConfig = window.parent.FCKConfig ; 36 35 37 // Sets the Skin CSS 36 document.write( '<link href="' + window.parent.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; 38 document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; 39 document.write( FCKTools.GetStyleHtml( GetCommonDialogCss( '../' ) ) ) ; 37 40 38 41 if ( window.parent.FCKConfig.BaseHref.length > 0 ) 39 42 document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ; -
editor/dialog/fck_source.html
26 26 <title>Source</title> 27 27 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 28 28 <meta name="robots" content="noindex, nofollow"> 29 < link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" />29 <script src="common/fck_dialog_common.js" type="text/javascript"></script> 30 30 <script language="javascript"> 31 31 32 32 var oEditor = window.parent.InnerDialogLoaded() ; 33 33 var FCK = oEditor.FCK ; 34 34 var FCKConfig = oEditor.FCKConfig ; 35 var FCKTools = oEditor.FCKTools ; 35 36 37 document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ; 38 36 39 window.onload = function() 37 40 { 38 41 // EnableXHTML and EnableSourceXHTML has been deprecated -
editor/fckdialog.html
82 82 window.focus() ; 83 83 84 84 // Sets the Skin CSS 85 document.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">') ;85 document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; 86 86 87 87 // Sets the language direction. 88 88 var langDir = window.document.dir = E.FCKLang.Dir ; … … 643 643 innerDoc.dir = langDir ; 644 644 645 645 // Sets the Skin CSS. 646 innerDoc.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">') ;646 innerDoc.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; 647 647 648 648 setOnKeyDown( innerDoc ) ; 649 649 disableContextMenu( innerDoc ) ; -
editor/fckeditor.html
81 81 document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ; 82 82 } 83 83 84 function LoadCss( url )85 {86 document.write( '<link href="' + url + '" type="text/css" rel="stylesheet" />' ) ;87 }88 89 84 // Main editor scripts. 90 85 var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ; 91 86 … … 242 237 243 238 FCKConfig_PreProcess() ; 244 239 240 var FCK_InternalCSS = FCKConfig.FullBasePath + 'css/fck_internal.css' ; // @Packager.RemoveLine 241 var FCK_ShowTableBordersCSS = FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ; // @Packager.RemoveLine 242 /* @Packager.RemoveLine 243 // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor 244 var FCK_InternalCSS = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'html{min-height:100%}table.FCK__ShowTableBorders,table.FCK__ShowTableBorders td,table.FCK__ShowTableBorders th{border:#d3d3d3 1px solid}form{border:1px dotted #F00;padding:2px}.FCK__Flash{border:#a9a9a9 1px solid;background-position:center center;background-image:url(images/fck_flashlogo.gif);background-repeat:no-repeat;width:80px;height:80px}.FCK__Anchor{border:1px dotted #00F;background-position:center center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;width:16px;height:15px;vertical-align:middle}.FCK__AnchorC{border:1px dotted #00F;background-position:1px center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}a[name]{border:1px dotted #00F;background-position:0 center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}.FCK__PageBreak{background-position:center center;background-image:url(images/fck_pagebreak.gif);background-repeat:no-repeat;clear:both;display:block;float:none;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;border-right:0;border-left:0;height:5px}.FCK__InputHidden{width:19px;height:18px;background-image:url(images/fck_hiddenfield.gif);background-repeat:no-repeat;vertical-align:text-bottom;background-position:center center}.FCK__ShowBlocks p,.FCK__ShowBlocks div,.FCK__ShowBlocks pre,.FCK__ShowBlocks address,.FCK__ShowBlocks blockquote,.FCK__ShowBlocks h1,.FCK__ShowBlocks h2,.FCK__ShowBlocks h3,.FCK__ShowBlocks h4,.FCK__ShowBlocks h5,.FCK__ShowBlocks h6{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px;padding-left:8px}.FCK__ShowBlocks p{background-image:url(images/block_p.png)}.FCK__ShowBlocks div{background-image:url(images/block_div.png)}.FCK__ShowBlocks pre{background-image:url(images/block_pre.png)}.FCK__ShowBlocks address{background-image:url(images/block_address.png)}.FCK__ShowBlocks blockquote{background-image:url(images/block_blockquote.png)}.FCK__ShowBlocks h1{background-image:url(images/block_h1.png)}.FCK__ShowBlocks h2{background-image:url(images/block_h2.png)}.FCK__ShowBlocks h3{background-image:url(images/block_h3.png)}.FCK__ShowBlocks h4{background-image:url(images/block_h4.png)}.FCK__ShowBlocks h5{background-image:url(images/block_h5.png)}.FCK__ShowBlocks h6{background-image:url(images/block_h6.png)}' ) ; 245 var FCK_ShowTableBordersCSS = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'table:not([border]),table:not([border]) > tr > td,table:not([border]) > tr > th,table:not([border]) > tbody > tr > td,table:not([border]) > tbody > tr > th,table:not([border]) > thead > tr > td,table:not([border]) > thead > tr > th,table:not([border]) > tfoot > tr > td,table:not([border]) > tfoot > tr > th,table[border=\"0\"],table[border=\"0\"] > tr > td,table[border=\"0\"] > tr > th,table[border=\"0\"] > tbody > tr > td,table[border=\"0\"] > tbody > tr > th,table[border=\"0\"] > thead > tr > td,table[border=\"0\"] > thead > tr > th,table[border=\"0\"] > tfoot > tr > td,table[border=\"0\"] > tfoot > tr > th{border:#d3d3d3 1px dotted}' ) ; 246 @Packager.RemoveLine */ 247 245 248 // Popup the debug window if debug mode is set to true. It guarantees that the 246 249 // first debug message will not be lost. 247 250 if ( FCKConfig.Debug ) 248 251 FCKDebug._GetWindow() ; 249 252 250 253 // Load the active skin CSS. 251 LoadCss( FCKConfig.SkinPath + 'fck_editor.css') ;254 document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ; 252 255 253 256 // Load the language file. 254 257 FCKLanguageManager.Initialize() ; -
fckconfig.js
43 43 FCKConfig.AllowQueryStringDebug = true ; 44 44 45 45 FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; 46 FCKConfig.SkinEditorCSS = FCKConfig.SkinPath + 'fck_editor.css' ; 47 FCKConfig.SkinDialogCSS = FCKConfig.SkinPath + 'fck_dialog.css' ; 48 46 49 FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; 47 50 48 51 FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;