[geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor fckdebug.html, 1.5, 1.6 fckdialog.html, 1.5, 1.6 fckeditor.html, 1.6, 1.7 fckeditor.original.html, 1.6, 1.7

Blaine Lang blaine at qs1489.pair.com
Sun May 4 20:35:28 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor
In directory qs1489.pair.com:/tmp/cvs-serv85146/editor

Modified Files:
	fckdebug.html fckdialog.html fckeditor.html 
	fckeditor.original.html 
Log Message:
Upgraded the FCKeditor to version 2.6 Final - latest release April 7/08

Index: fckdialog.html
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/fckdialog.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** fckdialog.html	9 Feb 2008 12:53:58 -0000	1.5
--- fckdialog.html	5 May 2008 00:35:24 -0000	1.6
***************
*** 1,6 ****
! <!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
   *
   * == BEGIN LICENSE ==
--- 1,6 ----
! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
[...1063 lines suppressed...]
! 		<div class="tl"></div>
! 		<div class="tc"></div>
! 		<div class="tr"></div>
! 		<div class="ml"></div>
! 		<div class="mr"></div>
! 		<div class="bl"></div>
! 		<div class="bc"></div>
! 		<div class="br"></div>
! 		<div class="cover" id="cover" style="display:none"></div>
! 		<div id="throbberBlock" style="position: absolute; visibility: hidden"></div>
! 		<script type="text/javascript">
! 			// Set the class name for language direction.
! 			document.body.className += ' ' + langDir ;
! 
! 			var cover = $( 'cover' ) ;
! 			cover.style.backgroundColor = FCKConfig.BackgroundBlockerColor ;
! 			FCKDomTools.SetOpacity( cover, FCKConfig.BackgroundBlockerOpacity ) ;
! 		</script>
  	</body>
  </html>

Index: fckeditor.original.html
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/fckeditor.original.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** fckeditor.original.html	9 Feb 2008 12:53:58 -0000	1.6
--- fckeditor.original.html	5 May 2008 00:35:24 -0000	1.7
***************
*** 2,6 ****
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2007 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
--- 2,6 ----
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2008 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
***************
*** 28,35 ****
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  	<!-- @Packager.RemoveLine
! 	<meta http-equiv="Cache-Control" content="public" />
  	@Packager.RemoveLine -->
  	<script type="text/javascript">
  
  // Instead of loading scripts and CSSs using inline tags, all scripts are
  // loaded by code. In this way we can guarantee the correct processing order,
--- 28,75 ----
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  	<!-- @Packager.RemoveLine
! 	<meta http-equiv="Cache-Control" content="public">
  	@Packager.RemoveLine -->
  	<script type="text/javascript">
  
+ // Save a reference to the default domain.
+ var FCK_ORIGINAL_DOMAIN ;
+ 
+ // Automatically detect the correct document.domain (#123).
+ (function()
+ {
+ 	var d = FCK_ORIGINAL_DOMAIN = document.domain ;
+ 
+ 	while ( true )
+ 	{
+ 		// Test if we can access a parent property.
+ 		try
+ 		{
+ 			var test = window.parent.document.domain ;
+ 			break ;
+ 		}
+ 		catch( e ) {}
+ 
+ 		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
+ 		d = d.replace( /.*?(?:\.|$)/, '' ) ;
+ 
+ 		if ( d.length == 0 )
+ 			break ;		// It was not able to detect the domain.
+ 
+ 		try
+ 		{
+ 			document.domain = d ;
+ 		}
+ 		catch (e)
+ 		{
+ 			break ;
+ 		}
+ 	}
+ })() ;
+ 
+ // Save a reference to the detected runtime domain.
+ var FCK_RUNTIME_DOMAIN = document.domain ;
+ 
+ var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ;
+ 
  // Instead of loading scripts and CSSs using inline tags, all scripts are
  // loaded by code. In this way we can guarantee the correct processing order,
***************
*** 42,50 ****
  }
  
- function LoadCss( url )
- {
- 	document.write( '<link href="' + url + '" type="text/css" rel="stylesheet" />' ) ;
- }
- 
  // Main editor scripts.
  var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ;
--- 82,85 ----
***************
*** 142,146 ****
  LoadScript( '_source/internals/fcktoolbarset.js' ) ;
  LoadScript( '_source/internals/fckdialog.js' ) ;
- LoadScript( '_source/internals/fckdialog_' + sSuffix + '.js' ) ;
  LoadScript( '_source/classes/fckmenuitem.js' ) ;
  LoadScript( '_source/classes/fckmenublock.js' ) ;
--- 177,180 ----
***************
*** 148,151 ****
--- 182,186 ----
  LoadScript( '_source/classes/fckcontextmenu.js' ) ;
  LoadScript( '_source/internals/fck_contextmenu.js' ) ;
+ LoadScript( '_source/classes/fckhtmliterator.js' ) ;
  LoadScript( '_source/classes/fckplugin.js' ) ;
  LoadScript( '_source/internals/fckplugins.js' ) ;
***************
*** 159,162 ****
--- 194,201 ----
  	<script type="text/javascript">
  
+ // Adobe AIR compatibility file.
+ if ( FCKBrowserInfo.IsAIR )
+ 	LoadScript( 'js/fckadobeair.js' ) ;
+ 
  if ( FCKBrowserInfo.IsIE )
  {
***************
*** 199,204 ****
  FCKConfig_PreProcess() ;
  
  // Load the active skin CSS.
! LoadCss( FCKConfig.SkinPath + 'fck_editor.css' ) ;
  
  // Load the language file.
--- 238,256 ----
  FCKConfig_PreProcess() ;
  
+ var FCK_InternalCSS			= FCKConfig.FullBasePath + 'css/fck_internal.css' ;					// @Packager.RemoveLine
+ var FCK_ShowTableBordersCSS	= FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ;	// @Packager.RemoveLine
+ /* @Packager.RemoveLine
+ // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor
+ 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:ur
 l(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{back
 ground-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)}' ) ;
+ 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}' ) ;
+ @Packager.RemoveLine */
+ 
+ // Popup the debug window if debug mode is set to true. It guarantees that the
+ // first debug message will not be lost.
+ if ( FCKConfig.Debug )
+ 	FCKDebug._GetWindow() ;
+ 
  // Load the active skin CSS.
! document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ;
  
  // Load the language file.
***************
*** 282,292 ****
  }
  
! // Gecko browsers doens't calculate well that IFRAME size so we must
  // recalculate it every time the window size changes.
! if ( FCKBrowserInfo.IsGecko )
  {
! 	function Window_OnResize()
  	{
! 		if ( FCKBrowserInfo.IsOpera )
  			return ;
  
--- 334,347 ----
  }
  
! // Gecko browsers doesn't calculate well the IFRAME size so we must
  // recalculate it every time the window size changes.
! if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )
  {
! 	window.onresize = function( e )
  	{
! 		// Running in Chrome makes the window receive the event including subframes.
! 		// we care only about this window. Ticket #1642.
! 		// #2002: The originalTarget from the event can be the current document, the window, or the editing area.
! 		if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
  			return ;
  
***************
*** 296,304 ****
  		if ( eInnerElement )
  		{
! 			eInnerElement.style.height = 0 ;
! 			eInnerElement.style.height = oCell.scrollHeight - 2 ;
  		}
  	}
- 	window.onresize = Window_OnResize ;
  }
  
--- 351,358 ----
  		if ( eInnerElement )
  		{
! 			eInnerElement.style.height = '0px' ;
! 			eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ;
  		}
  	}
  }
  

Index: fckeditor.html
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/fckeditor.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** fckeditor.html	9 Feb 2008 12:53:58 -0000	1.6
--- fckeditor.html	5 May 2008 00:35:24 -0000	1.7
***************
*** 2,6 ****
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2007 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
--- 2,6 ----
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2008 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
***************
*** 27,33 ****
  	<meta name="robots" content="noindex, nofollow">
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
! 	<meta http-equiv="Cache-Control" content="public" />
  	<script type="text/javascript">
  
  // Instead of loading scripts and CSSs using inline tags, all scripts are
  // loaded by code. In this way we can guarantee the correct processing order,
--- 27,73 ----
  	<meta name="robots" content="noindex, nofollow">
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
! 	<meta http-equiv="Cache-Control" content="public">
  	<script type="text/javascript">
  
+ // Save a reference to the default domain.
+ var FCK_ORIGINAL_DOMAIN ;
+ 
+ // Automatically detect the correct document.domain (#123).
+ (function()
+ {
+ 	var d = FCK_ORIGINAL_DOMAIN = document.domain ;
+ 
+ 	while ( true )
+ 	{
+ 		// Test if we can access a parent property.
+ 		try
+ 		{
+ 			var test = window.parent.document.domain ;
+ 			break ;
+ 		}
+ 		catch( e ) {}
+ 
+ 		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
+ 		d = d.replace( /.*?(?:\.|$)/, '' ) ;
+ 
+ 		if ( d.length == 0 )
+ 			break ;		// It was not able to detect the domain.
+ 
+ 		try
+ 		{
+ 			document.domain = d ;
+ 		}
+ 		catch (e)
+ 		{
+ 			break ;
+ 		}
+ 	}
+ })() ;
+ 
+ // Save a reference to the detected runtime domain.
+ var FCK_RUNTIME_DOMAIN = document.domain ;
+ 
+ var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ;
+ 
  // Instead of loading scripts and CSSs using inline tags, all scripts are
  // loaded by code. In this way we can guarantee the correct processing order,
***************
*** 40,48 ****
  }
  
- function LoadCss( url )
- {
- 	document.write( '<link href="' + url + '" type="text/css" rel="stylesheet" />' ) ;
- }
- 
  // Main editor scripts.
  var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ;
--- 80,83 ----
***************
*** 56,59 ****
--- 91,98 ----
  	<script type="text/javascript">
  
+ // Adobe AIR compatibility file.
+ if ( FCKBrowserInfo.IsAIR )
+ 	LoadScript( 'js/fckadobeair.js' ) ;
+ 
  if ( FCKBrowserInfo.IsIE )
  {
***************
*** 96,101 ****
  FCKConfig_PreProcess() ;
  
  // Load the active skin CSS.
! LoadCss( FCKConfig.SkinPath + 'fck_editor.css' ) ;
  
  // Load the language file.
--- 135,149 ----
  FCKConfig_PreProcess() ;
  
+ // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor
+ 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:ur
 l(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{back
 ground-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)}' ) ;
+ 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}' ) ;
+ 
+ // Popup the debug window if debug mode is set to true. It guarantees that the
+ // first debug message will not be lost.
+ if ( FCKConfig.Debug )
+ 	FCKDebug._GetWindow() ;
+ 
  // Load the active skin CSS.
! document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ;
  
  // Load the language file.
***************
*** 179,189 ****
  }
  
! // Gecko browsers doens't calculate well that IFRAME size so we must
  // recalculate it every time the window size changes.
! if ( FCKBrowserInfo.IsGecko )
  {
! 	function Window_OnResize()
  	{
! 		if ( FCKBrowserInfo.IsOpera )
  			return ;
  
--- 227,240 ----
  }
  
! // Gecko browsers doesn't calculate well the IFRAME size so we must
  // recalculate it every time the window size changes.
! if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )
  {
! 	window.onresize = function( e )
  	{
! 		// Running in Chrome makes the window receive the event including subframes.
! 		// we care only about this window. Ticket #1642.
! 		// #2002: The originalTarget from the event can be the current document, the window, or the editing area.
! 		if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
  			return ;
  
***************
*** 193,201 ****
  		if ( eInnerElement )
  		{
! 			eInnerElement.style.height = 0 ;
! 			eInnerElement.style.height = oCell.scrollHeight - 2 ;
  		}
  	}
- 	window.onresize = Window_OnResize ;
  }
  
--- 244,251 ----
  		if ( eInnerElement )
  		{
! 			eInnerElement.style.height = '0px' ;
! 			eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ;
  		}
  	}
  }
  

Index: fckdebug.html
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/fckdebug.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** fckdebug.html	9 Feb 2008 12:53:58 -0000	1.5
--- fckdebug.html	5 May 2008 00:35:24 -0000	1.6
***************
*** 2,6 ****
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2007 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
--- 2,6 ----
  <!--
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2008 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==




More information about the geeklog-cvs mailing list