Index: /FCKeditor/branches/developers/alfonsoml/PackageDefinition.xml
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/PackageDefinition.xml	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/PackageDefinition.xml	(revision 141)
@@ -1,5 +1,25 @@
 <?xml version="1.0" encoding="utf-8" ?>
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <Package>
-	
+
 	<OriginalFile sourcePath="editor/fckeditor.html" targetPath="editor/fckeditor.original.html" />
 
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/baseruntime.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/baseruntime.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/baseruntime.html	(revision 141)
@@ -11,5 +11,5 @@
 return ;
 	var base = document.createElement( 'BASE' ) ;
-	
+
 	//var html = '<title></title><base href="http://www.fckeditor.net">' ;
 	document.getElementsByTagName("HEAD")[0].appendChild( base ) ;
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/deletetable.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/deletetable.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/deletetable.html	(revision 141)
@@ -62,5 +62,5 @@
 		<ul>
 			<li>
-			Select the table and hit &lt;DEL&gt; or &lt;BACKSPACE&gt;&nbsp;(actually, there 
+			Select the table and hit &lt;DEL&gt; or &lt;BACKSPACE&gt;&nbsp;(actually, there
 			is no way to select the table).
 			<LI>
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/docwrite.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/docwrite.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/docwrite.html	(revision 141)
@@ -6,5 +6,5 @@
 window.onload = function()
 {
-	var oIFrame = document.createElement('iframe') ; 
+	var oIFrame = document.createElement('iframe') ;
 	oIFrame.frameBorder = 0 ;
 	oIFrame.style.border = '#000000 1px solid' ;
@@ -12,5 +12,5 @@
 
 	document.body.appendChild( oIFrame ) ;
-	
+
 	var oDoc = oIFrame.contentWindow.document ;
 
@@ -20,10 +20,10 @@
 	oDoc.write( '<head><title></title>' ) ;
 
-	oDoc.write( 
+	oDoc.write(
 		'<style type="text/css">' +
 		'B { color: #FF0000; }' +
 		'b { background-color: #FFFF00; }' +
 		'</style>' ) ;
-					
+
 	oDoc.write( '</head><body>' ) ;
 	oDoc.write( 'This is a <b>Test Case</b>.' ) ;
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/geckohistorybug2.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/geckohistorybug2.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/firefox/geckohistorybug2.html	(revision 141)
@@ -5,5 +5,5 @@
 		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
 		<script language="javascript">
-		
+
 window.onload = function()
 {
@@ -18,5 +18,5 @@
 function CreateIFrame()
 {
-	var oIFrame = window.top.document.createElement('iframe') ; 
+	var oIFrame = window.top.document.createElement('iframe') ;
 	oIFrame.src = 'about:blank' ;
     oIFrame.frameBorder		= '0';
@@ -28,7 +28,7 @@
     oIFrame.style.position		= 'absolute';
 	oIFrame.style.visibility	= 'hidden' ;
-	
+
 	window.top.document.body.appendChild( oIFrame ) ;
-	
+
 	var oFrmDocument = oIFrame.contentWindow.document ;
 	oFrmDocument.open() ;
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/ie/autoparagraphbug.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/ie/autoparagraphbug.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/ie/autoparagraphbug.html	(revision 141)
@@ -9,9 +9,9 @@
 {
 	var s = document.body.innerHTML ;
-	
+
 	var t = document.body.appendChild( document.createElement( "TEXTAREA" ) ) ;
 	t.rows = 10 ;
 	t.cols = 80 ;
-	
+
 	t.value = 'IE DOM returns:\n\n' + s ;
 
@@ -19,5 +19,5 @@
 	t.rows = 10 ;
 	t.cols = 80 ;
-	
+
 	t.value = 'Original:\n\n<p>First<hr/>Paragraph</p>\n<p>Second Paragraph</p>' ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/createcontextualfragment.htm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/createcontextualfragment.htm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/createcontextualfragment.htm	(revision 141)
@@ -9,5 +9,5 @@
 	// Get the first available range.
 	var oRange = window.getSelection().getRangeAt(0) ;
-	
+
 	// Create a fragment with the input HTML.
 	var oFragment = oRange.createContextualFragment( html ) ;
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/docopenhistory.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/docopenhistory.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/docopenhistory.html	(revision 141)
@@ -18,5 +18,5 @@
 	oDoc.write( 'Time: <b>' + new Date() + '</b>' ) ;
 	oDoc.write( '</body></html>' ) ;
-	
+
 	oDoc.close() ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/fck_editor.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/fck_editor.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/fck_editor.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the editor IFRAME and Toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="fredck@fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the editor IFRAME and Toolbar.
+ */
 
 /*
@@ -33,5 +49,5 @@
 .TB_ToolbarSet, .TB_Expand, .TB_Collapse
 {
-	cursor: default; 
+	cursor: default;
 	background-color: #efefde;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/querycommandenabled.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/querycommandenabled.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/querycommandenabled.html	(revision 141)
@@ -12,6 +12,6 @@
 	else
 		window.document.attachEvent( 'onkeydown', Document_OnKeyDown ) ;
-	
-	// Enable editing when the page. 
+
+	// Enable editing when the page.
 	if ( (/msie/).test( navigator.userAgent.toLowerCase() ) )
 		document.body.contentEditable = true ;
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/tablecell.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/tablecell.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/tablecell.html	(revision 141)
@@ -1,3 +1,3 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/tablecss2selector.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/tablecss2selector.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/opera/tablecss2selector.html	(revision 141)
@@ -5,10 +5,10 @@
 	<style type="text/css">
 
-	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, 
-	TABLE:not([border]), 
+	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,
+	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,
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/iframefocus/iframefocus.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/iframefocus/iframefocus.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/iframefocus/iframefocus.html	(revision 141)
@@ -8,5 +8,5 @@
 {
 	var eIFrame = document.getElementById('xEditArea') ;
-	
+
 	if ( navigator.userAgent.indexOf( 'Safari' ) >= 0 )
 		eIFrame.focus() ;					// This is the Safari way (only).
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript/default.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript/default.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript/default.html	(revision 141)
@@ -13,6 +13,6 @@
 
 	// Add the new object to the HEAD.
-	document.getElementsByTagName("head")[0].appendChild( e ) ; 
-	
+	document.getElementsByTagName("head")[0].appendChild( e ) ;
+
 	// Load the script.
 	// Gecko fires the "onload" event and IE fires "onreadystatechange"
@@ -30,5 +30,5 @@
 {
 	var oXmlRequest ;
-	
+
 	// IE uses the ActiveX way, gecko the XMLHttpRequest native object.
 	if ( window.ActiveXObject )
@@ -36,13 +36,13 @@
 	else
 		oXmlRequest = new XMLHttpRequest() ;
-	
+
 	// Load the script synchronously.
 	oXmlRequest.open( "GET", 'test.js', false ) ;
 	oXmlRequest.send( null ) ;
-	
+
 	// Evaluate the script.
 	if ( oXmlRequest.status == 200 )
 		eval( oXmlRequest.responseText ) ;
-	
+
 	ShowMessage() ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript/test.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript/test.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript/test.js	(revision 141)
@@ -1,3 +1,3 @@
-var sMsg = 'External Function Call!' ;
+﻿var sMsg = 'External Function Call!' ;
 
 function ShowMessage()
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript2/default.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript2/default.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript2/default.html	(revision 141)
@@ -11,5 +11,5 @@
 	var e = document.createElement( "script" ) ;
 	e.type	= "text/javascript" ;
-	
+
 	// Load the script.
 	// Gecko fires the "onload" event and IE fires "onreadystatechange"
@@ -18,5 +18,5 @@
 
 	// Add the new object to the HEAD.
-	document.getElementsByTagName("head")[0].appendChild( e ) ; 
+	document.getElementsByTagName("head")[0].appendChild( e ) ;
 }
 
@@ -31,5 +31,5 @@
 {
 	var oXmlRequest ;
-	
+
 	// IE uses the ActiveX way, gecko the XMLHttpRequest native object.
 	if ( window.ActiveXObject )
@@ -37,13 +37,13 @@
 	else
 		oXmlRequest = new XMLHttpRequest() ;
-	
+
 	// Load the script synchronously.
 	oXmlRequest.open( "GET", 'test.js', false ) ;
 	oXmlRequest.send( null ) ;
-	
+
 	// Evaluate the script.
 	if ( oXmlRequest.status == 200 )
 		eval( oXmlRequest.responseText ) ;
-	
+
 	ShowMessage() ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript2/test.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript2/test.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/loadscript2/test.js	(revision 141)
@@ -1,3 +1,3 @@
-var sMsg = 'External Function Call!' ;
+﻿var sMsg = 'External Function Call!' ;
 
 function ShowMessage()
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/row_display.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/row_display.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/row_display.html	(revision 141)
@@ -1,3 +1,3 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/table-layout-fixed.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/table-layout-fixed.html	(revision 141)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/table-layout-fixed.html	(revision 141)
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Safari Bug</title>
+</head>
+<body>
+	<div style="width: 100px; border: #000000 5px solid;">
+		<table style="table-layout: fixed;" width="100%">
+			<tr>
+				<td style="width: 100%; background-color: #ff0000;">&nbsp;</td>
+				<td style="width: 10px; background-color: #00ff00;">&nbsp;</td>
+			</tr>
+		</table>
+	</div>
+	<p>
+		Note that, in Safari, the red cell size changes relatively to the green
+		cell size.
+	</p>
+	<div style="width: 100px; border: #000000 5px solid;">
+		<table style="table-layout: fixed;" width="100%">
+			<tr>
+				<td style="width: 100%; background-color: #ff0000;">&nbsp;</td>
+				<td style="width: 30px; background-color: #00ff00;">&nbsp;</td>
+			</tr>
+		</table>
+	</div>
+	<p>
+		The following works propertly because the table doesn't have
+		<b>table-layout:fixed</b> (whithout it, the green cell size is not
+		respected, and this is the expected behavior in this case).
+	</p>
+	<div style="width: 100px; border: #000000 5px solid;">
+		<table width="100%">
+			<tr>
+				<td style="width: 100%; background-color: #ff0000;">&nbsp;</td>
+				<td style="width: 30px; background-color: #00ff00;">&nbsp;</td>
+			</tr>
+		</table>
+	</div>
+	<p>
+		The following is here just to check that the inner table doesnt forces
+		the above DIV to expand (it has the exact same width).
+	</p>
+	<div style="width: 100px; border: #000000 5px solid;">
+		&nbsp;
+	</div>
+</body>
+</html>
Index: /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/window_eval/inner.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/window_eval/inner.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/browserbugs/safari/window_eval/inner.html	(revision 141)
@@ -4,5 +4,5 @@
 	<title>Untitled Page</title>
 	<script type="text/javascript">
-    
+
     window.parent.eval( 'var MyObject = new Object();' ) ;
 
Index: /FCKeditor/branches/developers/alfonsoml/_dev/lint.bat
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/lint.bat	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/lint.bat	(revision 141)
@@ -1,3 +1,42 @@
-@echo off
-bin\jsl -process ..\editor\*.js -conf lint.conf +recurse -nofilelisting -nologo
-bin\jsl -process ..\editor\*.html -conf lint.conf +recurse -nofilelisting -nologo -pauseatend
+@ECHO OFF
+
+::
+:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
+:: Copyright (C) 2003-2007 Frederico Caldeira Knabben
+::
+:: == BEGIN LICENSE ==
+::
+:: Licensed under the terms of any of the following licenses at your
+:: choice:
+::
+::  - GNU General Public License Version 2 or later (the "GPL")
+::    http://www.gnu.org/licenses/gpl.html
+::
+::  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+::    http://www.gnu.org/licenses/lgpl.html
+::
+::  - Mozilla Public License Version 1.1 or later (the "MPL")
+::    http://www.mozilla.org/MPL/MPL-1.1.html
+::
+:: == END LICENSE ==
+::
+
+IF "%1"=="" GOTO NoParam
+
+ECHO Generating %1...
+bin\jsl -conf lint.conf -nofilelisting -nologo > %1
+
+ECHO.
+ECHO Process completed.
+ECHO.
+
+GOTO End
+
+:NoParam
+
+bin\jsl -conf lint.conf -nofilelisting -nologo
+
+ECHO.
+
+:End
+
Index: /FCKeditor/branches/developers/alfonsoml/_dev/lint.conf
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/lint.conf	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/lint.conf	(revision 141)
@@ -51,5 +51,5 @@
 +trailing_comma_in_array      # extra comma is not recommended in array initializers
 +assign_to_function_call      # assignment to a function call
--parseint_missing_radix       # parseInt missing radix parameter
++parseint_missing_radix       # parseInt missing radix parameter
 
 
@@ -128,2 +128,13 @@
 #
 #+process jsl-test.js
++recurse
++process ..\editor\*.js
++process ..\editor\*.html
++process ..\samples\*.js
++process ..\samples\*.html
++process ..\_test\*.js
++process ..\_test\*.html
++process ..\_testcases\*.js
++process ..\_testcases\*.html
++process ..\fckconfig.js
++process ..\fckeditor.js
Index: /FCKeditor/branches/developers/alfonsoml/_dev/lint_report.bat
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/lint_report.bat	(revision 141)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/lint_report.bat	(revision 141)
@@ -0,0 +1,24 @@
+@ECHO OFF
+
+::
+:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
+:: Copyright (C) 2003-2007 Frederico Caldeira Knabben
+::
+:: == BEGIN LICENSE ==
+::
+:: Licensed under the terms of any of the following licenses at your
+:: choice:
+::
+::  - GNU General Public License Version 2 or later (the "GPL")
+::    http://www.gnu.org/licenses/gpl.html
+::
+::  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+::    http://www.gnu.org/licenses/lgpl.html
+::
+::  - Mozilla Public License Version 1.1 or later (the "MPL")
+::    http://www.mozilla.org/MPL/MPL-1.1.html
+::
+:: == END LICENSE ==
+::
+
+lint lint_report.txt
Index: /FCKeditor/branches/developers/alfonsoml/_dev/lint_report.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/lint_report.txt	(revision 141)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/lint_report.txt	(revision 141)
@@ -0,0 +1,2 @@
+
+0 error(s), 0 warning(s)
Index: /FCKeditor/branches/developers/alfonsoml/_dev/svn_update.bat
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/svn_update.bat	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/svn_update.bat	(revision 141)
@@ -1,4 +1,23 @@
 @ECHO OFF
 
+::
+:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
+:: Copyright (C) 2003-2007 Frederico Caldeira Knabben
+::
+:: == BEGIN LICENSE ==
+::
+:: Licensed under the terms of any of the following licenses at your
+:: choice:
+::
+::  - GNU General Public License Version 2 or later (the "GPL")
+::    http://www.gnu.org/licenses/gpl.html
+::
+::  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+::    http://www.gnu.org/licenses/lgpl.html
+::
+::  - Mozilla Public License Version 1.1 or later (the "MPL")
+::    http://www.mozilla.org/MPL/MPL-1.1.html
+::
+:: == END LICENSE ==
 ::
 :: This batch will update the current working copy with the SVN HEAD.
Index: /FCKeditor/branches/developers/alfonsoml/_dev/update_lang.bat
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_dev/update_lang.bat	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_dev/update_lang.bat	(revision 141)
@@ -1,4 +1,23 @@
 @ECHO OFF
 
+::
+:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
+:: Copyright (C) 2003-2007 Frederico Caldeira Knabben
+::
+:: == BEGIN LICENSE ==
+::
+:: Licensed under the terms of any of the following licenses at your
+:: choice:
+::
+::  - GNU General Public License Version 2 or later (the "GPL")
+::    http://www.gnu.org/licenses/gpl.html
+::
+::  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+::    http://www.gnu.org/licenses/lgpl.html
+::
+::  - Mozilla Public License Version 1.1 or later (the "MPL")
+::    http://www.mozilla.org/MPL/MPL-1.1.html
+::
+:: == END LICENSE ==
 ::
 :: This batch will update all language files found in the "editor/lang" folder,
Index: /FCKeditor/branches/developers/alfonsoml/_documentation.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_documentation.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_documentation.html	(revision 141)
@@ -1,5 +1,22 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<Message name="Simple" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/fckplugin.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	This is the sample plugin definition file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the sample plugin definition file.
+ */
 
 // Register the related commands.
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/find.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/find.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/find.html	(revision 141)
@@ -1,12 +1,27 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	This is the sample "Find" plugin window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the sample "Find" plugin window.
 -->
 <html>
 	<head>
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
@@ -20,5 +35,5 @@
 	if ( oEditor.FCKBrowserInfo.IsIE )
 		document.getElementById('divWord').style.display = '' ;
-	
+
 	// First of all, translate the dialog box texts.
 	oEditor.FCKLanguageManager.TranslatePage( document ) ;
@@ -29,5 +44,5 @@
 function btnStat(frm)
 {
-	document.getElementById('btnFind').disabled = 
+	document.getElementById('btnFind').disabled =
 		( document.getElementById('txtFind').value.length == 0 ) ;
 }
@@ -63,9 +78,9 @@
 	else
 		var sExpr = document.getElementById('txtFind').value ;
-		
+
 	return sExpr ;
 }
 
-function GetCase() 
+function GetCase()
 {
 	return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
@@ -76,5 +91,5 @@
 	if ( document.getElementById('txtFind').value.length == 0 )
 		return ;
-	
+
 	if ( oEditor.FCKBrowserInfo.IsIE )
 		FindIE() ;
@@ -91,13 +106,13 @@
 
 	var iFlags = 0 ;
-	
+
 	if ( chkCase.checked )
 		iFlags = iFlags | 4 ;
-	
+
 	if ( chkWord.checked )
 		iFlags = iFlags | 2 ;
-	
+
 	var bFound = oRange.findText( document.getElementById('txtFind').value, 1, iFlags ) ;
-	
+
 	if ( bFound )
 	{
@@ -118,8 +133,8 @@
 	var bCase = document.getElementById('chkCase').checked ;
 	var bWord = document.getElementById('chkWord').checked ;
-	
+
 	// window.find( searchString, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog ) ;
 	oEditor.FCK.EditorWindow.find( document.getElementById('txtFind').value, bCase, false, false, bWord, false, false ) ;
-	
+
 }
 		</script>
@@ -144,9 +159,9 @@
 			<tr>
 				<td valign="bottom" colSpan="3">
-					&nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match 
+					&nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
 						case</label>
 					<br>
 					<div id="divWord" style="DISPLAY: none">
-						&nbsp;<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match 
+						&nbsp;<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
 							whole word</label>
 					</div>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/en.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/en.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/en.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	English language file for the sample plugin.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * English language file for the sample plugin.
+ */
 
 FCKLang['DlgMyReplaceTitle']		= 'Plugin - Replace' ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/fr.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/fr.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/fr.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	French language file for the sample plugin.
-</FileDescription>
-<Author name="Benjamin Cartereau" email="b.cartereau@infass.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * French language file for the sample plugin.
+ */
 
 FCKLang['DlgMyReplaceTitle']		= 'Plugin - Remplacer' ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/it.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/it.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/lang/it.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Italian language file for the sample plugin.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Italian language file for the sample plugin.
+ */
 
 FCKLang['DlgMyReplaceTitle']		= 'Plugin - Sostituisci' ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/replace.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/replace.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/findreplace/replace.html	(revision 141)
@@ -1,12 +1,27 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	This is the sample "Replace" plugin window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the sample "Replace" plugin window.
 -->
 <html>
 	<head>
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
@@ -25,6 +40,6 @@
 function btnStat(frm)
 {
-	document.getElementById('btnReplace').disabled = 
-		document.getElementById('btnReplaceAll').disabled = 
+	document.getElementById('btnReplace').disabled =
+		document.getElementById('btnReplaceAll').disabled =
 			( document.getElementById('txtFind').value.length == 0 ) ;
 }
@@ -51,5 +66,5 @@
 			return true ;
 	}
-	
+
 	return hasFound ;
 }
@@ -61,9 +76,9 @@
 	else
 		var sExpr = document.getElementById('txtFind').value ;
-		
+
 	return sExpr ;
 }
 
-function GetCase() 
+function GetCase()
 {
 	return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
@@ -99,5 +114,5 @@
 			</tr>
 			<tr>
-				<td vAlign="top" nowrap><label for="txtReplace" fckLang="DlgMyReplaceReplaceLbl">Replace 
+				<td vAlign="top" nowrap><label for="txtReplace" fckLang="DlgMyReplaceReplaceLbl">Replace
 						with:</label>
 				</td>
@@ -109,8 +124,8 @@
 			</tr>
 			<tr>
-				<td vAlign="bottom" colSpan="3">&nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match 
+				<td vAlign="bottom" colSpan="3">&nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
 						case</label>
 					<br>
-					&nbsp;<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match 
+					&nbsp;<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
 						whole word</label>
 				</td>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/samples/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/samples/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/_plugins/samples/fckplugin.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	This is a sample plugin definition file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is a sample plugin definition file.
+ */
 
 // Here we define our custom Style combo, with custom widths.
@@ -25,5 +41,5 @@
 	// Get image URL (src).
 	var sUrl = FCKSelection.GetSelectedElement().src ;
-	
+
 	// Open the URL in a new window.
 	window.top.open( sUrl ) ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/afp/fck.afpa.code
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/afp/fck.afpa.code	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/afp/fck.afpa.code	(revision 141)
@@ -1,19 +1,23 @@
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: fxk.afp.code
- * 	This is the class definition file for the sample pages.
- * 
- * Version:  1.01 
- * Modified: 2006-11-13
- * 
- * File Authors: Soenke Freitag (contact at www.afp-hosting.de)
- * 		
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the class definition file for the sample pages.
+ *
 
  DEFINE CLASS fckeditor AS custom
Index: /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample01.afp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample01.afp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample01.afp	(revision 141)
@@ -1,20 +1,24 @@
-<% 
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: sample01.afp
- * 	This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
- * 
- * Version:  1.01 
- * Modified: 2006-11-12
- * 
- * File Authors: Soenke Freitag (contact at www.afp-hosting.de)
- * 		
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form.
+ *
 %>
 
@@ -40,8 +44,8 @@
 			oFCKeditor = CREATEOBJECT("FCKeditor")
 			oFCKeditor.fckeditor("FCKeditor1")
-			oFCKeditor.BasePath	= sBasePath 
+			oFCKeditor.BasePath	= sBasePath
 			oFCKeditor.cValue	= lcText
 
-			? oFCKeditor.Create() 
+			? oFCKeditor.Create()
 
 %>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample02.afp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample02.afp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample02.afp	(revision 141)
@@ -1,21 +1,24 @@
-<% 
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
  * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: sample02.afp
- * 	This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
- * 
- * Version:  1.00 
- * Modified: 2006-11-13
- * 
- * File Authors: Soenke Freitag (contact at www.afp-hosting.de)
- * 		         Frederico Caldeira Knabben (fredck@fckeditor.net)
-
+ * This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
+ *
 %>
 
@@ -36,18 +39,18 @@
 			}
 			oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-		}	
-		
+		}
+
 		function AddComboOption(combo, optionText, optionValue)
 		{
 			var oOption = document.createElement("OPTION") ;
-		
+
 			combo.options.add(oOption) ;
-		
+
 			oOption.innerHTML = optionText ;
 			oOption.value     = optionValue ;
-			
+
 			return oOption ;
 		}
-		
+
 		function ChangeLanguage( languageCode )
 		{
@@ -76,5 +79,5 @@
 
 			sBasePath="../../../fckeditor/"						&& Change this to your local path
-	
+
 			oFCKeditor = CREATEOBJECT("FCKeditor")
 			oFCKeditor.fckeditor("FCKeditor1")
@@ -83,5 +86,5 @@
 			lcLanguage=request.querystring("Lang")				&& Request Parameter
 			lcLanguage=oFCKeditor.StripAttacks(lcLanguage)		&& Remove special escape characters
-			IF EMPTY(lcLanguage)							
+			IF EMPTY(lcLanguage)
 				oFCKeditor.aconfig[1,1]="AutoDetectLanguage"
 				oFCKeditor.aconfig[1,2]="true"
@@ -98,8 +101,8 @@
 			lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
 
-			oFCKeditor.BasePath	= sBasePath 
+			oFCKeditor.BasePath	= sBasePath
 			oFCKeditor.cValue	= lcText
 
-			? oFCKeditor.Create() 
+			? oFCKeditor.Create()
 
 %>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample03.afp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample03.afp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample03.afp	(revision 141)
@@ -1,21 +1,24 @@
-<% 
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: sample03.afp
- * 	This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
- * 
- * Version:  1.00 
- * Modified: 2006-11-13
- * 
- * File Authors: Soenke Freitag (contact at www.afp-hosting.de)
- * 		         Frederico Caldeira Knabben (fredck@fckeditor.net)
-
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
+ *
 %>
 
@@ -34,5 +37,5 @@
 				oCombo.style.visibility = '' ;
 			}
-			
+
 			function ChangeToolbar( toolbarName )
 			{
@@ -63,5 +66,5 @@
 
 			sBasePath="../../../fckeditor/"						&& Change this to your local path
-	
+
 			oFCKeditor = CREATEOBJECT("FCKeditor")
 			oFCKeditor.fckeditor("FCKeditor1")
@@ -69,5 +72,5 @@
 			lcToolbar=request.querystring("Toolbar")			&& Request Parameter
 			lcToolbar=oFCKeditor.StripAttacks(lcToolbar)		&& Remove special escape characters
-			IF !EMPTY(lcToolbar)	
+			IF !EMPTY(lcToolbar)
 				oFCKeditor.ToolbarSet=lcToolbar
 			ENDIF
@@ -76,9 +79,9 @@
 			lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
 
-			oFCKeditor.BasePath	= sBasePath 
+			oFCKeditor.BasePath	= sBasePath
 			oFCKeditor.cValue	= lcText
-			
-			? oFCKeditor.Create() 
- 
+
+			? oFCKeditor.Create()
+
 %>
 			<br>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample04.afp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample04.afp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/afp/sample04.afp	(revision 141)
@@ -1,21 +1,24 @@
-<% 
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: sample04.afp
- * 	This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
- * 
- * Version:  1.00 
- * Modified: 2006-11-13
- * 
- * File Authors: Soenke Freitag (contact at www.afp-hosting.de)
- * 		         Frederico Caldeira Knabben (fredck@fckeditor.net)
-
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
+ *
 %>
 
@@ -31,13 +34,13 @@
 			{
 				var oCombo = document.getElementById( 'cmbSkins' ) ;
-				
+
 				// Get the active skin.
 				var sSkin = editorInstance.Config['SkinPath'] ;
 				sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
-				
+
 				oCombo.value = sSkin ;
 				oCombo.style.visibility = '' ;
 			}
-			
+
 			function ChangeSkin( skinName )
 			{
@@ -69,23 +72,23 @@
 
 			sBasePath="../../../fckeditor/"						&& <-- Change this to your local path
-	
+
 			oFCKeditor = CREATEOBJECT("FCKeditor")
 			oFCKeditor.fckeditor("FCKeditor1")
-		
+
 			lcSkin=request.querystring("Skin")					&& Request Parameter
 			lcSkin=oFCKeditor.StripAttacks(lcSkin)				&& Remove special escape characters
-			IF !EMPTY(lcSkin)	
+			IF !EMPTY(lcSkin)
 				oFCKeditor.aconfig[1,1]="SkinPath"
 				oFCKeditor.aconfig[1,2]="/fckeditor/editor/skins/"+lcSkin+"/"	&& <-- Change this to your local path
 			ENDIF
-		
+
 			lcText=[This is some <strong>sample text</strong>. You are using ]
 			lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
 
-			oFCKeditor.BasePath	= sBasePath 
+			oFCKeditor.BasePath	= sBasePath
 			oFCKeditor.cValue	= lcText
-			
-			? oFCKeditor.Create() 
- 
+
+			? oFCKeditor.Create()
+
 %>
 			<br>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/afp/sampleposteddata.afp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/afp/sampleposteddata.afp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/afp/sampleposteddata.afp	(revision 141)
@@ -1,20 +1,24 @@
-<% 
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: sampleposteddata.afp
- * 	This page lists the data posted by a form in the AFP script language (www.afpages.de)
- * 
- * Version:  1.01
- * Modified: 2006-11-12
- * 
- * File Authors: Soenke Freitag (www.afp-hosting.de)
- * 		
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form.
+ *
 %>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -42,10 +46,10 @@
 			lcZeile=ALLTRIM(MLINE(lcForm,lnLoop))
 			IF AT("=",lcZeile)>0
-				lcVariable=UPPER(ALLTRIM(LEFT(lcZeile,AT("=",lcZeile)-1)))  
+				lcVariable=UPPER(ALLTRIM(LEFT(lcZeile,AT("=",lcZeile)-1)))
 				lcWert=ALLTRIM(RIGHT(lcZeile,LEN(lcZeile)-AT("=",lcZeile)))
-				lcWert=Server.UrlDecode( lcWert ) 
+				lcWert=Server.UrlDecode( lcWert )
 				lcWert=STRTRAN(lcWert,"<","&lt;")
 				lcWert=STRTRAN(lcWert,">","&gt;")	&& ... if wanted remove/translate HTML Chars ...
-	
+
 				? [<tr><td>]+lcVariable+[ =</td><td>]+lcWert+[</td></tr>]
 			ENDIF
Index: /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample01.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample01.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample01.asp	(revision 141)
@@ -1,9 +1,25 @@
-<%@  codepage="65001" language="VBScript" %>
+﻿<%@  codepage="65001" language="VBScript" %>
 <% Option Explicit %>
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample02.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample02.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample02.asp	(revision 141)
@@ -1,9 +1,25 @@
-<%@ CodePage=65001 Language="VBScript"%>
+﻿<%@ CodePage=65001 Language="VBScript"%>
 <% Option Explicit %>
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
@@ -26,5 +42,5 @@
 	}
 	oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-}	
+}
 
 function AddComboOption(combo, optionText, optionValue)
@@ -36,5 +52,5 @@
 	oOption.innerHTML = optionText ;
 	oOption.value     = optionValue ;
-	
+
 	return oOption ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample03.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample03.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample03.asp	(revision 141)
@@ -1,9 +1,25 @@
-<%@ CodePage=65001 Language="VBScript"%>
+﻿<%@ CodePage=65001 Language="VBScript"%>
 <% Option Explicit %>
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample04.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample04.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/asp/sample04.asp	(revision 141)
@@ -1,9 +1,25 @@
-<%@ CodePage=65001 Language="VBScript"%>
+﻿<%@ CodePage=65001 Language="VBScript"%>
 <% Option Explicit %>
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
@@ -21,9 +37,9 @@
 {
 	var oCombo = document.getElementById( 'cmbSkins' ) ;
-	
+
 	// Get the active skin.
 	var sSkin = editorInstance.Config['SkinPath'] ;
 	sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
-	
+
 	oCombo.value = sSkin ;
 	oCombo.style.visibility = '' ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/asp/sampleposteddata.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/asp/sampleposteddata.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/asp/sampleposteddata.asp	(revision 141)
@@ -1,9 +1,25 @@
 ﻿<%@ CodePage=65001 Language="VBScript"%>
 <% Option Explicit %>
-<!-- @Packager.Header
-<FileDescription>
-	This page lists the data posted by a form.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form.
 -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -24,7 +40,7 @@
 				<td>Value</td>
 			</tr>
-			<% 
+			<%
 			Dim sForm
-			For Each sForm in Request.Form 
+			For Each sForm in Request.Form
 			%>
 			<tr>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/cfm/sample01.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/cfm/sample01.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/cfm/sample01.cfm	(revision 141)
@@ -1,10 +1,24 @@
 <cfsetting enablecfoutputonly="true" showdebugoutput="false">
-<!--- @Packager.Header
-<FileDescription>
-	Sample page for ColdFusion.
-</FileDescription>
-<Author name="Hendrik Kramer" email="hk@lwd.de" />
-<Author name="Mark Woods" email="mark@thickpaddy.com" />
-<Author name="Wim Lemmens" email="didgiman@gmail.com" />
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page for ColdFusion.
 --->
 
@@ -22,5 +36,5 @@
 
 <h1>FCKeditor - ColdFusion - Sample 1</h1>
-	
+
 This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Custom Tag / Module.
 <hr>
@@ -28,5 +42,5 @@
 </cfoutput>
 
-<cfmodule 
+<cfmodule
 	template="../../fckeditor.cfm"
 	basePath="#Left(cgi.script_name, FindNoCase('_samples', cgi.script_name)-1)#"
@@ -45,4 +59,5 @@
 <cfif isDefined( 'FORM.fieldnames' )>
 	<cfoutput>
+	<hr />
 	<style>
 	<!--
Index: /FCKeditor/branches/developers/alfonsoml/_samples/cfm/sample02_mx.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/cfm/sample02_mx.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/cfm/sample02_mx.cfm	(revision 141)
@@ -1,9 +1,24 @@
 <cfsetting enablecfoutputonly="true">
-<!--- @Packager.Header
-<FileDescription>
-	Sample page for ColdFusion MX.
-</FileDescription>
-<Author name="Hendrik Kramer" email="hk@lwd.de" />
-<Author name="Wim Lemmens" email="didgiman@gmail.com" />
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page for ColdFusion MX.
 --->
 
@@ -11,15 +26,15 @@
 	  * You must set the url path to the base directory for your media files (images, flash, files)
 	  * The best position for this variable is in your Application.cfm file
-	  * 
+	  *
 	  * Possible variable scopes are:
-	  * <cfset APPLICATION.userFilesPath = "/UserFiles/">
+	  * <cfset APPLICATION.userFilesPath = "/userfiles/">
 	  * OR:
-	  * <cfset SERVER.userFilesPath = "/UserFiles/">
+	  * <cfset SERVER.userFilesPath = "/userfiles/">
 	  * OR:
-	  * <cfset request.FCKeditor.userFilesPath = "/UserFiles/">
+	  * <cfset request.FCKeditor.userFilesPath = "/userfiles/">
 	  * OR:
-	  * <cfset application.FCKeditor.userFilesPath = "/UserFiles/">
+	  * <cfset application.FCKeditor.userFilesPath = "/userfiles/">
 	  * OR:
-	  * <cfset server.FCKeditor.userFilesPath = "/UserFiles/">
+	  * <cfset server.FCKeditor.userFilesPath = "/userfiles/">
 	  *
 	  * Note #1: Do _not_ set the physical directory on your server, only a path relative to your current webroot
@@ -69,6 +84,6 @@
 </cfoutput>
 
-<cfdump 
-	var="#FORM#" 
+<cfdump
+	var="#FORM#"
 	label="Dump of FORM Variables"
 >
Index: /FCKeditor/branches/developers/alfonsoml/_samples/default.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/default.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/default.html	(revision 141)
@@ -1,9 +1,25 @@
-<!-- @Packager.Header
-<FileDescription>
-	Samples Frameset page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Samples Frameset page.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 <html>
 	<head>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample01.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample01.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample01.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample02.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample02.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample02.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample03.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample03.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample03.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -23,7 +39,7 @@
 
 	var oCombo = document.getElementById( 'cmbLanguages' ) ;
-	
+
 	var aLanguages = new Array() ;
-	
+
 	for ( code in editorInstance.Language.AvailableLanguages )
 		aLanguages.push( { Code : code, Name : editorInstance.Language.AvailableLanguages[code] } ) ;
@@ -33,9 +49,9 @@
 	for ( var i = 0 ; i < aLanguages.length ; i++ )
 		AddComboOption( oCombo, aLanguages[i].Name + ' (' + aLanguages[i].Code + ')', aLanguages[i].Code ) ;
-	
+
 	oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-	
+
 	document.getElementById('eNumLangs').innerHTML = '(' + aLanguages.length + ' languages available!)' ;
-	
+
 	bIsLoaded = true ;
 }
@@ -54,5 +70,5 @@
 	oOption.innerHTML = optionText ;
 	oOption.value     = optionValue ;
-	
+
 	return oOption ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample04.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample04.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample04.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample05.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample05.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample05.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -18,9 +34,9 @@
 {
 	var oCombo = document.getElementById( 'cmbSkins' ) ;
-	
+
 	// Get the active skin.
 	var sSkin = editorInstance.Config['SkinPath'] ;
 	sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
-	
+
 	oCombo.value = sSkin ;
 	oCombo.style.visibility = '' ;
@@ -88,5 +104,5 @@
 				sSkinPath + 'images/toolbar.buttonarrow.gif' ;
 			break ;
-			
+
 		case 'silver' :
 			oFCKeditor.Config['PreloadImages'] =
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample06.config.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample06.config.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample06.config.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Sample custom configuration settings used in the plugin sample page (sample06).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample custom configuration settings used in the plugin sample page (sample06).
+ */
 
 // Set our sample toolbar.
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample06.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample06.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample06.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample07.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample07.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample07.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample08.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample08.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample08.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -111,5 +127,5 @@
 	// Get the editor instance that we want to interact with.
 	var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
-	alert( oEditor.IsDirty() ) ;	
+	alert( oEditor.IsDirty() ) ;
 }
 
@@ -118,5 +134,5 @@
 	// Get the editor instance that we want to interact with.
 	var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
-	oEditor.ResetIsDirty() ;	
+	oEditor.ResetIsDirty() ;
 	alert( 'The "IsDirty" status has been reset' ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample09.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample09.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample09.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample10.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample10.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample10.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample11.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample11.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample11.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample11_frame.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample11_frame.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample11_frame.html	(revision 141)
@@ -1,7 +1,23 @@
-﻿<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample12.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample12.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample12.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sample13.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample13.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sample13.html	(revision 141)
@@ -1,10 +1,24 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Alfonso Martinez de Lizarrondo" email="alfonso at uritec dot net" />
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Finn Hakansson" email="finn_hakansson@yahoo.com" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -27,5 +41,5 @@
 	var eTextareaDiv	= document.getElementById( '_Textarea' ) ;
 	var eFCKeditorDiv	= document.getElementById( '_FCKeditor' ) ;
-	
+
 	// If the _Textarea DIV is visible, switch to FCKeditor.
 	if ( eTextareaDiv.style.display != 'none' )
@@ -41,9 +55,9 @@
 			oEditor.SetHTML( document.getElementById('_DataTextarea').value ) ;
 		}
-		
+
 		// Switch the DIVs display.
 		eTextareaDiv.style.display = 'none' ;
 		eFCKeditorDiv.style.display = '' ;
-		
+
 		// This is a hack for Gecko 1.0.x ... it stops editing when the editor is hidden.
 		if ( oEditor && !document.all )
@@ -68,5 +82,5 @@
 	// Copy the value of the current textarea, to the textarea that will be used by the editor.
 	document.getElementById('_DataFCKeditor').value = document.getElementById('_DataTextarea').value ;
-	
+
 	// Automatically calculates the editor base path based on the _samples directory.
 	// This is usefull only for these samples. A real application should use something like this:
Index: Keditor/branches/developers/alfonsoml/_samples/html/sample14.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample14.css	(revision 140)
+++ 	(revision )
@@ -1,60 +1,0 @@
-body, td, input, select, textarea
-{
-	font-size: 12px;
-	font-family: Arial, Verdana, Sans-Serif;
-}
-
-body 
-{
-	background-color: #333;
-	color: #FFF;
-	margin:0;
-}
-
-#container 
-{
-	width:100%;
-	border:0;
-}
-
-#side 
-{
-	width:200px;
-	vertical-align:top;
-}
-
-#mainContent 
-{
-	background-color: #DDD;
-	color: #333;
-	padding: 0.8em 0.6em;
-}
-
-
-/*
-    The following are some sample styles used in the "Styles" toolbar command.
-    You should instead remove them, and include the styles used by the site
-    you are using the editor in.
-*/
-
-.Bold
-{
-	font-weight: bold;
-}
-
-.Title
-{
-	font-weight: bold;
-	font-size: 18px;
-	color: #cc3300;
-}
-
-.Code
-{
-	border: #8b4513 1px solid;
-	padding-right: 5px;
-	padding-left: 5px;
-	color: #000066;
-	font-family: 'Courier New' , Monospace;
-	background-color: #ff9933;
-}
Index: Keditor/branches/developers/alfonsoml/_samples/html/sample14.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sample14.html	(revision 140)
+++ 	(revision )
@@ -1,69 +1,0 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<title>FCKeditor - Sample</title>
-	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-	<meta name="robots" content="noindex, nofollow" />
-	<link href="sample14.css" rel="stylesheet" type="text/css" />
-	<script type="text/javascript" src="../../fckeditor.js"></script>
-</head>
-<body>
-<div id="xToolbarDiv"></div>
-	<h1>
-		FCKeditor - JavaScript - Sample 14
-	</h1>
-	<div>
-		This sample simulates a page with an embedded editor and the use of CSS features
-	</div>
-	<hr />
-<table id="container">
-	<tr>
-		<td id="side">
-			links<br>
-			links<br>
-			links<br>
-		</td>
-		<td id="mainContent">
-			<h2>Editing content</h2>
-			<p>Only the content on this cell can be edited, and it does use the new <em>Config.BodyId</em> setting to show the proper
-			background colors in the editor and the dropdown boxes instead of the dark one for the body.
-			</p>
-	<form action="sampleposteddata.asp" method="post" target="_blank">
-		<script type="text/javascript">
-<!--
-// Automatically calculates the editor base path based on the _samples directory.
-// This is usefull only for these samples. A real application should use something like this:
-// oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
-var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
-
-var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
-oFCKeditor.Config['EditorAreaCSS'] = sBasePath + '_samples/html/sample14.css' ;
-oFCKeditor.Config['ToolbarComboPreviewCSS'] = '' ;
-
-oFCKeditor.Config['BodyId'] = 'mainContent' ;
-oFCKeditor.Config['BodyClass'] = '' ;
-
-oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbarDiv' ;
-oFCKeditor.Config[ 'ToolbarCanCollapse' ] = false ;
-
-oFCKeditor.BasePath	= sBasePath ;
-oFCKeditor.Height	= 300 ;
-oFCKeditor.Value	= 'This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.' ;
-oFCKeditor.Create() ;
-//-->
-			</script>
-			<br />
-			<input type="submit" value="Submit" />
-		</form>
-
-		</td>
-	</tr>
-</table>
-</body>
-</html>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sampleposteddata.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sampleposteddata.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sampleposteddata.asp	(revision 141)
@@ -1,8 +1,24 @@
 ﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	This page lists the data posted by a form.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/html/sampleposteddata.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/html/sampleposteddata.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/html/sampleposteddata.html	(revision 141)
@@ -1,9 +1,25 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	This page lists the data posted by a form. It uses the URL (GET data), 
-	so it's limited to 2KB of data.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form. It uses the URL (GET data),
+ * so it's limited to 2KB of data.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample01.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample01.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample01.lasso	(revision 141)
@@ -1,9 +1,25 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 ]
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -17,5 +33,5 @@
 	<body>
 		<h1>FCKeditor - Lasso - Sample 1</h1>
-		This sample displays a normal HTML form with an FCKeditor with full features 
+		This sample displays a normal HTML form with an FCKeditor with full features
 		enabled.
 		<hr>
@@ -30,5 +46,5 @@
 		-initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.'
 	);
-	
+
 	$myeditor->create;
 ]
Index: /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample02.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample02.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample02.lasso	(revision 141)
@@ -1,9 +1,25 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 ]
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -24,5 +40,5 @@
 	}
 	oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-}	
+}
 
 function AddComboOption(combo, optionText, optionValue)
@@ -34,5 +50,5 @@
 	oOption.innerHTML = optionText ;
 	oOption.value     = optionValue ;
-	
+
 	return oOption ;
 }
@@ -84,5 +100,5 @@
 		-initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.'
 	);
-	
+
 	$myeditor->create;
 ]
Index: /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample03.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample03.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample03.lasso	(revision 141)
@@ -1,9 +1,25 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 ]
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -62,5 +78,5 @@
 		$myeditor->toolbarset = action_param('Toolbar');
 	/if;
-	
+
 	$myeditor->create;
 ]
Index: /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample04.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample04.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sample04.lasso	(revision 141)
@@ -1,9 +1,25 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 ]
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -19,9 +35,9 @@
 {
 	var oCombo = document.getElementById( 'cmbSkins' ) ;
-	
+
 	// Get the active skin.
 	var sSkin = editorInstance.Config['SkinPath'] ;
 	sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
-	
+
 	oCombo.value = sSkin ;
 	oCombo.style.visibility = '' ;
@@ -64,9 +80,9 @@
 		-initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.'
 	);
-	
+
 	if(action_param('Skin'));
 		$myeditor->config = array('SkinPath' = $basepath + 'editor/skins/' + action_param('Skin') + '/');
 	/if;
-	
+
 	$myeditor->create;
 ]
Index: /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sampleposteddata.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sampleposteddata.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/lasso/sampleposteddata.lasso	(revision 141)
@@ -1,10 +1,25 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-<Author name="Jim Michaels" email="jmichae3@yahoo.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 ]
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample01.cgi
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample01.cgi	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample01.cgi	(revision 141)
@@ -1,9 +1,25 @@
-#!/usr/bin/env perl 
+#!/usr/bin/env perl
 
-##### @Packager.Header
-#<FileDescription>
-#	Sample page.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  Sample page.
 #####
 
@@ -55,5 +71,5 @@
 	<body>
 		<h1>FCKeditor - Perl - Sample 1</h1>
-		This sample displays a normal HTML form with an FCKeditor with full features 
+		This sample displays a normal HTML form with an FCKeditor with full features
 		enabled.
 		<hr>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample02.cgi
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample02.cgi	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample02.cgi	(revision 141)
@@ -1,9 +1,25 @@
-#!/usr/bin/env perl 
+#!/usr/bin/env perl
 
-##### @Packager.Header
-#<FileDescription>
-#	Sample page.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  Sample page.
 #####
 
@@ -79,5 +95,5 @@
 	}
 	oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-}	
+}
 
 function AddComboOption(combo, optionText, optionValue)
@@ -89,5 +105,5 @@
 	oOption.innerHTML = optionText ;
 	oOption.value	  = optionValue ;
-	
+
 	return oOption ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample03.cgi
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample03.cgi	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample03.cgi	(revision 141)
@@ -1,9 +1,25 @@
-#!/usr/bin/env perl 
+#!/usr/bin/env perl
 
-##### @Packager.Header
-#<FileDescription>
-#	Sample page.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  Sample page.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample04.cgi
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample04.cgi	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/perl/sample04.cgi	(revision 141)
@@ -1,9 +1,25 @@
-#!/usr/bin/env perl 
+#!/usr/bin/env perl
 
-##### @Packager.Header
-#<FileDescription>
-#	Sample page.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  Sample page.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/_samples/perl/sampleposteddata.cgi
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/perl/sampleposteddata.cgi	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/perl/sampleposteddata.cgi	(revision 141)
@@ -1,9 +1,25 @@
-#!/usr/bin/env perl 
+#!/usr/bin/env perl
 
-##### @Packager.Header
-#<FileDescription>
-#	This page lists the data posted by a form.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This page lists the data posted by a form.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/_samples/php/sample01.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/php/sample01.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/php/sample01.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 
 include("../../fckeditor.php") ;
@@ -18,5 +35,5 @@
 	<body>
 		<h1>FCKeditor - PHP - Sample 1</h1>
-		This sample displays a normal HTML form with an FCKeditor with full features 
+		This sample displays a normal HTML form with an FCKeditor with full features
 		enabled.
 		<hr>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/php/sample02.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/php/sample02.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/php/sample02.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 
 include("../../fckeditor.php") ;
@@ -25,5 +42,5 @@
 	}
 	oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-}	
+}
 
 function AddComboOption(combo, optionText, optionValue)
@@ -35,5 +52,5 @@
 	oOption.innerHTML = optionText ;
 	oOption.value     = optionValue ;
-	
+
 	return oOption ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_samples/php/sample03.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/php/sample03.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/php/sample03.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 
 include("../../fckeditor.php") ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/php/sample04.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/php/sample04.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/php/sample04.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Sample page.
+ */
 
 include("../../fckeditor.php") ;
@@ -20,9 +37,9 @@
 {
 	var oCombo = document.getElementById( 'cmbSkins' ) ;
-	
+
 	// Get the active skin.
 	var sSkin = editorInstance.Config['SkinPath'] ;
 	sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
-	
+
 	oCombo.value = sSkin ;
 	oCombo.style.visibility = '' ;
Index: /FCKeditor/branches/developers/alfonsoml/_samples/php/sampleposteddata.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/php/sampleposteddata.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/php/sampleposteddata.php	(revision 141)
@@ -1,9 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This page lists the data posted by a form.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Jim Michaels" email="jmichae3@yahoo.com" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form.
+ */
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Index: /FCKeditor/branches/developers/alfonsoml/_samples/py/sample01.py
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/py/sample01.py	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/py/sample01.py	(revision 141)
@@ -1,9 +1,25 @@
 #!/usr/bin/env python
 
-""" @Packager.Header
-<FileDescription>
-	Sample page.
-</FileDescription>
-<Author name="Andrew Liu" email="andrew@liuholdings.com" />
+"""
+FCKeditor - The text editor for Internet - http://www.fckeditor.net
+Copyright (C) 2003-2007 Frederico Caldeira Knabben
+
+== BEGIN LICENSE ==
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   http://www.gnu.org/licenses/gpl.html
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   http://www.gnu.org/licenses/lgpl.html
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   http://www.mozilla.org/MPL/MPL-1.1.html
+
+== END LICENSE ==
+
+Sample page.
 """
 
@@ -29,5 +45,5 @@
 	<body>
 		<h1>FCKeditor - Python - Sample 1</h1>
-		This sample displays a normal HTML form with an FCKeditor with full features 
+		This sample displays a normal HTML form with an FCKeditor with full features
 		enabled.
 		<hr>
@@ -36,5 +52,5 @@
 
 # This is the real work
-try: 
+try:
 	sBasePath = os.environ.get("SCRIPT_NAME")
 	sBasePath = sBasePath[0:sBasePath.find("_samples")]
Index: /FCKeditor/branches/developers/alfonsoml/_samples/py/sampleposteddata.py
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/py/sampleposteddata.py	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/py/sampleposteddata.py	(revision 141)
@@ -1,9 +1,25 @@
 #!/usr/bin/env python
 
-""" @Packager.Header
-<FileDescription>
-	This page lists the data posted by a form.
-</FileDescription>
-<Author name="Andrew Liu" email="andrew@liuholdings.com" />
+"""
+FCKeditor - The text editor for Internet - http://www.fckeditor.net
+Copyright (C) 2003-2007 Frederico Caldeira Knabben
+
+== BEGIN LICENSE ==
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   http://www.gnu.org/licenses/gpl.html
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   http://www.gnu.org/licenses/lgpl.html
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   http://www.mozilla.org/MPL/MPL-1.1.html
+
+== END LICENSE ==
+
+This page lists the data posted by a form.
 """
 
@@ -33,5 +49,5 @@
 """
 
-# This is the real work 
+# This is the real work
 print """
 		<h1>FCKeditor - Samples - Posted Data</h1>
Index: /FCKeditor/branches/developers/alfonsoml/_samples/sample.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/sample.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/sample.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used in the samples pages.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used in the samples pages.
+ */
 
 body, td, input, select, textarea
Index: /FCKeditor/branches/developers/alfonsoml/_samples/sampleslist.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_samples/sampleslist.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_samples/sampleslist.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Page used to select the sample to view.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Page used to select the sample to view.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -47,5 +63,4 @@
 						<option value="html/sample12.html">JavaScript : Sample 12 : Enter key behavior</option>
 						<option value="html/sample13.html">JavaScript : Sample 13 : Dinamically switching with a Textarea</option>
-						<option value="html/sample14.html">JavaScript : Sample 14 : Use of custom CSS</option>
 					</optgroup>
 					<optgroup label="&nbsp;">
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/css/readme
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/css/readme	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/css/readme	(revision 141)
@@ -1,9 +1,9 @@
-this file is required due to differences in behavior between Mozilla/Opera 
+this file is required due to differences in behavior between Mozilla/Opera
 and Internet Explorer.
 
 main-data.html calls kickOffTests() which calls top.testManager.start()
-in the top most frame. top.testManager.start() initializes the output 
-frames using document.write and HTML containing a relative <link> to the 
-jsUnitStyle.css file. In MSIE, the base href used to find the CSS file is 
+in the top most frame. top.testManager.start() initializes the output
+frames using document.write and HTML containing a relative <link> to the
+jsUnitStyle.css file. In MSIE, the base href used to find the CSS file is
 that of the top level frame however in Mozilla/Opera the base href is
 that of main-data.html. This leads to not-found for the jsUnitStyle.css
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitCore.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitCore.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitCore.js	(revision 141)
@@ -1,3 +1,3 @@
-var JSUNIT_UNDEFINED_VALUE;
+﻿var JSUNIT_UNDEFINED_VALUE;
 var JSUNIT_VERSION = 2.2;
 var isTestPageLoaded = false;
@@ -227,7 +227,9 @@
             default: //Object | Array
                 var i;
-                if (isEqual = (var1.length === var2.length))
+                if ( (isEqual = (var1.length === var2.length)) )
+                {
                     for (i in var1)
                         assertObjectEquals(msg + ' found nested ' + type + '@' + i + '\n', var1[i], var2[i]);
+                }
         }
         _assert(msg, isEqual, 'Expected ' + _displayStringForValue(var1) + ' but was ' + _displayStringForValue(var2));
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitMockTimeout.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitMockTimeout.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitMockTimeout.js	(revision 141)
@@ -1,3 +1,3 @@
-// Mock setTimeout, clearTimeout
+﻿// Mock setTimeout, clearTimeout
 // Contributed by Pivotal Computer Systems, www.pivotalsf.com
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTestManager.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTestManager.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTestManager.js	(revision 141)
@@ -1,6 +1,6 @@
-function jsUnitTestManager() {
+﻿function jsUnitTestManager() {
     this._windowForAllProblemMessages = null;
 
-    this.container = top.frames.testContainer
+    this.container = top.frames.testContainer;
     this.documentLoader = top.frames.documentLoader;
     this.mainFrame = top.frames.mainFrame;
@@ -473,5 +473,5 @@
     try {
         var content;
-        if (content = this.uiFrames[layerName].document.getElementById('content'))
+        if ( (content = this.uiFrames[layerName].document.getElementById('content')) )
             content.innerHTML = str;
         else
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTestSuite.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTestSuite.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTestSuite.js	(revision 141)
@@ -1,3 +1,3 @@
-function jsUnitTestSuite() {
+﻿function jsUnitTestSuite() {
     this.isjsUnitTestSuite = true;
     this.testPages = Array();
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTracer.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTracer.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitTracer.js	(revision 141)
@@ -1,3 +1,3 @@
-var TRACE_LEVEL_NONE = new JsUnitTraceLevel(0, null);
+﻿var TRACE_LEVEL_NONE = new JsUnitTraceLevel(0, null);
 var TRACE_LEVEL_WARNING = new JsUnitTraceLevel(1, "#FF0000");
 var TRACE_LEVEL_INFO = new JsUnitTraceLevel(2, "#009966");
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitVersionCheck.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitVersionCheck.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/jsUnitVersionCheck.js	(revision 141)
@@ -1,3 +1,3 @@
-var versionRequest;
+﻿var versionRequest;
 
 function isOutOfDate(newVersionNumber) {
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/main-data.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/main-data.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/main-data.html	(revision 141)
@@ -83,5 +83,5 @@
         } else {
             document.write("<br>");
-        };
+        }
     </script>
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/xbDebug.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/xbDebug.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/app/xbDebug.js	(revision 141)
@@ -1,3 +1,3 @@
-// xbDebug.js revision: 0.003 2002-02-26
+﻿// xbDebug.js revision: 0.003 2002-02-26
 
 /* ***** BEGIN LICENSE BLOCK *****
@@ -24,5 +24,5 @@
 ChangeLog:
 
-2002-02-25: bclary - modified xbDebugTraceOject to make sure 
+2002-02-25: bclary - modified xbDebugTraceOject to make sure
             that original versions of wrapped functions were not
             rewrapped. This had caused an infinite loop in IE.
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/bin/mac/readme.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/bin/mac/readme.txt	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/bin/mac/readme.txt	(revision 141)
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/licenses/JDOM_license.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/licenses/JDOM_license.txt	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/licenses/JDOM_license.txt	(revision 141)
@@ -1,3 +1,3 @@
-/*-- 
+/*--
 
  $Id: JDOM_license.txt 81 2003-07-24 04:44:54Z edwardhieatt $
@@ -5,15 +5,15 @@
  Copyright (C) 2000-2003 Jason Hunter & Brett McLaughlin.
  All rights reserved.
- 
+
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:
- 
+
  1. Redistributions of source code must retain the above copyright
     notice, this list of conditions, and the following disclaimer.
- 
+
  2. Redistributions in binary form must reproduce the above copyright
-    notice, this list of conditions, and the disclaimer that follows 
-    these conditions in the documentation and/or other materials 
+    notice, this list of conditions, and the disclaimer that follows
+    these conditions in the documentation and/or other materials
     provided with the distribution.
 
@@ -21,15 +21,15 @@
     derived from this software without prior written permission.  For
     written permission, please contact <license AT jdom DOT org>.
- 
+
  4. Products derived from this software may not be called "JDOM", nor
     may "JDOM" appear in their name, without prior written permission
     from the JDOM Project Management <pm AT jdom DOT org>.
- 
- In addition, we request (but do not require) that you include in the 
- end-user documentation provided with the redistribution and/or in the 
+
+ In addition, we request (but do not require) that you include in the
+ end-user documentation provided with the redistribution and/or in the
  software itself an acknowledgement equivalent to the following:
      "This product includes software developed by the
       JDOM Project (http://www.jdom.org/)."
- Alternatively, the acknowledgment may be graphical using the logos 
+ Alternatively, the acknowledgment may be graphical using the logos
  available at http://www.jdom.org/images/logos.
 
@@ -47,10 +47,10 @@
  SUCH DAMAGE.
 
- This software consists of voluntary contributions made by many 
- individuals on behalf of the JDOM Project and was originally 
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the JDOM Project and was originally
  created by Jason Hunter <jhunter AT jdom DOT org> and
  Brett McLaughlin <brett AT jdom DOT org>.  For more information on
  the JDOM Project, please see <http://www.jdom.org/>.
- 
+
  */
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/licenses/lgpl-2.1.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/licenses/lgpl-2.1.txt	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/licenses/lgpl-2.1.txt	(revision 141)
@@ -149,5 +149,5 @@
 writing it).  Whether that is true depends on what the Library does
 and what the program that uses the Library does.
-  
+
   1. You may copy and distribute verbatim copies of the Library's
 complete source code as you receive it, in any medium, provided that
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/tests/jsUnitAssertionTests.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/tests/jsUnitAssertionTests.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/tests/jsUnitAssertionTests.html	(revision 141)
@@ -180,10 +180,10 @@
         bar: function () {
             this.foo = 'bar';
-            delete this.bar
+            delete this.bar;
         }};
     var o5 = {foo:'foo',
         bar: function () {
             this.foo = 'foo';
-            delete this.bar
+            delete this.bar;
         }};
     try
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/tests/jsUnitMockTimeoutTest.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/tests/jsUnitMockTimeoutTest.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/_jsunit/tests/jsUnitMockTimeoutTest.html	(revision 141)
@@ -72,5 +72,5 @@
         setTimeout(function() {
             clockLand = "B";
-        }, 10)
+        }, 10);
     };
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/default.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/default.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/default.html	(revision 141)
@@ -1,2 +1,22 @@
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml" >
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fckdomrange.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fckdomrange.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fckdomrange.html	(revision 141)
@@ -1,12 +1,31 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKDomRange - Tests for JsUnit</title>
+	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
 	<script type="text/javascript" src="tests.js"></script>
 	<script type="text/javascript" src="../_jsunit/app/jsUnitCore.js"></script>
-	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
-FCKScriptLoader._FCKeditorPath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_test')) ;
 FCKScriptLoader.Load( 'FCKDomRange' ) ;
 
@@ -18,9 +37,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetStart( document.getElementById('_Span'), 1 ) ;
-	
+
 	assertEquals( 'StartContainer', document.getElementById('_Span'), range.StartContainer ) ;
 	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
 	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
 	assertEquals( 'EndContainer', document.getElementById('_Span'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -34,9 +53,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetStart( document.getElementById('_Span'), 2 ) ;
-	
+
 	assertEquals( 'StartContainer', document.getElementById('_Span'), range.StartContainer ) ;
 	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
 	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
 	assertEquals( 'EndContainer', document.getElementById('_Span'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -50,9 +69,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetStart( document.getElementById('_Span'), 3 ) ;
-	
-	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
-	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
-	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
+	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
+	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
+	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
+
 	assertEquals( 'EndContainer', document.getElementById('_P'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -66,9 +85,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetStart( document.getElementById('_Span'), 4 ) ;
-	
-	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
-	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
-	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
+	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
+	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
+	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
+
 	assertEquals( 'EndContainer', document.getElementById('_P'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -82,9 +101,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetEnd( document.getElementById('_Span'), 1 ) ;
-	
+
 	assertEquals( 'StartContainer', document.getElementById('_Span'), range.StartContainer ) ;
 	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
 	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
 	assertEquals( 'EndContainer', document.getElementById('_Span'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -98,9 +117,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetEnd( document.getElementById('_Span'), 2 ) ;
-	
+
 	assertEquals( 'StartContainer', document.getElementById('_Span'), range.StartContainer ) ;
 	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
 	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
 	assertEquals( 'EndContainer', document.getElementById('_Span'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -114,9 +133,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetEnd( document.getElementById('_Span'), 3 ) ;
-	
-	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
-	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
-	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
+	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
+	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
+	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
+
 	assertEquals( 'EndContainer', document.getElementById('_P'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -130,9 +149,9 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetEnd( document.getElementById('_Span'), 4 ) ;
-	
-	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
-	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
-	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
+	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
+	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
+	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
+
 	assertEquals( 'EndContainer', document.getElementById('_P'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -146,5 +165,5 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetStart( document.getElementById('_P'), 1 ) ;
-	
+
 	assertTrue( 'CheckIsCollapsed', range.CheckIsCollapsed() ) ;
 }
@@ -155,20 +174,20 @@
 	range.SetStart( document.getElementById('_P'), 1 ) ;
 	range.SetEnd( document.getElementById('_Span'), 2 ) ;
-	
-	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
-	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
-	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
+	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
+	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
+	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
+
 	assertEquals( 'EndContainer', document.getElementById('_Span'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
 	assertEquals( 'EndBlockLimit', document.body, range.EndBlockLimit ) ;
 	assertFalse( 'CheckIsCollapsed', range.CheckIsCollapsed() ) ;
-	
+
 	range.Collapse( true ) ;
-	
-	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
-	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
-	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
+	assertEquals( 'StartContainer', document.getElementById('_P'), range.StartContainer ) ;
+	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
+	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
+
 	assertEquals( 'EndContainer', document.getElementById('_P'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -182,5 +201,5 @@
 	range.SetStart( document.getElementById('_P'), 1 ) ;
 	range.SetEnd( document.getElementById('_Strong'), 2 ) ;
-	
+
 	range.DeleteContents() ;
 
@@ -190,5 +209,5 @@
 	assertEquals( 'StartBlock', document.getElementById('_P'), range.StartBlock ) ;
 	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
 	assertEquals( 'EndContainer', document.getElementById('_P'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P'), range.EndBlock ) ;
@@ -203,5 +222,5 @@
 	range.SetStart( document.getElementById('_P2'), 1 ) ;
 	range.SetEnd( document.getElementById('_Em'), 2 ) ;
-	
+
 	var docFrag = range.ExtractContents() ;
 
@@ -215,5 +234,5 @@
 	assertEquals( 'StartBlock', document.getElementById('_P2'), range.StartBlock ) ;
 	assertEquals( 'StartBlockLimit', document.body, range.StartBlockLimit ) ;
-	
+
 	assertEquals( 'EndContainer', document.getElementById('_P2'), range.EndContainer ) ;
 	assertEquals( 'EndBlock', document.getElementById('_P2'), range.EndBlock ) ;
@@ -228,5 +247,5 @@
 	range.SetStart( document.getElementById('_P2'), 1 ) ;
 	range.SetEnd( document.getElementById('_Em'), 2 ) ;
-	
+
 	var clone = range.Clone() ;
 	clone.SetStart( document.getElementById('_P'), 1 ) ;
@@ -282,5 +301,5 @@
 	var range = new FCKDomRange( window ) ;
 	range.MoveToElementStart( document.getElementById('_Strong') ) ;
-	
+
 	var eNewNode = document.createElement( 'span' ) ;
 	eNewNode.innerHTML = 'test' ;
@@ -302,5 +321,5 @@
 	var range = new FCKDomRange( window ) ;
 	range.MoveToElementStart( document.getElementById('_Strong') ) ;
-	
+
 	assertTrue( range.CheckIsEmpty() ) ;
 }
@@ -310,5 +329,5 @@
 	var range = new FCKDomRange( window ) ;
 	range.MoveToNodeContents( document.getElementById('_Strong') ) ;
-	
+
 	assertFalse( range.CheckIsEmpty() ) ;
 }
@@ -330,4 +349,13 @@
 }
 
+function test_CheckIsEmpty_5()
+{
+	var range = new FCKDomRange( window ) ;
+	range.MoveToNodeContents( document.getElementById('_Strong').firstChild ) ;
+	range.SetEnd( document.getElementById('_Strong'), 2 ) ;
+
+	assertFalse( range.CheckIsEmpty() ) ;
+}
+
 function test_CheckStartOfBlock_1()
 {
@@ -365,5 +393,5 @@
 {
 	var range = new FCKDomRange( window ) ;
-	range.SetStart( document.getElementById('_P').lastChild, 2 ) ;
+	range.SetStart( document.getElementById('_P'), 2 ) ;
 
 	assertTrue( range.CheckEndOfBlock() ) ;
@@ -385,5 +413,5 @@
 	range.SetStart( document.getElementById('_Span'), 1 ) ;
 	range.SetEnd( document.getElementById('_P'), 2 ) ;
-	
+
 	assertEquals( '1.StartContainer', document.getElementById('_Span'), range.StartContainer ) ;
 	assertEquals( '1.StartBlock', document.getElementById('_P'), range.StartBlock ) ;
@@ -393,7 +421,7 @@
 	assertEquals( '1.EndBlockLimit', document.body, range.EndBlockLimit ) ;
 	assertFalse( '1.CheckIsCollapsed', range.CheckIsCollapsed() ) ;
-	
-	var bookmark = range.CreateBookmark() 
-	
+
+	var bookmark = range.CreateBookmark() ;
+
 	range.MoveToElementStart( document.getElementById('_P2') ) ;
 
@@ -426,5 +454,5 @@
 	var range = new FCKDomRange( window ) ;
 	range.SetStart( document.getElementById('_Span'), 1 ) ;
-	
+
 	assertEquals( '1.StartContainer', document.getElementById('_Span'), range.StartContainer ) ;
 	assertEquals( '1.StartBlock', document.getElementById('_P'), range.StartBlock ) ;
@@ -434,7 +462,7 @@
 	assertEquals( '1.EndBlockLimit', document.body, range.EndBlockLimit ) ;
 	assertTrue( '1.CheckIsCollapsed', range.CheckIsCollapsed() ) ;
-	
-	var bookmark = range.CreateBookmark() 
-	
+
+	var bookmark = range.CreateBookmark() ;
+
 	range.MoveToNodeContents( document.getElementById('_P2') ) ;
 
@@ -466,5 +494,5 @@
 	range.SetStart( document.getElementById('_A'), 1 ) ;
 	range.SetEnd( document.getElementById('_Img'), 3 ) ;
-	
+
 	range.Expand( 'block_contents' ) ;
 
@@ -485,5 +513,5 @@
 	var range = new FCKDomRange( window ) ;
 	range.MoveToNodeContents( document.getElementById('_StrongNoPara') ) ;
-	
+
 	range.Expand( 'block_contents' ) ;
 
@@ -519,5 +547,5 @@
 {
 	// Reset the body (because of changes by test functions).
-	document.body.innerHTML = _BodyHtml ;	
+	document.body.innerHTML = _BodyHtml ;
 }
 
@@ -526,5 +554,5 @@
 //window.onload = function()
 //{
-//	test_MoveToBookmark() ;
+//	test_CheckIsEmpty_5() ;
 //}
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fcktools.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fcktools.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fcktools.html	(revision 141)
@@ -1,12 +1,31 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKTools - Tests for JsUnit</title>
+	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
 	<script type="text/javascript" src="tests.js"></script>
 	<script type="text/javascript" src="../_jsunit/app/jsUnitCore.js"></script>
-	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
-FCKScriptLoader._FCKeditorPath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_test')) ;
 FCKScriptLoader.Load( 'FCKTools' ) ;
 
@@ -63,8 +82,8 @@
 		Number : 10,
 		ArrayObject : [ 1, 3, 5 ]
-	}
-	
+	} ;
+
 	var clone = FCKTools.CloneObject( original ) ;
-	
+
 	assertEquals( 'original.Text', 'Some Text', original.Text ) ;
 	assertEquals( 'original.Number', 10, original.Number ) ;
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fckw3crange.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fckw3crange.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/fckw3crange.html	(revision 141)
@@ -1,12 +1,31 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKW3CRange - Tests for JsUnit</title>
+	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
 	<script type="text/javascript" src="tests.js"></script>
 	<script type="text/javascript" src="../_jsunit/app/jsUnitCore.js"></script>
-	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
-FCKScriptLoader._FCKeditorPath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_test')) ;
 FCKScriptLoader.Load( 'FCKW3CRange' ) ;
 
@@ -17,8 +36,8 @@
 {
 	var range = FCKW3CRange.CreateRange( document ) ;
-	
+
 	assertNotNull( range ) ;
 	assertNotUndefined( range.startContainer ) ;
-	
+
 	if ( range.TypeName == 'FCKW3CRange' )
 		inform( 'FCKW3CRange is our custom implementation' ) ;
@@ -31,5 +50,5 @@
 	var range = FCKW3CRange.CreateRange( document ) ;
 	range.setStart( document.body, 1 ) ;
-	
+
 	assertEquals( document.body, range.startContainer ) ;
 	assertEquals( 1, range.startOffset ) ;
@@ -44,5 +63,5 @@
 	var range = FCKW3CRange.CreateRange( document ) ;
 	range.setEnd( document.body, 1 ) ;
-	
+
 	assertEquals( document.body, range.startContainer ) ;
 	assertEquals( 1, range.startOffset ) ;
@@ -57,5 +76,5 @@
 	range.setStartAfter( document.getElementById( '_B' ) ) ;
 	range.setStartAfter( document.getElementById( '_H1' ).firstChild ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_H1' ), range.startContainer ) ;
 	assertEquals( 'range.startOffset', 1, range.startOffset ) ;
@@ -70,5 +89,5 @@
 	range.setStartBefore( document.getElementById( '_B' ) ) ;
 	range.setStartBefore( document.getElementById( '_H1' ).firstChild ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_H1' ), range.startContainer ) ;
 	assertEquals( 'range.startOffset', 0, range.startOffset ) ;
@@ -83,5 +102,5 @@
 	range.setEndAfter( document.getElementById( '_H1' ).firstChild ) ;
 	range.setEndAfter( document.getElementById( '_B' ) ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_H1' ), range.startContainer ) ;
 	assertEquals( 'range.startOffset', 1, range.startOffset ) ;
@@ -96,5 +115,5 @@
 	range.setEndBefore( document.getElementById( '_H1' ).firstChild ) ;
 	range.setEndBefore( document.getElementById( '_B' ) ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_H1' ), range.startContainer ) ;
 	assertEquals( 'range.startOffset', 0, range.startOffset ) ;
@@ -107,8 +126,8 @@
 {
 	var range = FCKW3CRange.CreateRange( document ) ;
-	
+
 	// Test with an Element node.
 	range.selectNodeContents( document.getElementById( '_P' ) ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_P' ), range.startContainer ) ;
 	assertEquals( 'range.startOffset', 0, range.startOffset ) ;
@@ -135,6 +154,6 @@
 {
 	var range = FCKW3CRange.CreateRange( document ) ;
-	
-	range.selectNodeContents( document.getElementById( '_P' ) ) ;	
+
+	range.selectNodeContents( document.getElementById( '_P' ) ) ;
 	range.collapse( true ) ;
 
@@ -149,8 +168,8 @@
 {
 	var range = FCKW3CRange.CreateRange( document ) ;
-	
+
 	range.selectNodeContents( document.getElementById( '_P' ) ) ;
 	range.collapse( false ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_P' ), range.startContainer ) ;
 	assertEquals( 'range.startOffset', 3, range.startOffset ) ;
@@ -186,5 +205,5 @@
 	range.setStartBefore( document.getElementById( '_P' ) ) ;
 	range.insertNode( eNewNode ) ;
-	
+
 	assertEquals( 'range.startContainer', document.body, range.startContainer ) ;
 	assertEquals( 'range.startOffset', 1, range.startOffset ) ;
@@ -242,5 +261,5 @@
 	range.setStart( document.getElementById( '_H1' ).firstChild, 3 ) ;
 	range.insertNode( eNewNode ) ;
-	
+
 	assertEquals( 'range.startContainer', document.getElementById( '_H1' ).firstChild, range.startContainer ) ;
 	assertEquals( 'range.startOffset', 3, range.startOffset ) ;
@@ -293,7 +312,7 @@
 	range.setStart( document.getElementById( '_P' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_P' ), 2 ) ;
-	
+
 	range.deleteContents() ;
-	
+
 	assertEquals( 'HTML after deletion', 't text.', GetTestInnerHtml( document.getElementById( '_P' ) ) ) ;
 
@@ -312,7 +331,7 @@
 	range.setStart( document.getElementById( '_B' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).nextSibling, 1 ) ;
-	
+
 	range.deleteContents() ;
-	
+
 	assertEquals( 'this is <b id=_b>s</b>text.', GetTestInnerHtml( document.getElementById( '_P' ) ) ) ;
 
@@ -331,7 +350,7 @@
 	range.setStart( document.getElementById( '_B' ).previousSibling, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).firstChild, 1 ) ;
-	
+
 	range.deleteContents() ;
-	
+
 	assertEquals( 't<b id=_b>ome</b> text.', GetTestInnerHtml( document.getElementById( '_P' ) ) ) ;
 
@@ -352,5 +371,5 @@
 
 	range.deleteContents() ;
-	
+
 	assertEquals( '<h1 id=_h1>f</h1><p>nother paragraph.</p>', GetTestInnerHtml( document.body ) ) ;
 
@@ -368,5 +387,5 @@
 	range.setStart( document.getElementById( '_H1' ), 0 ) ;
 	range.setEnd( document.body.lastChild, 1 ) ;
-	
+
 	range.deleteContents() ;
 
@@ -386,5 +405,5 @@
 	range.setStart( document.body, 0 ) ;
 	range.setEnd( document.body, 2 ) ;
-	
+
 	range.deleteContents() ;
 
@@ -403,5 +422,5 @@
 
 	range.selectNodeContents( document.getElementById('_B') ) ;
-	
+
 	range.deleteContents() ;
 
@@ -420,7 +439,7 @@
 
 	range.selectNodeContents( document.getElementById('_P') ) ;
-	
+
 	range.deleteContents() ;
-	
+
 	assertEquals( '', GetTestInnerHtml( document.getElementById('_P') ) ) ;
 
@@ -439,7 +458,7 @@
 	range.setStart( document.getElementById( '_P' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_P' ), 2 ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
+
 	var tmpDiv = document.createElement( 'div' ) ;
 	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
@@ -462,11 +481,11 @@
 	range.setStart( document.getElementById( '_B' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).nextSibling, 2 ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Extracted HTML', '<b id=_b>ome</b> t', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', '<b id=_b>ome</b> t', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( 'HTML after extraction', 'this is <b id=_b>s</b>ext.', GetTestInnerHtml( document.getElementById( '_P' ) ) ) ;
 
@@ -485,11 +504,11 @@
 	range.setStart( document.getElementById( '_B' ).previousSibling, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).firstChild, 1 ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Extracted HTML', 'his is <b id=_b>s</b>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', 'his is <b id=_b>s</b>', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( 'HTML after extraction', 't<b id=_b>ome</b> text.', GetTestInnerHtml( document.getElementById( '_P' ) ) ) ;
 
@@ -510,9 +529,9 @@
 
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Extracted HTML', '<h1 id=_h1>ckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>a</p>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', '<h1 id=_h1>ckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>a</p>', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( '<h1 id=_h1>f</h1><p>nother paragraph.</p>', GetTestInnerHtml( document.body ) ) ;
 
@@ -530,11 +549,11 @@
 	range.setStart( document.getElementById( '_H1' ), 0 ) ;
 	range.setEnd( document.body.lastChild, 1 ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Extracted HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>another paragraph.</p>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>another paragraph.</p>', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( '<h1 id=_h1></h1><p></p>', GetTestInnerHtml( document.body ) ) ;
 
@@ -552,11 +571,11 @@
 	range.setStart( document.body, 0 ) ;
 	range.setEnd( document.body, 2 ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-	
-	assertEquals( 'Extracted HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p>', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( '<p>another paragraph.</p>', document.body.innerHTML.replace( /id=_H1/, 'id="_H1"' ).toLowerCase().replace( /\n|\r/g, '' ) ) ;
 
@@ -573,11 +592,11 @@
 
 	range.selectNodeContents( document.getElementById('_B') ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-	
-	assertEquals( 'Extracted HTML', 'some', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', 'some', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( 'HTML after extraction', '', GetTestInnerHtml( document.getElementById('_B') ) ) ;
 
@@ -594,11 +613,11 @@
 
 	range.selectNodeContents( document.getElementById('_P') ) ;
-	
+
 	var docFrag = range.extractContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Extracted HTML', 'this is <b id=_b>some</b> text.', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Extracted HTML', 'this is <b id=_b>some</b> text.', GetTestInnerHtml( tmpDiv ) ) ;
 	assertEquals( 'HTML after extraction', '', GetTestInnerHtml( document.getElementById('_P') ) ) ;
 
@@ -617,12 +636,12 @@
 	range.setStart( document.getElementById( '_P' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_P' ), 2 ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
-	
+
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
 	assertEquals( 'Cloned HTML', 'his is <b id=_b>some</b>', GetTestInnerHtml( tmpDiv ) ) ;
 
@@ -645,13 +664,13 @@
 	range.setStart( document.getElementById( '_B' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).nextSibling, 2 ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
-	
+
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Cloned HTML', '<b id=_b>ome</b> t', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', '<b id=_b>ome</b> t', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -673,13 +692,13 @@
 	range.setStart( document.getElementById( '_B' ).previousSibling, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).firstChild, 1 ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
-	
+
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Cloned HTML', 'his is <b id=_b>s</b>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', 'his is <b id=_b>s</b>', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -703,11 +722,11 @@
 
 	var bodyHtml = document.body.innerHTML ;
-	
+
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Cloned HTML', '<h1 id=_h1>ckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>a</p>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', '<h1 id=_h1>ckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>a</p>', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -728,13 +747,13 @@
 	range.setStart( document.getElementById( '_H1' ), 0 ) ;
 	range.setEnd( document.body.lastChild, 1 ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
-	
+
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-
-	assertEquals( 'Cloned HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>another paragraph.</p>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p><p>another paragraph.</p>', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -755,13 +774,13 @@
 	range.setStart( document.body, 0 ) ;
 	range.setEnd( document.body, 2 ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
-	
+
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-	
-	assertEquals( 'Cloned HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p>', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', '<h1 id=_h1>fckw3crange test</h1><p id=_p>this is <b id=_b>some</b> text.</p>', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -781,13 +800,13 @@
 
 	range.selectNodeContents( document.getElementById('_B') ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
 
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-	
-	assertEquals( 'Cloned HTML', 'some', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', 'some', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -806,13 +825,13 @@
 
 	range.selectNodeContents( document.getElementById('_P') ) ;
-	
+
 	var bodyHtml = document.body.innerHTML ;
 
 	var docFrag = range.cloneContents() ;
-	
-	var tmpDiv = document.createElement( 'div' ) ;
-	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
-	
-	assertEquals( 'Cloned HTML', 'this is <b id=_b>some</b> text.', GetTestInnerHtml( tmpDiv ) ) ;	
+
+	var tmpDiv = document.createElement( 'div' ) ;
+	if ( docFrag.AppendTo ) docFrag.AppendTo( tmpDiv ) ; else tmpDiv.appendChild( docFrag ) ;
+
+	assertEquals( 'Cloned HTML', 'this is <b id=_b>some</b> text.', GetTestInnerHtml( tmpDiv ) ) ;
 
 	// The body HTML must remain unchanged.
@@ -833,5 +852,5 @@
 	range.setStart( document.getElementById( '_P' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_P' ), 2 ) ;
-	
+
 	assertEquals( 'his is some', range.toString() ) ;
 }
@@ -845,6 +864,6 @@
 	range.setStart( document.getElementById( '_B' ).firstChild, 1 ) ;
 	range.setEnd( document.getElementById( '_B' ).nextSibling, 1 ) ;
-	
-	assertEquals( 'Cloned HTML', 'ome ', range.toString() ) ;	
+
+	assertEquals( 'Cloned HTML', 'ome ', range.toString() ) ;
 }
 
@@ -857,5 +876,5 @@
 	range.setEnd( document.getElementById( '_B' ).firstChild, 1 ) ;
 
-	assertEquals( 'Cloned HTML', 'his is s', range.toString() ) ;	
+	assertEquals( 'Cloned HTML', 'his is s', range.toString() ) ;
 }
 
@@ -868,5 +887,5 @@
 	range.setEnd( document.body.lastChild.firstChild, 1 ) ;
 
-	assertEquals( 'Cloned HTML', 'CKW3CRange TestThis is some text.A', range.toString() ) ;	
+	assertEquals( 'Cloned HTML', 'CKW3CRange TestThis is some text.A', range.toString() ) ;
 }
 
@@ -888,5 +907,5 @@
 	range.setEnd( document.body, 2 ) ;
 
-	assertEquals( 'Cloned HTML', 'FCKW3CRange TestThis is some text.', range.toString() ) ;	
+	assertEquals( 'Cloned HTML', 'FCKW3CRange TestThis is some text.', range.toString() ) ;
 }
 
@@ -898,5 +917,5 @@
 {
 	// Reset the body (because of changes by test functions).
-	document.body.innerHTML = '<h1 id="_H1">FCKW3CRange Test</h1><p id="_P">This is <b id="_B">some</b> text.</p><p>Another paragraph.</p>' ;	
+	document.body.innerHTML = '<h1 id="_H1">FCKW3CRange Test</h1><p id="_P">This is <b id="_B">some</b> text.</p><p>Another paragraph.</p>' ;
 }
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/suite.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/suite.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/suite.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -12,9 +32,9 @@
 
 	var suite = new top.jsUnitTestSuite() ;
-	
+
 	suite.addTestPage( '../tests/fcktools.html' ) ;
 	suite.addTestPage( '../tests/fckw3crange.html' ) ;
 	suite.addTestPage( '../tests/fckdomrange.html' ) ;
-	
+
 	return suite ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/tests.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/tests.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/automated/tests/tests.js	(revision 141)
@@ -1,4 +1,28 @@
-﻿if ( window == window.top )
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ */
+
+if ( window == window.top )
 	window.location = '../_jsunit/testRunner.html?testpage=' + document.location.pathname ;
+
+if ( typeof FCKScriptLoader != 'undefined' )
+	FCKScriptLoader.FCKeditorPath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_test')) ;
 
 function GetTestInnerHtml( element )
@@ -7,4 +31,4 @@
 	// quotes, uppercased and linebreaks). Transform it in something usable for
 	// the tests assertions.
-	return element.innerHTML.replace( /"/g, '' ).toLowerCase().replace( />\s*(\n|\r)+\s*</g, '><' ).replace( /\s*(\n|\r)+\s*/g, ' ' ).replace( /(^\s+)|(\s+$)/g, '' )
+	return element.innerHTML.replace( /"/g, '' ).toLowerCase().replace( />\s*(\n|\r)+\s*</g, '><' ).replace( /\s*(\n|\r)+\s*/g, ' ' ).replace( /(^\s+)|(\s+$)/g, '' ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/_common/manual_test.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/_common/manual_test.js	(revision 141)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/_common/manual_test.js	(revision 141)
@@ -0,0 +1,3 @@
+﻿if ( typeof FCKScriptLoader != 'undefined' )
+	FCKScriptLoader.FCKeditorPath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_test')) ;
+
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/_common/testskin.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/_common/testskin.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/_common/testskin.css	(revision 141)
@@ -1,5 +1,5 @@
 .Default, .Menu
 {
-	cursor: default; 
+	cursor: default;
 	background-color: #efefde;
 }
@@ -7,5 +7,5 @@
 .Office
 {
-	cursor: default; 
+	cursor: default;
 	background-color: #f7f8fd;
 }
@@ -106,5 +106,5 @@
 /*
 	Office Skin (applied in the same page)
-	This is done just for testing. It is used on rare cases where you need to 
+	This is done just for testing. It is used on rare cases where you need to
 	place differente toolbars in the same page.
 	It is not complete. Just the necessary things used in the test pages are set.
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/behaviors/showtableborders.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/behaviors/showtableborders.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/behaviors/showtableborders.html	(revision 141)
@@ -1,10 +1,30 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>Untitled Page</title>
 	<style type="text/css" _fcktemp="true">
-		TABLE 
-		{ 
-			behavior: url(http://dev.fckeditor.local/V2/editor/css/behaviors/showtableborders.htc) ; 
+		TABLE
+		{
+			behavior: url(http://dev.fckeditor.local/V2/editor/css/behaviors/showtableborders.htc) ;
 		}
     </style>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckbrowserinfo/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckbrowserinfo/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckbrowserinfo/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckcontextmenu/test1.htm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckcontextmenu/test1.htm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckcontextmenu/test1.htm	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -6,5 +26,5 @@
 
 // Used by fckconfig
-var FCK = new Object() ;	
+var FCK = new Object() ;
 
 // Used by FCKPanel.
@@ -30,5 +50,5 @@
 	<script src="../../../editor/_source/classes/fckcontextmenu.js" type="text/javascript"></script>
 	<script type="text/javascript">
-	
+
 var FCK_IMAGES_PATH = '../../../editor/images/' ;		// Check usage.
 var FCK_SPACER_PATH = '../../../editor/images/spacer.gif' ;
@@ -76,5 +96,5 @@
 
 	this.RemoveAllItems() ;
-	
+
 	switch( targetElement.id )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomrange/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomrange/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomrange/test1.html	(revision 141)
@@ -1,12 +1,32 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKDomRange</title>
 	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
+	<script src="../_common/manual_test.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
 var FCK = new Object() ;
 
-FCKScriptLoader._FCKeditorPath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_test')) ;
 FCKScriptLoader.Load( 'FCKDomRange' ) ;
 FCKScriptLoader.Load( 'FCKDebug' ) ;
@@ -61,8 +81,13 @@
 }
 
+function CheckStartOfBlock()
+{
+	alert( oRange.CheckStartOfBlock() ) ;
+	oRange.Window.focus() ;
+}
+
 function CheckEndOfBlock()
 {
 	alert( oRange.CheckEndOfBlock() ) ;
-	AutoSelect() ;
 	oRange.Window.focus() ;
 }
@@ -82,8 +107,14 @@
 }
 
+function CheckIsEmpty()
+{
+	alert( oRange.CheckIsEmpty() ) ;
+	oRange.Window.focus() ;
+}
+
 function SetStart()
 {
 	var e = oRange.Window.document.getElementsByTagName( document.getElementById('xTag').value )[0] ;
-	oRange.SetStart( e, parseInt( document.getElementById('xPosition').value ) ) ;
+	oRange.SetStart( e, parseInt( document.getElementById('xPosition').value, 10 ) ) ;
 	AutoSelect() ;
 	UpdateDetails() ;
@@ -94,5 +125,5 @@
 {
 	var e = oRange.Window.document.getElementsByTagName( document.getElementById('xTag').value )[0] ;
-	oRange.SetEnd( e, parseInt( document.getElementById('xPosition').value ) ) ;
+	oRange.SetEnd( e, parseInt( document.getElementById('xPosition').value, 10 ) ) ;
 	AutoSelect() ;
 	UpdateDetails() ;
@@ -183,6 +214,8 @@
 		<input type="button" value="Extract Contents" onclick="ExtractContents(); return false;" />
 		<input type="button" value="Check End of Block" onclick="CheckEndOfBlock(); return false;" />
+		<input type="button" value="Check Start of Block" onclick="CheckStartOfBlock(); return false;" />
 		<input type="button" value="Collapse" onclick="Collapse(); return false;" />
 		<input type="button" value="Check Is Collapsed" onclick="CheckIsCollapsed(); return false;" />
+		<input type="button" value="Check Is Empty" onclick="CheckIsEmpty(); return false;" />
 	</p>
 	<table>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomrange/test1_inner.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomrange/test1_inner.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomrange/test1_inner.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomtools/insertafternode.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomtools/insertafternode.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckdomtools/insertafternode.html	(revision 141)
@@ -1,10 +1,32 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKDomTools.InsertAfterNode</title>
 	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
+	<script src="../_common/manual_test.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
 FCKScriptLoader.Load( 'FCKTools' ) ;
+FCKScriptLoader.Load( 'FCKDomTools' ) ;
 
 	</script>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditingarea/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditingarea/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditingarea/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -6,5 +26,5 @@
 
 // Used by fckconfig
-var FCK = new Object() ;	
+var FCK = new Object() ;
 
 	</script>
@@ -25,5 +45,5 @@
 var sSuffix = /msie/.test( navigator.userAgent.toLowerCase() ) ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
@@ -58,5 +78,5 @@
 
 	var _BehaviorsStyle = '<style type="text/css" _fcktemp="true">' ;
-	
+
 	_BehaviorsStyle += 'INPUT { behavior: url(' + sBasePath + 'editor/css/behaviors/hiddenfield.htc) ; } ' ;
 
@@ -69,5 +89,5 @@
 
 	_BehaviorsStyle += '</style>' ;
-	
+
 	var sHtml = '' ;
 
@@ -82,5 +102,5 @@
 	sHtml += '<link href="../../../editor/css/fck_editorarea.css" rel="stylesheet" type="text/css" />' ;
 	sHtml += '<link href="../../../editor/css/fck_internal.css" rel="stylesheet" type="text/css" />' ;
-	
+
 	if ( FCKBrowserInfo.IsIE )
 		sHtml += _BehaviorsStyle ;
@@ -92,5 +112,5 @@
 	sHtml += document.getElementById( 'xSource' ).value ;
 	sHtml += '</body></html>' ;
-	
+
 	return sHtml ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditorapi/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditorapi/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditorapi/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -14,5 +34,5 @@
 	oIFrame.height = 100 ;
 	oIFrame.src = 'test1_inner.html' ;
-	
+
 	document.getElementById( 'xInstances' ).appendChild( oIFrame ) ;
 }
@@ -23,12 +43,12 @@
 	{
 		document.getElementById( 'xFCKeditorAPI' ).innerHTML = typeof( FCKeditorAPI ) ;
-		
+
 		var iCount = 0 ;
 		var sInstances = '' ;
-		
+
 		for ( var s in FCKeditorAPI.__Instances )
 		{
 			iCount++ ;
-			
+
 			if ( sInstances.length > 0 )
 				sInstances += ', ' ;
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditorapi/test1_inner.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditorapi/test1_inner.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckeditorapi/test1_inner.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -19,5 +39,5 @@
 var sSuffix = FCKBrowserInfo.IsIE ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script src="../../../editor/_source/fckeditorapi.js" type="text/javascript"></script>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckenterkey/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckenterkey/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckenterkey/test1.html	(revision 141)
@@ -1,6 +1,27 @@
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKEnterKey</title>
 	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
+	<script src="../_common/manual_test.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
@@ -13,5 +34,5 @@
 	<script type="text/javascript">
 
-FCKConfig.Debug = true ;
+FCKConfig.Debug = false ;
 FCKConfig.BasePath = '../../../editor/' ;
 
@@ -22,5 +43,5 @@
 {
 	oInnerWindow = innerWindow ;
-	
+
 	oEnterKey = new FCKEnterKey( innerWindow ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckenterkey/test1_inner.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckenterkey/test1_inner.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckenterkey/test1_inner.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckimagepreloader/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckimagepreloader/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckimagepreloader/test1.html	(revision 141)
@@ -1,7 +1,28 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>FCKScriptLoader</title>
+	<title>FCKImagePreloader</title>
 	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
+	<script src="../_common/manual_test.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
@@ -18,5 +39,5 @@
 	oPreloader.OnComplete = LoadImages ;
 	oPreloader.Start() ;
-	
+
 	// To test the undesired behavior, just comment the above Start() call and
 	// uncomment the following line.
@@ -30,5 +51,5 @@
 	var sHtml3 = '' ;
 	var sHtml4 = '' ;
-	
+
 	for ( var i = 0 ; i < 10 ; i++ )
 	{
@@ -38,5 +59,5 @@
 		sHtml4 += '<img src="../_common/arrowdown.gif" />' ;
 	}
-	
+
 	document.body.innerHTML += sHtml1 + sHtml2 + sHtml3 + sHtml4 ;
 }
@@ -46,5 +67,5 @@
 <body>
 	<h1>
-		FCKScriptLoader
+		FCKImagePreloader
 	</h1>
 	<p>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckkeystrokehandler/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckkeystrokehandler/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckkeystrokehandler/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -6,5 +26,5 @@
 
 // Used by fckconfig
-var FCK = new Object() ;	
+var FCK = new Object() ;
 
 	</script>
@@ -26,5 +46,5 @@
 var sSuffix = /msie/.test( navigator.userAgent.toLowerCase() ) ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
@@ -38,5 +58,5 @@
 	keystrokeHandler.OnKeystroke = KeystrokeHandler_OnKeystroke ;
 	keystrokeHandler.AttachToElement( document ) ;
-	
+
 	keystrokeHandler.SetKeystrokes(
 		[ 13 /*ENTER*/, 'Enter' ],
@@ -44,5 +64,5 @@
 		[ 8 /*BACKSPACE*/, 'Backspace' ],
 		[ 46 /*DELETE*/, 'Delete' ],
-	
+
 		[ CTRL + 67 /*C*/, 'Copy' ],
 		// [ CTRL + 86 /*V*/, 'Paste' ],
@@ -69,7 +89,7 @@
 {
 	var dump = document.getElementById( 'xDump' ) ;
-	
+
 	dump.value = keystroke + ' : ' + keystrokeValue + '\n' + dump.value ;
-	
+
 	// Cancel the keystroke.
 	return true ;
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcklisthandler/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcklisthandler/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcklisthandler/test1.html	(revision 141)
@@ -1,7 +1,28 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKListHandler</title>
 	<script src="../../../editor/_source/fckscriptloader.js" type="text/javascript"></script>
+	<script src="../_common/manual_test.js" type="text/javascript"></script>
 	<script type="text/javascript">
 
@@ -10,5 +31,5 @@
 	</script>
 	<script type="text/javascript">
-	
+
 window.onload = function()
 {
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckmenublock/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckmenublock/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckmenublock/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html>
 <head>
@@ -28,5 +48,5 @@
 
 FCKConfig.BasePath = '../../../editor/' ;
-	
+
 var FCK_IMAGES_PATH = '../../../editor/images/' ;		// Check usage.
 var FCK_SPACER_PATH = '../../../editor/images/spacer.gif' ;
@@ -56,7 +76,7 @@
 {
 	CreateMenuBlock().Create( document.getElementById( '_TargetLTR' ) ) ;
-	
+
 	FCKLang.Dir = 'rtl' ;
-	
+
 	CreateMenuBlock().Create( document.getElementById( '_TargetRTL' ) ) ;
 }
@@ -65,7 +85,7 @@
 {
 	var oMenuBlock = new FCKMenuBlock( dir ) ;
-	
+
 	oMenuBlock.OnClick = MenuBlock_OnClick ;
-	
+
 	oMenuBlock.AddItem( 'Search'		, null, 2 ) ;
 	oMenuBlock.AddSeparator() ;
@@ -85,5 +105,5 @@
 	oItem.AddItem( 'Next'		, null, [ '../_common/strip.gif', 16, 1 ] ) ;
 	oItem.AddItem( 'Previous'	, null, [ '../_common/strip.gif', 16, 3 ] ) ;
-	
+
 	oItem = oItem.AddItem( 'More' ) ;
 	oItem.AddItem( 'Next'		, null, [ '../_common/strip.gif', 16, 1 ] ) ;
@@ -94,5 +114,5 @@
 	oMenuBlock.AddItem( 'Next'			, null, 1	, true ) ;
 	oMenuBlock.AddItem( 'Previous'		, null, [ '../_common/strip.gif', 16, 3 ] ) ;
-	
+
 	return oMenuBlock ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckpanel/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckpanel/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckpanel/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html>
 <head>
@@ -29,5 +49,5 @@
 var sSuffix = /msie/.test( navigator.userAgent.toLowerCase() ) ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
@@ -84,5 +104,5 @@
 	var eDiv = oPanel.MainNode.appendChild( oPanel.Document.createElement( 'DIV' ) ) ;
 	eDiv.style.width = '300px' ;
-	eDiv.innerHTML = 'This is <b>some<\/b> content'
+	eDiv.innerHTML = 'This is <b>some<\/b> content' ;
 }
 
@@ -100,8 +120,8 @@
 
 	oPanel.IsContextMenu = true ;
-	
-	oPanel.Show( 
-		e ? e.pageX : event.offsetX, 
-		e ? e.pageY : event.offsetY, 
+
+	oPanel.Show(
+		e ? e.pageX : event.offsetX,
+		e ? e.pageY : event.offsetY,
 		e ? document.body : event.srcElement
 	) ;
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckpanel/test1/innerpage.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckpanel/test1/innerpage.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckpanel/test1/innerpage.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html>
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckspecialcombo/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckspecialcombo/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckspecialcombo/test1.html	(revision 141)
@@ -1,8 +1,28 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKSpecialCombo</title>
 	<script type="text/javascript">
-	
+
 var FCK = new Object() ;	// Used by fckconfig
 
@@ -26,5 +46,5 @@
 		.ToolbarBase
 		{
-			cursor: default; 
+			cursor: default;
 			background-color: #efefde;
 		}
@@ -44,5 +64,5 @@
 var sSuffix = /msie/.test( navigator.userAgent.toLowerCase() ) ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
@@ -81,4 +101,6 @@
 	oCombo.AddItem( 'Brown', '<span style="color:Brown">Brown with a long description text that overflows</span>' ) ;
 	oCombo.Create( document.getElementById( 'xTarget2' ) ) ;
+
+	document.getElementById( 'xOutput' ).value = document.getElementById( 'xTarget2' ).innerHTML ;
 }
 
@@ -86,18 +108,19 @@
 </head>
 <body>
-		<table width="100%" height="100%">
-			<tr>
-				<td class="ToolbarBase" align="center">
-					<table cellspacing="10">
-						<tr>
-							<td id="xTarget1">
-							</td>
-							<td id="xTarget2">
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-		</table>
+	<table width="100%" height="100%">
+		<tr>
+			<td class="ToolbarBase" align="center">
+				<table cellspacing="10">
+					<tr>
+						<td id="xTarget1">
+						</td>
+						<td id="xTarget2">
+						</td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+	</table>
+	<textarea id="xOutput"></textarea>
 </body>
 </html>
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbar/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbar/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbar/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html>
 <head>
@@ -19,5 +39,5 @@
 	<script src="../../../editor/_source/classes/fcktoolbar.js" type="text/javascript"></script>
 	<script type="text/javascript">
-	
+
 var FCK_IMAGES_PATH = '../../../editor/images/' ;		// Check usage.
 var FCK_SPACER_PATH = '../../../editor/images/spacer.gif' ;
@@ -43,13 +63,13 @@
 	CreateToolbarSet( document.getElementById( '_Default' ) ) ;
 	CreateToolbarSet( document.getElementById( '_Office' ) ) ;
-	
+
 		// Disable mouse selection operations.
 	FCKTools.DisableSelection( document.body ) ;
 }
 
-function CreateToolbarSet( target ) 
+function CreateToolbarSet( target )
 {
 	var oToolbar = CreateNewToolbar() ;
-	
+
 	// Add a few buttons.
 	oToolbar.AddButton( 'Smiley'	, null, 'Smiley Tooltip', '../_common/smiley.gif' ) ;
@@ -59,16 +79,16 @@
 	oToolbar.AddSeparator() ;
 	oToolbar.AddButton( 'Search'	, null, null			, 2, FCK_TOOLBARITEM_ICONTEXT ) ;
-	
+
 	oToolbar.Create( target ) ;
-	
-	var oToolbar = CreateNewToolbar() ;
-	
+
+	var oToolbar2 = CreateNewToolbar() ;
+
 	// Add a few buttons.
-	oToolbar.AddButton( 'Search'	, null, null			, 2, FCK_TOOLBARITEM_ICONTEXT ) ;
-	oToolbar.AddSeparator() ;
-	oToolbar.AddButton( 'Previous'	, null, null			, 3 ) ;
-	oToolbar.AddButton( 'Next'		, null, null			, 1 ) ;
-	
-	oToolbar.Create( target ) ;
+	oToolbar2.AddButton( 'Search'	, null, null			, 2, FCK_TOOLBARITEM_ICONTEXT ) ;
+	oToolbar2.AddSeparator() ;
+	oToolbar2.AddButton( 'Previous'	, null, null			, 3 ) ;
+	oToolbar2.AddButton( 'Next'		, null, null			, 1 ) ;
+
+	oToolbar2.Create( target ) ;
 }
 
@@ -76,10 +96,10 @@
 {
 	var oNewToolbar = new FCKToolbar() ;
-	
+
 	// Important: Initialization must be done before adding items.
 	oNewToolbar.DefaultIconsStrip	= '../_common/strip.gif' ;
 	oNewToolbar.DefaultIconSize		= 16 ;
 	oNewToolbar.OnItemClick			= OnToolbarItemClick ;
-	
+
 	return oNewToolbar ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarbuttonui/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarbuttonui/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarbuttonui/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html>
 <head>
@@ -17,5 +37,5 @@
 		.ToolbarBase
 		{
-			cursor: default; 
+			cursor: default;
 			background-color: #efefde;
 		}
@@ -38,5 +58,5 @@
 var sSuffix = /msie/.test( navigator.userAgent.toLowerCase() ) ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
@@ -60,7 +80,7 @@
 	oButton3 = new FCKToolbarButtonUI( 'Search', null, null, ['test1/strip.gif',16,2] ) ;
 	oButton4 = new FCKToolbarButtonUI( 'Previous', null, 'Search Tooltip', ['test1/strip.gif',16,3] ) ;
-	
+
 	oButton4.ShowArrow = true ;
-	
+
 	oButton1.OnClick = oButton2.OnClick = oButton3.OnClick = oButton4.OnClick = OnButtonClick ;
 	Create() ;
@@ -68,22 +88,22 @@
 	var i = 0 ;
 	var iIcon = 0 ;
-	
+
 	var eBigTable = document.getElementById( '_BigTable') ;
-	
+
 	for ( var r = 0 ; r < eBigTable.rows.length ; r++ )
 	{
 		var eRow = eBigTable.rows[r] ;
-		
+
 		for ( var c = 0 ; c < eRow.cells.length ; c++ )
 		{
 			var eCell = eRow.cells[c] ;
-			
+
 			i++ ;
-			
+
 			if ( iIcon == 3 )
 				iIcon = 1 ;
 			else
 				iIcon++ ;
-			
+
 			var oNewButton = new FCKToolbarButtonUI( 'Test_' + i, 'Test ' + i, 'Test ' + i + ' Tooltip', ['test1/strip.gif',16,iIcon], FCK_TOOLBARITEM_ICONTEXT ) ;
 			oNewButton.OnClick = OnButtonClick ;
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarfontsizecombo/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarfontsizecombo/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarfontsizecombo/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml" >
 <head>
@@ -6,5 +26,5 @@
 
 // Used by fckconfig
-var FCK = new Object() ;	
+var FCK = new Object() ;
 
 // Used for the command execution.
@@ -32,5 +52,5 @@
 		.ToolbarBase
 		{
-			cursor: default; 
+			cursor: default;
 			background-color: #efefde;
 		}
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarpanelbutton/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarpanelbutton/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktoolbarpanelbutton/test1.html	(revision 141)
@@ -6,5 +6,5 @@
 
 // Used by fckconfig
-var FCK = new Object() ;	
+var FCK = new Object() ;
 
 // Used by FCKPanel.
@@ -39,5 +39,5 @@
 		.ToolbarBase
 		{
-			cursor: default; 
+			cursor: default;
 			background-color: #efefde;
 		}
@@ -52,5 +52,5 @@
 
 FCKConfig.BasePath = '../../../editor/' ;
-	
+
 var FCK_IMAGES_PATH = '../../../editor/images/' ;		// Check usage.
 var FCK_SPACER_PATH = '../../../editor/images/spacer.gif' ;
@@ -69,11 +69,11 @@
 
 // This one is used by the panel button to get the command.
-FCK.ToolbarSet = 
+FCK.ToolbarSet =
 {
-	CurrentInstance : 
+	CurrentInstance :
 	{
 		Commands : FCKCommands
 	}
-}
+} ;
 
 // This is a generic object used to cleanup IE memory leaks.
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/addeventlistenerex.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/addeventlistenerex.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/addeventlistenerex.html	(revision 141)
@@ -1,23 +1,43 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKTools.AddEventListenerEx</title>
 	<style type="text/css">
-	
+
 		.Ok
 		{
 			background-color: green ;
 		}
-		
+
 		.Failed
 		{
 			background-color: red ;
 		}
-		
+
 		input
 		{
 			width: 150px;
 		}
-	
+
 	</style>
 	<script type="text/javascript">
@@ -36,5 +56,5 @@
 var sSuffix = FCKBrowserInfo.IsIE ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/createeventlistener.htm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/createeventlistener.htm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/createeventlistener.htm	(revision 141)
@@ -1,23 +1,43 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKTools.CreateEventListener</title>
 	<style type="text/css">
-	
+
 		.Ok
 		{
 			background-color: green ;
 		}
-		
+
 		.Failed
 		{
 			background-color: red ;
 		}
-		
+
 		input
 		{
 			width: 150px;
 		}
-	
+
 	</style>
 	<script type="text/javascript">
@@ -36,5 +56,5 @@
 var sSuffix = FCKBrowserInfo.IsIE ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/runfunction.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/runfunction.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fcktools/runfunction.html	(revision 141)
@@ -1,18 +1,38 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<title>FCKTools.RunFunction</title>
 	<style type="text/css">
-	
+
 		.Ok
 		{
 			background-color: green ;
 		}
-		
+
 		.Failed
 		{
 			background-color: red ;
 		}
-	
+
 	</style>
 	<script src="../../../editor/_source/fckjscoreextensions.js" type="text/javascript"></script>
@@ -27,5 +47,5 @@
 var sSuffix = FCKBrowserInfo.IsIE ? 'ie' : 'gecko' ;
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
@@ -40,12 +60,12 @@
 	FCKTools.RunFunction( MainWindow ) ;
 	FCKTools.RunFunction( MainWindowParams, null, [ document.body, 'Test' ] ) ;
-	
+
 	// Case 2
 	var o = new Object() ;
 	o._FCK = 'Custom Object' ;
-	
+
 	FCKTools.RunFunction( CustomObject, o ) ;
 	FCKTools.RunFunction( CustomObjectParams, o, [ document.body, 'Test' ] ) ;
-	
+
 	// Case 3
 	var e = $('xElement') ;
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1.html	(revision 141)
@@ -1,3 +1,23 @@
 <!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -6,5 +26,5 @@
 
 // Used by fckconfig
-var FCK = new Object() ;	
+var FCK = new Object() ;
 FCK.IsDirty = function() { return true ; } ;
 
@@ -30,5 +50,5 @@
 LoadScript( '../../../editor/_source/internals/fcktools_' + sSuffix + '.js' ) ;
 LoadScript( '../../../editor/_source/internals/fckxhtml_' + sSuffix + '.js' ) ;
-	
+
 	</script>
 	<script type="text/javascript">
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml.html	(revision 141)
@@ -8,5 +8,5 @@
 <link rel="stylesheet" type="text/css" media="screen" href="w3c_xhtml_files/xhtml.css">
 <link rel="stylesheet" type="text/css" media="screen" href="w3c_xhtml_files/W3C-REC.css"></head><body>
-<div class="head"><a href="http://www.w3.org/"><img src="w3c_xhtml_files/w3c_home.png" alt="W3C" height="48" width="72"></a> 
+<div class="head"><a href="http://www.w3.org/"><img src="w3c_xhtml_files/w3c_home.png" alt="W3C" height="48" width="72"></a>
 
 <h1><a name="title" id="title"></a> XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)</h1>
@@ -123,5 +123,5 @@
 <div class="toc">
 <ul class="toc">
-<li class="tocline">1. <a href="#xhtml" class="tocxref">What is XHTML?</a> 
+<li class="tocline">1. <a href="#xhtml" class="tocxref">What is XHTML?</a>
 
 <ul class="toc">
@@ -134,5 +134,5 @@
 </li>
 
-<li class="tocline">2. <a href="#defs" class="tocxref">Definitions</a> 
+<li class="tocline">2. <a href="#defs" class="tocxref">Definitions</a>
 
 <ul class="toc">
@@ -143,8 +143,8 @@
 </li>
 
-<li class="tocline">3. <a href="#normative" class="tocxref">Normative Definition of XHTML 1.0</a> 
+<li class="tocline">3. <a href="#normative" class="tocxref">Normative Definition of XHTML 1.0</a>
 
 <ul class="toc">
-<li class="tocline">3.1. <a href="#docconf" class="tocxref">Document Conformance</a> 
+<li class="tocline">3.1. <a href="#docconf" class="tocxref">Document Conformance</a>
 
 <ul class="toc">
@@ -159,5 +159,5 @@
 </li>
 
-<li class="tocline">4. <a href="#diffs" class="tocxref">Differences with HTML&nbsp;4</a> 
+<li class="tocline">4. <a href="#diffs" class="tocxref">Differences with HTML&nbsp;4</a>
 
 <ul class="toc">
@@ -188,5 +188,5 @@
 </li>
 
-<li class="tocline">5. <a href="#issues" class="tocxref">Compatibility Issues</a> 
+<li class="tocline">5. <a href="#issues" class="tocxref">Compatibility Issues</a>
 
 <ul class="toc">
@@ -195,8 +195,8 @@
 </li>
 
-<li class="tocline">A. <a href="#dtds" class="tocxref">DTDs</a> 
+<li class="tocline">A. <a href="#dtds" class="tocxref">DTDs</a>
 
 <ul class="toc">
-<li class="tocline">A.1. <a href="#h-A1" class="tocxref">Document Type Definitions</a> 
+<li class="tocline">A.1. <a href="#h-A1" class="tocxref">Document Type Definitions</a>
 
 <ul class="toc">
@@ -209,5 +209,5 @@
 </li>
 
-<li class="tocline">A.2. <a href="#h-A2" class="tocxref">Entity Sets</a> 
+<li class="tocline">A.2. <a href="#h-A2" class="tocxref">Entity Sets</a>
 
 <ul class="toc">
@@ -224,5 +224,5 @@
 <li class="tocline">B. <a href="#prohibitions" class="tocxref">Element Prohibitions</a></li>
 
-<li class="tocline">C. <a href="#guidelines" class="tocxref">HTML Compatibility Guidelines</a> 
+<li class="tocline">C. <a href="#guidelines" class="tocxref">HTML Compatibility Guidelines</a>
 
 <ul class="toc">
@@ -539,13 +539,13 @@
 must reference one of the three DTDs found in <a href="#dtds">DTDs</a> using the respective Formal Public Identifier. The system identifier may be changed to reflect local system conventions.</p>
 
-<pre>&lt;!DOCTYPE html 
+<pre>&lt;!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
 
-&lt;!DOCTYPE html 
+&lt;!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
 
-&lt;!DOCTYPE html 
+&lt;!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;
@@ -568,5 +568,5 @@
 <div class="good">
 <pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;!DOCTYPE html 
+&lt;!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
@@ -1155,5 +1155,5 @@
 <pre>&lt;?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-REC.css" type="text/css"?&gt;
 &lt;?xml-stylesheet href="#internalStyle" type="text/css"?&gt;
-&lt;!DOCTYPE html 
+&lt;!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
@@ -1171,5 +1171,5 @@
 &lt;body&gt;
 &lt;p&gt;
-  This is text that uses our 
+  This is text that uses our
   &lt;code&gt;internal stylesheet&lt;/code&gt;.
 &lt;/p&gt;
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml_files/W3C-REC.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml_files/W3C-REC.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml_files/W3C-REC.css	(revision 141)
@@ -74,10 +74,10 @@
 }
 
-@media aural {  
+@media aural {
   h1, h2, h3 { stress: 20; richness: 90 }
   .hide { speak: none }
   p.copyright { volume: x-soft; speech-rate: x-fast }
   dt { pause-before: 20% }
-  pre { speak-punctuation: code } 
+  pre { speak-punctuation: code }
 }
 
Index: /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml_files/xhtml.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml_files/xhtml.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_test/manual/fckxhtml/test1/w3c_xhtml_files/xhtml.css	(revision 141)
@@ -52,13 +52,13 @@
 .alphalist {  list-style-type: upper-alpha}
 .codelist {  }
-dl.codelist dt {  
-	font-family: mono; 
-	color: #660099; 
-	font-style: normal; 
+dl.codelist dt {
+	font-family: mono;
+	color: #660099;
+	font-style: normal;
 	font-weight: normal;
 }
 .termlist {  }
-dl.termlist dt {  
-	color: #330000; 
+dl.termlist dt {
+	color: #330000;
 	font-weight: bold;
 }
@@ -66,7 +66,7 @@
 a.element { color: green; }
 
-.elements { 
-	font-family: mono; 
-	font-weight: bold; 
+.elements {
+	font-family: mono;
+	font-weight: bold;
 }
 .collection {
@@ -78,10 +78,10 @@
 	font-weight: bold;
 }
-.attributes { 
-	font-family: mono; 
+.attributes {
+	font-family: mono;
 	font-weight: bold;
 }
-.content { 
-	font-family: mono; 
+.content {
+	font-family: mono;
 	font-weight: bold;
 }
@@ -90,5 +90,5 @@
 	font-weight:        bold;
 	font-style:         italic;
-}    
+}
 tt       { color : #4000AF }
 dl.desc  { margin-left : 5% ; margin-right : 5% }
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/001.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/001.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/001.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/002.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/002.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/002.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html>
@@ -16,5 +32,5 @@
 	<body>
 		<h1>FCKeditor - Test 002</h1>
-		<P><STRONG>Expected results</STRONG>: The editor must work correctly when not value 
+		<P><STRONG>Expected results</STRONG>: The editor must work correctly when not value
 			has been set<BR>
 			<STRONG>Configurations</STRONG>: Default<BR>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/003.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/003.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/003.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html>
@@ -16,5 +32,5 @@
 	<body>
 		<h1>FCKeditor - Test 003</h1>
-		<P><STRONG>Expected results</STRONG>: The user must be able to edit the complete 
+		<P><STRONG>Expected results</STRONG>: The user must be able to edit the complete
 			page html.<BR>
 			<STRONG>Configurations</STRONG>: FullPage = true ;<BR>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/004.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/004.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/004.html	(revision 141)
@@ -1,13 +1,28 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html>
 	<head>
 		<title>FCKeditor - Sample</title>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
@@ -25,5 +40,5 @@
 	{
 		var oEditor = FCKeditorAPI.GetInstance( 'FCKeditor1' ) ;
-		
+
 		if (  oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
 			oEditor.MakeEditable() ;
@@ -42,5 +57,5 @@
 		<h1 id="Prova">FCKeditor - Test 004</h1>
 		<P>
-			<STRONG>Expected results</STRONG> : The editor must still work when hidding it 
+			<STRONG>Expected results</STRONG> : The editor must still work when hidding it
 			programmatically (through javascript).<BR>
 			<STRONG>Configurations</STRONG>: Default<BR>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/005.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/005.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/005.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html>
@@ -17,6 +33,6 @@
 		<h1>FCKeditor - Test 005</h1>
 		<P>
-			<STRONG>Expected results</STRONG>: The editor content must be loaded and the 
-			submit button must post the editors html. No javascript errors should be thrown 
+			<STRONG>Expected results</STRONG>: The editor content must be loaded and the
+			submit button must post the editors html. No javascript errors should be thrown
 			(security errors).<BR>
 			<STRONG>Configurations</STRONG>: BaseHref = http://www.fckeditor.net
@@ -29,5 +45,5 @@
 			<LI>
 			Create a table with border =
-			   0&nbsp;and an anchor. 
+			   0&nbsp;and an anchor.
   <LI>Create an image and points it to /images/logotop.gif
   <LI>Hit submit button and check the posted data.</LI></OL>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/006.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/006.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/006.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html>
@@ -17,8 +33,8 @@
 		<h1>FCKeditor - Test 006</h1>
 		<P>
-			<STRONG>Expected results</STRONG>: The editor content must be loaded and the 
-			submit button must post the editors html. No javascript errors should be thorwn 
+			<STRONG>Expected results</STRONG>: The editor content must be loaded and the
+			submit button must post the editors html. No javascript errors should be thorwn
 			(security errors).<BR>
-			<STRONG>Configurations</STRONG>: BaseHref = http://www.fckeditor.net / FullPage 
+			<STRONG>Configurations</STRONG>: BaseHref = http://www.fckeditor.net / FullPage
 			= true
 			<BR>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/007.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/007.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/007.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test Page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test Page.
 -->
 <html>
@@ -17,5 +33,5 @@
 		<h1>FCKeditor - Test 007</h1>
 		<P>
-			<STRONG>Expected results</STRONG>: The editor content must be loaded and the 
+			<STRONG>Expected results</STRONG>: The editor content must be loaded and the
 			submit button must post the editor's html.<BR>
 			<STRONG>Configurations</STRONG>: Default<BR>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/008.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/008.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/008.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/009.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/009.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/009.html	(revision 141)
@@ -1,18 +1,33 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
-<html>
-	<head>
-		<title>FCKeditor - Sample</title>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
-		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-		<meta name="robots" content="noindex, nofollow">
-		<link href="testcases.css" rel="stylesheet" type="text/css">
-			<script type="text/javascript" src="../fckeditor.js"></script>
-			<script>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>FCKeditor - Sample</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+	<meta name="robots" content="noindex, nofollow" />
+	<link href="testcases.css" rel="stylesheet" type="text/css" />
+	<script type="text/javascript" src="../fckeditor.js"></script>
+	<script type="text/javascript">
 
 function FCKeditor_OnComplete( editorInstance )
@@ -24,4 +39,7 @@
 function FCKeditor_OnAfterSetHTML( editorInstance )
 {
+	if ( editorInstance.EditMode != FCK_EDITMODE_WYSIWYG )
+		return ;
+
 	// Get the actual color from the combo.
 	var sColor = document.getElementById('ActualColor').value ;
@@ -35,49 +53,41 @@
 	// Get the editor instance that we want to interact with.
 	var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
-	
+
 	// Call the event function to set the color.
 	FCKeditor_OnAfterSetHTML( oEditor ) ;
 }
 
-			</script>
-	</head>
-	<body>
-		<h1>FCKeditor - Test 009</h1>
-		<P>
-			<STRONG>Expected results</STRONG> : The user should be able to background color 
-			of the editor by code.<BR>
-			<STRONG>Configurations</STRONG>: Default<BR>
-			<STRONG>Steps to&nbsp;Reproduce</STRONG>:
-		</P>
-		<OL>
-			<LI>
-			Wait the editor to load.
-			<LI>
-			Type some text.
-			<LI>
-			Change the background color using the combo.
-			<LI>
-			Type more text.
-			<LI>
-			Switch to source view.
-			<LI>
-			Switch back to WYSIWYG. The background color must be the same.
-			<LI>
-			Repeate steps 3 to 6.
-			<LI>
-				Submit the form.</LI></OL>
-		<P>
-			<hr>
-		<P>
-		Select a color for the background:<br>
+	</script>
+</head>
+<body>
+	<h1>
+		FCKeditor - Test 009</h1>
+	<p>
+		<strong>Expected results</strong>: The user should be able to background color of
+		the editor by code.<br />
+		<strong>Configurations</strong>: Default<br />
+		<strong>Steps to Reproduce</strong>:
+	</p>
+	<ol>
+		<li>Wait the editor to load.</li>
+		<li>Type some text.</li>
+		<li>Change the background color using the combo.</li>
+		<li>Type more text.</li>
+		<li>Switch to source view.</li>
+		<li>Switch back to WYSIWYG. The background color must be the same.</li>
+		<li>Repeate steps 3 to 6.</li>
+		<li>Submit the form.</li></ol>
+	<hr />
+	<p>
+		Select a color for the background:<br />
 		<select id="ActualColor" onchange="SetActualColor();">
-			<option value="white" selected>White</option>
+			<option value="white" selected="selected">White</option>
 			<option value="red">Red</option>
 			<option value="green">Green</option>
 			<option value="gold">Gold</option>
 		</select>
-		</P>
-		<form action="sampleposteddata.asp" method="post" target="_blank">
-			<script type="text/javascript">
+	</p>
+	<form action="sampleposteddata.asp" method="post" target="_blank">
+		<script type="text/javascript">
 <!--
 // Automatically calculates the editor base path based on the _samples directory.
@@ -91,8 +101,8 @@
 oFCKeditor.Create() ;
 //-->
-			</script>
-			<br>
-			<input type="submit" value="Submit">
-		</form>
-	</body>
+		</script>
+		<br />
+		<input type="submit" value="Submit" />
+	</form>
+</body>
 </html>
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/010.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/010.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/010.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Test page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/sampleposteddata.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/sampleposteddata.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/sampleposteddata.asp	(revision 141)
@@ -1,8 +1,24 @@
 ﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<FileDescription>
-	This page lists the data posted by a form.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page lists the data posted by a form.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_testcases/testcases.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_testcases/testcases.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_testcases/testcases.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used in the samples pages.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used in the samples pages.
+ */
 
 body, td, input, select, textarea
Index: /FCKeditor/branches/developers/alfonsoml/_upgrade.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_upgrade.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_upgrade.html	(revision 141)
@@ -1,5 +1,22 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<Message name="Simple" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/_whatsnew.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/_whatsnew.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/_whatsnew.html	(revision 141)
@@ -1,5 +1,22 @@
-﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- @Packager.Header
-<Message name="Simple" />
+<!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
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -14,13 +31,40 @@
 <body>
 	<h3>
-		Version 2.3.3 (SVN)</h3>
+		Version 2.4.1 (SVN)</h3>
 	<p>
 		New Features and Improvements:</p>
 	<ul>
-		<li>The advance <strong>Enter Key Handler</strong> is now being introduced. It gives
-			you complete freedom to configure the editor to generate <strong>&lt;p&gt;, &lt;div&gt;
-				or &lt;br&gt;</strong> when the user uses both the [Enter] and [Shift]+[Enter]
-			keys. The new "EnterMode" and "ShiftEnterMode" settings can be use to control its
-			behavior. It also guarantees that all browsers will generate the same output.</li>
+		<li>&lt;none&gt;</li></ul>
+	<p>
+		Fixed Bugs:</p>
+	<ul>
+		<li>Various fixes to the ColdFusion File Browser connector.</li>
+		<li>We are now pointing the download of ieSpell to their pages, instead to a direct
+			file download from one of their mirrors. This disables the ability of "click and
+			go" (which can still be achieved by pointing the download to a file in your server),
+			but removes any troubles with mirros link changes (and they change it frequently).</li>
+		<li>The Word cleanup has been changed to remove "display:none" tags that may come from
+			Word.</li>
+	</ul>
+	<h3>
+		Version 2.4</h3>
+	<p>
+		New Features and Improvements:</p>
+	<ul>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1329273&group_id=75348&atid=543656">SF
+			Feature-1329273</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456005&group_id=75348&atid=543656">SF
+				Feature-1456005</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315002&group_id=75348&atid=543653">SF
+					BUG-1315002</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1350180&group_id=75348&atid=543653">SF
+						BUG-1350180</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1450689&group_id=75348&atid=543653">SF
+							BUG-1450689</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1461033&group_id=75348&atid=543653">SF
+								BUG-1461033</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1510111&group_id=75348&atid=543653">SF
+									BUG-1510111</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1203560&group_id=75348&atid=543653">SF
+										BUG-1203560</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1564838&group_id=75348&atid=543653">SF
+											BUG-1564838</a>] The advance <strong>Enter Key Handler</strong>
+			is now being introduced. It gives you complete freedom to configure the editor to
+			generate <strong>&lt;p&gt;, &lt;div&gt; or &lt;br&gt;</strong> when the user uses
+			both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode"
+			settings can be use to control its behavior. It also guarantees that all browsers
+			will generate the same output. </li>
 		<li>The new and powerful <strong>Keyboard Accelerator System</strong> is being introduced.
 			You can now precisely control the commands to execute when some key combinations
@@ -45,35 +89,40 @@
 		</ul>
 		</li>
-		<li><span style="color: #ff0000">Attention:</span> The default directory in the distribution
-			package is now named "fckeditor" (in lowercase) instead of "FCKeditor".&nbsp; This
-			change may impact installations on case sensitive OSs, like Linux.</li>
-		<li><span style="color: #ff0000">Attention:</span> All connectors are now pointing by
-			default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also,
-			the inner folder for each type (file, image, flash and media) are all lower-cased
-			too.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456343&group_id=75348&atid=543655">SF
-			PATCH-1456343</a>] New sample file showing how to dinamically exchange a textarea and an instance of FCKeditor. 
-			Thanks to Finn Hakansson</li>
+			Patch-1456343</a>] New sample file showing how to dynamically exchange a textarea
+			and an instance of FCKeditor. Thanks to Finn Hakansson</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1496115&group_id=75348&atid=543655">SF
-			PATCH-1496115</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1588578&group_id=75348&atid=543653">SF
-			BUG-1588578</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1376534&group_id=75348&atid=543653">SF
-			BUG-1376534</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1343506&group_id=75348&atid=543653">SF
-			BUG-1343506</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1211065&group_id=75348&atid=543656">SF
-			Feature-1211065</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=949144&group_id=75348&atid=543656">SF
-			Feature-949144</a>] The content of anchors are shown and preserved on creation. * </li>
+			Patch-1496115</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1588578&group_id=75348&atid=543653">SF
+				BUG-1588578</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1376534&group_id=75348&atid=543653">SF
+					BUG-1376534</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1343506&group_id=75348&atid=543653">SF
+						BUG-1343506</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1211065&group_id=75348&atid=543656">SF
+							Feature-1211065</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=949144&group_id=75348&atid=543656">SF
+								Feature-949144</a>] The content of anchors are shown and preserved
+			on creation. * </li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1587175&group_id=75348&atid=543656">SF
 			Feature-1587175</a>] Local links to an anchor are readjusted if the anchor changes.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1500040&group_id=75348&atid=543655">SF
-			PATCH-1500040</a>] New configuration values to specify the Id and Class for the body element.</li>
+			Patch-1500040</a>] New configuration values to specify the Id and Class for the
+			body element.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577202&group_id=75348&atid=543655">SF
-			PATCH-1577202</a>] The links created with the popup option now are accesible even if the user has javascript disabled.</li>
+			Patch-1577202</a>] The links created with the popup option now are accessible even
+			if the user has JavaScript disabled.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1443472&group_id=75348&atid=543655">SF
-			PATCH-1443472</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1576488&group_id=75348&atid=543653">SF
-			BUG-1576488</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1334305&group_id=75348&atid=543653">SF
-			BUG-1334305</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1578312&group_id=75348&atid=543653">SF
-			BUG-1578312</a>] The Paste from Word clean up function can be configured with FCKConfig.CleanWordKeepStructure to preserve 
-			the markup as much as possible. Thanks Jean-Charles ROGEZ. </li>
-	</ul>
-
+			Patch-1443472</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1576488&group_id=75348&atid=543653">SF
+				BUG-1576488</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1334305&group_id=75348&atid=543653">SF
+					BUG-1334305</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1578312&group_id=75348&atid=543653">SF
+						BUG-1578312</a>] The Paste from Word clean up function can be configured
+			with FCKConfig.CleanWordKeepsStructure to preserve the markup as much as possible.
+			Thanks Jean-Charles ROGEZ. </li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1472654&group_id=75348&atid=543655">SF
+			Patch-1472654</a>] The server side script location for SpellerPages can now be set
+			in the configuration file, by using the SpellerPagesServerScript setting.</li>
+		<li><span style="color: #ff0000">Attention:</span> All connectors are now pointing by
+			default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also,
+			the inner folders for each type (file, image, flash and media) are all lower-cased
+			too.</li><li><span style="color: #ff0000">Attention:</span> The UseBROnCarriageReturn
+				configuration is not anymore valid. The EnterMode setting can now be used to precisely
+				set the enter key behavior.</li>
+	</ul>
 	<p>
 		Fixed Bugs:</p>
@@ -89,6 +138,6 @@
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1573714&group_id=75348">SF
 			BUG-1573714</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1593323&group_id=75348">SF
-			BUG-1593323</a>] Paste was not working in IE if both AutoDetectPasteFromWord and
-			ForcePasteAsPlainText settings were set to "false". </li>
+				BUG-1593323</a>] Paste was not working in IE if both AutoDetectPasteFromWord
+			and ForcePasteAsPlainText settings were set to "false". </li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1578306&group_id=75348">SF
 			BUG-1578306</a>] The context menu was wrongly positioned if the editing document
@@ -109,6 +158,6 @@
 			editor area was loosing the focus when clicking in the combo label. Fixed.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1596937&group_id=75348&atid=543653">SF
-			BUG-1596937</a>] InsertHtml() was inserting the HTML outside the editor area on some very specific
-			cases.</li>
+			BUG-1596937</a>] InsertHtml() was inserting the HTML outside the editor area on
+			some very specific cases.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1585548&group_id=75348">SF
 			BUG-1585548</a>] On very specific, rare and strange cases, the XHTML processor was
@@ -124,10 +173,10 @@
 				BUG-1451071</a>] The "Insert/Edit Link" and "Select All" buttons are now working
 			properly when the editor is running on a IE Modal dialog.</li>
-		<li>On some very rare cases, IE was throwing a memory error when hidding the context
+		<li>On some very rare cases, IE was throwing a memory error when hiding the context
 			menus. Fixed.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1526154&group_id=75348">SF
 			BUG-1526154</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1509208&group_id=75348&atid=543653">SF
-			BUG-1509208</a>] With Firefox, &lt;style&gt; tags defined in the source are now
-			preserved.</li>
+				BUG-1509208</a>] With Firefox, &lt;style&gt; tags defined in the source are
+			now preserved.</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1535946&group_id=75348">SF
 			BUG-1535946</a>] The IE dialog system has been changed to better work with custom
@@ -152,20 +201,49 @@
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1604576&group_id=75348&atid=543655">SF
 			PATCH-1604576</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1604301&group_id=75348">SF
-			BUG-1604301</a>] Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos</li>
+				BUG-1604301</a>] Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos</li>
 		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577247&group_id=75348&atid=543653">SF
 			BUG-1577247</a>] Unneeded call to captureEvents and releaseEvents.</li>
-		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1610790&group_id=75348">SF BUG-1610790</a>] On some specific situations, the call to form.submit(), in form were FCKeditor has
-			been unloaded by code, was throwing the "Can't execute code from a freed script" error.</li>
-		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1613167&group_id=75348&atid=543653">SF BUG-1613167</a>] If the
-			configuration was missing the FCKConfig.AdditionalNumericEntities entry an error appeared.</li>
-		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1590848&group_id=75348&atid=543653">SF BUG-1590848</a>] 
-			Cleaning of Javascript strict warnings in Firefox.</li>
-		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1559466&group_id=75348&atid=543653">SF BUG-1559466</a>] 
-			The ol/ul list property window always searched first for a UL element.</li>
-		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1516008&group_id=75348&atid=543653">SF BUG-1516008</a>] 
-			Class attribute in IE wasn't loaded in the image dialog.</li>
-	</ul>
-	<p>
-		* This version has been partially sponsored by <a href="http://www.imedi.org/">Medical Media Lab</a>.</p>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1610790&group_id=75348">SF
+			BUG-1610790</a>] On some specific situations, the call to form.submit(), in form
+			were FCKeditor has been unloaded by code, was throwing the "Can't execute code from
+			a freed script" error.</li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1613167&group_id=75348&atid=543653">SF
+			BUG-1613167</a>] If the configuration was missing the FCKConfig.AdditionalNumericEntities
+			entry an error appeared.</li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1590848&group_id=75348&atid=543653">SF
+			BUG-1590848</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1626360&group_id=75348&atid=543653">SF
+				BUG-1626360</a>] Cleaning of JavaScript strict warnings in the source code.</li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1559466&group_id=75348&atid=543653">SF
+			BUG-1559466</a>] The ol/ul list property window always searched first for a UL element.</li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1516008&group_id=75348&atid=543653">SF
+			BUG-1516008</a>] Class attribute in IE wasn't loaded in the image dialog.</li>
+		<li>The "OnAfterSetHTML" event is now fired when being/switching to Source View.</li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1631807&group_id=75348&atid=543653">SF
+			BUG-1631807</a>] Elements' style properties are now forced to lowercase in IE.</li>
+		<li>The extensions "html", "htm" and "asis" have been added to the list of denied extensions
+			on upload.</li>
+		<li>Empty inline elements (like span and strong) will not be generated any more.</li>
+		<li>Some elements attributes (like hspace) where not being retrieved when set to "0".</li>
+		<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1508341&group_id=75348&atid=543653">SF
+			BUG-1508341</a>] Fix for the ColdFusion script file of SpellerPages.</li>
+	</ul>
+	<p>
+		* This version has been partially sponsored by <a href="http://www.imedi.org/">Medical
+			Media Lab</a>.</p>
+	<h3>
+		Version 2.3.3</h3>
+	<p>
+		New Features and Improvements:</p>
+	<ul>
+		<li>The project has been <strong>relicensed</strong> under the terms of the <strong>
+			GPL / LGPL / MPL</strong> licenses. This change will remove many licensing compatibility
+			issues with other open source licenses, making the editor even more "open" than
+			before. </li>
+		<li><font color="#ff0000">Attention:</font> The default directory in the distribution
+			package is now named "fckeditor" (in lowercase) instead of "FCKeditor".&nbsp; This
+			change may impact installations on case sensitive OSs, like Linux. </li>
+		<li><font color="#ff0000">Attention:</font> The "Universal Keyboard" has been removed
+			from the package. The license of those files was unclear so they can't be included
+			alongside the rest of FCKeditor.</li></ul>
 	<h3>
 		Version 2.3.2</h3>
Index: /FCKeditor/branches/developers/alfonsoml/editor/_packager.xml
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_packager.xml	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_packager.xml	(revision 141)
@@ -1,14 +1,30 @@
 <?xml version="1.0" encoding="utf-8" ?>
-<!-- @Packager.Header
-<FileDescription>
-	This is the configuration file used by the FCKeditor.Packager to create the
-	compressed code files in the "js" folder.
-	
-	The FCKeditor.Packager software can be used to create the compressed files
-	for the FCKeditor project only. Any other use of this software is illegal. 
-	
-	Please check http://www.fckeditor.net/ckpackager for more info.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the configuration file used by the FCKeditor.Packager to create the
+ * compressed code files in the "js" folder.
+ *
+ * The FCKeditor.Packager software can be used to create the compressed files
+ * for the FCKeditor project only. Any other use of this software is illegal.
+ *
+ * Please check http://www.fckeditor.net/ckpackager for more info.
 -->
 <Package>
@@ -33,4 +49,5 @@
 		<File path="editor/_source/internals/fckbrowserinfo.js" />
 		<File path="editor/_source/internals/fckurlparams.js" />
+		<File path="editor/_source/classes/fckevents.js" />
 		<File path="editor/_source/internals/fck.js" />
 		<File path="editor/_source/internals/fck_ie.js" />
@@ -45,5 +62,4 @@
 		<File path="editor/_source/internals/fckregexlib.js" />
 		<File path="editor/_source/internals/fcklanguagemanager.js" />
-		<File path="editor/_source/classes/fckevents.js" />
 		<File path="editor/_source/internals/fckxhtmlentities.js" />
 		<File path="editor/_source/internals/fckxhtml.js" />
@@ -59,4 +75,5 @@
 		<File path="editor/_source/classes/fckdomrange_ie.js" />
 		<File path="editor/_source/classes/fckdocumentfragment_ie.js" />
+		<File path="editor/_source/classes/fckw3crange.js" />
 		<File path="editor/_source/classes/fckenterkey.js" />
 
@@ -116,4 +133,5 @@
 		<File path="editor/_source/internals/fckbrowserinfo.js" />
 		<File path="editor/_source/internals/fckurlparams.js" />
+		<File path="editor/_source/classes/fckevents.js" />
 		<File path="editor/_source/internals/fck.js" />
 		<File path="editor/_source/internals/fck_gecko.js" />
@@ -128,5 +146,4 @@
 		<File path="editor/_source/internals/fckregexlib.js" />
 		<File path="editor/_source/internals/fcklanguagemanager.js" />
-		<File path="editor/_source/classes/fckevents.js" />
 		<File path="editor/_source/internals/fckxhtmlentities.js" />
 		<File path="editor/_source/internals/fckxhtml.js" />
@@ -142,4 +159,5 @@
 		<File path="editor/_source/classes/fckdomrange_gecko.js" />
 		<File path="editor/_source/classes/fckdocumentfragment_gecko.js" />
+		<File path="editor/_source/classes/fckw3crange.js" />
 		<File path="editor/_source/classes/fckenterkey.js" />
 
@@ -189,5 +207,5 @@
 		<File path="editor/_source/classes/fckcontextmenu.js" />
 		<File path="editor/_source/internals/fck_contextmenu.js" />
-		
+
 		<File path="editor/_source/classes/fckplugin.js" />
 		<File path="editor/_source/internals/fckplugins.js" />
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckcontextmenu.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckcontextmenu.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckcontextmenu.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	FCKContextMenu Class: renders an control a context menu.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKContextMenu Class: renders an control a context menu.
+ */
 
 var FCKContextMenu = function( parentWindow, langDir )
@@ -11,9 +27,9 @@
 	oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ;
 	oPanel.IsContextMenu = true ;
-	
+
 	var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ;
 	oMenuBlock.Panel = oPanel ;
 	oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ;
-	
+
 	this._Redraw = true ;
 }
@@ -62,5 +78,5 @@
 {
 	var el = e.target ;
-	
+
 	while ( el )
 	{
@@ -88,5 +104,5 @@
 	if ( fckContextMenu._MenuBlock.Count() == 0 )
 		return false ;
-	
+
 	if ( fckContextMenu._Redraw )
 	{
@@ -95,10 +111,10 @@
 	}
 
-	fckContextMenu._Panel.Show( 
-		ev.pageX || ev.screenX, 
-		ev.pageY || ev.screenY, 
+	fckContextMenu._Panel.Show(
+		ev.pageX || ev.screenX,
+		ev.pageY || ev.screenY,
 		ev.currentTarget || null
 	) ;
-	
+
 	return false ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdocumentfragment_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdocumentfragment_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdocumentfragment_gecko.js	(revision 141)
@@ -1,12 +1,28 @@
-﻿/* @Packager.Header
-<FileDescription>
-	This is a generic Document Fragment object. It is not intended to provide 
-	the W3C implementation, but is a way to fix the missing of a real Document
-	Fragment in IE (where document.createDocumentFragment() returns a normal
-	document instead), giving a standard interface for it.
-	(IE Implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is a generic Document Fragment object. It is not intended to provide
+ * the W3C implementation, but is a way to fix the missing of a real Document
+ * Fragment in IE (where document.createDocumentFragment() returns a normal
+ * document instead), giving a standard interface for it.
+ * (IE Implementation)
+ */
 
 var FCKDocumentFragment = function( parentDocument, baseDocFrag )
@@ -23,4 +39,9 @@
 	{
 		targetNode.appendChild( this.RootNode ) ;
+	},
+
+	InsertAfterNode : function( existingNode )
+	{
+		FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ;
 	}
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdocumentfragment_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdocumentfragment_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdocumentfragment_ie.js	(revision 141)
@@ -1,12 +1,28 @@
-﻿/* @Packager.Header
-<FileDescription>
-	This is a generic Document Fragment object. It is not intended to provide 
-	the W3C implementation, but is a way to fix the missing of a real Document
-	Fragment in IE (where document.createDocumentFragment() returns a normal
-	document instead), giving a standard interface for it.
-	(IE Implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is a generic Document Fragment object. It is not intended to provide
+ * the W3C implementation, but is a way to fix the missing of a real Document
+ * Fragment in IE (where document.createDocumentFragment() returns a normal
+ * document instead), giving a standard interface for it.
+ * (IE Implementation)
+ */
 
 var FCKDocumentFragment = function( parentDocument )
@@ -17,13 +33,27 @@
 
 // Append the contents of this Document Fragment to another node.
-FCKDocumentFragment.prototype.AppendTo = function( targetNode )
+FCKDocumentFragment.prototype =
 {
-	FCKDomTools.MoveChildren( this.RootNode, targetNode ) ;
-}
+	TypeName : 'FCKDocumentFragment',		// @Packager.RemoveLine
 
-FCKDocumentFragment.prototype.AppendHtml = function( html )
-{
-	var eTmpDiv = this._Document.createElement( 'div' ) ;
-	eTmpDiv.innerHTML = html ;
-	FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
-}
+	AppendTo : function( targetNode )
+	{
+		FCKDomTools.MoveChildren( this.RootNode, targetNode ) ;
+	},
+
+	AppendHtml : function( html )
+	{
+		var eTmpDiv = this._Document.createElement( 'div' ) ;
+		eTmpDiv.innerHTML = html ;
+		FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
+	},
+
+	InsertAfterNode : function( existingNode )
+	{
+		var eRoot = this.RootNode ;
+		var eLast ;
+
+		while( ( eLast = eRoot.lastChild ) )
+			FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ;
+	}
+} ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange.js	(revision 141)
@@ -1,9 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Class for working with a selection range, much like the W3C DOM Range, but
-	it is not intented to be an implementation of the W3C interface.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Class for working with a selection range, much like the W3C DOM Range, but
+ * it is not intented to be an implementation of the W3C interface.
+ */
 
 var FCKDomRange = function( sourceWindow )
@@ -24,5 +40,5 @@
 			var eStart	= this._Range.startContainer ;
 			var eEnd	= this._Range.endContainer ;
-			
+
 			var oElementPath = new FCKElementPath( eStart ) ;
 			this.StartContainer		= oElementPath.LastElement ;
@@ -32,5 +48,5 @@
 			if ( eStart != eEnd )
 				oElementPath = new FCKElementPath( eEnd ) ;
-			this.EndContainer		= oElementPath.LastElement ;			
+			this.EndContainer		= oElementPath.LastElement ;
 			this.EndBlock			= oElementPath.Block ;
 			this.EndBlockLimit		= oElementPath.BlockLimit ;
@@ -72,5 +88,5 @@
 		if ( this._Range )
 			this._Range.collapse( toStart ) ;
-		
+
 		this._UpdateElementInfo() ;
 	},
@@ -82,5 +98,5 @@
 		if ( this._Range )
 			oClone._Range = this._Range.cloneRange() ;
-		
+
 		return oClone ;
 	},
@@ -108,5 +124,5 @@
 	},
 
-	CheckIsEmpty : function()
+	CheckIsEmpty : function( ignoreEndBRs )
 	{
 		if ( this.CheckIsCollapsed() )
@@ -117,6 +133,7 @@
 		this._Range.cloneContents().AppendTo( eToolDiv ) ;
 
-		// There must not be &nbsp; in the range, only "pure" spaces.
-		return (/^\s*$/).test( eToolDiv.innerHTML ) ;
+		FCKDomTools.TrimNode( eToolDiv, ignoreEndBRs ) ;
+
+		return ( eToolDiv.innerHTML.length == 0 ) ;
 	},
 
@@ -125,35 +142,36 @@
 		// Create a clone of the current range.
 		var oTestRange = this.Clone() ;
-		
+
 		// Collapse it to its start point.
 		oTestRange.Collapse( true ) ;
-		
+
 		// Move the start boundary to the start of the block.
 		oTestRange.SetStart( oTestRange.StartBlock || oTestRange.StartBlockLimit, 1 ) ;
-		
+
 		var bIsStartOfBlock = oTestRange.CheckIsEmpty() ;
 
 		oTestRange.Release() ;
-		
+
 		return bIsStartOfBlock ;
 	},
 
-	CheckEndOfBlock : function()
-	{
-		var bIsEndOfBlock = false ;
-
+	CheckEndOfBlock : function( refreshSelection )
+	{
 		// Create a clone of the current range.
 		var oTestRange = this.Clone() ;
-		
+
 		// Collapse it to its end point.
 		oTestRange.Collapse( false ) ;
-		
+
 		// Move the end boundary to the end of the block.
 		oTestRange.SetEnd( oTestRange.EndBlock || oTestRange.EndBlockLimit, 2 ) ;
 
-		var bIsEndOfBlock = oTestRange.CheckIsEmpty() ;
+		var bIsEndOfBlock = oTestRange.CheckIsEmpty( true ) ;
 
 		oTestRange.Release() ;
-		
+
+		if ( refreshSelection )
+			this.Select() ;
+
 		return bIsEndOfBlock ;
 	},
@@ -162,5 +180,5 @@
 	{
 		// Create the bookmark info (random IDs).
-		var oBookmark = 
+		var oBookmark =
 		{
 			StartId	: 'fck_dom_range_start_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000),
@@ -183,5 +201,5 @@
 			oClone.InsertNode( eSpan ) ;
 		}
-		
+
 		eSpan = oDoc.createElement( 'span' ) ;
 		eSpan.id = oBookmark.StartId ;
@@ -198,10 +216,10 @@
 	{
 		var oDoc = this.Window.document ;
-		
+
 		var eStartSpan	=  oDoc.getElementById( bookmark.StartId ) ;
 		var eEndSpan	=  oDoc.getElementById( bookmark.EndId ) ;
 
 		this.SetStart( eStartSpan, 3 ) ;
-		
+
 		if ( !preserveBookmark )
 			FCKDomTools.RemoveNode( eStartSpan ) ;
@@ -211,5 +229,5 @@
 		{
 			this.SetEnd( eEndSpan, 3 ) ;
-			
+
 			if ( !preserveBookmark )
 				FCKDomTools.RemoveNode( eEndSpan ) ;
@@ -236,5 +254,5 @@
 		switch( position )
 		{
-			case 1 :		// After Start		<target>^contents</target>	
+			case 1 :		// After Start		<target>^contents</target>
 				oRange.setStart( targetElement, 0 ) ;
 				break ;
@@ -247,5 +265,5 @@
 				oRange.setStartBefore( targetElement ) ;
 				break ;
-			
+
 			case 4 :		// After End		<target>contents</target>^
 				oRange.setStartAfter( targetElement ) ;
@@ -268,5 +286,5 @@
 		if ( !oRange )
 			oRange = this._Range = this.CreateRange() ;
-		
+
 		switch( position )
 		{
@@ -282,5 +300,5 @@
 				oRange.setEndBefore( targetElement ) ;
 				break ;
-			
+
 			case 4 :		// After End		<target>contents</target>^
 				oRange.setEndAfter( targetElement ) ;
@@ -291,4 +309,6 @@
 	Expand : function( unit )
 	{
+		var oNode, oSibling ;
+
 		switch ( unit )
 		{
@@ -299,6 +319,6 @@
 				{
 					// Get the start node for the current range.
-					var oNode = this._Range.startContainer ;
-					
+					oNode = this._Range.startContainer ;
+
 					// If it is an element, get the current child node for the range (in the offset).
 					// If the offset node is not available, the the first one.
@@ -308,15 +328,15 @@
 							oNode = oNode.firstChild ;
 					}
-					
+
 					// Not able to defined the current position.
 					if ( !oNode )
 						return ;
-					
+
 					// We must look for the left boundary, relative to the range
 					// start, which is limited by a block element.
 					while ( true )
 					{
-						var oSibling = oNode.previousSibling ;
-						
+						oSibling = oNode.previousSibling ;
+
 						if ( !oSibling )
 						{
@@ -335,25 +355,25 @@
 							break ;
 					}
-					
+
 					this._Range.setStartBefore( oNode ) ;
 				}
-				
+
 				if ( this.EndBlock )
 					this.SetEnd( this.EndBlock, 2 ) ;
 				else
 				{
-					var oNode = this._Range.endContainer ;
+					oNode = this._Range.endContainer ;
 					if ( oNode.nodeType == 1 )
 						oNode = oNode.childNodes[ this._Range.endOffset ] || oNode.lastChild ;
-					
+
 					if ( !oNode )
 						return ;
-					
+
 					// We must look for the right boundary, relative to the range
 					// end, which is limited by a block element.
 					while ( true )
 					{
-						var oSibling = oNode.nextSibling ;
-						
+						oSibling = oNode.nextSibling ;
+
 						if ( !oSibling )
 						{
@@ -372,5 +392,5 @@
 							break ;
 					}
-					
+
 					this._Range.setEndAfter( oNode ) ;
 				}
@@ -378,5 +398,5 @@
 				this._UpdateElementInfo() ;
 			break ;											// @Packager.Remove.Start
-			
+
 			default :
 				throw( 'Invalid unit "' + unit + '"' ) ;	// @Packager.Remove.End
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange_gecko.js	(revision 141)
@@ -1,10 +1,26 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Class for working with a selection range, much like the W3C DOM Range, but
-	it is not intented to be an implementation of the W3C interface.
-	(Gecko Implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Class for working with a selection range, much like the W3C DOM Range, but
+ * it is not intented to be an implementation of the W3C interface.
+ * (Gecko Implementation)
+ */
 
 FCKDomRange.prototype.MoveToSelection = function()
@@ -13,5 +29,5 @@
 
 	var oSel = this.Window.getSelection() ;
-	
+
 	if ( oSel.rangeCount == 1 )
 	{
@@ -28,5 +44,5 @@
 		var oDocRange = this.Window.document.createRange() ;
 		oDocRange.setStart( oRange.startContainer, oRange.startOffset ) ;
-		
+
 		try
 		{
@@ -49,5 +65,5 @@
 		var oSel = this.Window.getSelection() ;
 		oSel.removeAllRanges() ;
-		
+
 		// We must add a clone otherwise Firefox will have rendering issues.
 		oSel.addRange( oDocRange ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckdomrange_ie.js	(revision 141)
@@ -1,10 +1,26 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Class for working with a selection range, much like the W3C DOM Range, but
-	it is not intented to be an implementation of the W3C interface.
-	(IE Implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Class for working with a selection range, much like the W3C DOM Range, but
+ * it is not intented to be an implementation of the W3C interface.
+ * (IE Implementation)
+ */
 
 FCKDomRange.prototype.MoveToSelection = function()
@@ -15,5 +31,5 @@
 
 	var oSel = this.Window.document.selection ;
-	
+
 	if ( oSel.type != 'Control' )
 	{
@@ -27,6 +43,17 @@
 		this._Range.setEnd( eMarker.parentNode, FCKDomTools.GetIndexOf( eMarker ) ) ;
 		eMarker.parentNode.removeChild( eMarker ) ;
-		
+
 		this._UpdateElementInfo() ;
+	}
+	else
+	{
+		var oControl = oSel.createRange().item(0) ;
+
+		if ( oControl )
+		{
+			this._Range.setStartBefore( oControl ) ;
+			this._Range.setEndAfter( oControl ) ;
+			this._UpdateElementInfo() ;
+		}
 	}
 }
@@ -36,31 +63,55 @@
 	if ( this._Range )
 	{
+		var bIsCollapsed = this.CheckIsCollapsed() ;
+
 		// Create marker tags for the start and end boundaries.
 		var eStartMarker	= this._GetRangeMarkerTag( true ) ;
-		var eEndMarker		= this._GetRangeMarkerTag( false ) ;
+
+		if ( !bIsCollapsed )
+			var eEndMarker	= this._GetRangeMarkerTag( false ) ;
 
 		// Create the main range which will be used for the selection.
 		var oIERange = this.Window.document.body.createTextRange() ;
-		
+
 		// Position the range at the start boundary.
 		oIERange.moveToElementText( eStartMarker ) ;
+		oIERange.moveStart( 'character', 1 ) ;
 
-		// Create a tool range for the end.
-		var oIERangeEnd = this.Window.document.body.createTextRange() ;
+		if ( !bIsCollapsed )
+		{
+			// Create a tool range for the end.
+			var oIERangeEnd = this.Window.document.body.createTextRange() ;
 
-		// Position the tool range at the end.
-		oIERangeEnd.moveToElementText( eEndMarker ) ;
-		
-		// Move the end boundary of the main range to match the tool range.
-		oIERange.setEndPoint( 'EndToEnd', oIERangeEnd ) ;
-		
-		// Select the range.
-		oIERange.select() ;
-		
+			// Position the tool range at the end.
+			oIERangeEnd.moveToElementText( eEndMarker ) ;
+
+			// Move the end boundary of the main range to match the tool range.
+			oIERange.setEndPoint( 'EndToEnd', oIERangeEnd ) ;
+			oIERange.moveEnd( 'character', -1 ) ;
+		}
+
 		// Remove the markers (reset the position, because of the changes in the DOM tree).
 		this._Range.setStartBefore( eStartMarker ) ;
 		eStartMarker.parentNode.removeChild( eStartMarker ) ;
-		this._Range.setEndBefore( eEndMarker ) ;
-		eEndMarker.parentNode.removeChild( eEndMarker ) ;
+
+		if ( bIsCollapsed )
+		{
+			// The following trick is needed so IE makes collapsed selections
+			// inside empty blocks visible (expands the block).
+			try
+			{
+				oIERange.pasteHTML('&nbsp;') ;
+				oIERange.moveStart( 'character', -1 ) ;
+			}
+			catch (e){}
+			oIERange.select() ;
+			oIERange.pasteHTML('') ;
+		}
+		else
+		{
+			this._Range.setEndBefore( eEndMarker ) ;
+			eEndMarker.parentNode.removeChild( eEndMarker ) ;
+			oIERange.select() ;
+		}
 	}
 }
@@ -71,5 +122,5 @@
 	var oRange = this.Window.document.selection.createRange() ;
 	oRange.collapse( toStart === true ) ;
-	
+
 	// Paste a marker element at the collapsed range and get it from the DOM.
 	var sMarkerId = 'fck_dom_range_temp_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000) ;
@@ -82,5 +133,5 @@
 	// Get a range for the start boundary.
 	var oRange = this._Range ;
-	
+
 	// insertNode() will add the node at the beginning of the Range, updating
 	// the endOffset if necessary. So, we can work with the current range in this case.
@@ -90,8 +141,9 @@
 		oRange.collapse( toStart === true ) ;
 	}
-	
+
 	var eSpan = this.Window.document.createElement( 'span' ) ;
+	eSpan.innerHTML = '&nbsp;' ;
 	oRange.insertNode( eSpan ) ;
-	
+
 	return eSpan ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckeditingarea.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckeditingarea.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckeditingarea.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	FCKEditingArea Class: renders an editable area.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKEditingArea Class: renders an editable area.
+ */
 
 /**
@@ -19,5 +35,5 @@
 }
 
-FCKEditingArea.prototype.TypeName = 'FCKEditingArea' ;			// @Packager.RemoveLine 
+FCKEditingArea.prototype.TypeName = 'FCKEditingArea' ;			// @Packager.RemoveLine
 
 /**
@@ -28,5 +44,5 @@
 	var eTargetElement	= this.TargetElement ;
 	var oTargetDocument	= FCKTools.GetElementDocument( eTargetElement ) ;
-	
+
 	// Remove all child nodes from the target.
 	while( eTargetElement.childNodes.length > 0 )
@@ -40,8 +56,8 @@
 		oIFrame.frameBorder = 0 ;
 		oIFrame.width = oIFrame.height = '100%' ;
-		
+
 		// Append the new IFRAME to the target.
 		eTargetElement.appendChild( oIFrame ) ;
-		
+
 		// IE has a bug with the <base> tag... it must have a </base> closer,
 		// otherwise the all sucessive tags will be set as children nodes of the <base>.
@@ -56,15 +72,15 @@
 			// Gecko moves some tags out of the body to the head, so we must use
 			// innerHTML to set the body contents (SF BUG 1526154).
-		
+
 			// Extract the BODY contents from the html.
 			var oMatch = html.match( FCKRegexLib.BodyContents ) ;
-			
+
 			if ( oMatch )
 			{
-				html = 
+				html =
 					oMatch[1] +					// This is the HTML until the <body...> tag, inclusive.
-					'&nbsp;' + 
+					'&nbsp;' +
 					oMatch[3] ;					// This is the HTML from the </body> tag, inclusive.
-				
+
 				this._BodyHTML = oMatch[2] ;	// This is the BODY tag contents.
 			}
@@ -75,5 +91,5 @@
 		// Get the window and document objects used to interact with the newly created IFRAME.
 		this.Window = oIFrame.contentWindow ;
-		
+
 		// IE: Avoid JavaScript errors thrown by the editing are source (like tags events).
 		// TODO: This error handler is not being fired.
@@ -81,9 +97,9 @@
 
 		var oDoc = this.Document = this.Window.document ;
-		
+
 		oDoc.open() ;
 		oDoc.write( html ) ;
 		oDoc.close() ;
-		
+
 		// Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it
 		// will magicaly work.
@@ -93,7 +109,7 @@
 			return ;
 		}
-		
+
 		this.Window._FCKEditingArea = this ;
-		
+
 		// FF 1.0.x is buggy... we must wait a lot to enable editing because
 		// sometimes the content simply disappears, for example when pasting
@@ -107,5 +123,5 @@
 	else
 	{
-		var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ; 
+		var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ;
 		eTextarea.className = 'SourceField' ;
 		eTextarea.dir = 'ltr' ;
@@ -121,5 +137,5 @@
 }
 
-// "this" here is FCKEditingArea.Window 
+// "this" here is FCKEditingArea.Window
 function FCKEditingArea_CompleteStart()
 {
@@ -130,8 +146,8 @@
 		return ;
 	}
-	
+
 	var oEditorArea = this._FCKEditingArea ;
 	oEditorArea.MakeEditable() ;
-	
+
 	// Fire the "OnLoad" event.
 	FCKTools.RunFunction( oEditorArea.OnLoad ) ;
@@ -145,5 +161,5 @@
 	{
 		oDoc.body.contentEditable = true ;
-		
+
 		/* The following commands don't throw errors, but have no effect.
 		oDoc.execCommand( 'AutoDetect', false, false ) ;
@@ -157,5 +173,5 @@
 			// Disable Firefox 2 Spell Checker.
 			oDoc.body.spellcheck = ( this.FFSpellChecker !== false ) ;
-			
+
 			if ( this._BodyHTML )
 			{
@@ -163,5 +179,5 @@
 				this._BodyHTML = null ;
 			}
-			
+
 			oDoc.designMode = 'on' ;
 
@@ -178,6 +194,6 @@
 			}
 
-			// Analysing Firefox 1.5 source code, it seams that there is support for a 
-			// "insertBrOnReturn" command. Applying it gives no error, but it doesn't 
+			// Analysing Firefox 1.5 source code, it seams that there is support for a
+			// "insertBrOnReturn" command. Applying it gives no error, but it doesn't
 			// gives the same behavior that you have with IE. It works only if you are
 			// already inside a paragraph and it doesn't render correctly in the first enter.
@@ -186,5 +202,5 @@
 			// Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez)
 			oDoc.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableObjectResizing ) ;
-			
+
 			// Disable the standard table editing features of Firefox.
 			oDoc.execCommand( 'enableInlineTableEditing', false, !FCKConfig.DisableFFTableHandles ) ;
@@ -217,5 +233,5 @@
 
 			this.Textarea.focus() ;
-		}		
+		}
 	}
 	catch(e) {}
@@ -228,5 +244,5 @@
 	this.Document = null ;
 	this.Textarea = null ;
-	
+
 	if ( this.Window )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckelementpath.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckelementpath.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckelementpath.js	(revision 141)
@@ -1,9 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Manages the DOM anscensors element list of a specific DOM node
-	(limited to body, inclusive).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Manages the DOM anscensors element list of a specific DOM node
+ * (limited to body, inclusive).
+ */
 
 // TODO: Implement IE cleanup.
@@ -13,9 +29,9 @@
 	var eBlock = null ;
 	var eBlockLimit = null ;
-	
+
 	var aElements = new Array() ;
-	
+
 	var e = lastNode ;
-	while ( e ) 
+	while ( e )
 	{
 		if ( e.nodeType == 1 )
@@ -24,21 +40,21 @@
 				this.LastElement = e ;
 
-			var sElementName = e.nodeName.toUpperCase() ;
-			// TODO: Review the Regex and move it to the RegexLib. (form / caption
-			if ( !eBlock && (/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/).test( sElementName ) )
+			var sElementName = e.nodeName.toLowerCase() ;
+
+			if ( !eBlockLimit && !eBlock && FCKListsLib.PathBlockElements[ sElementName ] != null )
 				eBlock = e ;
-				
+
 			// TODO: Review the Regex and move it to the RegexLib.
-			if ( !eBlockLimit && (/^(?:BODY|TD|TH|CAPTION)$/).test( sElementName ) )
+			if ( !eBlockLimit && (/^(?:body|td|th|caption|form)$/).test( sElementName ) )
 				eBlockLimit = e ;
 
 			aElements.push( e ) ;
-			
+
 			if ( sElementName == 'BODY' )
-				break ; 
+				break ;
 		}
 		e = e.parentNode ;
 	}
-	
+
 	this.Block = eBlock ;
 	this.BlockLimit = eBlockLimit ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckenterkey.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckenterkey.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckenterkey.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Controls the [Enter] keystroke behavior in a document.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Controls the [Enter] keystroke behavior in a document.
+ */
 
 /*
@@ -11,5 +27,5 @@
  *		@enterMode : the behavior for the <Enter> keystroke.
  *			May be "p", "div", "br". Default is "p".
- *		@shiftEnterMode : the behavior for the <Shift>+<Enter> keystroke. 
+ *		@shiftEnterMode : the behavior for the <Shift>+<Enter> keystroke.
  *			May be "p", "div", "br". Defaults to "br".
  */
@@ -24,8 +40,8 @@
 	oKeystrokeHandler._EnterKey = this ;
 	oKeystrokeHandler.OnKeystroke = FCKEnterKey_OnKeystroke ;
-	
+
 	oKeystrokeHandler.SetKeystrokes( [
 		[ 13		, 'Enter' ],
-		[ SHIFT + 13, 'ShiftEnter' ], 
+		[ SHIFT + 13, 'ShiftEnter' ],
 		[ 8			, 'Backspace' ],
 		[ 46		, 'Delete' ]
@@ -40,9 +56,7 @@
 {
 	var oEnterKey = this._EnterKey ;
-	
-	/* @Packager.RemoveLine
+
 	try
 	{
-	@Packager.RemoveLine */
 		switch ( keystrokeValue )
 		{
@@ -62,13 +76,11 @@
 				return oEnterKey.DoDelete() ;
 		}
-	/* @Packager.RemoveLine
 	}
 	catch (e)
 	{
-		// If for any reason we are not able to handle it, go 
+		// If for any reason we are not able to handle it, go
 		// ahead with the browser default behavior.
 	}
-	@Packager.RemoveLine */
-	
+
 	return false ;
 }
@@ -80,5 +92,5 @@
 {
 	this._HasShift = ( hasShift === true ) ;
-	
+
 	var sMode = mode || this.EnterMode ;
 
@@ -108,21 +120,47 @@
 	oRange.MoveToSelection() ;
 
+	if ( !oRange.CheckIsCollapsed() )
+		return false ;
+
+
+	var oStartBlock = oRange.StartBlock ;
+	var oEndBlock = oRange.EndBlock ;
+
 	// The selection boundaries must be in the same "block limit" element
-	if ( oRange.StartBlockLimit == oRange.EndBlockLimit && oRange.StartBlock && oRange.EndBlock )
-	{
-		if ( oRange.StartBlock != oRange.EndBlock )
-		{
-			this.DoEnter() ;
-			oRange.MoveToSelection() ;
-		}
-		
+	if ( oRange.StartBlockLimit == oRange.EndBlockLimit && oStartBlock && oEndBlock )
+	{
+		if ( !oRange.CheckIsCollapsed() )
+		{
+			var bEndOfBlock = oRange.CheckEndOfBlock() ;
+
+			oRange.DeleteContents() ;
+
+			if ( oStartBlock != oEndBlock )
+			{
+				oRange.SetStart(oEndBlock,1) ;
+				oRange.SetEnd(oEndBlock,1) ;
+
+//				if ( bEndOfBlock )
+//					oEndBlock.parentNode.removeChild( oEndBlock ) ;
+			}
+
+			oRange.Select() ;
+
+			bCustom = ( oStartBlock == oEndBlock ) ;
+		}
+
 		if ( oRange.CheckStartOfBlock() )
 		{
 			var oCurrentBlock = oRange.StartBlock ;
-			
-			var ePrevious = FCKDomTools.GetPreviousSourceElement( oCurrentBlock, true, [ oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ;
+
+			var ePrevious = FCKDomTools.GetPreviousSourceElement( oCurrentBlock, true, [ 'BODY', oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ;
 
 			bCustom = this._ExecuteBackspace( oRange, ePrevious, oCurrentBlock ) ;
-		}	
+		}
+		else if ( FCKBrowserInfo.IsGecko )
+		{
+			// Firefox looses the selection when executing CheckStartOfBlock, so we must reselect.
+			oRange.Select() ;
+		}
 	}
 
@@ -142,8 +180,8 @@
 	}
 
-	if ( previous.nodeName.IEquals( 'LI' ) )
+	if ( previous && previous.nodeName.IEquals( 'LI' ) )
 	{
 		var oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ;
-		
+
 		while ( oNestedList )
 		{
@@ -155,5 +193,5 @@
 	if ( previous && currentBlock )
 	{
-		// If we are in a LI, and the previous block is not an LI, we must 
+		// If we are in a LI, and the previous block is not an LI, we must
 		if ( currentBlock.nodeName.IEquals( 'LI' ) && !previous.nodeName.IEquals( 'LI' ) )
 			currentBlock = FCKListHandler.OutdentListItem( currentBlock ) ;
@@ -162,5 +200,5 @@
 		var oCurrentParent = currentBlock.parentNode ;
 
-		if ( previous.nodeName.toUpperCase() == 'TABLE' ) 
+		if ( previous.nodeName.IEquals( 'TABLE', 'HR' ) )
 		{
 			FCKDomTools.RemoveNode( previous ) ;
@@ -171,5 +209,5 @@
 			// Remove the current block.
 			FCKDomTools.RemoveNode( currentBlock ) ;
-			
+
 			// Remove any empty tag left by the block removal.
 			while ( oCurrentParent.innerHTML.Trim().length == 0 )
@@ -179,13 +217,13 @@
 				oCurrentParent = oParent ;
 			}
-			
+
 			// Cleanup the previous and the current elements.
 			FCKDomTools.TrimNode( currentBlock ) ;
 			FCKDomTools.TrimNode( previous ) ;
-			
+
 			// Append a space to the previous.
 			// Maybe it is not always desirable...
 			// previous.appendChild( this.Window.document.createTextNode( ' ' ) ) ;
-			
+
 			// Set the range to the end of the previous element and bookmark it.
 			range.SetStart( previous, 2 ) ;
@@ -203,5 +241,5 @@
 		}
 	}
-	
+
 	return bCustom ;
 }
@@ -221,21 +259,12 @@
 	oRange.MoveToSelection() ;
 
-	// The selection boundaries must be in the same "block limit" element
-	if ( oRange.StartBlockLimit == oRange.EndBlockLimit && oRange.StartBlock && oRange.EndBlock )
-	{
-		if ( oRange.StartBlock != oRange.EndBlock )
-		{
-			this.DoEnter() ;
-			oRange.MoveToSelection() ;
-		}
-		
-		if ( oRange.CheckEndOfBlock() )
-		{
-			var oCurrentBlock = oRange.StartBlock ;
-			
-			var eNext = FCKDomTools.GetNextSourceElement( oCurrentBlock, true, [ oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ;
-			
-			bCustom = this._ExecuteBackspace( oRange, oCurrentBlock, eNext ) ;
-		}	
+	// There is just one special case for collapsed selections at the end of a block.
+	if ( oRange.CheckIsCollapsed() && oRange.CheckEndOfBlock( FCKBrowserInfo.IsGecko ) )
+	{
+		var oCurrentBlock = oRange.StartBlock ;
+
+		var eNext = FCKDomTools.GetNextSourceElement( oCurrentBlock, true, [ oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ;
+
+		bCustom = this._ExecuteBackspace( oRange, oCurrentBlock, eNext ) ;
 	}
 
@@ -249,5 +278,5 @@
 	var oRange = new FCKDomRange( this.Window ) ;
 	oRange.MoveToSelection() ;
-	
+
 	// The selection boundaries must be in the same "block limit" element.
 	if ( oRange.StartBlockLimit == oRange.EndBlockLimit )
@@ -261,27 +290,19 @@
 			this._FixBlock( oRange, false, blockTag ) ;
 
+		// Get the current blocks.
+		var eStartBlock	= oRange.StartBlock ;
+		var eEndBlock	= oRange.EndBlock ;
+
+		// Delete the current selection.
+		if ( !oRange.CheckIsEmpty() )
+			oRange.DeleteContents() ;
+
 		// If the selection boundaries are in the same block element
-		if ( oRange.StartBlock == oRange.EndBlock )
-		{
-			// Delete the current selection.
-			if ( !oRange.CheckIsEmpty() )
-			{
-				oRange.DeleteContents() ;
-			
-				// Get the new selection (it is collapsed at this point).
-			//	oRange.MoveToSelection() ;
-			}
-			
+		if ( eStartBlock == eEndBlock )
+		{
 			var eNewBlock ;
-			var bCleanupBlock = false ;
-
-			// Get the current block.
-			var eStartBlock = oRange.StartBlock ;
-			
+
 			var bIsStartOfBlock	= oRange.CheckStartOfBlock() ;
 			var bIsEndOfBlock	= oRange.CheckEndOfBlock() ;
-
-			FCKDebug.Output( 'bIsStartOfBlock: ' + bIsStartOfBlock ) ;
-			FCKDebug.Output( 'bIsEndOfBlock: ' + bIsEndOfBlock ) ;
 
 			if ( bIsStartOfBlock && !bIsEndOfBlock )
@@ -289,32 +310,22 @@
 				eNewBlock = eStartBlock.cloneNode(false) ;
 
-				if ( FCKBrowserInfo.IsIE )
-				{
-					// To make the block visible, we must fill it with a &nbsp; select it, and delete it.
-					eNewBlock.innerHTML = '&nbsp;' ;
-					bCleanupBlock = true ;
-				}
-				else if ( FCKBrowserInfo.IsGeckoLike )
+				if ( FCKBrowserInfo.IsGeckoLike )
 					eNewBlock.innerHTML = GECKO_BOGUS ;
-				
+
 				// Place the new block before the current block element.
 				eStartBlock.parentNode.insertBefore( eNewBlock, eStartBlock ) ;
 
-				// This is tricky, but to make the new block visible correctly,
-				// we must place a &nbsp; inside it and then delete it using a selection.
+				// This is tricky, but to make the new block visible correctly
+				// we must select it.
 				if ( FCKBrowserInfo.IsIE )
 				{
 					// Move the selection to the new block.
-					oRange.MoveToElementStart( eNewBlock ) ;
-					
-					oRange.Expand( 'block_contents' ) ;
-
-					oRange.Select() ;				
-					oRange.DeleteContents() ;
-
-					// Move the selection to the new block.
-					oRange.MoveToElementStart( eStartBlock ) ;
-					oRange.Select() ;				
+					oRange.MoveToNodeContents( eNewBlock ) ;
+
+					oRange.Select() ;
 				}
+
+				// Move the selection to the new block.
+				oRange.MoveToElementStart( eStartBlock ) ;
 			}
 			else
@@ -339,12 +350,6 @@
 						else
 							eNewBlock = eStartBlock.cloneNode(false) ;
-						
-						if ( FCKBrowserInfo.IsIE )
-						{
-							// To make the block visible, we must fill it with a &nbsp; select it, and delete it.
-							eNewBlock.innerHTML = '&nbsp;' ;
-							bCleanupBlock = true ;
-						}
-						else if ( FCKBrowserInfo.IsGeckoLike )
+
+						if ( FCKBrowserInfo.IsGeckoLike )
 						{
 							eNewBlock.innerHTML = GECKO_BOGUS ;
@@ -361,5 +366,5 @@
 					oRange.SetEnd( eStartBlock, 2 ) ;
 					var eDocFrag = oRange.ExtractContents() ;
-					
+
 					// Duplicate the block element after it.
 					eNewBlock = eStartBlock.cloneNode(false) ;
@@ -369,81 +374,42 @@
 					if ( eDocFrag.RootNode.firstChild.nodeType == 1 && eDocFrag.RootNode.firstChild.tagName.toUpperCase().Equals( 'UL', 'OL' ) )
 						eNewBlock.innerHTML = GECKO_BOGUS ;
-					
+
 					// Place the extracted contents in the duplicated block.
 					eDocFrag.AppendTo( eNewBlock ) ;
-					
-					FCKDebug.Output( eNewBlock.innerHTML ) ;
+
+					if ( FCKBrowserInfo.IsGecko )
+					{
+						// In Gecko, the last child node must be a bogus <br>.
+						var eLastChild = FCKDomTools.GetLastChild( eNewBlock ) ;
+
+						if ( !eLastChild || eLastChild.nodeName.toLowerCase() != 'br' || eLastChild.getAttribute( 'type', 2 ) != '_moz' )
+							eNewBlock.appendChild( FCKTools.CreateBogusBR( this.Window.document ) ) ;
+					}
 				}
 
 				if ( eNewBlock )
 				{
-//					// Place the new block after the current block element.
-//					if ( FCKBrowserInfo.IsIE )
-//					{
-//						// You gona think I'm crazy, but in IE we have to do
-//						// this way to make it work properly with LI in some cases.
-//						eStartBlock.parentNode.insertBefore( eNewBlock, eStartBlock ) ;		
-//						eNewBlock.swapNode( eStartBlock	) ;	
-//					}
-//					else
-						FCKDomTools.InsertAfterNode( eStartBlock, eNewBlock ) ;
+					FCKDomTools.InsertAfterNode( eStartBlock, eNewBlock ) ;
 
 					// Move the selection to the new block.
 					oRange.MoveToElementStart( eNewBlock ) ;
-					
+
 					if ( FCKBrowserInfo.IsGecko )
 						eNewBlock.scrollIntoView( false ) ;
-					
-					if ( bCleanupBlock )
-						oRange.Expand( 'block_contents' ) ;
 				}
-
-				oRange.Select() ;
-				
-				if ( bCleanupBlock ) 
-					oRange.DeleteContents() ;
 			}
 		}
 		else
 		{
-			// We must divide the current range in three ranges. One for the start block part, other for the end block part, and another for the in between selection.
-		
-			// Create a clone of the current range for the start block and move the clone end boundary to the end of the start block.
-			var oStartRange = oRange.Clone() ;
-			oStartRange.SetEnd( oRange.StartBlock, 2 ) ;
-			
-			// Create a clone of the current range for the end block and move the clone start boundary to the start of the second block.
-			var oEndRange = oRange.Clone() ;
-			oEndRange.SetStart( oRange.EndBlock, 1 ) ;
-
-			// Move the start of the current range right after the start block.
-			oRange.SetStart( oRange.StartBlock, 4 ) ;
-			
-			// Move the end of the current range right before the end block.
-			oRange.SetEnd( oRange.EndBlock, 3 ) ;
-			
-			// Delete the contents of the three ranges.
-			if ( oStartRange.CheckStartOfBlock() )
-				FCKDomTools.RemoveNode( oStartRange.StartBlock ) ;
-			else
-				oStartRange.DeleteContents() ;
-			oRange.DeleteContents() ;
-			oEndRange.DeleteContents() ;
-			
-			if ( FCKBrowserInfo.IsGeckoLike && oEndRange.StartBlock.tagName.IEquals( 'LI' ) && !FCKListHandler.CheckListHasContents( oEndRange.StartBlock ) )
-				oEndRange.StartBlock.insertBefore( FCKTools.CreateBogusBR( this.Window.document ), oEndRange.StartBlock.firstChild ) ;
-			
 			// Move the selection to the end block.
-			oEndRange.Select() ;
-			
-			// Release the resources for the Start and End ranges.
-			oStartRange.Release() ;
-			oEndRange.Release() ;
-		}
-	}
-	
+			oRange.MoveToElementStart( eEndBlock ) ;
+		}
+
+		oRange.Select() ;
+	}
+
 	// Release the resources used by the range.
 	oRange.Release() ;
-	
+
 	return true ;
 }
@@ -459,24 +425,29 @@
 	{
 		oRange.DeleteContents() ;
-		
+
 		// Get the new selection (it is collapsed at this point).
 		oRange.MoveToSelection() ;
-	
+
 		var bIsStartOfBlock	= oRange.CheckStartOfBlock() ;
 		var bIsEndOfBlock	= oRange.CheckEndOfBlock() ;
-		
+
 		var sStartBlockTag = oRange.StartBlock ? oRange.StartBlock.tagName.toUpperCase() : '' ;
-		
-		if ( !this._HasShift && sStartBlockTag == 'LI' )
+
+		var bHasShift = this._HasShift ;
+
+		if ( !bHasShift && sStartBlockTag == 'LI' )
 			return this._ExecuteEnterBlock( null ) ;
 
 		// If we are at the end of a header block.
-		if ( bIsEndOfBlock && (/^H[1-6]$/).test( sStartBlockTag ) )
-		{
-			// Insert a bogus BR after the current paragraph.
-			FCKDomTools.InsertAfterNode( oRange.StartBlock, FCKTools.CreateBogusBR( this.Window.document ) ) ;
+		if ( !bHasShift && bIsEndOfBlock && (/^H[1-6]$/).test( sStartBlockTag ) )
+		{
+			FCKDebug.Output( 'BR - Header' ) ;
+
+			// Insert a BR after the current paragraph.
+			FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createElement( 'br' ) ) ;
 
 			// The space is required by Gecko only to make the cursor blink.
-			FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createTextNode( '' ) ) ;
+			if ( FCKBrowserInfo.IsGecko )
+				FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createTextNode( '' ) ) ;
 
 			// IE and Gecko have different behaviors regarding the position.
@@ -485,29 +456,33 @@
 		else
 		{
-			// Note that DomRange.InsertNode() will always add at the start boundary.
-			
-			// This is the textnode where the cursor will be positioned at.
-			oRange.InsertNode( this.Window.document.createTextNode( '' ) ) ;
+			FCKDebug.Output( 'BR - No Header' ) ;
 
 			var eBr = this.Window.document.createElement( 'br' ) ;
+
 			oRange.InsertNode( eBr ) ;
 
-			if ( bIsEndOfBlock && !FCKBrowserInfo.IsIE )
+			// The space is required by Gecko only to make the cursor blink.
+			if ( FCKBrowserInfo.IsGecko )
+				FCKDomTools.InsertAfterNode( eBr, this.Window.document.createTextNode( '' ) ) ;
+
+			// If we are at the end of a block, we must be sure the bogus node is available in that block.
+			if ( bIsEndOfBlock && FCKBrowserInfo.IsGecko )
 			{
 				var eLastBr = FCKDomTools.GetLastChild( eBr.parentNode, 'BR' ) ;
 
-				if ( eLastBr && eLastBr == eBr )
-					FCKDomTools.InsertAfterNode( eBr.nextSibling, FCKTools.CreateBogusBR( this.Window.document ) ) ;
+				if ( eLastBr && eLastBr.getAttribute( 'type', 2 ) != '_moz' )
+					eBr.parentNode.appendChild( FCKTools.CreateBogusBR( this.Window.document ) ) ;
 			}
 
 			if ( FCKBrowserInfo.IsIE )
-			{
 				oRange.SetStart( eBr, 4 ) ;
-				oRange.Collapse( true ) ;
-			}
 			else
 				oRange.SetStart( eBr.nextSibling, 1 ) ;
-		}
-		
+
+		}
+
+		// This collapse guarantees the cursor will be blinking.
+		oRange.Collapse( true ) ;
+
 		oRange.Select() ;
 	}
@@ -515,45 +490,31 @@
 	// Release the resources used by the range.
 	oRange.Release() ;
-	
+
 	return true ;
 }
 
 // Transform a block without a block tag in a valid block (orphan text in the body or td, usually).
-FCKEnterKey.prototype._FixBlock = function( range, isStartBlock, blockTag )
-{
+FCKEnterKey.prototype._FixBlock = function( range, isStart, blockTag )
+{
+	// Bookmark the range so we can restore it later.
 	var oBookmark = range.CreateBookmark() ;
 
-	// Create a range clone to the ending boundary.
-	var oTempRange = range.Clone() ;
-	oTempRange.Collapse( isStartBlock ) ;
+	// Collapse the range to the requested ending boundary.
+	range.Collapse( isStart ) ;
 
 	// Expands it to the block contents.
-	oTempRange.Expand( 'block_contents' ) ;
-
+	range.Expand( 'block_contents' ) ;
+
+	// Create the fixed block.
 	var oFixedBlock = this.Window.document.createElement( blockTag ) ;
-	
-	// In IE, the range boundary cannot be positioned between tags, so we must use markers.
-	if ( FCKBrowserInfo.IsIE )
-	{
-		var eStartMarker	= oTempRange.InsertMarkerTag( true ) ;
-		var eEndMarker		= oTempRange.InsertMarkerTag( false ) ;
-		
-		eStartMarker.parentNode.insertBefore( oFixedBlock, eStartMarker ) ;
-
-		oTempRange.ExtractContents().AppendTo( oFixedBlock ) ;
-		FCKDomTools.TrimNode( oFixedBlock ) ;
-	}
-
-	oTempRange.ExtractContents().AppendTo( oFixedBlock ) ;
+
+	// Move the contents of the temporary range to the fixed block.
+	range.ExtractContents().AppendTo( oFixedBlock ) ;
 	FCKDomTools.TrimNode( oFixedBlock ) ;
 
-	if ( !FCKBrowserInfo.IsIE )
-		oTempRange.InsertNode( oFixedBlock ) ;
-	
+	// Insert the fixed block into the DOM.
+	range.InsertNode( oFixedBlock ) ;
+
+	// Move the range back to the bookmarked place.
 	range.MoveToBookmark( oBookmark ) ;
-
-	// A bookmark may leave the range boundary between nodes, which causes
-	// problems. The following trick will fix it.
-	range.Select() ;
-	range.MoveToSelection() ;
-}
+}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckevents.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckevents.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckevents.js	(revision 141)
@@ -1,12 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	FCKEvents Class: used to handle events is a advanced way.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKEvents Class: used to handle events is a advanced way.
+ */
 
-var FCKEvents ;
-
-FCKEvents = function( eventsOwner )
+var FCKEvents = function( eventsOwner )
 {
 	this.Owner = eventsOwner ;
@@ -18,5 +32,5 @@
 	var aTargets ;
 
-	if ( !( aTargets = this._RegisteredEvents[ eventName ] ) ) 
+	if ( !( aTargets = this._RegisteredEvents[ eventName ] ) )
 		this._RegisteredEvents[ eventName ] = [ functionPointer ] ;
 	else
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckicon.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckicon.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckicon.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKIcon Class: renders an icon from a single image, a strip or even a
-	spacer.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKIcon Class: renders an icon from a single image, a strip or even a
+ * spacer.
+ */
 
 var FCKIcon = function( iconPathOrStripInfoArray )
@@ -17,13 +33,13 @@
 			this.Position = iconPathOrStripInfoArray ;
 			break ;
-		
+
 		case 'undefined' :
 			this.Path = FCK_SPACER_PATH ;
 			break ;
-		
+
 		case 'string' :
 			this.Path = iconPathOrStripInfoArray ;
 			break ;
-		
+
 		default :
 			// It is an array in the format [ StripFilePath, IconSize, IconPosition ]
@@ -36,17 +52,17 @@
 FCKIcon.prototype.CreateIconElement = function( document )
 {
-	var eIcon ;
-	
+	var eIcon, eIconImage ;
+
 	if ( this.Position )		// It is using an icons strip image.
 	{
 		var sPos = '-' + ( ( this.Position - 1 ) * this.Size ) + 'px' ;
-	
+
 		if ( FCKBrowserInfo.IsIE )
 		{
 			// <div class="TB_Button_Image"><img src="strip.gif" style="top:-16px"></div>
-			
+
 			eIcon = document.createElement( 'DIV' ) ;
-			
-			var eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ;
+
+			eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ;
 			eIconImage.src = this.Path ;
 			eIconImage.style.top = sPos ;
@@ -55,5 +71,5 @@
 		{
 			// <img class="TB_Button_Image" src="spacer.gif" style="background-position: 0px -16px;background-image: url(strip.gif);">
-			
+
 			eIcon = document.createElement( 'IMG' ) ;
 			eIcon.src = FCK_SPACER_PATH ;
@@ -72,9 +88,9 @@
 		// are changing to the <div> system to clip the image correctly.
 		eIcon = document.createElement( 'DIV' ) ;
-		
-		var eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ;
+
+		eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ;
 		eIconImage.src = this.Path ? this.Path : FCK_SPACER_PATH ;
 	}
-	
+
 	eIcon.className = 'TB_Button_Image' ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckiecleanup.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckiecleanup.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckiecleanup.js	(revision 141)
@@ -1,10 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKIECleanup Class: a generic class used as a tool to remove IE leaks.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
-
-// V3 // @Packager.RemoveLine
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKIECleanup Class: a generic class used as a tool to remove IE leaks.
+ */
 
 var	FCKIECleanup = function( attachWindow )
@@ -22,10 +36,10 @@
 	}
 }
-	
+
 FCKIECleanup.prototype.AddItem = function( dirtyItem, cleanupFunction )
 {
 	this.Items.push( [ dirtyItem, cleanupFunction ] ) ;
 }
-	
+
 function FCKIECleanup_Cleanup()
 {
@@ -34,11 +48,11 @@
 
 	var aItems = this._FCKCleanupObj.Items ;
-	
+
 	while ( aItems.length > 0 )
 	{
-		
+
 		// It is important to remove from the end to the beginning (pop()),
 		// because of the order things get created in the editor. In the code,
-		// elements in deeper position in the DOm are placed in the end of the
+		// elements in deeper position in the DOM are placed at the end of the
 		// cleanup function, so we must cleanup then first, otherwise IE could
 		// throw some crazy memory errors (IE bug).
@@ -47,7 +61,7 @@
 			oItem[1].call( oItem[0] ) ;
 	}
-	
+
 	this._FCKCleanupObj = null ;
-	
+
 	if ( CollectGarbage )
 		CollectGarbage() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckimagepreloader.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckimagepreloader.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckimagepreloader.js	(revision 141)
@@ -1,8 +1,31 @@
-﻿var FCKImagePreloader = function()
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Preload a list of images, firing an event when complete.
+ */
+
+var FCKImagePreloader = function()
 {
 	this._Images = new Array() ;
 }
 
-FCKImagePreloader.prototype = 
+FCKImagePreloader.prototype =
 {
 	AddImages : function( images )
@@ -10,13 +33,13 @@
 		if ( typeof( images ) == 'string' )
 			images = images.split( ';' ) ;
-		
+
 		this._Images = this._Images.concat( images ) ;
 	},
-	
+
 	Start : function()
 	{
 		var aImages = this._Images ;
 		this._PreloadCount = aImages.length ;
-	
+
 		for ( var i = 0 ; i < aImages.length ; i++ )
 		{
@@ -25,5 +48,5 @@
 			eImg._FCKImagePreloader = this ;
 			eImg.src = aImages[i] ;
-			
+
 			_FCKImagePreloader_ImageCache.push( eImg ) ;
 		}
@@ -38,5 +61,5 @@
 {
 	var oImagePreloader = this._FCKImagePreloader ;
-	
+
 	if ( (--oImagePreloader._PreloadCount) == 0 && oImagePreloader.OnComplete )
 		oImagePreloader.OnComplete() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckkeystrokehandler.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckkeystrokehandler.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckkeystrokehandler.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Control keyboard keystroke combinations.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Control keyboard keystroke combinations.
+ */
 
 var FCKKeystrokeHandler = function( cancelCtrlDefaults )
@@ -18,5 +34,5 @@
 FCKKeystrokeHandler.prototype.AttachToElement = function( target )
 {
-	// For newer browsers, it is enough to listen to the keydown event only. 
+	// For newer browsers, it is enough to listen to the keydown event only.
 	// Some browsers instead, don't cancel key events in the keydown, but in the
 	// keypress. So we must do a longer trip in those cases.
@@ -38,5 +54,5 @@
 	{
 		var keyDef = arguments[i] ;
-		
+
 		if ( typeof( keyDef[0] ) == 'object' )		// It is an array with arrays defining the keystrokes.
 			this.SetKeystrokes.apply( this, keyDef ) ;
@@ -58,23 +74,23 @@
 	// Combine it with the CTRL, SHIFT and ALT states.
 	var keyModifiers = 0 ;
-	
+
 	if ( ev.ctrlKey || ev.metaKey )
 		keyModifiers += CTRL ;
-	
+
 	if ( ev.shiftKey )
 		keyModifiers += SHIFT ;
-	
+
 	if ( ev.altKey )
 		keyModifiers += ALT ;
 
 	var keyCombination = keystroke + keyModifiers ;
-	
+
 	var cancelIt = keystrokeHandler._CancelIt = false ;
-	
+
 	// Look for its definition availability.
 	var keystrokeValue = keystrokeHandler.Keystrokes[ keyCombination ] ;
-	
+
 //	FCKDebug.Output( 'KeyDown: ' + keyCombination + ' - Value: ' + keystrokeValue ) ;
-	
+
 	// If the keystroke is defined
 	if ( keystrokeValue )
@@ -96,5 +112,5 @@
 		if ( ev.preventDefault )
 			return ev.preventDefault() ;
-		
+
 		ev.returnValue = false ;
 		ev.cancelBubble = true ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenublock.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenublock.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenublock.js	(revision 141)
@@ -1,10 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Renders a list of menu items.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
-
-// V3 // @Packager.RemoveLine
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Renders a list of menu items.
+ */
 
 var FCKMenuBlock = function()
@@ -23,8 +37,8 @@
 {
 	var oItem = new FCKMenuItem( this, name, label, iconPathOrStripInfoArrayOrIndex, isDisabled ) ;
-	
+
 	oItem.OnClick		= FCKTools.CreateEventListener( FCKMenuBlock_Item_OnClick, this ) ;
 	oItem.OnActivate	= FCKTools.CreateEventListener( FCKMenuBlock_Item_OnActivate, this ) ;
-	
+
 	this._Items.push( oItem ) ;
 
@@ -40,5 +54,5 @@
 {
 	this._Items = new Array() ;
-	
+
 	var eItemsTable = this._ItemsTable ;
 	if ( eItemsTable )
@@ -65,13 +79,13 @@
 
 		FCKTools.DisableSelection( eTable ) ;
-		
+
 		var oMainElement = eTable.insertRow(-1).insertCell(-1) ;
 		oMainElement.className = 'MN_Menu' ;
-	
+
 		var eItemsTable = this._ItemsTable = oMainElement.appendChild( oDoc.createElement( 'table' ) ) ;
 		eItemsTable.cellPadding = 0 ;
-		eItemsTable.cellSpacing = 0 ;		
+		eItemsTable.cellSpacing = 0 ;
 	}
-	
+
 	for ( var i = 0 ; i < this._Items.length ; i++ )
 		this._Items[i].Create( this._ItemsTable ) ;
@@ -88,5 +102,5 @@
 {
 	var oActiveItem = menuBlock._ActiveItem ;
-	
+
 	if ( oActiveItem && oActiveItem != this )
 	{
@@ -95,5 +109,5 @@
 			menuBlock._Window.focus() ;
 
-		oActiveItem.Deactivate() ;		
+		oActiveItem.Deactivate() ;
 	}
 
@@ -117,5 +131,5 @@
 
 	var r = parentTable.insertRow(-1) ;
-	
+
 	var eCell = r.insertCell(-1) ;
 	eCell.className = 'MN_Separator MN_Icon' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenublockpanel.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenublockpanel.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenublockpanel.js	(revision 141)
@@ -1,11 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	This class is a menu block that behaves like a panel. It's a mix of the
-	FCKMenuBlock and FCKPanel classes.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
-
-// V3 // @Packager.RemoveLine
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This class is a menu block that behaves like a panel. It's a mix of the
+ * FCKMenuBlock and FCKPanel classes.
+ */
 
 var FCKMenuBlockPanel = function()
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenuitem.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenuitem.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckmenuitem.js	(revision 141)
@@ -1,10 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Defines and renders a menu items in a menu block.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
-
-// V3 // @Packager.RemoveLine
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines and renders a menu items in a menu block.
+ */
 
 var FCKMenuItem = function( parentMenuBlock, name, label, iconPathOrStripInfoArray, isDisabled )
@@ -13,7 +27,7 @@
 	this.Label		= label || name ;
 	this.IsDisabled	= isDisabled ;
-	
+
 	this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ;
-	
+
 	this.SubMenu			= new FCKMenuBlockPanel() ;
 	this.SubMenu.Parent		= parentMenuBlock ;
@@ -40,5 +54,5 @@
 {
 	var bHasSubMenu = this.HasSubMenu ;
-	
+
 	var oDoc = FCKTools.GetElementDocument( parentTable ) ;
 
@@ -56,5 +70,5 @@
 			FCKTools.AddEventListenerEx( r, 'mouseout', FCKMenuItem_OnMouseOut, [ this ] ) ;
 	}
-	
+
 	// Create the icon cell.
 	var eCell = r.insertCell(-1) ;
@@ -67,5 +81,5 @@
 	eCell.noWrap = true ;
 	eCell.appendChild( oDoc.createTextNode( this.Label ) ) ;
-	
+
 	// Create the arrow cell and setup the sub menu panel (if needed).
 	eCell = r.insertCell(-1) ;
@@ -79,5 +93,5 @@
 		eArrowImg.width	 = 4 ;
 		eArrowImg.height = 7 ;
-		
+
 		this.SubMenu.Create() ;
 		this.SubMenu.Panel.OnHide = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnHide, this ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckpanel.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckpanel.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckpanel.js	(revision 141)
@@ -1,11 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Component that creates floating panels. It is used by many 
-	other components, like the toolbar items, context menu, etc...
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
-
-// V3 // @Packager.RemoveLine
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Component that creates floating panels. It is used by many
+ * other components, like the toolbar items, context menu, etc...
+ */
 
 var FCKPanel = function( parentWindow )
@@ -14,9 +28,9 @@
 	this.IsContextMenu	= false ;
 	this._LockCounter	= 0 ;
-	
+
 	this._Window = parentWindow || window ;
-	
+
 	var oDocument ;
-	
+
 	if ( FCKBrowserInfo.IsIE )
 	{
@@ -29,5 +43,5 @@
 	else
 	{
-		var oIFrame = this._IFrame = this._Window.document.createElement('iframe') ; 
+		var oIFrame = this._IFrame = this._Window.document.createElement('iframe') ;
 		oIFrame.src					= 'javascript:void(0)' ;
 		oIFrame.allowTransparency	= true ;
@@ -42,7 +56,7 @@
 		else
 			this._Window.document.body.appendChild( oIFrame ) ;
-		
-		var oIFrameWindow = oIFrame.contentWindow ; 
-		
+
+		var oIFrameWindow = oIFrame.contentWindow ;
+
 		oDocument = this.Document = oIFrameWindow.document ;
 
@@ -57,5 +71,5 @@
 
 	oDocument.dir = FCKLang.Dir ;
-	
+
 	oDocument.oncontextmenu = FCKTools.CancelEvent ;
 
@@ -78,5 +92,5 @@
 FCKPanel.prototype.Preload = function( x, y, relElement )
 {
-	// The offsetWidth and offsetHeight properties are not available if the 
+	// The offsetWidth and offsetHeight properties are not available if the
 	// element is not visible. So we must "show" the popup with no size to
 	// be able to use that values in the second call (IE only).
@@ -87,17 +101,19 @@
 FCKPanel.prototype.Show = function( x, y, relElement, width, height )
 {
+	var iMainWidth ;
+
 	if ( this._Popup )
 	{
-		// The offsetWidth and offsetHeight properties are not available if the 
+		// The offsetWidth and offsetHeight properties are not available if the
 		// element is not visible. So we must "show" the popup with no size to
 		// be able to use that values in the second call.
 		this._Popup.show( x, y, 0, 0, relElement ) ;
 
-		// The following lines must be place after the above "show", otherwise it 
+		// The following lines must be place after the above "show", otherwise it
 		// doesn't has the desired effect.
 		this.MainNode.style.width	= width ? width + 'px' : '' ;
 		this.MainNode.style.height	= height ? height + 'px' : '' ;
-		
-		var iMainWidth = this.MainNode.offsetWidth ;
+
+		iMainWidth = this.MainNode.offsetWidth ;
 
 		if ( this.IsRTL )
@@ -108,8 +124,8 @@
 				x  = ( x * -1 ) + relElement.offsetWidth - iMainWidth ;
 		}
-	
+
 		// Second call: Show the Popup at the specified location, with the correct size.
 		this._Popup.show( x, y, iMainWidth, this.MainNode.offsetHeight, relElement ) ;
-		
+
 		if ( this.OnHide )
 		{
@@ -132,5 +148,5 @@
 		this.MainNode.style.height	= height ? height + 'px' : '' ;
 
-		var iMainWidth = this.MainNode.offsetWidth ;
+		iMainWidth = this.MainNode.offsetWidth ;
 
 		if ( !width )	this._IFrame.width	= 1 ;
@@ -143,7 +159,7 @@
 		iMainWidth = this.MainNode.offsetWidth ;
 
-		var oPos = FCKTools.GetElementPosition( 
-			relElement.nodeType == 9 ?  
-				( FCKTools.IsStrictMode( relElement ) ? relElement.documentElement : relElement.body ) : 
+		var oPos = FCKTools.GetElementPosition(
+			relElement.nodeType == 9 ?
+				( FCKTools.IsStrictMode( relElement ) ? relElement.documentElement : relElement.body ) :
 				relElement,
 			this._Window ) ;
@@ -166,5 +182,5 @@
 			var oViewPaneSize = FCKTools.GetViewPaneSize( this._Window ) ;
 			var oScrollPosition = FCKTools.GetScrollPosition( this._Window ) ;
-			
+
 			var iViewPaneHeight	= oViewPaneSize.Height + oScrollPosition.Y ;
 			var iViewPaneWidth	= oViewPaneSize.Width + oScrollPosition.X ;
@@ -176,5 +192,5 @@
 				y -= y + this.MainNode.offsetHeight - iViewPaneHeight ;
 		}
-		
+
 		if ( x < 0 )
 			 x = 0 ;
@@ -183,8 +199,8 @@
 		this._IFrame.style.left	= x + 'px' ;
 		this._IFrame.style.top	= y + 'px' ;
-		
+
 		var iWidth	= iMainWidth ;
 		var iHeight	= this.MainNode.offsetHeight ;
-		
+
 		this._IFrame.width	= iWidth ;
 		this._IFrame.height = iHeight ;
@@ -207,15 +223,15 @@
 		if ( !this._IsOpened )
 			return ;
-		
+
 		// Enable the editor to fire the "OnBlur".
 		if ( typeof( FCKFocusManager ) != 'undefined' )
 			FCKFocusManager.Unlock() ;
 
-		// It is better to set the sizes to 0, otherwise Firefox would have 
+		// It is better to set the sizes to 0, otherwise Firefox would have
 		// rendering problems.
 		this._IFrame.width = this._IFrame.height = 0 ;
 
 		this._IsOpened = false ;
-		
+
 		if ( this.ParentPanel )
 			this.ParentPanel.Unlock() ;
@@ -240,5 +256,5 @@
 	var oChildPanel = new FCKPanel( oWindow, true ) ;
 	oChildPanel.ParentPanel = this ;
-	
+
 	return oChildPanel ;
 }
@@ -265,5 +281,5 @@
 {
 	panel.HasFocus = false ;
-	
+
 	if ( panel._LockCounter == 0 )
 		FCKTools.RunFunction( panel.Hide, panel ) ;
@@ -276,5 +292,5 @@
 		window.clearInterval( this._Timer ) ;
 		this._Timer = null ;
-	
+
 		FCKTools.RunFunction( this.OnHide, this ) ;
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckplugin.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKPlugin Class: Represents a single plugin.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKPlugin Class: Represents a single plugin.
+ */
 
 var FCKPlugin = function( name, availableLangs, basePath )
@@ -11,5 +27,5 @@
 	this.BasePath = basePath ? basePath : FCKConfig.PluginsPath ;
 	this.Path = this.BasePath + name + '/' ;
-	
+
 	if ( !availableLangs || availableLangs.length == 0 )
 		this.AvailableLangs = new Array() ;
@@ -24,5 +40,5 @@
 	{
 		var sLang ;
-		
+
 		// Check if the plugin has the language file for the active language.
 		if ( this.AvailableLangs.IndexOf( FCKLanguageManager.ActiveLanguage.Code ) >= 0 )
@@ -31,9 +47,9 @@
 			// Load the default language file (first one) if the current one is not available.
 			sLang = this.AvailableLangs[0] ;
-		
+
 		// Add the main plugin script.
-		LoadScript( this.Path + 'lang/' + sLang + '.js' ) ;		
+		LoadScript( this.Path + 'lang/' + sLang + '.js' ) ;
 	}
-		
+
 	// Add the main plugin script.
 	LoadScript( this.Path + 'fckplugin.js' ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckspecialcombo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckspecialcombo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckspecialcombo.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKSpecialCombo Class: represents a special combo.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKSpecialCombo Class: represents a special combo.
+ */
 
 var FCKSpecialCombo = function( caption, fieldWidth, panelWidth, panelMaxHeight, parentWindow )
@@ -18,7 +34,7 @@
 
 	this.Enabled = true ;
-	
+
 	this.Items = new Object() ;
-	
+
 	this._Panel = new FCKPanel( parentWindow || window, true ) ;
 	this._Panel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ;
@@ -28,5 +44,5 @@
 
 	this._PanelBox.innerHTML = '<table cellpadding="0" cellspacing="0" width="100%" style="TABLE-LAYOUT: fixed"><tr><td nowrap></td></tr></table>' ;
-	
+
 	this._ItemsHolderEl = this._PanelBox.getElementsByTagName('TD')[0] ;
 
@@ -77,5 +93,5 @@
 	if ( FCKBrowserInfo.IsIE )
 		oDiv.style.width = '100%' ;
-	
+
 	if ( bgColor )
 		oDiv.style.backgroundColor = bgColor ;
@@ -84,7 +100,7 @@
 	oDiv.onmouseout		= FCKSpecialCombo_ItemOnMouseOut ;
 	oDiv.onclick		= FCKSpecialCombo_ItemOnClick ;
-	
+
 	this.Items[ id.toString().toLowerCase() ] = oDiv ;
-	
+
 	return oDiv ;
 }
@@ -93,5 +109,5 @@
 {
 	itemId = itemId ? itemId.toString().toLowerCase() : '' ;
-	
+
 	var oDiv = this.Items[ itemId ] ;
 	if ( oDiv )
@@ -112,5 +128,5 @@
 			oDiv.className = oDiv.originalClass = 'SC_ItemSelected' ;
 			oDiv.Selected = true ;
-			
+
 			if ( setLabel )
 				this.SetLabel( itemLabel ) ;
@@ -126,5 +142,5 @@
 		this.Items[i].Selected = false ;
 	}
-	
+
 	if ( clearLabel )
 		this.SetLabel( '' ) ;
@@ -134,5 +150,5 @@
 {
 	id = id ? id.toString().toLowerCase() : '' ;
-	
+
 	var oDiv = this.Items[ id ] ;
 	this.SetLabel( oDiv ? oDiv.FCKItemLabel : '' ) ;
@@ -146,5 +162,5 @@
 	{
 		this._LabelEl.innerHTML = this.Label ;
-		
+
 		// It may happen that the label is some HTML, including tags. This
 		// would be a problem because when the user click on those tags, the
@@ -158,5 +174,5 @@
 {
 	this.Enabled = isEnabled ;
-	
+
 	this._OuterTable.className = isEnabled ? '' : 'SC_FieldDisabled' ;
 }
@@ -168,10 +184,10 @@
 	eOuterTable.cellPadding = 0 ;
 	eOuterTable.cellSpacing = 0 ;
-	
+
 	eOuterTable.insertRow(-1) ;
-	
+
 	var sClass ;
 	var bShowLabel ;
-	
+
 	switch ( this.Style )
 	{
@@ -195,5 +211,5 @@
 		oCaptionCell.className = 'SC_FieldCaption' ;
 	}
-	
+
 	// Create the main DIV element.
 	var oField = FCKTools.AppendElement( eOuterTable.rows[0].insertCell(-1), 'div' ) ;
@@ -212,5 +228,5 @@
 		//oField.innerHTML = '<span className="SC_FieldCaption">' + this.Caption + '<table cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldButton" style="border-left: none;">&nbsp;</td></tr></tbody></table>' ;
 		//oField.innerHTML = '<table cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldButton" style="border-left: none;">&nbsp;</td></tr></tbody></table>' ;
-		
+
 		// Gets the correct CSS class to use for the specified style (param).
 		oField.innerHTML = '<table title="' + this.Tooltip + '" class="' + sClass + '" cellspacing="0" cellpadding="0" border="0">' +
@@ -230,5 +246,5 @@
 
 	oField.SpecialCombo = this ;
-	
+
 	oField.onmouseover	= FCKSpecialCombo_OnMouseOver ;
 	oField.onmouseout	= FCKSpecialCombo_OnMouseOut ;
@@ -244,5 +260,5 @@
 	this._ItemsHolderEl = null ;
 	this._PanelBox = null ;
-	
+
 	if ( this.Items )
 	{
@@ -250,5 +266,5 @@
 			this.Items[key] = null ;
 	}
-}	
+}
 
 function FCKSpecialCombo_OnMouseOver()
@@ -270,5 +286,5 @@
 	}
 }
-	
+
 function FCKSpecialCombo_OnMouseOut()
 {
@@ -286,8 +302,8 @@
 	}
 }
-	
+
 function FCKSpecialCombo_OnClick( e )
 {
-	// For Mozilla we must stop the event propagation to avoid it hiding 
+	// For Mozilla we must stop the event propagation to avoid it hiding
 	// the panel because of a click outside of it.
 //	if ( e )
@@ -296,5 +312,5 @@
 //		FCKPanelEventHandlers.OnDocumentClick( e ) ;
 //	}
-	
+
 	var oSpecialCombo = this.SpecialCombo ;
 
@@ -305,5 +321,5 @@
 		var oItemsHolder	= oSpecialCombo._ItemsHolderEl ;
 		var iMaxHeight		= oSpecialCombo.PanelMaxHeight ;
-		
+
 		if ( oSpecialCombo.OnBeforeClick )
 			oSpecialCombo.OnBeforeClick( oSpecialCombo ) ;
@@ -323,5 +339,5 @@
 		else
 			oPanelBox.style.height = '' ;
-			
+
 //		oPanel.PanelDiv.style.width = oSpecialCombo.PanelWidth + 'px' ;
 
@@ -332,5 +348,5 @@
 }
 
-/* 
+/*
 Sample Combo Field HTML output:
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStyleDef Class: represents a single style definition.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStyleDef Class: represents a single style definition.
+ */
 
 var FCKStyleDef = function( name, element )
@@ -22,8 +38,8 @@
 {
 	var s = '<' + this.Element ;
-	
+
 	for ( var a in this.Attributes )
 		s += ' ' + a + '="' + this.Attributes[a] + '"' ;
-	
+
 	return s + '>' ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStyleDef Class: represents a single stylke definition. (Gecko specific)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStyleDef Class: represents a single stylke definition. (Gecko specific)
+ */
 
 FCKStyleDef.prototype.ApplyToSelection = function()
@@ -11,20 +27,20 @@
 	{
 		var oSelection = FCK.ToolbarSet.CurrentInstance.EditorWindow.getSelection() ;
-		
+
 		// Create the main element.
 		var e = FCK.ToolbarSet.CurrentInstance.EditorDocument.createElement( this.Element ) ;
-		
+
 		for ( var i = 0 ; i < oSelection.rangeCount ; i++ )
 		{
 			e.appendChild( oSelection.getRangeAt(i).extractContents() ) ;
 		}
-		
+
 		// Set the attributes.
 		this._AddAttributes( e ) ;
-		
+
 		// Remove the duplicated elements.
 		this._RemoveDuplicates( e ) ;
 
-		var oRange = oSelection.getRangeAt(0) ;		
+		var oRange = oSelection.getRangeAt(0) ;
 		oRange.insertNode( e ) ;
 	}
@@ -57,10 +73,10 @@
 	{
 		var oChild = parent.childNodes[i] ;
-		
+
 		if ( oChild.nodeType != 1 )
 			continue ;
-		
+
 		this._RemoveDuplicates( oChild ) ;
-		
+
 		if ( this.IsEqual( oChild ) )
 			FCKTools.RemoveOuterTags( oChild ) ;
@@ -72,5 +88,5 @@
 	if ( e.tagName != this.Element )
 		return false ;
-	
+
 	for ( var a in this.Attributes )
 	{
@@ -78,5 +94,5 @@
 			return false ;
 	}
-	
+
 	return true ;
 }
@@ -100,5 +116,5 @@
 			FCKTools.RemoveOuterTags( elementToCheck ) ;
 	}
-	
+
 	this._RemoveMe( oParent ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstyledef_ie.js	(revision 141)
@@ -1,27 +1,43 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStyleDef Class: represents a single stylke definition. (IE specific)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStyleDef Class: represents a single stylke definition. (IE specific)
+ */
 
 FCKStyleDef.prototype.ApplyToSelection = function()
 {
 	var oSelection = FCK.ToolbarSet.CurrentInstance.EditorDocument.selection ;
-	
+
 	if ( oSelection.type == 'Text' )
 	{
 		var oRange = oSelection.createRange() ;
-		
+
 		// Create the main element.
 		var e = document.createElement( this.Element ) ;
 		e.innerHTML = oRange.htmlText ;
-		
+
 		// Set the attributes.
 		this._AddAttributes( e ) ;
-		
+
 		// Remove the duplicated elements.
 		this._RemoveDuplicates( e ) ;
-		
+
 		// Replace the selection with the resulting HTML.
 		oRange.pasteHTML( e.outerHTML ) ;
@@ -64,5 +80,5 @@
 		var oChild = parent.children[i] ;
 		this._RemoveDuplicates( oChild ) ;
-		
+
 		if ( this.IsEqual( oChild ) )
 			FCKTools.RemoveOuterTags( oChild ) ;
@@ -74,5 +90,5 @@
 	if ( e.tagName != this.Element )
 		return false ;
-	
+
 	for ( var a in this.Attributes )
 	{
@@ -92,5 +108,5 @@
 		}
 	}
-	
+
 	return true ;
 }
@@ -123,5 +139,5 @@
 			FCKTools.RemoveOuterTags( elementToCheck ) ;
 	}
-	
+
 	this._RemoveMe( oParent ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstylesloader.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstylesloader.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckstylesloader.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStylesLoader Class: this class define objects that are responsible
-	for loading the styles defined in the XML file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStylesLoader Class: this class define objects that are responsible
+ * for loading the styles defined in the XML file.
+ */
 
 var FCKStylesLoader = function()
@@ -20,22 +36,22 @@
 	var oXml = new FCKXml() ;
 	oXml.LoadUrl( stylesXmlUrl ) ;
-	
+
 	// Get the "Style" nodes defined in the XML file.
 	var aStyleNodes = oXml.SelectNodes( 'Styles/Style' ) ;
-	
+
 	// Add each style to our "Styles" collection.
 	for ( var i = 0 ; i < aStyleNodes.length ; i++ )
 	{
 		var sElement = aStyleNodes[i].attributes.getNamedItem('element').value.toUpperCase() ;
-	
+
 		// Create the style definition object.
 		var oStyleDef = new FCKStyleDef( aStyleNodes[i].attributes.getNamedItem('name').value, sElement ) ;
-		
+
 		if ( oStyleDef.IsObjectElement )
 			this.HasObjectElements = true ;
-		
+
 		// Get the attributes defined for the style (if any).
 		var aAttNodes = oXml.SelectNodes( 'Attribute', aStyleNodes[i] ) ;
-		
+
 		// Add the attributes to the style definition object.
 		for ( var j = 0 ; j < aAttNodes.length ; j++ )
@@ -52,5 +68,5 @@
 				sAttValue = oTempE.style.cssText ;
 			}
-			
+
 			oStyleDef.AddAttribute( sAttName, sAttValue ) ;
 		}
@@ -58,5 +74,5 @@
 		// Add the style to the "Styles" collection using it's name as the key.
 		this.Styles[ oStyleDef.Name ] = oStyleDef ;
-		
+
 		// Add the style to the "StyleGroups" collection.
 		var aGroup = this.StyleGroups[sElement] ;
@@ -68,5 +84,5 @@
 		aGroup[aGroup.length] = oStyleDef ;
 	}
-	
+
 	this.Loaded = true ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbar.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbar.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbar.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbar Class: represents a toolbar in the toolbarset. It is a group of
-	toolbar items.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbar Class: represents a toolbar in the toolbarset. It is a group of
+ * toolbar items.
+ */
 
 var FCKToolbar = function()
@@ -28,5 +44,5 @@
 	oButton._FCKToolbar = this ;
 	oButton.OnClick = FCKToolbar_OnItemClick ;
-	
+
 	return this.AddItem( oButton ) ;
 }
@@ -35,5 +51,5 @@
 {
 	var oToolbar = item._FCKToolbar ;
-	
+
 	if ( oToolbar.OnItemClick )
 		oToolbar.OnItemClick( oToolbar, item ) ;
@@ -63,10 +79,10 @@
 	e.cellPadding = 0 ;
 	e.cellSpacing = 0 ;
-	
+
 	this.RowElement = e.insertRow(-1) ;
-	
+
 	// Insert the start cell.
 	var eCell ;
-	
+
 	if ( !this.HideStart )
 	{
@@ -74,10 +90,10 @@
 		eCell.appendChild( oDoc.createElement( 'div' ) ).className = 'TB_Start' ;
 	}
-	
+
 	for ( var i = 0 ; i < this.Items.length ; i++ )
 	{
 		this.Items[i].Create( this.RowElement.insertCell(-1) ) ;
 	}
-	
+
 	// Insert the ending cell.
 	if ( !this.HideEnd )
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbreak_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbreak_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbreak_gecko.js	(revision 141)
@@ -1,10 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarBreak Class: breaks the toolbars.
-	It makes it possible to force the toolbar to break to a new line.
-	This is the Gecko specific implementation.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarBreak Class: breaks the toolbars.
+ * It makes it possible to force the toolbar to break to a new line.
+ * This is the Gecko specific implementation.
+ */
 
 var FCKToolbarBreak = function()
@@ -14,7 +30,7 @@
 {
 	var oBreakDiv = targetElement.ownerDocument.createElement( 'div' ) ;
-	
+
 	oBreakDiv.style.clear = oBreakDiv.style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ;
-	
+
 	targetElement.appendChild( oBreakDiv ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbreak_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbreak_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbreak_ie.js	(revision 141)
@@ -1,10 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarBreak Class: breaks the toolbars.
-	It makes it possible to force the toolbar to brak to a new line.
-	This is the IE specific implementation.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarBreak Class: breaks the toolbars.
+ * It makes it possible to force the toolbar to brak to a new line.
+ * This is the IE specific implementation.
+ */
 
 var FCKToolbarBreak = function()
@@ -14,9 +30,9 @@
 {
 	var oBreakDiv = FCKTools.GetElementDocument( targetElement ).createElement( 'div' ) ;
-	
+
 	oBreakDiv.className = 'TB_Break' ;
-	
+
 	oBreakDiv.style.clear = FCKLang.Dir == 'rtl' ? 'left' : 'right' ;
-	
+
 	targetElement.appendChild( oBreakDiv ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbutton.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbutton.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbutton.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarButton Class: represents a button in the toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarButton Class: represents a button in the toolbar.
+ */
 
 var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView, contextSensitive, icon )
@@ -13,5 +29,5 @@
 	this.Style				= style ;
 	this.SourceView			= sourceView ? true : false ;
-	this.ContextSensitive	= contextSensitive ? true : false ;	
+	this.ContextSensitive	= contextSensitive ? true : false ;
 
 	if ( icon == null )
@@ -25,5 +41,5 @@
 	this._UIButton = new FCKToolbarButtonUI( this.CommandName, this.Label, this.Tooltip, this.IconPath, this.Style ) ;
 	this._UIButton.OnClick = this.Click ;
-	this._UIButton._ToolbarButton = this ;	
+	this._UIButton._ToolbarButton = this ;
 	this._UIButton.Create( targetElement ) ;
 }
@@ -33,8 +49,8 @@
 	// Gets the actual state.
 	var eState = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetState() ;
-	
+
 	// If there are no state changes than do nothing and return.
 	if ( eState == this._UIButton.State ) return ;
-	
+
 	// Sets the actual state.
 	this._UIButton.ChangeState( eState ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbuttonui.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbuttonui.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarbuttonui.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarButtonUI Class: interface representation of a toolbar button.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarButtonUI Class: interface representation of a toolbar button.
+ */
 
 var FCKToolbarButtonUI = function( name, label, tooltip, iconPathOrStripInfoArray, style, state )
@@ -13,5 +29,5 @@
 	this.Style		= style || FCK_TOOLBARITEM_ONLYICON ;
 	this.State		= state || FCK_TRISTATE_OFF ;
-	
+
 	this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ;
 
@@ -33,9 +49,9 @@
 {
 	var oMainElement = this.MainElement ;
-	
+
 	if ( oMainElement )
 	{
 		FCKToolbarButtonUI_Cleanup.call(this) ;
-		
+
 		if ( oMainElement.parentNode )
 			oMainElement.parentNode.removeChild( oMainElement ) ;
@@ -44,5 +60,5 @@
 
 	var oDoc = FCKTools.GetElementDocument( parentElement ) ;
-	
+
 	// Create the Main Element.
 	oMainElement = this.MainElement = oDoc.createElement( 'DIV' ) ;
@@ -59,5 +75,5 @@
 	{
 		// <td><div class="TB_Button_On" title="Smiley">{Image}</div></td>
-		
+
 		oMainElement.appendChild( this.Icon.CreateIconElement( oDoc ) ) ;
 	}
@@ -66,5 +82,5 @@
 		// <td><div class="TB_Button_On" title="Smiley"><table cellpadding="0" cellspacing="0"><tr><td>{Image}</td><td nowrap>Toolbar Button</td><td><img class="TB_Button_Padding"></td></tr></table></div></td>
 		// <td><div class="TB_Button_On" title="Smiley"><table cellpadding="0" cellspacing="0"><tr><td><img class="TB_Button_Padding"></td><td nowrap>Toolbar Button</td><td><img class="TB_Button_Padding"></td></tr></table></div></td>
-		
+
 		var oTable = oMainElement.appendChild( oDoc.createElement( 'TABLE' ) ) ;
 		oTable.cellPadding = 0 ;
@@ -72,13 +88,13 @@
 
 		var oRow = oTable.insertRow(-1) ;
-		
+
 		// The Image cell (icon or padding).
 		var oCell = oRow.insertCell(-1) ;
-		
+
 		if ( this.Style == FCK_TOOLBARITEM_ONLYICON || this.Style == FCK_TOOLBARITEM_ICONTEXT )
 			oCell.appendChild( this.Icon.CreateIconElement( oDoc ) ) ;
 		else
 			oCell.appendChild( this._CreatePaddingElement( oDoc ) ) ;
-		
+
 		if ( this.Style == FCK_TOOLBARITEM_ONLYTEXT || this.Style == FCK_TOOLBARITEM_ICONTEXT )
 		{
@@ -89,13 +105,13 @@
 			oCell.appendChild( oDoc.createTextNode( this.Label ) ) ;
 		}
-		
+
 		if ( this.ShowArrow )
 		{
 			if ( this.Style != FCK_TOOLBARITEM_ONLYICON )
-			{	
+			{
 				// A padding cell.
 				oRow.insertCell(-1).appendChild( this._CreatePaddingElement( oDoc ) ) ;
 			}
-			
+
 			oCell = oRow.insertCell(-1) ;
 			var eImg = oCell.appendChild( oDoc.createElement( 'IMG' ) ) ;
@@ -109,5 +125,5 @@
 		oCell.appendChild( this._CreatePaddingElement( oDoc ) ) ;
 	}
-	
+
 	parentElement.appendChild( oMainElement ) ;
 }
@@ -120,5 +136,5 @@
 	var e = this.MainElement ;
 
-	switch ( parseInt( newState ) )
+	switch ( parseInt( newState, 10 ) )
 	{
 		case FCK_TRISTATE_OFF :
@@ -127,7 +143,7 @@
 			e.onmouseout	= FCKToolbarButton_OnMouseOutOff ;
 			e.onclick		= FCKToolbarButton_OnClick ;
-			
+
 			break ;
-			
+
 		case FCK_TRISTATE_ON :
 			e.className		= 'TB_Button_On' ;
@@ -135,5 +151,5 @@
 			e.onmouseout	= FCKToolbarButton_OnMouseOutOn ;
 			e.onclick		= FCKToolbarButton_OnClick ;
-			
+
 			break ;
 
@@ -157,5 +173,5 @@
 		this.MainElement = null ;
 	}
-}	
+}
 
 // Event Handlers.
@@ -187,5 +203,5 @@
 }
 
-/* 
+/*
 	Sample outputs:
 
@@ -196,11 +212,11 @@
 
 	These are samples of possible {Image} values:
-		
+
 		Strip - IE version:
 			<div class="TB_Button_Image"><img src="strip.gif" style="top:-16px"></div>
-		
+
 		Strip : Firefox, Safari and Opera version
 			<img class="TB_Button_Image" style="background-position: 0px -16px;background-image: url(strip.gif);">
-		
+
 		No-Strip : Browser independent:
 			<img class="TB_Button_Image" src="smiley.gif">
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontformatcombo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontformatcombo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontformatcombo.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarPanelButton Class: Handles the Fonts combo selector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
+ */
 
 var FCKToolbarFontFormatCombo = function( tooltip, style )
@@ -12,7 +28,7 @@
 	this.Tooltip	= tooltip ? tooltip : this.Label ;
 	this.Style		= style ? style : FCK_TOOLBARITEM_ICONTEXT ;
-	
+
 	this.NormalLabel = 'Normal' ;
-	
+
 	this.PanelWidth = 190 ;
 }
@@ -21,5 +37,5 @@
 FCKToolbarFontFormatCombo.prototype = new FCKToolbarSpecialCombo ;
 
-FCKToolbarFontFormatCombo.prototype.TypeOf = 'FCKToolbarFontFormatCombo' ;		// @Packager.RemoveLine 
+FCKToolbarFontFormatCombo.prototype.TypeOf = 'FCKToolbarFontFormatCombo' ;		// @Packager.RemoveLine
 
 FCKToolbarFontFormatCombo.prototype.GetLabel = function()
@@ -58,5 +74,5 @@
 	// Get the available formats from the configuration file.
 	var aTags = FCKConfig.FontFormats.split(';') ;
-	
+
 	for ( var i = 0 ; i < aTags.length ; i++ )
 	{
@@ -64,11 +80,11 @@
 //		if ( aTags[i] == 'div' && FCKBrowserInfo.IsGecko )
 //			continue ;
-		
+
 		var sTag	= aTags[i] ;
 		var sLabel	= oNames[sTag] ;
-		
+
 		if ( sTag == 'p' )
 			this.NormalLabel = sLabel ;
-		
+
 		this._Combo.AddItem( sTag, '<div class="BaseFont"><' + sTag + '>' + sLabel + '</' + sTag + '></div>', sLabel ) ;
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontscombo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontscombo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontscombo.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarPanelButton Class: Handles the Fonts combo selector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
+ */
 
 var FCKToolbarFontsCombo = function( tooltip, style )
@@ -17,5 +33,5 @@
 FCKToolbarFontsCombo.prototype = new FCKToolbarSpecialCombo ;
 
-FCKToolbarFontsCombo.prototype.TypeOf = 'FCKToolbarFontsCombo' ;		// @Packager.RemoveLine 
+FCKToolbarFontsCombo.prototype.TypeOf = 'FCKToolbarFontsCombo' ;		// @Packager.RemoveLine
 
 FCKToolbarFontsCombo.prototype.GetLabel = function()
@@ -27,5 +43,5 @@
 {
 	var aFonts = FCKConfig.FontNames.split(';') ;
-	
+
 	for ( var i = 0 ; i < aFonts.length ; i++ )
 		this._Combo.AddItem( aFonts[i], '<font face="' + aFonts[i] + '" style="font-size: 12px">' + aFonts[i] + '</font>' ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontsizecombo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontsizecombo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarfontsizecombo.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarPanelButton Class: Handles the Fonts combo selector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
+ */
 
 var FCKToolbarFontSizeCombo = function( tooltip, style )
@@ -17,5 +33,5 @@
 FCKToolbarFontSizeCombo.prototype = new FCKToolbarSpecialCombo ;
 
-FCKToolbarFontSizeCombo.prototype.TypeOf = 'FCKToolbarFontSizeCombo' ;		// @Packager.RemoveLine 
+FCKToolbarFontSizeCombo.prototype.TypeOf = 'FCKToolbarFontSizeCombo' ;		// @Packager.RemoveLine
 
 FCKToolbarFontSizeCombo.prototype.GetLabel = function()
@@ -27,7 +43,7 @@
 {
 	targetSpecialCombo.FieldWidth = 70 ;
-	
+
 	var aSizes = FCKConfig.FontSizes.split(';') ;
-	
+
 	for ( var i = 0 ; i < aSizes.length ; i++ )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarpanelbutton.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarpanelbutton.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarpanelbutton.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarPanelButton Class: represents a special button in the toolbar
-	that shows a panel when pressed.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarPanelButton Class: represents a special button in the toolbar
+ * that shows a panel when pressed.
+ */
 
 var FCKToolbarPanelButton = function( commandName, label, tooltip, style, icon )
@@ -12,10 +28,10 @@
 
 	var oIcon ;
-	
+
 	if ( icon == null )
 		oIcon = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ;
 	else if ( typeof( icon ) == 'number' )
 		oIcon = [ FCKConfig.SkinPath + 'fck_strip.gif', 16, icon ] ;
-	
+
 	var oUIButton = this._UIButton = new FCKToolbarButtonUI( commandName, label, tooltip, oIcon, style ) ;
 	oUIButton._FCKToolbarPanelButton = this ;
@@ -31,12 +47,12 @@
 
 	this._UIButton.Create( parentElement ) ;
-	
+
 	var oPanel = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName )._Panel ;
 	oPanel._FCKToolbarPanelButton = this ;
-	
+
 	var eLineDiv = oPanel.Document.body.appendChild( oPanel.Document.createElement( 'div' ) ) ;
 	eLineDiv.style.position = 'absolute' ;
 	eLineDiv.style.top = '0px' ;
-	
+
 	var eLine = this.LineImg = eLineDiv.appendChild( oPanel.Document.createElement( 'IMG' ) ) ;
 	eLine.className = 'TB_ConnectionLine' ;
@@ -55,7 +71,7 @@
 	var oButton = this._FCKToolbarPanelButton ;
 	var e = oButton._UIButton.MainElement ;
-	
+
 	oButton._UIButton.ChangeState( FCK_TRISTATE_ON ) ;
-	
+
 	oButton.LineImg.style.width = ( e.offsetWidth - 2 ) + 'px' ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarspecialcombo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarspecialcombo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarspecialcombo.js	(revision 141)
@@ -1,15 +1,31 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarSpecialCombo Class: This is a "abstract" base class to be used
-	by the special combo toolbar elements like font name, font size, paragraph format, etc...
-	
-	The following properties and methods must be implemented when inheriting from
-	this class:
-		- Property:	CommandName							[ The command name to be executed ]
-		- Method:	GetLabel()							[ Returns the label ]
-		-			CreateItems( targetSpecialCombo )	[ Add all items in the special combo ]
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarSpecialCombo Class: This is a "abstract" base class to be used
+ * by the special combo toolbar elements like font name, font size, paragraph format, etc...
+ *
+ * The following properties and methods must be implemented when inheriting from
+ * this class:
+ * 	- Property:	CommandName							[ The command name to be executed ]
+ * 	- Method:	GetLabel()							[ Returns the label ]
+ * 	-			CreateItems( targetSpecialCombo )	[ Add all items in the special combo ]
+ */
 
 var FCKToolbarSpecialCombo = function()
@@ -20,5 +36,5 @@
 }
 
-FCKToolbarSpecialCombo.prototype.TypeOf = 'FCKToolbarSpecialCombo' ;		// @Packager.RemoveLine 
+FCKToolbarSpecialCombo.prototype.TypeOf = 'FCKToolbarSpecialCombo' ;		// @Packager.RemoveLine
 
 function FCKToolbarSpecialCombo_OnSelect( itemId, item )
@@ -30,5 +46,5 @@
 {
 	this._Combo = new FCKSpecialCombo( this.GetLabel(), this.FieldWidth, this.PanelWidth, this.PanelMaxHeight, FCKBrowserInfo.IsIE ? window : FCKTools.GetElementWindow( targetElement ).parent ) ;
-	
+
 	/*
 	this._Combo.FieldWidth		= this.FieldWidth		!= null ? this.FieldWidth		: 100 ;
@@ -36,10 +52,10 @@
 	this._Combo.PanelMaxHeight	= this.PanelMaxHeight	!= null ? this.PanelMaxHeight	: 150 ;
 	*/
-	
+
 	//this._Combo.Command.Name = this.Command.Name;
 //	this._Combo.Label	= this.Label ;
 	this._Combo.Tooltip	= this.Tooltip ;
 	this._Combo.Style	= this.Style ;
-	
+
 	this.CreateItems( this._Combo ) ;
 
@@ -47,5 +63,5 @@
 
 	this._Combo.CommandName = this.CommandName ;
-	
+
 	this._Combo.OnSelect = FCKToolbarSpecialCombo_OnSelect ;
 }
@@ -62,5 +78,5 @@
 	// Gets the actual state.
 	var eState ;
-	
+
 //	if ( FCK.EditMode == FCK_EDITMODE_SOURCE && ! this.SourceView )
 //		eState = FCK_TRISTATE_DISABLED ;
@@ -74,5 +90,5 @@
 		{
 			eState = FCK_TRISTATE_ON ;
-			
+
 			if ( this.RefreshActiveItems )
 				this.RefreshActiveItems( this._Combo, sValue ) ;
@@ -89,8 +105,8 @@
 			eState = FCK_TRISTATE_DISABLED ;
 //	}
-	
+
 	// If there are no state changes then do nothing and return.
 	if ( eState == this.State ) return ;
-	
+
 	if ( eState == FCK_TRISTATE_DISABLED )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarstylecombo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarstylecombo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fcktoolbarstylecombo.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKToolbarPanelButton Class: Handles the Fonts combo selector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
+ */
 
 var FCKToolbarStyleCombo = function( tooltip, style )
@@ -17,5 +33,5 @@
 FCKToolbarStyleCombo.prototype = new FCKToolbarSpecialCombo ;
 
-FCKToolbarStyleCombo.prototype.TypeOf = 'FCKToolbarStyleCombo' ;		// @Packager.RemoveLine 
+FCKToolbarStyleCombo.prototype.TypeOf = 'FCKToolbarStyleCombo' ;		// @Packager.RemoveLine
 
 FCKToolbarStyleCombo.prototype.GetLabel = function()
@@ -27,5 +43,5 @@
 {
 	var oTargetDoc = targetSpecialCombo._Panel.Document ;
-	
+
 	// Add the Editor Area CSS to the panel so the style classes are previewed correctly.
 	FCKTools.AppendStyleSheet( oTargetDoc, FCKConfig.ToolbarComboPreviewCSS ) ;
@@ -50,10 +66,10 @@
 		var oStyle = aCommandStyles[s] ;
 		var oItem ;
-		
+
 		if ( oStyle.IsObjectElement )
 			oItem = targetSpecialCombo.AddItem( s, s ) ;
 		else
 			oItem = targetSpecialCombo.AddItem( s, oStyle.GetOpenerTag() + s + oStyle.GetCloserTag() ) ;
-			
+
 		oItem.Style = oStyle ;
 	}
@@ -64,8 +80,8 @@
 	// Clear the actual selection.
 	targetSpecialCombo.DeselectAll() ;
-	
+
 	// Get the active styles.
 	var aStyles = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetActiveStyles() ;
-	
+
 	if ( aStyles.length > 0 )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckw3crange.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckw3crange.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckw3crange.js	(revision 141)
@@ -1,10 +1,26 @@
-﻿/* @Packager.Header
-<FileDescription>
-	This class partially implements the W3C DOM Range for browser that don't
-	support the standards (like IE):
-	http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This class partially implements the W3C DOM Range for browser that don't
+ * support the standards (like IE):
+ * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html
+ */
 
 var FCKW3CRange = function( parentDocument )
@@ -46,5 +62,5 @@
 }
 
-FCKW3CRange.prototype = 
+FCKW3CRange.prototype =
 {
 	TypeName : 'FCKW3CRange',		// @Packager.RemoveLine
@@ -62,5 +78,5 @@
 		this.startContainer	= refNode ;
 		this.startOffset	= offset ;
-		
+
 		if ( !this.endContainer )
 		{
@@ -71,5 +87,5 @@
 		this._UpdateCollapsed() ;
 	},
-	
+
 	// W3C requires a check for the new position. If it is before the start
 	// boundary, the range should be collapsed to the new end. It seams we
@@ -79,5 +95,5 @@
 		this.endContainer	= refNode ;
 		this.endOffset		= offset ;
-		
+
 		if ( !this.startContainer )
 		{
@@ -108,5 +124,5 @@
 		this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ;
 	},
-	
+
 	collapse : function( toStart )
 	{
@@ -121,5 +137,5 @@
 			this.startOffset	= this.endOffset ;
 		}
-		
+
 		this.collapsed = true ;
 	},
@@ -135,5 +151,5 @@
 		var startContainer = this.startContainer ;
 		var startOffset = this.startOffset ;
-		
+
 		// If we are in a text node.
 		if ( startContainer.nodeType == 3 )
@@ -144,8 +160,8 @@
 			if ( startContainer == this.endContainer )
 				this.setEnd( startContainer.nextSibling, this.endOffset - this.startOffset ) ;
-			
+
 			// Insert the new node it after the text node.
 			FCKDomTools.InsertAfterNode( startContainer, newNode ) ;
-	
+
 			return ;
 		}
@@ -168,5 +184,5 @@
 		if ( this.collapsed )
 			return ;
-		
+
 		this._ExecContentsAction( 0 ) ;
 	},
@@ -194,16 +210,16 @@
 
 	_ExecContentsAction : function( action, docFrag )
-	{	
+	{
 		var startNode	= this.startContainer ;
 		var endNode		= this.endContainer ;
-		
+
 		var startOffset	= this.startOffset ;
 		var endOffset	= this.endOffset ;
-		
+
 		var removeStartNode	= false ;
 		var removeEndNode	= false ;
-		
+
 		// Check the start and end nodes and make the necessary removals or changes.
-		
+
 		// Start from the end, otherwise DOM mutations (splitText) made in the
 		// start boundary may interfere on the results here.
@@ -219,9 +235,9 @@
 			if ( endNode.childNodes.length > 0 )
 			{
-				// If the offset points after the last node, let's use
-				// the last one, but mark it for removal.
+				// If the offset points after the last node.
 				if ( endOffset > endNode.childNodes.length - 1 )
 				{
-					endNode = endNode.lastChild ;
+					// Let's create a temporary node and mark it for removal.
+					endNode = FCKDomTools.InsertAfterNode( endNode.lastChild, this._Document.createTextNode('') ) ;
 					removeEndNode = true ;
 				}
@@ -234,5 +250,13 @@
 		// be handled by the rest of the code .
 		if ( startNode.nodeType == 3 )
+		{
 			startNode.splitText( startOffset ) ;
+
+			// In cases the end node is the same as the start node, the above
+			// splitting will also split the end, so me must move the end to
+			// the second part of the split.
+			if ( startNode == endNode )
+				endNode = startNode.nextSibling ;
+		}
 		else
 		{
@@ -245,5 +269,6 @@
 				if ( startOffset == 0 )
 				{
-					startNode = startNode.firstChild ;
+					// Let's create a temporary node and mark it for removal.
+					startNode = startNode.insertBefore( this._Document.createTextNode(''), startNode.firstChild ) ;
 					removeStartNode = true ;
 				}
@@ -253,37 +278,19 @@
 		}
 
-		// There is a special case where a node contents with just one child is in the range:
-		// selectNodeContents( node ) -> node.childNodes.lenght == 1
-		if ( startNode == endNode && removeStartNode && removeEndNode )
-		{
-			if ( action == 2 )
-				docFrag.RootNode.appendChild( startNode.cloneNode( true ) ) ;
-			else
-			{
-				startNode.parentNode.removeChild( startNode ) ;
-				
-				if ( action == 1 )
-					docFrag.RootNode.appendChild( startNode ) ;
-				
-				this.collapse( true ) ;
-			}
-			return ;
-		}
-		
 		// Get the parent nodes tree for the start and end boundaries.
 		var startParents	= FCKDomTools.GetParents( startNode ) ;
 		var endParents		= FCKDomTools.GetParents( endNode ) ;
-		
+
 		// Compare them, to find the top most siblings.
 		var i, topStart, topEnd ;
-		
+
 		for ( i = 0 ; i < startParents.length ; i++ )
 		{
 			topStart	= startParents[i] ;
 			topEnd		= endParents[i] ;
-			
+
 			// The compared nodes will match until we find the top most
 			// siblings (different nodes that have the same parent).
-			// "i" will hold the index in the parants array for the top 
+			// "i" will hold the index in the parants array for the top
 			// most element.
 			if ( topStart != topEnd )
@@ -291,6 +298,6 @@
 		}
 
-		var clone ;
-		
+		var clone, levelStartNode, levelClone, currentNode, currentSibling ;
+
 		if ( docFrag )
 			clone = docFrag.RootNode ;
@@ -300,12 +307,12 @@
 		for ( var j = i ; j < startParents.length ; j++ )
 		{
-			var levelStartNode = startParents[j] ;
-			
+			levelStartNode = startParents[j] ;
+
 			// For Extract and Clone, we must clone this level.
-			if ( clone && ( removeStartNode || levelStartNode != startNode ) )		// action = 0 = Delete
-				var levelClone = clone.appendChild( levelStartNode.cloneNode( removeStartNode && levelStartNode == startNode ) ) ;
-			
-			var currentNode = levelStartNode.nextSibling ;
-			
+			if ( clone && levelStartNode != startNode )		// action = 0 = Delete
+				levelClone = clone.appendChild( levelStartNode.cloneNode( levelStartNode == startNode ) ) ;
+
+			currentNode = levelStartNode.nextSibling ;
+
 			while( currentNode )
 			{
@@ -314,7 +321,7 @@
 				if ( currentNode == endParents[j] || currentNode == endNode )
 					break ;
-				
+
 				// Cache the next sibling.
-				var currentSibling = currentNode.nextSibling ;
+				currentSibling = currentNode.nextSibling ;
 
 				// If clonning, just clone it.
@@ -325,17 +332,17 @@
 					// Both Delete and Extract will remove the node.
 					currentNode.parentNode.removeChild( currentNode ) ;
-					
+
 					// When Extracting, move the removed node to the docFrag.
 					if ( action == 1 )	// 1 = Extract
 						clone.appendChild( currentNode ) ;
 				}
-				
+
 				currentNode = currentSibling ;
 			}
-			
+
 			if ( clone )
 				clone = levelClone ;
 		}
-		
+
 		if ( docFrag )
 			clone = docFrag.RootNode ;
@@ -343,16 +350,16 @@
 		// Remove all previous sibling nodes for every node in the
 		// endParents tree.
-		for ( var j = i ; j < endParents.length ; j++ )
-		{
-			var levelStartNode = endParents[j] ;
-			
+		for ( var k = i ; k < endParents.length ; k++ )
+		{
+			levelStartNode = endParents[k] ;
+
 			// For Extract and Clone, we must clone this level.
-			if ( action > 0 && ( removeEndNode || levelStartNode != endNode ) )		// action = 0 = Delete
-				var levelClone = clone.appendChild( levelStartNode.cloneNode( removeEndNode && levelStartNode == endNode ) ) ;
+			if ( action > 0 && levelStartNode != endNode )		// action = 0 = Delete
+				levelClone = clone.appendChild( levelStartNode.cloneNode( levelStartNode == endNode ) ) ;
 
 			// The processing of siblings may have already been done by the parent.
-			if ( !startParents[j] || levelStartNode.parentNode != startParents[j].parentNode )
-			{
-				var currentNode = levelStartNode.previousSibling ;
+			if ( !startParents[k] || levelStartNode.parentNode != startParents[k].parentNode )
+			{
+				currentNode = levelStartNode.previousSibling ;
 
 				while( currentNode )
@@ -360,9 +367,9 @@
 					// Stop processing when the current node matches a node in the
 					// startParents tree or if it is the startNode.
-					if ( currentNode == startParents[j] || currentNode == startNode )
+					if ( currentNode == startParents[k] || currentNode == startNode )
 						break ;
 
 					// Cache the next sibling.
-					var currentSibling = currentNode.previousSibling ;
+					currentSibling = currentNode.previousSibling ;
 
 					// If clonning, just clone it.
@@ -373,5 +380,5 @@
 						// Both Delete and Extract will remove the node.
 						currentNode.parentNode.removeChild( currentNode ) ;
-						
+
 						// When Extracting, mode the removed node to the docFrag.
 						if ( action == 1 )	// 1 = Extract
@@ -382,25 +389,25 @@
 				}
 			}
-			
+
 			if ( clone )
 				clone = levelClone ;
 		}
-		
+
 		if ( action == 2 )		// 2 = Clone.
 		{
 			// No changes in the DOM should be done, so fix the split text (if any).
 
-			startNode = this.startContainer ;
-			if ( startNode.nodeType == 3 )
-			{
-				startNode.data += startNode.nextSibling.data ;
-				startNode.parentNode.removeChild( startNode.nextSibling ) ;
-			}
-
-			endNode = this.endContainer ;
-			if ( endNode.nodeType == 3 )
-			{
-				endNode.data += endNode.nextSibling.data ;
-				endNode.parentNode.removeChild( endNode.nextSibling ) ;
+			var startTextNode = this.startContainer ;
+			if ( startTextNode.nodeType == 3 )
+			{
+				startTextNode.data += startTextNode.nextSibling.data ;
+				startTextNode.parentNode.removeChild( startTextNode.nextSibling ) ;
+			}
+
+			var endTextNode = this.endContainer ;
+			if ( endTextNode.nodeType == 3 && endTextNode.nextSibling )
+			{
+				endTextNode.data += endTextNode.nextSibling.data ;
+				endTextNode.parentNode.removeChild( endTextNode.nextSibling ) ;
 			}
 		}
@@ -408,20 +415,20 @@
 		{
 			// Collapse the range.
-	
+
 			// If a node has been partially selected, collapse the range between
 			// topStart and topEnd. Otherwise, simply collapse it to the start. (W3C specs).
 			if ( topStart && topEnd && ( startNode.parentNode != topStart.parentNode || endNode.parentNode != topEnd.parentNode ) )
 				this.setStart( topEnd.parentNode, FCKDomTools.GetIndexOf( topEnd ) ) ;
-			
+
 			// Collapse it to the start.
 			this.collapse( true ) ;
-
-			// Cleanup any marked node.
-			if( removeStartNode )
-				startNode.parentNode.removeChild( startNode ) ;
-
-			if( removeEndNode && endNode.parentNode )
-				endNode.parentNode.removeChild( endNode ) ;
-		}
+		}
+
+		// Cleanup any marked node.
+		if( removeStartNode )
+			startNode.parentNode.removeChild( startNode ) ;
+
+		if( removeEndNode && endNode.parentNode )
+			endNode.parentNode.removeChild( endNode ) ;
 	},
 
@@ -434,8 +441,8 @@
 	{
 		var docFrag = this.cloneContents() ;
-		
+
 		var tmpDiv = this._Document.createElement( 'div' ) ;
 		docFrag.AppendTo( tmpDiv ) ;
-		
+
 		return tmpDiv.textContent || tmpDiv.innerText ;
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckxml_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckxml_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckxml_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKXml Class: class to load and manipulate XML files.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKXml Class: class to load and manipulate XML files.
+ */
 
 var FCKXml = function()
@@ -17,5 +33,5 @@
 	oXmlHttp.open( "GET", urlToCall, false ) ;
 	oXmlHttp.send( null ) ;
-	
+
 	if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 )
 		this.DOMDocument = oXmlHttp.responseXML ;
@@ -43,7 +59,7 @@
 	var aNodeArray = new Array();
 
-	var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument, 
+	var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument,
 			this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ;
-	if ( xPathResult ) 
+	if ( xPathResult )
 	{
 		var oNode = xPathResult.iterateNext() ;
@@ -53,9 +69,9 @@
 			oNode = xPathResult.iterateNext();
 		}
-	} 
+	}
 	return aNodeArray ;
 }
 
-FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) 
+FCKXml.prototype.SelectSingleNode = function( xpath, contextNode )
 {
 	if ( this.Error )
@@ -67,5 +83,5 @@
 	if ( xPathResult && xPathResult.singleNodeValue )
 		return xPathResult.singleNodeValue ;
-	else	
+	else
 		return null ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckxml_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckxml_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/classes/fckxml_ie.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKXml Class: class to load and manipulate XML files.
-	(IE specific implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKXml Class: class to load and manipulate XML files.
+ * (IE specific implementation)
+ */
 
 var FCKXml = function()
@@ -25,5 +41,5 @@
 
 	oXmlHttp.open( "GET", urlToCall, false ) ;
-	
+
 	oXmlHttp.send( null ) ;
 
@@ -63,9 +79,9 @@
 }
 
-FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) 
+FCKXml.prototype.SelectSingleNode = function( xpath, contextNode )
 {
 	if ( this.Error )
 		return null ;
-		
+
 	if ( contextNode )
 		return contextNode.selectSingleNode( xpath ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fck_othercommands.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fck_othercommands.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fck_othercommands.js	(revision 141)
@@ -1,10 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Definition of other commands that are not available internaly in the
-	browser (see FCKNamedCommand).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Definition of other commands that are not available internaly in the
+ * browser (see FCKNamedCommand).
+ */
 
 // ### General Dialog Box Commands.
@@ -19,5 +34,5 @@
 	this.GetStateFunction	= getStateFunction ;
 	this.GetStateParam		= getStateParam ;
-	
+
 	this.Resizable = false ;
 }
@@ -82,5 +97,5 @@
 FCKFontSizeCommand.prototype.Execute = function( fontSize )
 {
-	if ( typeof( fontSize ) == 'string' ) fontSize = parseInt(fontSize) ;
+	if ( typeof( fontSize ) == 'string' ) fontSize = parseInt(fontSize, 10) ;
 
 	if ( fontSize == null || fontSize == '' )
@@ -258,10 +273,10 @@
 //	e.style.pageBreakAfter = 'always' ;
 
-	// Tidy was removing the empty CENTER tags, so the following solution has 
+	// Tidy was removing the empty CENTER tags, so the following solution has
 	// been found. It also validates correctly as XHTML 1.0 Strict.
 	var e = FCK.EditorDocument.createElement( 'DIV' ) ;
 	e.style.pageBreakAfter = 'always' ;
 	e.innerHTML = '<span style="DISPLAY:none">&nbsp;</span>' ;
-	
+
 	var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', e ) ;
 	oFakeImage	= FCK.InsertElement( oFakeImage ) ;
@@ -284,8 +299,8 @@
 	{
 		var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ;
-		if ( oLink ) 
+		if ( oLink )
 			FCK.Selection.SelectNode( oLink ) ;
 	}
-	
+
 	FCK.ExecuteNamedCommand( this.Name ) ;
 
@@ -301,5 +316,5 @@
 	if ( state == FCK_TRISTATE_OFF && FCK.EditMode == FCK_EDITMODE_WYSIWYG )
 	{
-		var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ; 
+		var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ;
 		var bIsAnchor = ( oLink && oLink.name.length > 0 && oLink.href.length == 0 ) ;
 		if ( bIsAnchor )
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckfitwindow.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckfitwindow.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckfitwindow.js	(revision 141)
@@ -1,10 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Stretch the editor to full window size and back.
-</FileDescription>
-<Author name="Paul Moers" email="mail@saulmade.nl" />
-<Author name="Thanks to Christian Fecteau" email="webmaster@christianfecteau.com" />
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Stretch the editor to full window size and back.
+ */
 
 var FCKFitWindow = function()
@@ -22,4 +36,5 @@
 	var eBody				= eMainWindow.document.body ;
 	var eBodyStyle			= eBody.style ;
+	var eParent ;
 
 	// No original style properties known? Go fullscreen.
@@ -34,7 +49,7 @@
 		// Save the scrollbars position.
 		this._ScrollPos = FCKTools.GetScrollPosition( eMainWindow ) ;
-		
+
 		// Save and reset the styles for the entire node tree. They could interfere in the result.
-		var eParent = eEditorFrame ;
+		eParent = eEditorFrame ;
 		// The extra () is to avoid a warning with strict error checking. This is ok.
 		while( (eParent = eParent.parentNode) )
@@ -42,5 +57,5 @@
 			if ( eParent.nodeType == 1 )
 				eParent._fckSavedStyles = FCKTools.SaveStyles( eParent ) ;
-		}		
+		}
 
 		// Hide IE scrollbars (in strict mode).
@@ -58,8 +73,8 @@
 			eBodyStyle.height = '0px' ;
 		}
-		
+
 		// Save the IFRAME styles.
 		this._EditorFrameStyles = FCKTools.SaveStyles( eEditorFrame ) ;
-		
+
 		// Resize.
 		var oViewPaneSize = FCKTools.GetViewPaneSize( eMainWindow ) ;
@@ -71,9 +86,9 @@
 		eEditorFrameStyle.width		= oViewPaneSize.Width + "px";
 		eEditorFrameStyle.height	= oViewPaneSize.Height + "px";
-		
+
 		// Giving the frame some (huge) borders on his right and bottom
 		// side to hide the background that would otherwise show when the
 		// editor is in fullsize mode and the window is increased in size
-		// not for IE, because IE immediately adapts the editor on resize, 
+		// not for IE, because IE immediately adapts the editor on resize,
 		// without showing any of the background oddly in firefox, the
 		// editor seems not to fill the whole frame, so just setting the
@@ -99,5 +114,5 @@
 
 		// Restore the CSS position for the entire node tree.
-		var eParent = eEditorFrame ;
+		eParent = eEditorFrame ;
 		// The extra () is to avoid a warning with strict error checking. This is ok.
 		while( (eParent = eParent.parentNode) )
@@ -109,5 +124,5 @@
 			}
 		}
-		
+
 		// Restore IE scrollbars
 		if ( FCKBrowserInfo.IsIE )
@@ -116,5 +131,5 @@
 		// Restore original size
 		FCKTools.RestoreStyles( eEditorFrame, this._EditorFrameStyles ) ;
-		
+
 		// Restore the window scroll position.
 		eMainWindow.scrollTo( this._ScrollPos.X, this._ScrollPos.Y ) ;
@@ -122,15 +137,15 @@
 		this.IsMaximized = false ;
 	}
-	
+
 	FCKToolbarItems.GetItem('FitWindow').RefreshState() ;
 
 	// It seams that Firefox restarts the editing area when making this changes.
-	// On FF 1.0.x, the area is not anymore editable. On FF 1.5+, the special 
-	//configuration, like DisableFFTableHandles and DisableObjectResizing get 
-	//lost, so we must reset it. Also, the cursor position and selection are 
+	// On FF 1.0.x, the area is not anymore editable. On FF 1.5+, the special
+	//configuration, like DisableFFTableHandles and DisableObjectResizing get
+	//lost, so we must reset it. Also, the cursor position and selection are
 	//also lost, even if you comment the following line (MakeEditable).
 	// if ( FCKBrowserInfo.IsGecko10 )	// Initially I thought it was a FF 1.0 only problem.
 	FCK.EditingArea.MakeEditable() ;
-	
+
 	FCK.Focus() ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcknamedcommand.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcknamedcommand.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcknamedcommand.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKNamedCommand Class: represents an internal browser command.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKNamedCommand Class: represents an internal browser command.
+ */
 
 var FCKNamedCommand = function( commandName )
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckpasteplaintextcommand.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckpasteplaintextcommand.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckpasteplaintextcommand.js	(revision 141)
@@ -1,11 +1,27 @@
-/* @Packager.Header
-<FileDescription>
-	FCKPastePlainTextCommand Class: represents the 
-	"Paste as Plain Text" command.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKPastePlainTextCommand Class: represents the
+ * "Paste as Plain Text" command.
+ */
 
-var FCKPastePlainTextCommand = function() 
+var FCKPastePlainTextCommand = function()
 {
 	this.Name = 'PasteText' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckpastewordcommand.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckpastewordcommand.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckpastewordcommand.js	(revision 141)
@@ -1,10 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	FCKPasteWordCommand Class: represents the "Paste from Word" command.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKPasteWordCommand Class: represents the "Paste from Word" command.
+ */
 
-var FCKPasteWordCommand = function() 
+var FCKPasteWordCommand = function()
 {
 	this.Name = 'PasteWord' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckspellcheckcommand_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckspellcheckcommand_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckspellcheckcommand_gecko.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStyleCommand Class: represents the "Spell Check" command.
-	(Gecko specific implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStyleCommand Class: represents the "Spell Check" command.
+ * (Gecko specific implementation)
+ */
 
 var FCKSpellCheckCommand = function()
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckspellcheckcommand_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckspellcheckcommand_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckspellcheckcommand_ie.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStyleCommand Class: represents the "Spell Check" command.
-	(IE specific implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStyleCommand Class: represents the "Spell Check" command.
+ * (IE specific implementation)
+ */
 
 var FCKSpellCheckCommand = function()
@@ -20,5 +36,5 @@
 			this._RunIeSpell() ;
 			break ;
-		
+
 		case 'SpellerPages' :
 			FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'dialog/fck_spellerpages.html', 440, 480 ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckstylecommand.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckstylecommand.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fckstylecommand.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	FCKStyleCommand Class: represents the "Style" command.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKStyleCommand Class: represents the "Style" command.
+ */
 
 var FCKStyleCommand = function()
@@ -28,5 +44,5 @@
 
 	FCK.Focus() ;
-	
+
 	FCK.Events.FireEvent( "OnSelectionChange" ) ;
 }
@@ -38,5 +54,5 @@
 
 	var oSelection = FCK.EditorDocument.selection ;
-	
+
 	if ( FCKSelection.GetType() == 'Control' )
 	{
@@ -52,10 +68,10 @@
 {
 	var aActiveStyles = new Array() ;
-	
+
 	if ( FCKSelection.GetType() == 'Control' )
 		this._CheckStyle( FCKSelection.GetSelectedElement(), aActiveStyles, false ) ;
 	else
 		this._CheckStyle( FCKSelection.GetParentElement(), aActiveStyles, true ) ;
-		
+
 	return aActiveStyles ;
 }
@@ -75,8 +91,8 @@
 				if ( aStyleGroup[i].IsEqual( element ) )
 					targetArray[ targetArray.length ] = aStyleGroup[i] ;
-			}		
+			}
 		}
 	}
-	
+
 	if ( checkParent )
 		this._CheckStyle( element.parentNode, targetArray, checkParent ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcktablecommand.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcktablecommand.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcktablecommand.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKPastePlainTextCommand Class: represents the 
-	"Paste as Plain Text" command.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKPastePlainTextCommand Class: represents the
+ * "Paste as Plain Text" command.
+ */
 
 var FCKTableCommand = function( command )
@@ -15,5 +31,5 @@
 {
 	FCKUndo.SaveUndoStep() ;
-	
+
 	switch ( this.Name )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcktextcolorcommand.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcktextcolorcommand.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/commandclasses/fcktextcolorcommand.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	FCKTextColorCommand Class: represents the text color comand. It shows the
-	color selection panel.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * FCKTextColorCommand Class: represents the text color comand. It shows the
+ * color selection panel.
+ */
 
 // FCKTextColorCommand Contructor
@@ -15,5 +31,5 @@
 
 	var oWindow ;
-	
+
 	if ( FCKBrowserInfo.IsIE )
 		oWindow = window ;
@@ -27,5 +43,5 @@
 	this._Panel.MainNode.className = 'FCK_Panel' ;
 	this._CreatePanelBody( this._Panel.Document, this._Panel.MainNode ) ;
-	
+
 	FCKTools.DisableSelection( this._Panel.Document.body ) ;
 }
@@ -48,5 +64,5 @@
 		if ( FCKBrowserInfo.IsGecko && !FCKConfig.GeckoUseSPAN )
 			FCK.EditorDocument.execCommand( 'useCSS', false, false ) ;
-			
+
 		FCK.ExecuteNamedCommand( 'hilitecolor', color ) ;
 
@@ -56,5 +72,5 @@
 	else
 		FCK.ExecuteNamedCommand( 'BackColor', color ) ;
-	
+
 	// Delete the "cached" active panel type.
 	delete FCK._ActiveColorPanelType ;
@@ -99,5 +115,5 @@
 		oDiv.onmouseover	= FCKTextColorCommand_OnMouseOver ;
 		oDiv.onmouseout		= FCKTextColorCommand_OnMouseOut ;
-		
+
 		return oDiv ;
 	}
@@ -117,5 +133,5 @@
 	// Create the Button for the "Automatic" color selection.
 	var oDiv = oCell.appendChild( CreateSelectionDiv() ) ;
-	oDiv.innerHTML = 
+	oDiv.innerHTML =
 		'<table cellspacing="0" cellpadding="0" width="100%" border="0">\
 			<tr>\
@@ -136,5 +152,5 @@
 	{
 		var oRow = oTable.insertRow(-1) ;
-		
+
 		for ( var i = 0 ; i < 8 && iCounter < aColors.length ; i++, iCounter++ )
 		{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/fckconstants.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/fckconstants.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/fckconstants.js	(revision 141)
@@ -1,9 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Defines some constants used by the editor. These constants are also 
-	globally available in the page where the editor is placed.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines some constants used by the editor. These constants are also
+ * globally available in the page where the editor is placed.
+ */
 
 // Editor Instance Status.
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/fckeditorapi.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/fckeditorapi.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/fckeditorapi.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Create the FCKeditorAPI object that is available as a global object in
-	the page where the editor is placed in.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Create the FCKeditorAPI object that is available as a global object in
+ * the page where the editor is placed in.
+ */
 
 var FCKeditorAPI ;
@@ -15,19 +31,19 @@
 	if ( !( FCKeditorAPI = oParentWindow.FCKeditorAPI ) )
 	{
-		// Make the FCKeditorAPI object available in the parent window. Use 
-		// eval so this core runs in the parent's scope and so it will still be 
+		// Make the FCKeditorAPI object available in the parent window. Use
+		// eval so this core runs in the parent's scope and so it will still be
 		// available if the editor instance is removed ("Can't execute code
 		// from a freed script" error).
-		var sScript = 
+		var sScript =
 			'var FCKeditorAPI = {' +
-				'Version : "[[@Packager.Version]]",' +
-				'VersionBuild : "[[@Packager.Build]]",' +
+				'Version : "2.4.1 (SVN)",' +
+				'VersionBuild : "1156",' +
 				'__Instances : new Object(),' +
-				
+
 				'GetInstance : function( name )' +
 				'{' +
 					'return this.__Instances[ name ];' +
 				'},' +
-				
+
 				'_FormSubmit : function()' +
 				'{' +
@@ -40,9 +56,9 @@
 					'this._FCKOriginalSubmit() ;' +
 				'},' +
-				
+
 				'_FunctionQueue	: {' +
 					'Functions : new Array(),' +
 					'IsRunning : false,' +
-					
+
 					'Add : function( f )' +
 					'{' +
@@ -51,5 +67,5 @@
 							'this.StartNext();' +
 					'},' +
-					
+
 					'StartNext : function()' +
 					'{' +
@@ -63,5 +79,5 @@
 							'this.IsRunning = false;' +
 					'},' +
-					
+
 					'Remove : function( f )' +
 					'{' +
@@ -78,5 +94,5 @@
 				'}' +
 			'}' ;
-		
+
 		// In IE, the "eval" function is not always available (it works with
 		// the JavaScript samples, but not with the ASP ones, for example).
@@ -104,5 +120,5 @@
 				oParentWindow.eval( sScript ) ;
 		}
-		
+
 		FCKeditorAPI = oParentWindow.FCKeditorAPI ;
 	}
@@ -117,10 +133,10 @@
 	// Get the linked field form.
 	var oForm = FCK.GetParentForm() ;
-	
+
 	if ( oForm )
 	{
 		// Attach to the onsubmit event.
 		FCKTools.AddEventListener( oForm, 'submit', FCK.UpdateLinkedField ) ;
-		
+
 		// IE sees oForm.submit function as an 'object'.
 		if ( !oForm._FCKOriginalSubmit && ( typeof( oForm.submit ) == 'function' || ( !oForm.submit.tagName && !oForm.submit.length ) ) )
@@ -128,9 +144,9 @@
 			// Save the original submit.
 			oForm._FCKOriginalSubmit = oForm.submit ;
-			
+
 			// Create our replacement for the submit.
 			oForm.submit = FCKeditorAPI._FormSubmit ;
 		}
-	}	
+	}
 }
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/fckjscoreextensions.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/fckjscoreextensions.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/fckjscoreextensions.js	(revision 141)
@@ -1,11 +1,27 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Extensions to the JavaScript Core.
-
-	All custom extentions functions are PascalCased to differ from the standard
-	camelCased ones.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Extensions to the JavaScript Core.
+ *
+ * All custom extentions functions are PascalCased to differ from the standard
+ * camelCased ones.
+ */
 
 String.prototype.Contains = function( textToCheck )
@@ -17,7 +33,7 @@
 {
 	var aArgs = arguments ;
-	
+
 	// The arguments could also be a single array.
-	if ( aArgs.length == 1 && aArgs[0].pop ) 
+	if ( aArgs.length == 1 && aArgs[0].pop )
 		aArgs = aArgs[0] ;
 
@@ -33,11 +49,11 @@
 {
 	var thisUpper = this.toUpperCase() ;
-	
+
 	var aArgs = arguments ;
-	
+
 	// The arguments could also be a single array.
-	if ( aArgs.length == 1 && aArgs[0].pop ) 
+	if ( aArgs.length == 1 && aArgs[0].pop )
 		aArgs = aArgs[0] ;
-	
+
 	for ( var i = 0 ; i < aArgs.length ; i++ )
 	{
@@ -51,10 +67,10 @@
 {
 	var replaced = this ;
-	
+
 	for ( var i = 0 ; i < searchArray.length ; i++ )
 	{
 		replaced = replaced.replace( searchArray[i], replaceArray[i] ) ;
 	}
-	
+
 	return replaced ;
 }
@@ -87,5 +103,5 @@
 	var L1 = this.length ;
 	var L2 = value.length ;
-	
+
 	if ( L2 > L1 )
 		return false ;
@@ -103,11 +119,11 @@
 {
 	var s = '' ;
-	
+
 	if ( start > 0 )
 		s = this.substring( 0, start ) ;
-	
+
 	if ( start + length < this.length )
 		s += this.substring( start + length , this.length ) ;
-		
+
 	return s ;
 }
@@ -115,15 +131,18 @@
 String.prototype.Trim = function()
 {
-	return this.replace( /(^\s*)|(\s*$)/g, '' ) ;
+	// We are not using \s because we don't want "non-breaking spaces to be caught".
+	return this.replace( /(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '' ) ;
 }
 
 String.prototype.LTrim = function()
 {
-	return this.replace( /^\s*/g, '' ) ;
+	// We are not using \s because we don't want "non-breaking spaces to be caught".
+	return this.replace( /^[ \t\n\r]*/g, '' ) ;
 }
 
 String.prototype.RTrim = function()
 {
-	return this.replace( /\s*$/g, '' ) ;
+	// We are not using \s because we don't want "non-breaking spaces to be caught".
+	return this.replace( /[ \t\n\r]*$/g, '' ) ;
 }
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/fckscriptloader.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/fckscriptloader.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/fckscriptloader.js	(revision 141)
@@ -1,9 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	This is a utility object which can be used to load specific components of
-	FCKeditor, including all dependencies.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is a utility object which can be used to load specific components of
+ * FCKeditor, including all dependencies.
+ */
 
 var FCK_GENERIC = 1 ;
@@ -12,6 +28,5 @@
 
 var FCKScriptLoader = new Object() ;
-FCKScriptLoader._FCKeditorPath = '/fckeditor/' ;
-FCKScriptLoader._FCKeditorPath = '/V2/' ;			// @Packager.RemoveLine 
+FCKScriptLoader.FCKeditorPath = '/fckeditor/' ;
 
 FCKScriptLoader._Scripts = new Object() ;
@@ -27,5 +42,5 @@
 
 	var oScriptInfo = this._Scripts[ scriptName ] ;
-	
+
 	if ( !oScriptInfo )
 	{
@@ -33,15 +48,15 @@
 		return ;
 	}
-	
+
 	for ( var i = 0 ; i < oScriptInfo.Dependency.length ; i++ )
 	{
 		this.Load( oScriptInfo.Dependency[i] ) ;
 	}
-	
+
 	var sBaseScriptName = oScriptInfo.BasePath + scriptName.toLowerCase() ;
-	
+
 	if ( oScriptInfo.Compatibility == FCK_GENERIC || oScriptInfo.Compatibility == FCK_GENERIC_SPECIFIC )
 		this._LoadScript( sBaseScriptName + '.js' ) ;
-	
+
 	if ( oScriptInfo.Compatibility == FCK_SPECIFIC || oScriptInfo.Compatibility == FCK_GENERIC_SPECIFIC )
 	{
@@ -51,5 +66,5 @@
 			this._LoadScript( sBaseScriptName + '_gecko.js' ) ;
 	}
-	
+
 	FCKScriptLoader._LoadedScripts[ scriptName ] = true ;
 }
@@ -57,10 +72,10 @@
 FCKScriptLoader._LoadScript = function( scriptPathFromSource )
 {
-	document.write( '<script type="text/javascript" src="' + this._FCKeditorPath + 'editor/_source/' + scriptPathFromSource + '" onerror="alert(\'Error loading \' + scriptPathFromSource);"><\/script>' ) ;
+	document.write( '<script type="text/javascript" src="' + this.FCKeditorPath + 'editor/_source/' + scriptPathFromSource + '" onerror="alert(\'Error loading \' + scriptPathFromSource);"><\/script>' ) ;
 }
 
 FCKScriptLoader.AddScript = function( scriptName, scriptBasePath, dependency, compatibility )
 {
-	this._Scripts[ scriptName ] = 
+	this._Scripts[ scriptName ] =
 	{
 		BasePath : scriptBasePath || '',
@@ -70,9 +85,9 @@
 }
 
-/* 
+/*
  * ####################################
  * ### Scripts Definition List
  */
- 
+
 FCKScriptLoader.AddScript( 'FCKConstants' ) ;
 FCKScriptLoader.AddScript( 'FCKJSCoreExtensions' ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck.js	(revision 141)
@@ -1,22 +1,40 @@
-/* @Packager.Header
-<FileDescription>
-	Creation and initialization of the "FCK" object. This is the main object
-	that represents an editor instance.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Creation and initialization of the "FCK" object. This is the main object
+ * that represents an editor instance.
+ */
 
 // FCK represents the active editor instance.
-var FCK = 
+var FCK =
 {
 	Name		: FCKURLParams[ 'InstanceName' ],
 	Status		: FCK_STATUS_NOTLOADED,
 	EditMode	: FCK_EDITMODE_WYSIWYG,
-	
+	Toolbar		: null,
+	HasFocus	: false,
+
 	GetLinkedFieldValue : function()
 	{
 		return this.LinkedField.value ;
 	},
-	
+
 	GetParentForm : function()
 	{
@@ -24,10 +42,6 @@
 	} ,
 
-//	Events	: new FCKEvents( FCK ),   how to pass a reference to self here? "this" passes the window
-
-	Toolbar	: null,
-	HasFocus : false,
-
-	// IsDirty implementation 
+	// # START : IsDirty implementation
+
 	StartupValue : '',
 
@@ -42,5 +56,6 @@
 			this.StartupValue = this.EditorDocument.body.innerHTML ;
 	},
-	// end of IsDirty 
+
+	// # END : IsDirty implementation
 
 	StartEditor : function()
@@ -56,5 +71,5 @@
 		// In IE7, if the editor tries to access the clipboard by code, a dialog is
 		// shown to the user asking if the application is allowed to access or not.
-		// Due to the IE implementation of it, the KeystrokeHandler will not work 
+		// Due to the IE implementation of it, the KeystrokeHandler will not work
 		//well in this case, so we must leave the pasting keys to have their default behavior.
 		if ( FCKBrowserInfo.IsIE7 )
@@ -86,5 +101,5 @@
 		{
 			FCKFocusManager.AddWindow( window, true ) ;
-			
+
 			if ( FCKBrowserInfo.IsIE )
 				FCKFocusManager.AddWindow( window.frameElement, true ) ;
@@ -96,4 +111,74 @@
 
 		this.Events.FireEvent( 'OnStatusChange', newStatus ) ;
+	},
+
+	// Fixes the body by moving all inline and text nodes to appropriate block
+	// elements.
+	FixBody : function()
+	{
+		var sBlockTag = FCKConfig.EnterMode ;
+
+		// In 'br' mode, no fix must be done.
+		if ( sBlockTag != 'p' && sBlockTag != 'div' )
+			return ;
+
+		var oDocument = this.EditorDocument ;
+
+		if ( !oDocument )
+			return ;
+
+		var oBody = oDocument.body ;
+
+		if ( !oBody )
+			return ;
+
+		FCKDomTools.TrimNode( oBody ) ;
+
+		var oNode = oBody.firstChild ;
+		var oNewBlock ;
+
+		while ( oNode )
+		{
+			var bMoveNode = false ;
+
+			switch ( oNode.nodeType )
+			{
+				// Element Node.
+				case 1 :
+					if ( !FCKListsLib.BlockElements[ oNode.nodeName.toLowerCase() ] )
+						bMoveNode = true ;
+					break ;
+
+				// Text Node.
+				case 3 :
+					// Ignore space only or empty text.
+					if ( oNewBlock || oNode.nodeValue.Trim().length > 0 )
+						bMoveNode = true ;
+			}
+
+			if ( bMoveNode )
+			{
+				var oParent = oNode.parentNode ;
+
+				if ( !oNewBlock )
+					oNewBlock = oParent.insertBefore( oDocument.createElement( sBlockTag ), oNode ) ;
+
+				oNewBlock.appendChild( oParent.removeChild( oNode ) ) ;
+
+				oNode = oNewBlock.nextSibling ;
+			}
+			else
+			{
+				if ( oNewBlock )
+				{
+					FCKDomTools.TrimNode( oNewBlock ) ;
+					oNewBlock = null ;
+				}
+				oNode = oNode.nextSibling ;
+			}
+		}
+
+		if ( oNewBlock )
+			FCKDomTools.TrimNode( oNewBlock ) ;
 	},
 
@@ -105,6 +190,11 @@
 				return FCK.EditingArea.Textarea.value ;
 
+		this.FixBody() ;
+
 		var sXHTML ;
 		var oDoc = FCK.EditorDocument ;
+
+		if ( !oDoc )
+			return null ;
 
 		if ( FCKConfig.FullPage )
@@ -117,5 +207,5 @@
 				sXHTML = FCKXHtml.GetXHTML( oDoc.body, false, format ) ;
 		}
-		
+
 		// Restore protected attributes.
 		sXHTML = FCK.ProtectEventsRestore( sXHTML ) ;
@@ -156,5 +246,5 @@
 	OnAfterSetHTML : function()
 	{
-		FCKDocumentProcessor.Process( FCK.EditorDocument ) ;	
+		FCKDocumentProcessor.Process( FCK.EditorDocument ) ;
 		FCKUndo.SaveUndoStep() ;
 
@@ -163,5 +253,5 @@
 	},
 
-	// Saves URLs on links and images on special attributes, so they don't change when 
+	// Saves URLs on links and images on special attributes, so they don't change when
 	// moving around.
 	ProtectUrls : function( html )
@@ -172,5 +262,5 @@
 		// <IMG> src
 		html = html.replace( FCKRegexLib.ProtectUrlsImg	, '$1$4$2$3$5$2 _fcksavedurl=$2$3$5$2' ) ;
-		
+
 		return html ;
 	},
@@ -193,5 +283,5 @@
 		// will move to the target page.
 		var sTags = 'META' ;
-		
+
 		if ( FCKConfig.ProtectedTags.length > 0 )
 			sTags += '|' + FCKConfig.ProtectedTags ;
@@ -200,11 +290,11 @@
 		if ( FCKBrowserInfo.IsIE )
 			sTags += '|ABBR' ;
-		
+
 		var oRegex = new RegExp( '<(' + sTags + ')([ \>])', 'gi' ) ;
 		html = html.replace( oRegex, '<FCK:$1$2' ) ;
-			
+
 		oRegex = new RegExp( '<\/(' + sTags + ')>', 'gi' ) ;
 		html = html.replace( oRegex, '<\/FCK:$1>' ) ;
-		
+
 		return html ;
 	},
@@ -215,5 +305,5 @@
 
 		if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
-		{	
+		{
 			html = FCKConfig.ProtectedSource.Protect( html ) ;
 			html = FCK.ProtectEvents( html ) ;
@@ -221,5 +311,5 @@
 			html = FCK.ProtectTags( html ) ;
 
-			// Firefox can't handle correctly the editing of the STRONG and EM tags. 
+			// Firefox can't handle correctly the editing of the STRONG and EM tags.
 			// We must replace them with B and I.
 			if ( FCKBrowserInfo.IsGecko )
@@ -230,10 +320,4 @@
 				html = html.replace( FCKRegexLib.EmCloser, '<\/i>' ) ;
 			}
-	//		else if ( FCKBrowserInfo.IsIE )
-	//		{
-	//			// IE doesn't support <abbr> and it breaks it. Let's protect it.
-	//			html = html.replace( FCKRegexLib.AbbrOpener, '<FCK:abbr$1' ) ;
-	//			html = html.replace( FCKRegexLib.AbbrCloser, '<\/FCK:abbr>' ) ;
-	//		}
 
 			var sHtml = '' ;
@@ -247,28 +331,28 @@
 					if ( !FCKRegexLib.HtmlOpener.test( html ) )
 						html = '<html dir="' + FCKConfig.ContentLangDirection + '">' + html + '</html>' ;
-					
+
 					// Add the <head>.
 					html = html.replace( FCKRegexLib.HtmlOpener, '$&<head></head>' ) ;
 				}
-				
+
 				// Save the DOCTYPE.
 				FCK.DocTypeDeclaration = html.match( FCKRegexLib.DocTypeTag ) ;
-				
+
 				if ( FCKBrowserInfo.IsIE )
 					sHtml = FCK._GetBehaviorsStyle() ;
-				else if ( FCKConfig.ShowBorders ) 
+				else if ( FCKConfig.ShowBorders )
 					sHtml = '<link href="' + FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css" rel="stylesheet" type="text/css" _fcktemp="true" />' ;
 
 				sHtml += '<link href="' + FCKConfig.FullBasePath + 'css/fck_internal.css' + '" rel="stylesheet" type="text/css" _fcktemp="true" />' ;
 
-				// Attention: do not change it before testing it well (sample07)!		: @Packager.RemoveLine
-				// This is tricky... if the head ends with <meta ... content type>,		: @Packager.RemoveLine
-				// Firefox will break. But, it works if we include the temporary		: @Packager.RemoveLine
-				// links as the last elements in the HEAD.								: @Packager.RemoveLine
+				// Attention: do not change it before testing it well (sample07)!
+				// This is tricky... if the head ends with <meta ... content type>,
+				// Firefox will break. But, it works if we include the temporary
+				// links as the last elements in the HEAD.
 				sHtml = html.replace( FCKRegexLib.HeadCloser, sHtml + '$&' ) ;
 
 				// Insert the base tag (FCKConfig.BaseHref), if not exists in the source.
-				// The base must be the first tag in the HEAD, to get relative			: @Packager.RemoveLine
-				// links on styles, for example.										: @Packager.RemoveLine
+				// The base must be the first tag in the HEAD, to get relative
+				// links on styles, for example.
 				if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( html ) )
 					sHtml = sHtml.replace( FCKRegexLib.HeadOpener, '$&' + FCK.TempBaseTag ) ;
@@ -279,5 +363,5 @@
 					FCKConfig.DocType +
 					'<html dir="' + FCKConfig.ContentLangDirection + '"' ;
-				
+
 				// On IE, if you are use a DOCTYPE differenft of HTML 4 (like
 				// XHTML), you must force the vertical scroll to show, otherwise
@@ -285,5 +369,5 @@
 				if ( FCKBrowserInfo.IsIE && !FCKRegexLib.Html4DocType.test( FCKConfig.DocType ) )
 					sHtml += ' style="overflow-y: scroll"' ;
-				
+
 				sHtml +=
 					'><head><title></title>' +
@@ -293,5 +377,5 @@
 				if ( FCKBrowserInfo.IsIE )
 					sHtml += FCK._GetBehaviorsStyle() ;
-				else if ( FCKConfig.ShowBorders ) 
+				else if ( FCKConfig.ShowBorders )
 					sHtml += '<link href="' + FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css" rel="stylesheet" type="text/css" _fcktemp="true" />' ;
 
@@ -299,5 +383,5 @@
 
 				// Add ID and Class to the body
-				var sBodyTag = '<body'
+				var sBodyTag = '<body' ;
 				if ( FCKConfig.BodyId && FCKConfig.BodyId.length > 0 )
 					sBodyTag += ' id="' + FCKConfig.BodyId + '"' ;
@@ -310,5 +394,5 @@
 				else
 					sHtml += html ;
-				
+
 				sHtml += '</body></html>' ;
 			}
@@ -322,9 +406,9 @@
 			// IFRAME will be removed.
 			FCK.EditorWindow	= null ;
-			FCK.EditorDocument	= null ; 
-		
+			FCK.EditorDocument	= null ;
+
 			this.EditingArea.OnLoad = null ;
 			this.EditingArea.Start( html ) ;
-			
+
 			// Enables the context menu in the textarea.
 			this.EditingArea.Textarea._FCKShowContextMenu = true ;
@@ -335,6 +419,8 @@
 			// Listen for keystroke events.
 			FCK.KeystrokeHandler.AttachToElement( this.EditingArea.Textarea ) ;
-			
+
 			this.EditingArea.Textarea.focus() ;
+
+			FCK.Events.FireEvent( 'OnAfterSetHTML' ) ;
 		}
 
@@ -344,5 +430,5 @@
 
 	// For the FocusManager
-	HasFocus : false, 
+	HasFocus : false,
 
 
@@ -360,8 +446,8 @@
 		{
 			FCK.Focus() ;
-			FCK.EditorDocument.execCommand( commandName, false, commandParameter ) ; 
+			FCK.EditorDocument.execCommand( commandName, false, commandParameter ) ;
 			FCK.Events.FireEvent( 'OnSelectionChange' ) ;
 		}
-		
+
 		FCKUndo.SaveUndoStep() ;
 	},
@@ -389,8 +475,8 @@
 		var sValue = '' ;
 		var eState = FCK.GetNamedCommandState( commandName ) ;
-		
-		if ( eState == FCK_TRISTATE_DISABLED ) 
+
+		if ( eState == FCK_TRISTATE_DISABLED )
 			return null ;
-		
+
 		try
 		{
@@ -398,5 +484,5 @@
 		}
 		catch(e) {}
-		
+
 		return sValue ? sValue : '' ;
 	},
@@ -413,7 +499,7 @@
 		var iLeft	= ( FCKConfig.ScreenWidth - iWidth ) / 2 ;
 		var oWindow = window.open( '', null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + iWidth + ',height=' + iHeight + ',left=' + iLeft ) ;
-		
+
 		var sHTML ;
-		
+
 		if ( FCKConfig.FullPage )
 		{
@@ -425,5 +511,5 @@
 		else
 		{
-			sHTML = 
+			sHTML =
 				FCKConfig.DocType +
 				'<html dir="' + FCKConfig.ContentLangDirection + '">' +
@@ -432,9 +518,9 @@
 				'<title>' + FCKLang.Preview + '</title>' +
 				_FCK_GetEditorAreaStyleTags() +
-				'</head><body>' + 
-				FCK.GetXHTML() + 
+				'</head><body>' +
+				FCK.GetXHTML() +
 				'</body></html>' ;
 		}
-		
+
 		oWindow.document.write( sHTML );
 		oWindow.document.close();
@@ -445,5 +531,5 @@
 		var bIsWysiwyg = ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) ;
 		var sHtml ;
-		
+
 		// Update the HTML in the view output to show.
 		if ( bIsWysiwyg )
@@ -453,4 +539,7 @@
 
 			sHtml = FCK.GetXHTML( FCKConfig.FormatSource ) ;
+
+			if ( sHtml == null )
+				return false ;
 		}
 		else
@@ -466,4 +555,6 @@
 		// Update the toolbar (Running it directly causes IE to fail).
 		FCKTools.RunFunction( FCK.ToolbarSet.RefreshModeState, FCK.ToolbarSet ) ;
+
+		return true ;
 	},
 
@@ -477,9 +568,9 @@
 	{
 		e.setAttribute( 'FCKTempLabel', 'true' ) ;
-		
+
 		this.InsertElement( e ) ;
-		
+
 		var aEls = FCK.EditorDocument.getElementsByTagName( e.tagName ) ;
-		
+
 		for ( var i = 0 ; i < aEls.length ; i++ )
 		{
@@ -541,5 +632,5 @@
 	// Save the startup value for the "IsDirty()" check.
 	FCK.ResetIsDirty() ;
-	
+
 	FCK.SetStatus( FCK_STATUS_ACTIVE ) ;
 }
@@ -549,8 +640,8 @@
 	var sTags = '' ;
 	var aCSSs = FCKConfig.EditorAreaCSS ;
-	
+
 	for ( var i = 0 ; i < aCSSs.length ; i++ )
 		sTags += '<link href="' + aCSSs[i] + '" rel="stylesheet" type="text/css" />' ;
-	
+
 	return sTags ;
 }
@@ -588,5 +679,5 @@
 	// As ASP.Net generates a ID that is different from the Name, we must also
 	// look for the field based on the ID (the first one is the ID).
-	
+
 	var oDocument = window.parent.document ;
 
@@ -607,5 +698,5 @@
 })() ;
 
-var FCKTempBin = 
+var FCKTempBin =
 {
 	Elements : new Array(),
@@ -637,5 +728,5 @@
 
 // # Focus Manager: Manages the focus in the editor.
-var FCKFocusManager = FCK.FocusManager = 
+var FCKFocusManager = FCK.FocusManager =
 {
 	IsLocked : false,
@@ -644,10 +735,10 @@
 	{
 		var oTarget ;
-		
+
 		if ( FCKBrowserInfo.IsIE )
 			oTarget = win.nodeType == 1 ? win : win.frameElement ? win.frameElement : win.document ;
 		else
 			oTarget = win.document ;
-		
+
 		FCKTools.AddEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ;
 		FCKTools.AddEventListener( oTarget, 'focus', sendToEditingArea ? FCKFocusManager_Win_OnFocus_Area : FCKFocusManager_Win_OnFocus ) ;
@@ -675,5 +766,5 @@
 		if ( this._HasPendingBlur )
 			FCKFocusManager._Timer = window.setTimeout( FCKFocusManager_FireOnBlur, 100 ) ;
-			
+
 		this.IsLocked = false ;
 	},
@@ -686,9 +777,8 @@
 		{
 			window.clearTimeout( this._Timer ) ;
-			delete this._Timer ; 
+			delete this._Timer ;
 		}
 	}
-
-}
+} ;
 
 function FCKFocusManager_Win_OnBlur()
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_contextmenu.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_contextmenu.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_contextmenu.js	(revision 141)
@@ -1,10 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCK.ContextMenu object that is responsible for all
-	Context Menu operations in the editing area.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCK.ContextMenu object that is responsible for all
+ * Context Menu operations in the editing area.
+ */
 
 FCK.ContextMenu = new Object() ;
@@ -50,5 +65,5 @@
 				var bIsTable	= ( tagName == 'TABLE' ) ;
 				var bIsCell		= ( !bIsTable && FCKSelection.HasAncestorNode( 'TABLE' ) ) ;
-				
+
 				if ( bIsCell )
 				{
@@ -66,5 +81,5 @@
 					oItem.AddItem( 'TableInsertRow'		, FCKLang.InsertRow, 62 ) ;
 					oItem.AddItem( 'TableDeleteRows'	, FCKLang.DeleteRows, 63 ) ;
-					
+
 					menu.AddSeparator() ;
 					oItem = menu.AddItem( 'Column'		, FCKLang.ColumnCM ) ;
@@ -90,9 +105,9 @@
 				{
 					// Go up to the anchor to test its properties
-					var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ; 
+					var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ;
 					var bIsAnchor = ( oLink && oLink.name.length > 0 && oLink.href.length == 0 ) ;
 					// If it isn't a link then don't add the Link context menu
 					if ( bIsAnchor )
-						return ; 
+						return ;
 
 					menu.AddSeparator() ;
@@ -119,5 +134,5 @@
 			{
 				// Go up to the anchor to test its properties
-				var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ; 
+				var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ;
 				var bIsAnchor = ( oLink && oLink.name.length > 0 ) ;
 
@@ -275,5 +290,5 @@
 	// Get the actual selected tag (if any).
 	var oTag, sTagName ;
-	
+
 	// The extra () is to avoid a warning with strict error checking. This is ok.
 	if ( (oTag = FCKSelection.GetSelectedElement()) )
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_gecko.js	(revision 141)
@@ -1,10 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	Creation and initialization of the "FCK" object. This is the main
-	object that represents an editor instance.
-	(Gecko specific implementations)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Creation and initialization of the "FCK" object. This is the main
+ * object that represents an editor instance.
+ * (Gecko specific implementations)
+ */
 
 FCK.Description = "FCKeditor for Gecko Browsers" ;
@@ -76,5 +92,5 @@
 
 // Named commands to be handled by this browsers specific implementation.
-FCK.RedirectNamedCommands = 
+FCK.RedirectNamedCommands =
 {
 	Print	: true,
@@ -82,5 +98,5 @@
 	Cut		: true,
 	Copy	: true
-}
+} ;
 
 // ExecuteNamedCommand overload for Gecko.
@@ -103,5 +119,5 @@
 			try			{ FCK.ExecuteNamedCommand( 'Copy', null, true ) ; }
 			catch (e)	{ alert(FCKLang.PasteErrorCopy) ; }
-			break ;			
+			break ;
 		default :
 			FCK.ExecuteNamedCommand( commandName, commandParameter ) ;
@@ -118,10 +134,10 @@
 	if ( FCKConfig.ForcePasteAsPlainText )
 	{
-		FCK.PasteAsPlainText() ;	
+		FCK.PasteAsPlainText() ;
 		return false ;
 	}
-	
+
 	/* For now, the AutoDetectPasteFromWord feature is IE only. */
-	
+
 	return true ;
 }
@@ -137,11 +153,11 @@
 	// Delete the actual selection.
 	var oSel = FCKSelection.Delete() ;
-	
+
 	// Get the first available range.
 	var oRange = oSel.getRangeAt(0) ;
-	
+
 	// Create a fragment with the input HTML.
 	var oFragment = oRange.createContextualFragment( html ) ;
-	
+
 	// Get the last available node.
 	var oLastNode = oFragment.lastChild ;
@@ -149,9 +165,9 @@
 	// Insert the fragment in the range.
 	oRange.insertNode(oFragment) ;
-	
+
 	// Set the cursor after the inserted fragment.
 	FCKSelection.SelectNode( oLastNode ) ;
 	FCKSelection.Collapse( false ) ;
-	
+
 	this.Focus() ;
 }
@@ -161,11 +177,11 @@
 	// Deletes the actual selection.
 	var oSel = FCKSelection.Delete() ;
-	
+
 	// Gets the first available range.
 	var oRange = oSel.getRangeAt(0) ;
-	
+
 	// Inserts the element in the range.
 	oRange.insertNode( element ) ;
-	
+
 	// Set the cursor after the inserted fragment.
 	FCKSelection.SelectNode( element ) ;
@@ -178,11 +194,11 @@
 {
 	// TODO: Implement the "Paste as Plain Text" code.
-	
+
 	FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteAsText, 'dialog/fck_paste.html', 400, 330, 'PlainText' ) ;
-	
+
 /*
 	var sText = FCKTools.HTMLEncode( clipboardData.getData("Text") ) ;
 	sText = sText.replace( /\n/g, '<BR>' ) ;
-	this.InsertHtml( sText ) ;	
+	this.InsertHtml( sText ) ;
 */
 }
@@ -191,5 +207,5 @@
 {
 	// TODO: Implement the "Paste as Plain Text" code.
-	
+
 	FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteFromWord, 'dialog/fck_paste.html', 400, 330, 'Word' ) ;
 
@@ -203,12 +219,12 @@
 
 FCK.CreateLink = function( url )
-{	
+{
 	FCK.ExecuteNamedCommand( 'Unlink' ) ;
-	
+
 	if ( url.length > 0 )
 	{
 		// Generate a temporary name for the link.
 		var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ;
-		
+
 		// Use the internal "CreateLink" command to create the link.
 		FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl ) ;
@@ -216,5 +232,5 @@
 		// Retrieve the just created link using XPath.
 		var oLink = this.EditorDocument.evaluate("//a[@href='" + sTempUrl + "']", this.EditorDocument.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue ;
-		
+
 		if ( oLink )
 		{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fck_ie.js	(revision 141)
@@ -1,10 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	Creation and initialization of the "FCK" object. This is the main
-	object that represents an editor instance.
-	(IE specific implementations)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Creation and initialization of the "FCK" object. This is the main
+ * object that represents an editor instance.
+ * (IE specific implementations)
+ */
 
 FCK.Description = "FCKeditor for Internet Explorer 5.5+" ;
@@ -17,5 +33,5 @@
 		var sTableBehavior = '' ;
 		var sStyle ;
-		
+
 		// The behaviors should be pointed using the FullBasePath to avoid security
 		// errors when using a differente BaseHref.
@@ -35,5 +51,5 @@
 			sTableBehavior += ' url(' + sBasePath + 'css/behaviors/disablehandles.htc)' ;
 		}
-		
+
 		sStyle += ' { behavior: url(' + sBasePath + 'css/behaviors/disablehandles.htc) ; }' ;
 
@@ -44,5 +60,5 @@
 		FCK._BehaviorsStyle = sStyle ;
 	}
-	
+
 	return FCK._BehaviorsStyle ;
 }
@@ -65,8 +81,11 @@
 function Doc_OnKeyDown()
 {
-	var e = FCK.EditorWindow.event ;
-	
-	if ( !( e.keyCode >=16 && e.keyCode <= 18 ) )
-		Doc_OnKeyDownUndo() ;
+	if ( FCK.EditorWindow )
+	{
+		var e = FCK.EditorWindow.event ;
+
+		if ( !( e.keyCode >=16 && e.keyCode <= 18 ) )
+			Doc_OnKeyDownUndo() ;
+	}
 	return true ;
 }
@@ -80,5 +99,5 @@
 		FCK.Events.FireEvent( "OnSelectionChange" ) ;
 	}
-	
+
 	FCKUndo.TypesCount++ ;
 
@@ -147,5 +166,5 @@
 	// Insert the HTML.
 	oSel.createRange().pasteHTML( html ) ;
-	
+
 	FCKDocumentProcessor.Process( FCK.EditorDocument ) ;
 }
@@ -163,5 +182,5 @@
 {
 	var oPreloader = new FCKImagePreloader() ;
-	
+
 	// Add the configured images.
 	oPreloader.AddImages( FCKConfig.PreloadImages ) ;
@@ -189,7 +208,11 @@
 FCK.Paste = function()
 {
+	// As we call ExecuteNamedCommand('Paste'), it would enter in a loop. So, let's use a semaphore.
+	if ( FCK._PasteIsRunning )
+		return true ;
+
 	if ( FCKConfig.ForcePasteAsPlainText )
 	{
-		FCK.PasteAsPlainText() ;	
+		FCK.PasteAsPlainText() ;
 		return false ;
 	}
@@ -211,8 +234,19 @@
 
 	// Instead of inserting the retrieved HTML, let's leave the OS work for us
-	// and paste the content (return true);
-	// FCK.InsertHtml( sHTML ) ;
-
-	return true ;
+	// and paste the content (return true); It could give better results.
+	// Also, let's always make a custom implementation (return false), otherwise
+	// the new Keyboard Handler may conflict with this code, and the CTRL+V code
+	// could result in a simple "V" being pasted.
+
+	// Enable the semaphore to avoid a loop.
+	FCK._PasteIsRunning = true ;
+
+	FCK.ExecuteNamedCommand( 'Paste' ) ;
+
+	// Removes the semaphore.
+	delete FCK._PasteIsRunning  ;
+
+	// "false" means that we have a custom implementation.
+	return false ;
 }
 
@@ -226,5 +260,5 @@
 		// Replace the carriage returns with <BR>
 		sText = FCKTools.HTMLEncode( sText ).replace( /\n/g, '<BR>' ) ;
-		
+
 		// Insert the resulting data in the editor.
 		this.InsertHtml( sText ) ;
@@ -240,27 +274,27 @@
 {
 	var oDiv = document.getElementById( '___FCKHiddenDiv' ) ;
-	
+
 	if ( !oDiv )
 	{
-		var oDiv = document.createElement( 'DIV' ) ;
+		oDiv = document.createElement( 'DIV' ) ;
 		oDiv.id = '___FCKHiddenDiv' ;
-		
+
 		var oDivStyle = oDiv.style ;
 		oDivStyle.position		= 'absolute' ;
 		oDivStyle.visibility	= oDivStyle.overflow	= 'hidden' ;
 		oDivStyle.width			= oDivStyle.height		= 1 ;
-	
+
 		document.body.appendChild( oDiv ) ;
 	}
-	
+
 	oDiv.innerHTML = '' ;
-	
+
 	var oTextRange = document.body.createTextRange() ;
 	oTextRange.moveToElementText( oDiv ) ;
 	oTextRange.execCommand( 'Paste' ) ;
-	
+
 	var sData = oDiv.innerHTML ;
 	oDiv.innerHTML = '' ;
-	
+
 	return sData ;
 }
@@ -280,5 +314,5 @@
 		// Generate a temporary name for the link.
 		var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ;
-		
+
 		// Use the internal "CreateLink" command to create the link.
 		FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl ) ;
@@ -290,5 +324,5 @@
 		{
 			var oLink = oLinks[i] ;
-			
+
 			if ( oLink.href == sTempUrl )
 			{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckbrowserinfo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckbrowserinfo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckbrowserinfo.js	(revision 141)
@@ -1,12 +1,28 @@
-/* @Packager.Header
-<FileDescription>
-	Contains browser detection information.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Contains browser detection information.
+ */
 
 var s = navigator.userAgent.toLowerCase() ;
 
-var FCKBrowserInfo = 
+var FCKBrowserInfo =
 {
 	IsIE		: s.Contains('msie'),
@@ -19,5 +35,5 @@
 
 // Completes the browser info with further Gecko information.
-(function( browserInfo ) 
+(function( browserInfo )
 {
 	browserInfo.IsGeckoLike = ( browserInfo.IsGecko || browserInfo.IsSafari || browserInfo.IsOpera ) ;
@@ -26,5 +42,5 @@
 	{
 		var geckoVersion = s.match( /gecko\/(\d+)/ )[1] ;
-		browserInfo.IsGecko10 = geckoVersion < 20051111 ;	// Actually "10" refers to Gecko versions before Firefox 1.5, where Gecko 20051111 has been released.		
+		browserInfo.IsGecko10 = geckoVersion < 20051111 ;	// Actually "10" refers to Gecko versions before Firefox 1.5, where Gecko 20051111 has been released.
 	}
 	else
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckcodeformatter.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckcodeformatter.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckcodeformatter.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Format the HTML.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Format the HTML.
+ */
 
 var FCKCodeFormatter = new Object() ;
@@ -43,7 +59,7 @@
 	// process go in the following array.
 	FCKCodeFormatter.ProtectedData = new Array() ;
-	
+
 	var sFormatted = html.replace( this.Regex.ProtectedTags, FCKCodeFormatter._ProtectData ) ;
-	
+
 	// Line breaks.
 	sFormatted		= sFormatted.replace( this.Regex.BlocksOpener, '\n$&' ) ;
@@ -54,29 +70,29 @@
 	// Indentation.
 	var sIndentation = '' ;
-	
+
 	var asLines = sFormatted.split( this.Regex.LineSplitter ) ;
 	sFormatted = '' ;
-	
+
 	for ( var i = 0 ; i < asLines.length ; i++ )
 	{
 		var sLine = asLines[i] ;
-		
+
 		if ( sLine.length == 0 )
 			continue ;
-		
+
 		if ( this.Regex.DecreaseIndent.test( sLine ) )
 			sIndentation = sIndentation.replace( this.Regex.FormatIndentatorRemove, '' ) ;
 
 		sFormatted += sIndentation + sLine + '\n' ;
-		
+
 		if ( this.Regex.IncreaseIndent.test( sLine ) )
 			sIndentation += FCKConfig.FormatIndentator ;
 	}
-	
+
 	// Now we put back the protected data.
-	for ( var i = 0 ; i < FCKCodeFormatter.ProtectedData.length ; i++ )
+	for ( var j = 0 ; j < FCKCodeFormatter.ProtectedData.length ; j++ )
 	{
-		var oRegex = new RegExp( '___FCKpd___' + i ) ;
-		sFormatted = sFormatted.replace( oRegex, FCKCodeFormatter.ProtectedData[i].replace( /\$/g, '$$$$' ) ) ;
+		var oRegex = new RegExp( '___FCKpd___' + j ) ;
+		sFormatted = sFormatted.replace( oRegex, FCKCodeFormatter.ProtectedData[j].replace( /\$/g, '$$$$' ) ) ;
 	}
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckcommands.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckcommands.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckcommands.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Define all commands available in the editor.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Define all commands available in the editor.
+ */
 
 var FCKCommands = FCK.Commands = new Object() ;
@@ -17,5 +33,5 @@
 {
 	var oCommand = FCKCommands.LoadedCommands[ commandName ] ;
-	
+
 	if ( oCommand )
 		return oCommand ;
@@ -42,5 +58,4 @@
 		case 'TableProp'	: oCommand = new FCKDialogCommand( 'Table'		, FCKLang.DlgTableTitle			, 'dialog/fck_table.html?Parent', 400, 250 ) ; break ;
 		case 'TableCellProp': oCommand = new FCKDialogCommand( 'TableCell'	, FCKLang.DlgCellTitle			, 'dialog/fck_tablecell.html'	, 550, 250 ) ; break ;
-		case 'UniversalKey'	: oCommand = new FCKDialogCommand( 'UniversalKey', FCKLang.UniversalKeyboard	, 'dialog/fck_universalkey.html', 415, 300 ) ; break ;
 
 		case 'Style'		: oCommand = new FCKStyleCommand() ; break ;
@@ -87,10 +102,10 @@
 		case 'Undo'	: oCommand = new FCKUndoCommand() ; break ;
 		case 'Redo'	: oCommand = new FCKRedoCommand() ; break ;
-		
+
 		case 'SelectAll' : oCommand = new FCKSelectAllCommand() ; break ;
 
 		// Generic Undefined command (usually used when a command is under development).
 		case 'Undefined'	: oCommand = new FCKUndefinedCommand() ; break ;
-		
+
 		// By default we assume that it is a named command.
 		default:
@@ -103,7 +118,7 @@
 			}
 	}
-	
+
 	FCKCommands.LoadedCommands[ commandName ] = oCommand ;
-	
+
 	return oCommand ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckconfig.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckconfig.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckconfig.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Creates and initializes the FCKConfig object.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Creates and initializes the FCKConfig object.
+ */
 
 var FCKConfig = FCK.Config = new Object() ;
@@ -29,5 +45,5 @@
 FCKConfig.EditorPath = FCKConfig.BasePath.replace( /editor\/$/, '' ) ;
 
-// There is a bug in Gecko. If the editor is hidden on startup, an error is 
+// There is a bug in Gecko. If the editor is hidden on startup, an error is
 // thrown when trying to get the screen dimentions.
 try
@@ -36,5 +52,5 @@
 	FCKConfig.ScreenHeight	= screen.height ;
 }
-catch (e) 
+catch (e)
 {
 	FCKConfig.ScreenWidth	= 800 ;
@@ -42,5 +58,5 @@
 }
 
-// Override the actual configuration values with the values passed throw the 
+// Override the actual configuration values with the values passed throw the
 // hidden field "<InstanceName>___Config".
 FCKConfig.ProcessHiddenField = function()
@@ -50,5 +66,5 @@
 	// Get the hidden field.
 	var oConfigField = window.parent.document.getElementById( FCK.Name + '___Config' ) ;
-	
+
 	// Do nothing if the config field was not defined.
 	if ( ! oConfigField ) return ;
@@ -75,5 +91,5 @@
 
 		else if ( sVal.length > 0 && !isNaN( sVal ) )	// If it is a number.
-			this.PageConfig[ sKey ] = parseInt( sVal ) ;
+			this.PageConfig[ sKey ] = parseInt( sVal, 10 ) ;
 
 		else										// In any other case it is a string.
@@ -92,5 +108,5 @@
 {
 	var oConfig = FCKConfig ;
-	
+
 	// Force debug mode if fckdebug=true in the QueryString (main page).
 	if ( oConfig.AllowQueryStringDebug )
@@ -132,5 +148,5 @@
 }
 
-// FCKConfig.ProtectedSource: object that holds a collection of Regular 
+// FCKConfig.ProtectedSource: object that holds a collection of Regular
 // Expressions that defined parts of the raw HTML that must remain untouched
 // like custom tags, scripts, server side code, etc...
@@ -139,5 +155,5 @@
 // Initialize the regex array with the default ones.
 FCKConfig.ProtectedSource.RegexEntries = [
-	// First of any other protection, we must protect all comments to avoid 
+	// First of any other protection, we must protect all comments to avoid
 	// loosing them (of course, IE related).
 	/<!--[\s\S]*?-->/g ,
@@ -145,5 +161,5 @@
 	// Script tags will also be forced to be protected, otherwise IE will execute them.
 	/<script[\s\S]*?<\/script>/gi,
-	
+
 	// <noscript> tags (get lost in IE and messed up in FF).
 	/<noscript[\s\S]*?<\/noscript>/gi
@@ -162,10 +178,10 @@
 		return '<!--{PS..' + index + '}-->' ;
 	}
-	
+
 	for ( var i = 0 ; i < this.RegexEntries.length ; i++ )
 	{
 		html = html.replace( this.RegexEntries[i], _Replace ) ;
 	}
-	
+
 	return html ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdebug.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdebug.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdebug.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Debug window control and operations.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Debug window control and operations.
+ */
 
 var FCKDebug = new Object() ;
@@ -12,5 +28,5 @@
 	if ( !this.DebugWindow || this.DebugWindow.closed )
 		this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ;
-	
+
 	return this.DebugWindow ;
 }
@@ -18,11 +34,11 @@
 FCKDebug.Output = function( message, color, noParse )
 {
-	if ( ! FCKConfig.Debug ) 
+	if ( ! FCKConfig.Debug )
 		return ;
 
-	try 
+	try
 	{
 		this._GetWindow().Output( message, color ) ;
-	} 
+	}
 	catch ( e ) {}	 // Ignore errors
 }
@@ -30,11 +46,11 @@
 FCKDebug.OutputObject = function( anyObject, color )
 {
-	if ( ! FCKConfig.Debug ) 
+	if ( ! FCKConfig.Debug )
 		return ;
 
-	try 
+	try
 	{
 		this._GetWindow().OutputObject( anyObject, color ) ;
-	} 
+	}
 	catch ( e ) {}	 // Ignore errors
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Dialog windows operations.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Dialog windows operations.
+ */
 
 var FCKDialog = new Object() ;
@@ -17,5 +33,5 @@
 	oDialogInfo.Editor = window ;
 	oDialogInfo.CustomValue = customValue ;		// Optional
-	
+
 	var sUrl = FCKConfig.BasePath + 'fckdialog.html' ;
 	this.Show( oDialogInfo, dialogName, sUrl, width, height, parentWindow, resizable ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Dialog windows operations. (Gecko specific implementations)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Dialog windows operations. (Gecko specific implementations)
+ */
 
 FCKDialog.Show = function( dialogInfo, dialogName, pageUrl, dialogWidth, dialogHeight, parentWindow, resizable )
@@ -20,9 +36,9 @@
 	if ( !parentWindow )
 		parentWindow = window ;
-	
+
 	FCKFocusManager.Lock() ;
-	
+
 	var oWindow = parentWindow.open( '', 'FCKeditorDialog_' + dialogName, sOption, true ) ;
-	
+
 	if ( !oWindow )
 	{
@@ -31,21 +47,21 @@
 		return ;
 	}
-		
+
 	oWindow.moveTo( iLeft, iTop ) ;
 	oWindow.resizeTo( dialogWidth, dialogHeight ) ;
 	oWindow.focus() ;
 	oWindow.location.href = pageUrl ;
-	
+
 	oWindow.dialogArguments = dialogInfo ;
-	
-	// On some Gecko browsers (probably over slow connections) the 
+
+	// On some Gecko browsers (probably over slow connections) the
 	// "dialogArguments" are not set to the target window so we must
 	// put it in the opener window so it can be used by the target one.
 	parentWindow.FCKLastDialogInfo = dialogInfo ;
-	
+
 	this.Window = oWindow ;
-	
-	// Try/Catch must be used to avoit an error when using a frameset 
-	// on a different domain: 
+
+	// Try/Catch must be used to avoit an error when using a frameset
+	// on a different domain:
 	// "Permission denied to get property Window.releaseEvents".
 	try
@@ -62,15 +78,15 @@
 FCKDialog.CheckFocus = function()
 {
-	// It is strange, but we have to check the FCKDialog existence to avoid a 
+	// It is strange, but we have to check the FCKDialog existence to avoid a
 	// random error: "FCKDialog is not defined".
 	if ( typeof( FCKDialog ) != "object" )
 		return false ;
-	
+
 	if ( FCKDialog.Window && !FCKDialog.Window.closed )
 		FCKDialog.Window.focus() ;
 	else
 	{
-		// Try/Catch must be used to avoit an error when using a frameset 
-		// on a different domain: 
+		// Try/Catch must be used to avoit an error when using a frameset
+		// on a different domain:
 		// "Permission denied to get property Window.releaseEvents".
 		try
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdialog_ie.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Dialog windows operations. (IE specific implementations)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Dialog windows operations. (IE specific implementations)
+ */
 
 FCKDialog.Show = function( dialogInfo, dialogName, pageUrl, dialogWidth, dialogHeight, parentWindow, resizable )
@@ -17,7 +33,7 @@
 
 	FCKFocusManager.Lock() ;
-	
+
 	var oReturn = 'B' ;
-	
+
 	try
 	{
@@ -25,7 +41,7 @@
 	}
 	catch( e ) {}
-	
+
 	if ( 'B' === oReturn )
-		alert( FCKLang.DialogBlocked ) ;	
+		alert( FCKLang.DialogBlocked ) ;
 
 	FCKFocusManager.Unlock() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdocumentprocessor.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdocumentprocessor.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdocumentprocessor.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Advanced document processors.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Advanced document processors.
+ */
 
 var FCKDocumentProcessor = new Object() ;
@@ -59,5 +74,5 @@
 					var oImg = FCKDocumentProcessor_CreateFakeImage( 'FCK__Anchor', oLink.cloneNode(true) ) ;
 					oImg.setAttribute( '_fckanchor', 'true', 0 ) ;
-					
+
 					oLink.parentNode.insertBefore( oImg, oLink ) ;
 					oLink.parentNode.removeChild( oLink ) ;
@@ -81,5 +96,5 @@
 		{
 			var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', eDIV.cloneNode(true) ) ;
-			
+
 			eDIV.parentNode.insertBefore( oFakeImage, eDIV ) ;
 			eDIV.parentNode.removeChild( eDIV ) ;
@@ -96,5 +111,5 @@
 		{
 			var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', oCenter.cloneNode(true) ) ;
-			
+
 			oCenter.parentNode.insertBefore( oFakeImage, oCenter ) ;
 			oCenter.parentNode.removeChild( oCenter ) ;
@@ -122,6 +137,6 @@
 		{
 			var oCloned = oEmbed.cloneNode( true ) ;
-			
-			// On IE, some properties are not getting clonned properly, so we 
+
+			// On IE, some properties are not getting clonned properly, so we
 			// must fix it. Thanks to Alfonso Martinez.
 			if ( FCKBrowserInfo.IsIE )
@@ -134,8 +149,8 @@
 				}
 			}
-		
+
 			var oImg = FCKDocumentProcessor_CreateFakeImage( 'FCK__Flash', oCloned ) ;
 			oImg.setAttribute( '_fckflash', 'true', 0 ) ;
-			
+
 			FCKFlashProcessor.RefreshView( oImg, oEmbed ) ;
 
@@ -154,5 +169,5 @@
 	if ( originalEmbed.width > 0 )
 		placholderImage.style.width = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.width ) ;
-		
+
 	if ( originalEmbed.height > 0 )
 		placholderImage.style.height = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.height ) ;
@@ -167,9 +182,9 @@
 		if ( fakeElement.style.width.length > 0 )
 				e.width = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.width ) ;
-		
+
 		if ( fakeElement.style.height.length > 0 )
 				e.height = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.height ) ;
 	}
-	
+
 	return e ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdomtools.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdomtools.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckdomtools.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Utility functions to work with the DOM.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Utility functions to work with the DOM.
+ */
 
 var FCKDomTools =
@@ -19,8 +35,8 @@
 
 	// Remove blank spaces from the beginning and the end of the contents of a node.
-	TrimNode : function( node )
+	TrimNode : function( node, ignoreEndBRs )
 	{
 		this.LTrimNode( node ) ;
-		this.RTrimNode( node ) ;
+		this.RTrimNode( node, ignoreEndBRs ) ;
 	},
 
@@ -28,5 +44,5 @@
 	{
 		var eChildNode ;
-		
+
 		while ( (eChildNode = node.firstChild) )
 		{
@@ -35,5 +51,5 @@
 				var sTrimmed = eChildNode.nodeValue.LTrim() ;
 				var iOriginalLength = eChildNode.nodeValue.length ;
-				
+
 				if ( sTrimmed.length == 0 )
 				{
@@ -51,5 +67,5 @@
 	},
 
-	RTrimNode : function( node )
+	RTrimNode : function( node, ignoreEndBRs )
 	{
 		var eChildNode ;
@@ -57,8 +73,8 @@
 		while ( (eChildNode = node.lastChild) )
 		{
-			switch ( eChildNode.nodeType ) 
+			switch ( eChildNode.nodeType )
 			{
 				case 1 :
-					if ( eChildNode.nodeName.toUpperCase() == 'BR' && eChildNode.hasAttribute('_moz_editor_bogus_node') )
+					if ( eChildNode.nodeName.toUpperCase() == 'BR' && ( ignoreEndBRs || eChildNode.getAttribute( 'type', 2 ) == '_moz' ) )
 					{
 						node.removeChild( eChildNode ) ;
@@ -66,18 +82,26 @@
 					}
 					break ;
-		
+
 				case 3 :
 					var sTrimmed = eChildNode.nodeValue.RTrim() ;
 					var iOriginalLength = eChildNode.nodeValue.length ;
-					
+
 					if ( sTrimmed.length == 0 )
 					{
-						node.removeChild( eChildNode ) ;
+						// If the trimmed text node is empty, just remove it.
+						
+						// Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#81).
+						eChildNode.parentNode.removeChild( eChildNode ) ;
 						continue ;
 					}
 					else if ( sTrimmed.length < iOriginalLength )
 					{
+						// If the trimmed text lenght is less than the original
+						// lenght, strip all spaces from the end by splitting
+						// the text and removing the resulting useless node.
+
 						eChildNode.splitText( sTrimmed.length ) ;
-						node.removeChild( node.lastChild ) ;
+						// Use "node.lastChild.parentNode" instead of "node" to avoid IE bug (#81).
+						node.lastChild.parentNode.removeChild( node.lastChild ) ;
 					}
 			}
@@ -104,5 +128,5 @@
 		if ( typeof ( childNames ) == 'string' )
 			childNames = [ childNames ] ;
-		
+
 		var eChild = node.firstChild ;
 		while( eChild )
@@ -110,8 +134,8 @@
 			if ( eChild.nodeType == 1 && eChild.tagName.Equals.apply( eChild.tagName, childNames ) )
 				return eChild ;
-			
+
 			eChild = eChild.nextSibling ;
-		} 
-		
+		}
+
 		return null ;
 	},
@@ -122,14 +146,14 @@
 		if ( typeof ( childNames ) == 'string' )
 			childNames = [ childNames ] ;
-		
+
 		var eChild = node.lastChild ;
 		while( eChild )
 		{
-			if ( eChild.nodeType == 1 && eChild.tagName.Equals( childNames ) )
+			if ( eChild.nodeType == 1 && ( !childNames || eChild.tagName.Equals( childNames ) ) )
 				return eChild ;
-			
+
 			eChild = eChild.previousSibling ;
-		} 
-		
+		}
+
 		return null ;
 	},
@@ -139,4 +163,7 @@
 	{
 		if ( !currentNode )
+			return null ;
+
+		if ( stopSearchElements && currentNode.nodeType == 1 && currentNode.nodeName.IEquals( stopSearchElements ) )
 			return null ;
 
@@ -145,5 +172,5 @@
 		else
 			return this.GetPreviousSourceElement( currentNode.parentNode, ignoreSpaceTextOnly, stopSearchElements, ignoreElements ) ;
-		
+
 		while ( currentNode )
 		{
@@ -164,5 +191,5 @@
 				return this.GetPreviousSourceElement( currentNode, ignoreSpaceTextOnly, stopSearchElements, ignoreElements ) ;
 		}
-		
+
 		return null ;
 	},
@@ -178,5 +205,5 @@
 		else
 			return this.GetNextSourceElement( currentNode.parentNode, ignoreSpaceTextOnly, stopSearchElements, ignoreElements ) ;
-		
+
 		while ( currentNode )
 		{
@@ -197,5 +224,5 @@
 				return this.GetNextSourceElement( currentNode, ignoreSpaceTextOnly, stopSearchElements, ignoreElements ) ;
 		}
-		
+
 		return null ;
 	},
@@ -204,11 +231,11 @@
 	InsertAfterNode : function( existingNode, newNode )
 	{
-		existingNode.parentNode.insertBefore( newNode, existingNode.nextSibling ) ;
-	},
-	
+		return existingNode.parentNode.insertBefore( newNode, existingNode.nextSibling ) ;
+	},
+
 	GetParents : function( node )
 	{
 		var parents = new Array() ;
-		
+
 		while ( node )
 		{
@@ -216,24 +243,24 @@
 			node = node.parentNode ;
 		}
-		
+
 		return parents ;
 	},
-	
+
 	GetIndexOf : function( node )
 	{
-		var currentNode = node.parentNode.firstChild ;
+		var currentNode = node.parentNode ? node.parentNode.firstChild : null ;
 		var currentIndex = -1 ;
-		
+
 		while ( currentNode )
 		{
 			currentIndex++ ;
-			
+
 			if ( currentNode == node )
 				return currentIndex ;
-				
+
 			currentNode = currentNode.nextSibling ;
 		}
-		
+
 		return -1 ;
 	}
-}
+} ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcklanguagemanager.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcklanguagemanager.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcklanguagemanager.js	(revision 141)
@@ -1,11 +1,27 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKLanguageManager object that is used for language 
-	operations.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKLanguageManager object that is used for language
+ * operations.
+ */
 
-var FCKLanguageManager = FCK.Language = 
+var FCKLanguageManager = FCK.Language =
 {
 	AvailableLanguages :
@@ -72,5 +88,5 @@
 		{
 			var sUserLang ;
-			
+
 			// IE accepts "navigator.userLanguage" while Gecko "navigator.language".
 			if ( navigator.userLanguage )
@@ -83,6 +99,6 @@
 				return FCKConfig.DefaultLanguage ;
 			}
-			
-			// Some language codes are set in 5 characters, 
+
+			// Some language codes are set in 5 characters,
 			// like "pt-br" for Brasilian Portuguese.
 			if ( sUserLang.length >= 5 )
@@ -91,6 +107,6 @@
 				if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;
 			}
-			
-			// If the user's browser is set to, for example, "pt-br" but only the 
+
+			// If the user's browser is set to, for example, "pt-br" but only the
 			// "pt" language file is available then get that file.
 			if ( sUserLang.length >= 2 )
@@ -100,5 +116,5 @@
 			}
 		}
-		
+
 		return this.DefaultLanguage ;
 	},
@@ -143,3 +159,3 @@
 		this.ActiveLanguage.Name = this.AvailableLanguages[ this.ActiveLanguage.Code ] ;
 	}
-}
+} ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcklisthandler.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcklisthandler.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcklisthandler.js	(revision 141)
@@ -1,26 +1,43 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Tool object to manage HTML lists items (UL, OL and LI).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Tool object to manage HTML lists items (UL, OL and LI).
+ */
 
-var FCKListHandler = 
+var FCKListHandler =
 {
 	OutdentListItem : function( listItem )
 	{
 		var eParent = listItem.parentNode ;
-		
+
 		// It may happen that a LI is not in a UL or OL (Orphan).
 		if ( eParent.tagName.toUpperCase().Equals( 'UL','OL' ) )
 		{
 			var oDocument = FCKTools.GetElementDocument( listItem ) ;
-			
+			var oDogFrag = new FCKDocumentFragment( oDocument ) ;
+
 			// All children and successive siblings will be moved to a a DocFrag.
-			var eNextSiblings = oDocument.createDocumentFragment() ;
+			var eNextSiblings = oDogFrag.RootNode ;
 			var eHasLiSibling = false ;
 
 			// If we have nested lists inside it, let's move it to the list of siblings.
-			var eChildList = FCKDomTools.GetFirstChild( listItem, ['UL','OL'] ) ;				
+			var eChildList = FCKDomTools.GetFirstChild( listItem, ['UL','OL'] ) ;
 			if ( eChildList )
 			{
@@ -31,8 +48,8 @@
 				while ( (eChild = eChildList.firstChild) )
 					eNextSiblings.appendChild( eChildList.removeChild( eChild ) ) ;
-				
+
 				FCKDomTools.RemoveNode( eChildList ) ;
 			}
-			
+
 			// Move all successive siblings.
 			var eSibling ;
@@ -43,12 +60,12 @@
 				if ( !eHasLiSibling && eSibling.nodeType == 1 && eSibling.nodeName.toUpperCase() == 'LI' )
 					eHasSuccessiveLiSibling = eHasLiSibling = true ;
-				
+
 				eNextSiblings.appendChild( eSibling.parentNode.removeChild( eSibling ) ) ;
-				
+
 				// If a sibling is a incorrectly nested UL or OL, consider only its children.
 				if ( !eHasSuccessiveLiSibling && eSibling.nodeType == 1 && eSibling.nodeName.toUpperCase().Equals( 'UL','OL' ) )
 					FCKDomTools.RemoveNode( eSibling, true ) ;
 			}
-			
+
 			// If we are in a list chain.
 			var sParentParentTag = eParent.parentNode.tagName.toUpperCase() ;
@@ -59,17 +76,17 @@
 				{
 					var eChildList = eParent.cloneNode( false ) ;
-					eChildList.appendChild( eNextSiblings ) ;
+					oDogFrag.AppendTo( eChildList ) ;
 					listItem.appendChild( eChildList ) ;
 				}
 				else if ( bWellNested )
-					FCKDomTools.InsertAfterNode( eParent.parentNode, eNextSiblings ) ;
+					oDogFrag.InsertAfterNode( eParent.parentNode ) ;
 				else
-					FCKDomTools.InsertAfterNode( eParent, eNextSiblings ) ;
-				
-				// Move the LI after its parent.parentNode (the upper LI in the hierarchi).
+					oDogFrag.InsertAfterNode( eParent ) ;
+
+				// Move the LI after its parent.parentNode (the upper LI in the hierarchy).
 				if ( bWellNested )
-					FCKDomTools.InsertAfterNode( eParent.parentNode, eParent.removeChild( listItem ) ) ;	
+					FCKDomTools.InsertAfterNode( eParent.parentNode, eParent.removeChild( listItem ) ) ;
 				else
-					FCKDomTools.InsertAfterNode( eParent, eParent.removeChild( listItem ) ) ;	
+					FCKDomTools.InsertAfterNode( eParent, eParent.removeChild( listItem ) ) ;
 			}
 			else
@@ -78,14 +95,12 @@
 				{
 					var eNextList = eParent.cloneNode( false ) ;
-					eNextList.appendChild( eNextSiblings ) ;
+					oDogFrag.AppendTo( eNextList ) ;
 					FCKDomTools.InsertAfterNode( eParent, eNextList ) ;
 				}
-				
+
 				var eBlock = oDocument.createElement( 'p' ) ;	// TODO: Get from configuration.
-				eBlock.appendChild( eParent.removeChild( listItem ) ) ;
-				FCKDomTools.RemoveNode( listItem, true ) ;
+				FCKDomTools.MoveChildren( eParent.removeChild( listItem ), eBlock ) ;
+				FCKDomTools.InsertAfterNode( eParent, eBlock ) ;
 
-				FCKDomTools.InsertAfterNode( eParent, eBlock ) ;
-				
 				listItem = eBlock ;
 			}
@@ -94,13 +109,13 @@
 				FCKDomTools.RemoveNode( eParent, true ) ;
 		}
-		
+
 		return listItem ;
 	},
-	
+
 	CheckEmptyList : function( listElement )
 	{
 		return ( FCKDomTools.GetFirstChild( listElement, 'LI' ) == null ) ;
 	},
-	
+
 	// Check if the list has contents (excluding nested lists).
 	CheckListHasContents : function( listElement )
@@ -110,5 +125,5 @@
 		while ( eChildNode )
 		{
-			switch ( eChildNode.nodeType ) 
+			switch ( eChildNode.nodeType )
 			{
 				case 1 :
@@ -116,10 +131,10 @@
 						return true ;
 					break ;
-		
+
 				case 3 :
 					if ( eChildNode.nodeValue.Trim().length > 0 )
 						return true ;
 			}
-			
+
 			eChildNode = eChildNode.nextSibling ;
 		}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckplugins.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckplugins.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckplugins.js	(revision 141)
@@ -1,13 +1,29 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKPlugins object that is responsible for loading the Plugins.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKPlugins object that is responsible for loading the Plugins.
+ */
 
 var FCKPlugins = FCK.Plugins = new Object() ;
 FCKPlugins.ItemsCount = 0 ;
 FCKPlugins.Items = new Object() ;
-	
+
 FCKPlugins.Load = function()
 {
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckregexlib.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckregexlib.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckregexlib.js	(revision 141)
@@ -1,12 +1,27 @@
-/* @Packager.Header
-<FileDescription>
-	These are some Regular Expresions used by the editor.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * These are some Regular Expresions used by the editor.
+ */
 
-var FCKRegexLib = {
-
+var FCKRegexLib =
+{
 // This is the Regular expression used by the SetHTML method for the "&apos;" entity.
 AposEntity		: /&apos;/gi ,
@@ -14,9 +29,4 @@
 // Used by the Styles combo to identify styles that can't be applied to text.
 ObjectElements	: /^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i ,
-
-BlockElements	: /^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TD|TH)$/i ,
-
-// Elements marked as empty "Empty" in the XHTML DTD.
-EmptyElements	: /^(?:BASE|META|LINK|HR|BR|PARAM|IMG|AREA|INPUT)$/i ,
 
 // List all named commands (commands that can be interpreted by the browser "execCommand" method.
@@ -74,4 +84,27 @@
 TagsWithEvent	: /<[^\>]+ on\w+[\s\r\n]*=[\s\r\n]*?('|")[\s\S]+?\>/g ,
 EventAttributes	: /\s(on\w+)[\s\r\n]*=[\s\r\n]*?('|")([\s\S]*?)\2/g,
-ProtectedEvents : /\s\w+_fckprotectedatt="([^"]+)"/g
-}
+ProtectedEvents : /\s\w+_fckprotectedatt="([^"]+)"/g,
+
+StyleProperties : /\S+\s*:/g
+} ;
+
+// Test have shown that check for the existence of a key in an object is the
+// most efficient list entry check (10x faster that regex). Example:
+//		if ( FCKListsLib.<ListName>[key] != null )
+var FCKListsLib =
+{
+	// We are not handling <ins> and <del> as block elements, for now.
+	BlockElements : { address:1,blockquote:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },
+
+	// Block elements that may be filled with &nbsp; if empty.
+	NonEmptyBlockElements : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },
+
+	// Elements that may be considered the "Block boundary" in an element path.
+	PathBlockElements : { address:1,blockquote:1,div:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1 },
+
+	// Inline elements which MUST have child nodes.
+	InlineChildReqElements : { abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strong:1,sub:1,sup:1,tt:1,'var':1 },
+
+	// Elements marked as empty "Empty" in the XHTML DTD.
+	EmptyElements : { base:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 }
+} ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Active selection functions.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Active selection functions.
+ */
 
 var FCKSelection = FCK.Selection = new Object() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Active selection functions. (Gecko specific implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Active selection functions. (Gecko specific implementation)
+ */
 
 // Get the selection type (like document.select.type in IE).
@@ -18,5 +34,5 @@
 		try { oSel = FCK.EditorWindow.getSelection() ; }
 		catch (e) {}
-		
+
 		if ( oSel && oSel.rangeCount == 1 )
 		{
@@ -76,5 +92,5 @@
 {
 	var oSel = FCK.EditorWindow.getSelection() ;
-	
+
 	if ( toStart == null || toStart === true )
 		oSel.collapseToStart() ;
@@ -113,5 +129,5 @@
 	while ( oContainer )
 	{
-		if ( oContainer.nodeName == nodeTagName ) 
+		if ( oContainer.nodeName == nodeTagName )
 			return oContainer ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckselection_ie.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Active selection functions. (IE specific implementation)
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Active selection functions. (IE specific implementation)
+ */
 
 // Get the selection type.
@@ -42,15 +58,15 @@
 	FCK.Focus() ;
 	FCK.EditorDocument.selection.empty() ;
-
-	try 
+	var oRange ;
+	try
 	{
 		// Try to select the node as a control.
-		var oRange = FCK.EditorDocument.body.createControlRange() ;
+		oRange = FCK.EditorDocument.body.createControlRange() ;
 		oRange.addElement( node ) ;
-	} 
-	catch(e) 
+	}
+	catch(e)
 	{
 		// If failed, select it as a text range.
-		var oRange = FCK.EditorDocument.selection.createRange() ;
+		oRange = FCK.EditorDocument.selection.createRange() ;
 		oRange.moveToElementText( node ) ;
 	}
@@ -97,5 +113,5 @@
 FCKSelection.MoveToAncestorNode = function( nodeTagName )
 {
-	var oNode ;
+	var oNode, oRange ;
 
 	if ( ! FCK.EditorDocument )
@@ -104,5 +120,5 @@
 	if ( FCK.EditorDocument.selection.type == "Control" )
 	{
-		var oRange = FCK.EditorDocument.selection.createRange() ;
+		oRange = FCK.EditorDocument.selection.createRange() ;
 		for ( i = 0 ; i < oRange.length ; i++ )
 		{
@@ -116,5 +132,5 @@
 	else
 	{
-		var oRange  = FCK.EditorDocument.selection.createRange() ;
+		oRange  = FCK.EditorDocument.selection.createRange() ;
 		oNode = oRange.parentElement() ;
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Manage table operations.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Manage table operations.
+ */
 
 var FCKTableHandler = new Object() ;
@@ -10,14 +26,14 @@
 FCKTableHandler.InsertRow = function()
 {
-	// Get the row where the selection is placed in.	
+	// Get the row where the selection is placed in.
 	var oRow = FCKSelection.MoveToAncestorNode( 'TR' ) ;
 	if ( !oRow ) return ;
-	
+
 	// Create a clone of the row.
 	var oNewRow = oRow.cloneNode( true ) ;
-	
+
 	// Insert the new row (copy) before of it.
 	oRow.parentNode.insertBefore( oNewRow, oRow ) ;
-	
+
 	// Clean the row (it seems that the new row has been added after it).
 	FCKTableHandler.ClearRow( oRow ) ;
@@ -27,19 +43,19 @@
 {
 	// If no row has been passed as a parameter,
-	// then get the row where the selection is placed in.	
+	// then get the row where the selection is placed in.
 	if ( !row )
 		row = FCKSelection.MoveToAncestorNode( 'TR' ) ;
 	if ( !row ) return ;
-	
-	// Get the row's table.	
+
+	// Get the row's table.
 	var oTable = FCKTools.GetElementAscensor( row, 'TABLE' ) ;
-	
+
 	// If just one row is available then delete the entire table.
-	if ( oTable.rows.length == 1 ) 
+	if ( oTable.rows.length == 1 )
 	{
 		FCKTableHandler.DeleteTable( oTable ) ;
 		return ;
 	}
-		
+
 	// Delete the row.
 	row.parentNode.removeChild( row ) ;
@@ -49,5 +65,5 @@
 {
 	// If no table has been passed as a parameer,
-	// then get the table where the selection is placed in.	
+	// then get the table where the selection is placed in.
 	if ( !table )
 	{
@@ -70,5 +86,5 @@
 
 	if ( !oCell ) return ;
-	
+
 	// Get the cell's table.
 	var oTable = FCKTools.GetElementAscensor( oCell, 'TABLE' ) ;
@@ -82,14 +98,14 @@
 		// Get the row.
 		var oRow = oTable.rows[i] ;
-	
+
 		// If the row doens't have enought cells, ignore it.
 		if ( oRow.cells.length < iIndex )
 			continue ;
-		
+
 		oCell = oRow.cells[iIndex-1].cloneNode(false) ;
-		
+
 		if ( FCKBrowserInfo.IsGecko )
 			oCell.innerHTML = GECKO_BOGUS ;
-		
+
 		// Get the cell that is placed in the new cell place.
 		var oBaseCell = oRow.cells[iIndex] ;
@@ -107,13 +123,13 @@
 	// Get the cell where the selection is placed in.
 	var oCell = FCKSelection.MoveToAncestorNode('TD') || FCKSelection.MoveToAncestorNode('TH') ;
-	
+
 	if ( !oCell ) return ;
-	
-	// Get the cell's table.	
+
+	// Get the cell's table.
 	var oTable = FCKTools.GetElementAscensor( oCell, 'TABLE' ) ;
 
 	// Get the cell index.
 	var iIndex = oCell.cellIndex ;
-	
+
 	// Loop throw all rows (from down to up, because it's possible that some
 	// rows will be deleted).
@@ -122,5 +138,5 @@
 		// Get the row.
 		var oRow = oTable.rows[i] ;
-		
+
 		// If the cell to be removed is the first one and the row has just one cell.
 		if ( iIndex == 0 && oRow.cells.length == 1 )
@@ -130,5 +146,5 @@
 			continue ;
 		}
-		
+
 		// If the cell to be removed exists the delete it.
 		if ( oRow.cells[iIndex] )
@@ -160,5 +176,5 @@
 		oCell.parentNode.insertBefore( oNewCell, oCell.nextSibling ) ;
 	}
-	
+
 	return oNewCell ;
 }
@@ -173,5 +189,5 @@
 		return ;
 	}
-		
+
 	// Delete the cell from the row.
 	cell.parentNode.removeChild( cell ) ;
@@ -181,5 +197,5 @@
 {
 	var aCells = FCKTableHandler.GetSelectedCells() ;
-	
+
 	for ( var i = aCells.length - 1 ; i >= 0  ; i-- )
 	{
@@ -192,9 +208,9 @@
 	// Get all selected cells.
 	var aCells = FCKTableHandler.GetSelectedCells() ;
-	
+
 	// At least 2 cells must be selected.
 	if ( aCells.length < 2 )
 		return ;
-		
+
 	// The merge can occour only if the selected cells are from the same row.
 	if ( aCells[0].parentNode != aCells[aCells.length-1].parentNode )
@@ -206,20 +222,20 @@
 	var sHtml = '' ;
 	var oCellsContents = FCK.EditorDocument.createDocumentFragment() ;
-	
+
 	for ( var i = aCells.length - 1 ; i >= 0 ; i-- )
 	{
 		var eCell = aCells[i] ;
-		
+
 		// Move its contents to the document fragment.
 		for ( var c = eCell.childNodes.length - 1 ; c >= 0 ; c-- )
 		{
 			var eChild = eCell.removeChild( eCell.childNodes[c] ) ;
-	
+
 			if ( ( eChild.hasAttribute && eChild.hasAttribute('_moz_editor_bogus_node') ) || ( eChild.getAttribute && eChild.getAttribute( 'type', 2 ) == '_moz' ) )
 				continue ;
-			
+
 				oCellsContents.insertBefore( eChild, oCellsContents.firstChild ) ;
 		}
-		
+
 		if ( i > 0 )
 		{
@@ -231,8 +247,8 @@
 		}
 	}
-	
+
 	// Set the innerHTML of the remaining cell (the first one).
 	aCells[0].colSpan = iColSpan ;
-	
+
 	if ( FCKBrowserInfo.IsGecko && oCellsContents.childNodes.length == 0 )
 		aCells[0].innerHTML = GECKO_BOGUS ;
@@ -247,10 +263,10 @@
 	if ( aCells.length != 1 )
 		return ;
-	
+
 	var aMap = this._CreateTableMap( aCells[0].parentNode.parentNode ) ;
 	var iCellIndex = FCKTableHandler._GetCellIndexSpan( aMap, aCells[0].parentNode.rowIndex , aCells[0] ) ;
-		
+
 	var aCollCells = this._GetCollumnCells( aMap, iCellIndex ) ;
-	
+
 	for ( var i = 0 ; i < aCollCells.length ; i++ )
 	{
@@ -276,7 +292,7 @@
 	if ( tableMap.length < rowIndex + 1 )
 		return null ;
-	
+
 	var oRow = tableMap[ rowIndex ] ;
-	
+
 	for ( var c = 0 ; c < oRow.length ; c++ )
 	{
@@ -284,5 +300,5 @@
 			return c ;
 	}
-	
+
 	return null ;
 }
@@ -299,5 +315,5 @@
 			aCollCells[ aCollCells.length ] = oCell ;
 	}
-	
+
 	return aCollCells ;
 }
@@ -312,10 +328,10 @@
 {
 	var aRows = table.rows ;
-	
+
 	// Row and Collumn counters.
 	var r = -1 ;
-	
+
 	var aMap = new Array() ;
-	
+
 	for ( var i = 0 ; i < aRows.length ; i++ )
 	{
@@ -323,15 +339,15 @@
 		if ( !aMap[r] )
 			aMap[r] = new Array() ;
-		
+
 		var c = -1 ;
-		
+
 		for ( var j = 0 ; j < aRows[i].cells.length ; j++ )
 		{
 			var oCell = aRows[i].cells[j] ;
-		
+
 			c++ ;
 			while ( aMap[r][c] )
 				c++ ;
-			
+
 			var iColSpan = isNaN( oCell.colSpan ) ? 1 : oCell.colSpan ;
 			var iRowSpan = isNaN( oCell.rowSpan ) ? 1 : oCell.rowSpan ;
@@ -341,5 +357,5 @@
 				if ( !aMap[r + rs] )
 					aMap[r + rs] = new Array() ;
-					
+
 				for ( var cs = 0 ; cs < iColSpan ; cs++ )
 				{
@@ -347,5 +363,5 @@
 				}
 			}
-			
+
 			c += iColSpan - 1 ;
 		}
@@ -360,5 +376,5 @@
 
 	// Replace the contents of each cell with "nothing".
-	for ( var i = 0 ; i < aCells.length ; i++ ) 
+	for ( var i = 0 ; i < aCells.length ; i++ )
 	{
 		if ( FCKBrowserInfo.IsGecko )
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Manage table operations (IE specific).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Manage table operations (IE specific).
+ */
 
 FCKTableHandler.GetSelectedCells = function()
@@ -16,10 +32,10 @@
 	{
 		var oParent = FCKTools.GetElementAscensor( oSelection.anchorNode, 'TD,TH' ) ;
-		
+
 		if ( oParent )
 		{
 			aCells[0] = oParent ;
 			return aCells ;
-		}	
+		}
 	}
 
@@ -28,10 +44,10 @@
 		var oRange = oSelection.getRangeAt(i) ;
 		var oCell ;
-		
+
 		if ( oRange.startContainer.tagName.Equals( 'TD', 'TH' ) )
 			oCell = oRange.startContainer ;
 		else
 			oCell = oRange.startContainer.childNodes[ oRange.startOffset ] ;
-		
+
 		if ( oCell.tagName.Equals( 'TD', 'TH' ) )
 			aCells[aCells.length] = oCell ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktablehandler_ie.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Manage table operations (IE specific).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Manage table operations (IE specific).
+ */
 
 FCKTableHandler.GetSelectedCells = function()
@@ -13,11 +29,11 @@
 //	var oParent = oRange.parentElement() ;
 	var oParent = FCKSelection.GetParentElement() ;
-	
+
 	if ( oParent && oParent.tagName.Equals( 'TD', 'TH' ) )
 		aCells[0] = oParent ;
 	else
 	{
-		var oParent = FCKSelection.MoveToAncestorNode( "TABLE" ) ;
-		
+		oParent = FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
+
 		if ( oParent )
 		{
@@ -28,6 +44,6 @@
 				var oCellRange = FCK.EditorDocument.selection.createRange() ;
 				oCellRange.moveToElementText( oParent.cells[i] ) ;
-				
-				if ( oRange.inRange( oCellRange ) 
+
+				if ( oRange.inRange( oCellRange )
 					|| ( oRange.compareEndPoints('StartToStart',oCellRange) >= 0 &&  oRange.compareEndPoints('StartToEnd',oCellRange) <= 0 )
 					|| ( oRange.compareEndPoints('EndToStart',oCellRange) >= 0 &&  oRange.compareEndPoints('EndToEnd',oCellRange) <= 0 ) )
@@ -38,5 +54,5 @@
 		}
 	}
-	
+
 	return aCells ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktoolbaritems.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktoolbaritems.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktoolbaritems.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Toolbar items definitions.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Toolbar items definitions.
+ */
 
 var FCKToolbarItems = new Object() ;
@@ -66,5 +82,4 @@
 		case 'Smiley'			: oItem = new FCKToolbarButton( 'Smiley'		, FCKLang.InsertSmileyLbl, FCKLang.InsertSmiley, null, false, true, 41 ) ; break ;
 		case 'PageBreak'		: oItem = new FCKToolbarButton( 'PageBreak'		, FCKLang.PageBreakLbl, FCKLang.PageBreak, null, false, true, 43 ) ; break ;
-		case 'UniversalKey'		: oItem = new FCKToolbarButton( 'UniversalKey'	, FCKLang.UniversalKeyboard , null, null, false, true, 44) ; break ;
 
 		case 'Rule'				: oItem = new FCKToolbarButton( 'InsertHorizontalRule', FCKLang.InsertLineLbl, FCKLang.InsertLine, null, false, true, 40 ) ; break ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktoolbarset.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktoolbarset.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktoolbarset.js	(revision 141)
@@ -1,14 +1,30 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKToolbarSet object that is used to load and draw the 
-	toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKToolbarSet object that is used to load and draw the
+ * toolbar.
+ */
 
 function FCKToolbarSet_Create( overhideLocation )
 {
 	var oToolbarSet ;
-	
+
 	var sLocation = overhideLocation || FCKConfig.ToolbarLocation ;
 	switch ( sLocation )
@@ -18,8 +34,8 @@
 				oToolbarSet = new FCKToolbarSet( document ) ;
 			break ;
-			
+
 //		case 'OutTop' :
 			// Not supported.
-			
+
 		default :
 			FCK.Events.AttachEvent( 'OnBlur', FCK_OnBlur ) ;
@@ -27,5 +43,5 @@
 
 			var eToolbarTarget ;
-			
+
 			// Out:[TargetWindow]([TargetId])
 			var oOutMatch = sLocation.match( /^Out:(.+)\((\w+)\)$/ ) ;
@@ -41,5 +57,5 @@
 					eToolbarTarget = parent.document.getElementById( oOutMatch[1] ) ;
 			}
-			
+
 			if ( !eToolbarTarget )
 			{
@@ -47,5 +63,5 @@
 				return this._Init( 'In' ) ;
 			}
-			
+
 			// If it is a shared toolbar, it may be already available in the target element.
 			oToolbarSet = eToolbarTarget.__FCKToolbarSet ;
@@ -60,5 +76,5 @@
 			eToolbarTarget.appendChild( eToolbarIFrame ) ;
 			eToolbarIFrame.unselectable = 'on' ;
-			
+
 			// Write the basic HTML for the toolbar (copy from the editor main page).
 			var eTargetDocument = eToolbarIFrame.contentWindow.document ;
@@ -66,5 +82,5 @@
 			eTargetDocument.write( '<html><head><script type="text/javascript"> window.onload = window.onresize = function() { window.frameElement.height = document.body.scrollHeight ; } </script></head><body style="overflow: hidden">' + document.getElementById( 'xToolbarSpace' ).innerHTML + '</body></html>' ) ;
 			eTargetDocument.close() ;
-			
+
 			eTargetDocument.oncontextmenu = FCKTools.CancelEvent ;
 
@@ -72,5 +88,5 @@
 			// have the document DOM ready to be used right away.
 			FCKTools.AppendStyleSheet( eTargetDocument, FCKConfig.SkinPath + 'fck_editor.css' ) ;
-			
+
 			oToolbarSet = eToolbarTarget.__FCKToolbarSet = new FCKToolbarSet( eTargetDocument ) ;
 			oToolbarSet._IFrame = eToolbarIFrame ;
@@ -79,5 +95,5 @@
 				FCK.IECleanup.AddItem( eToolbarTarget, FCKToolbarSet_Target_Cleanup ) ;
 	}
-	
+
 	oToolbarSet.CurrentInstance = FCK ;
 
@@ -90,5 +106,5 @@
 {
 	var eToolbarSet = editorInstance.ToolbarSet ;
-	
+
 	if ( eToolbarSet.CurrentInstance == editorInstance )
 		eToolbarSet.Disable() ;
@@ -99,11 +115,11 @@
 	var oToolbarset = editorInstance.ToolbarSet ;
 	var oInstance = editorInstance || FCK ;
-	
+
 	// Unregister the toolbar window from the current instance.
 	oToolbarset.CurrentInstance.FocusManager.RemoveWindow( oToolbarset._IFrame.contentWindow ) ;
-	
+
 	// Set the new current instance.
 	oToolbarset.CurrentInstance = oInstance ;
-	
+
 	// Register the toolbar window in the current instance.
 	oInstance.FocusManager.AddWindow( oToolbarset._IFrame.contentWindow, true ) ;
@@ -125,9 +141,9 @@
 var FCKToolbarSet = function( targetDocument )
 {
-	this._Document = targetDocument ; 
+	this._Document = targetDocument ;
 
 	// Get the element that will hold the elements structure.
 	this._TargetElement	= targetDocument.getElementById( 'xToolbar' ) ;
-	
+
 	// Setup the expand and collapse handlers.
 	var eExpandHandle	= targetDocument.getElementById( 'xExpandHandle' ) ;
@@ -136,5 +152,5 @@
 	eExpandHandle.title		= FCKLang.ToolbarExpand ;
 	eExpandHandle.onclick	= FCKToolbarSet_Expand_OnClick ;
-	
+
 	eCollapseHandle.title	= FCKLang.ToolbarCollapse ;
 	eCollapseHandle.onclick	= FCKToolbarSet_Collapse_OnClick ;
@@ -153,5 +169,5 @@
 	else
 		targetDocument.getElementById( 'xTBLeftBorder' ).style.display = '' ;
-		
+
 	// Set the default properties.
 	this.Toolbars = new Array() ;
@@ -186,5 +202,5 @@
 	this._Document.getElementById( 'xCollapsed' ).style.display = collapse ? '' : 'none' ;
 	this._Document.getElementById( 'xExpanded' ).style.display = collapse ? 'none' : '' ;
-	
+
 	if ( FCKBrowserInfo.IsGecko )
 	{
@@ -200,5 +216,5 @@
 
 	this.Items = new Array() ;
-	
+
 	// Reset the array of toolbat items that are active only on WYSIWYG mode.
 	this.ItemsWysiwygOnly = new Array() ;
@@ -206,10 +222,10 @@
 	// Reset the array of toolbar items that are sensitive to the cursor position.
 	this.ItemsContextSensitive = new Array() ;
-	
+
 	// Cleanup the target element.
 	this._TargetElement.innerHTML = '' ;
-	
+
 	var ToolbarSet = FCKConfig.ToolbarSets[toolbarSetName] ;
-	
+
 	if ( !ToolbarSet )
 	{
@@ -217,13 +233,13 @@
 		return ;
 	}
-	
+
 	this.Toolbars = new Array() ;
-	
-	for ( var x = 0 ; x < ToolbarSet.length ; x++ ) 
+
+	for ( var x = 0 ; x < ToolbarSet.length ; x++ )
 	{
 		var oToolbarItems = ToolbarSet[x] ;
-		
+
 		var oToolbar ;
-		
+
 		if ( typeof( oToolbarItems ) == 'string' )
 		{
@@ -234,9 +250,9 @@
 		{
 			oToolbar = new FCKToolbar() ;
-			
-			for ( var j = 0 ; j < oToolbarItems.length ; j++ ) 
+
+			for ( var j = 0 ; j < oToolbarItems.length ; j++ )
 			{
 				var sItem = oToolbarItems[j] ;
-				
+
 				if ( sItem == '-')
 					oToolbar.AddSeparator() ;
@@ -252,5 +268,5 @@
 						if ( !oItem.SourceView )
 							this.ItemsWysiwygOnly.push( oItem ) ;
-						
+
 						if ( oItem.ContextSensitive )
 							this.ItemsContextSensitive.push( oItem ) ;
@@ -258,13 +274,13 @@
 				}
 			}
-			
+
 			// oToolbar.AddTerminator() ;
 		}
-		
+
 		oToolbar.Create( this._TargetElement ) ;
 
 		this.Toolbars[ this.Toolbars.length ] = oToolbar ;
 	}
-	
+
 	FCKTools.DisableSelection( this._Document.getElementById( 'xCollapseHandle' ).parentNode ) ;
 
@@ -311,5 +327,5 @@
 	var oToolbarSet = editorInstance ? editorInstance.ToolbarSet : this ;
 	var aItems = oToolbarSet.ItemsWysiwygOnly ;
-	
+
 	if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
 	{
@@ -327,7 +343,7 @@
 
 		// Disable all buttons that are available on WYSIWYG mode only.
-		for ( var i = 0 ; i < aItems.length ; i++ )
-			aItems[i].Disable() ;
-	}	
+		for ( var j = 0 ; j < aItems.length ; j++ )
+			aItems[j].Disable() ;
+	}
 }
 
@@ -335,7 +351,7 @@
 {
 //	FCKDebug.Output( 'Refreshing Commands...' ) ;	// @Packager.RemoveLine
-	
+
 	var aItems = ( editorInstance ? editorInstance.ToolbarSet : this ).ItemsContextSensitive ;
-	
+
 	for ( var i = 0 ; i < aItems.length ; i++ )
 		aItems[i].RefreshState() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Utility functions.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Utility functions.
+ */
 
 // Constant for the Gecko Bogus Node.
@@ -52,16 +68,16 @@
 	if ( FCKBrowserInfo.IsSafari && !document.parentWindow )
 		this.FixDocumentParentWindow( window.top ) ;
-	
+
 	return document.parentWindow || document.defaultView ;
 }
 
 /*
-	This is a Safari specific function that fix the reference to the parent 
+	This is a Safari specific function that fix the reference to the parent
 	window from the document object.
 */
 FCKTools.FixDocumentParentWindow = function( targetWindow )
 {
-	targetWindow.document.parentWindow = targetWindow ; 
-	
+	targetWindow.document.parentWindow = targetWindow ;
+
 	for ( var i = 0 ; i < targetWindow.frames.length ; i++ )
 		FCKTools.FixDocumentParentWindow( targetWindow.frames[i] ) ;
@@ -88,5 +104,5 @@
 
 	oOption.text	= optionText ;
-	oOption.value	= optionValue ;	
+	oOption.value	= optionValue ;
 
 	selectElement.options.add(oOption) ;
@@ -103,5 +119,5 @@
 FCKTools.SetTimeout = function( func, milliseconds, thisObject, paramsArray, timerWindow )
 {
-	return ( timerWindow || window ).setTimeout( 
+	return ( timerWindow || window ).setTimeout(
 		function()
 		{
@@ -116,5 +132,5 @@
 FCKTools.SetInterval = function( func, milliseconds, thisObject, paramsArray, timerWindow )
 {
-	return ( timerWindow || window ).setInterval( 
+	return ( timerWindow || window ).setInterval(
 		function()
 		{
@@ -126,5 +142,5 @@
 FCKTools.ConvertStyleSizeToHtml = function( size )
 {
-	return size.EndsWith( '%' ) ? size : parseInt( size ) ;
+	return size.EndsWith( '%' ) ? size : parseInt( size, 10 ) ;
 }
 
@@ -159,10 +175,10 @@
 	{
 		var aAllParams = [] ;
-		
+
 		for ( var i = 0 ; i < arguments.length ; i++ )
 			aAllParams.push( arguments[i] ) ;
 
 		func.apply( this, aAllParams.concat( params ) ) ;
-	} 
+	}
 
 	return f ;
@@ -181,7 +197,7 @@
 	startIndex = startIndex || 0 ;
 	maxLength = maxLength || args.length ;
-	
+
 	var argsArray = new Array() ;
-	
+
 	for ( var i = startIndex ; i < startIndex + maxLength && i < args.length ; i++ )
 		argsArray.push( args[i] ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Utility functions. (Gecko version).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Utility functions. (Gecko version).
+ */
 
 FCKTools.CancelEvent = function( e )
@@ -15,5 +31,5 @@
 {
 	if ( FCKBrowserInfo.IsGecko )
-		element.style.MozUserSelect	= 'none' ;	// Gecko only.	
+		element.style.MozUserSelect	= 'none' ;	// Gecko only.
 	else
 		element.style.userSelect	= 'none' ;	// CSS3 (not supported yet).
@@ -47,5 +63,5 @@
 	// Create the array that will hold all Ids.
 	var aIds = new Array() ;
-	
+
 	// Define a recursive function that search for the Ids.
 	var fGetIds = function( parent )
@@ -54,13 +70,13 @@
 		{
 			var sId = parent.childNodes[i].id ;
-			
+
 			// Check if the Id is defined for the element.
 			if ( sId && sId.length > 0 ) aIds[ aIds.length ] = sId ;
-			
+
 			// Recursive call.
 			fGetIds( parent.childNodes[i] ) ;
 		}
 	}
-	
+
 	// Start the recursive calls.
 	fGetIds( parentElement ) ;
@@ -74,8 +90,8 @@
 {
 	var oFragment = e.ownerDocument.createDocumentFragment() ;
-			
+
 	for ( var i = 0 ; i < e.childNodes.length ; i++ )
 		oFragment.appendChild( e.childNodes[i].cloneNode(true) ) ;
-			
+
 	e.parentNode.replaceChild( oFragment, e ) ;
 }
@@ -111,11 +127,11 @@
 FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, paramsArray )
 {
-	sourceObject.addEventListener( 
-		eventName, 
+	sourceObject.addEventListener(
+		eventName,
 		function( e )
 		{
 			listener.apply( sourceObject, [ e ].concat( paramsArray || [] ) ) ;
 		},
-		false 
+		false
 	) ;
 }
@@ -130,5 +146,5 @@
 {
 	var oSavedStyles = new Object() ;
-	
+
 	if ( element.className.length > 0 )
 	{
@@ -160,6 +176,6 @@
 FCKTools.RegisterDollarFunction = function( targetWindow )
 {
-	targetWindow.$ = function( id ) 
-	{ 
+	targetWindow.$ = function( id )
+	{
 		return this.document.getElementById( id ) ;
 	} ;
@@ -178,5 +194,5 @@
 	// Initializes the Coordinates object that will be returned by the function.
 	var c = { X:0, Y:0 } ;
-	
+
 	var oWindow = relativeWindow || window ;
 
@@ -190,5 +206,5 @@
 		// Check for non "static" elements.
 		// 'FCKConfig.FloatingPanelsZIndex' -- Submenus are under a positioned IFRAME.
-		if ( sPosition && sPosition != 'static' && el.style.zIndex != FCKConfig.FloatingPanelsZIndex ) 
+		if ( sPosition && sPosition != 'static' && el.style.zIndex != FCKConfig.FloatingPanelsZIndex )
 			break ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fcktools_ie.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Utility functions. (IE version).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Utility functions. (IE version).
+ */
 
 FCKTools.CancelEvent = function( e )
@@ -44,5 +60,5 @@
 {
 	var aObjs ;
-	
+
 	switch ( object )
 	{
@@ -50,5 +66,5 @@
 			aObjs = [ 'MSXML2.XmlHttp', 'Microsoft.XmlHttp' ] ;
 			break ;
-				
+
 		case 'DOMDocument' :
 			aObjs = [ 'MSXML2.DOMDocument', 'Microsoft.XmlDom' ] ;
@@ -59,8 +75,8 @@
 	{
 		try { return new ActiveXObject( aObjs[i] ) ; }
-		catch (e) 
+		catch (e)
 		{}
 	}
-	
+
 	if ( FCKLang.NoActiveX )
 	{
@@ -99,5 +115,5 @@
 	// Try with the doc element.
 	var oPos = { X : oDoc.documentElement.scrollLeft, Y : oDoc.documentElement.scrollTop } ;
-	
+
 	if ( oPos.X > 0 || oPos.Y > 0 )
 		return oPos ;
@@ -130,8 +146,8 @@
 		return listener.apply( o.Source, [ ev ].concat( o.Params ) ) ;
 	}
-	
+
 	if ( FCK.IECleanup )
 		FCK.IECleanup.AddItem( null, function() { o.Source = null ; o.Params = null ; } ) ;
-	
+
 	sourceObject.attachEvent( 'on' + eventName, o.Listener ) ;
 
@@ -144,5 +160,5 @@
 {
 	var oSizeSource ;
-	
+
 	var oDoc = win.document.documentElement ;
 	if ( oDoc && oDoc.clientWidth )				// IE6 Strict Mode
@@ -150,5 +166,5 @@
 	else
 		oSizeSource = top.document.body ;		// Other IEs
-	
+
 	if ( oSizeSource )
 		return { Width : oSizeSource.clientWidth, Height : oSizeSource.clientHeight } ;
@@ -160,5 +176,5 @@
 {
 	var oSavedStyles = new Object() ;
-	
+
 	if ( element.className.length > 0 )
 	{
@@ -174,5 +190,5 @@
 		element.style.cssText = '' ;
 	}
-	
+
 	return oSavedStyles ;
 }
@@ -193,2 +209,8 @@
 	return target.appendChild( this.GetElementDocument( target ).createElement( elementName ) ) ;
 }
+
+// This function may be used by Regex replacements.
+FCKTools.ToLowerCase = function( strValue )
+{
+	return strValue.toLowerCase() ;
+}
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckundo_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckundo_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckundo_gecko.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Fake implementation to ignore calls on Gecko.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Fake implementation to ignore calls on Gecko.
+ */
 
 var FCKUndo = new Object() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckundo_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckundo_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckundo_ie.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	IE specific implementation for the Undo/Redo system.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * IE specific implementation for the Undo/Redo system.
+ */
 
 var FCKUndo = new Object() ;
@@ -88,5 +104,5 @@
 {
 	var oData = FCKUndo.SavedData[ level ] ;
-	
+
 	if ( !oData )
 		return ;
@@ -96,5 +112,5 @@
 //	FCK.EditorDocument.body.innerHTML = oData[0] ;
 
-	if ( oData[1] ) 
+	if ( oData[1] )
 	{
 		var oRange = FCK.EditorDocument.selection.createRange() ;
@@ -102,6 +118,6 @@
 		oRange.select() ;
 	}
-	
-	FCKUndo.TypesCount = 0 ; 
+
+	FCKUndo.TypesCount = 0 ;
 	FCKUndo.Typing = false ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckurlparams.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckurlparams.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckurlparams.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKURLParams object that is used to get all parameters
-	passed by the URL QueryString (after the "?").
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKURLParams object that is used to get all parameters
+ * passed by the URL QueryString (after the "?").
+ */
 
 // #### URLParams: holds all URL passed parameters (like ?Param1=Value1&Param2=Value2)
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml.js	(revision 141)
@@ -1,9 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKXHtml object, responsible for the XHTML operations.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKXHtml object, responsible for the XHTML operations.
+ */
 
 var FCKXHtml = new Object() ;
@@ -14,9 +29,9 @@
 {
 	FCKXHtmlEntities.Initialize() ;
-	
+
 	// Save the current IsDirty state. The XHTML processor may change the
 	// original HTML, dirtying it.
 	var bIsDirty = FCK.IsDirty() ;
-	
+
 	this._CreateNode = FCKConfig.ForceStrongEm ? FCKXHtml_CreateNode_StrongEm : FCKXHtml_CreateNode_Normal ;
 
@@ -42,9 +57,11 @@
 
 	this.XML = null ;
-	
+
 	// Strip the "XHTML" root node.
 	sXHTML = sXHTML.substr( 7, sXHTML.length - 15 ).Trim() ;
-	
+
 	// Remove the trailing <br> added by Gecko.
+	// REMOVE: Maybe the following is not anymore necessary because a similar
+	// check is made on _AppendNode
 	if ( FCKBrowserInfo.IsGecko )
 		sXHTML = sXHTML.replace( /<br\/>$/, '' ) ;
@@ -65,5 +82,5 @@
 		sXHTML = sXHTML.replace( oRegex, FCKXHtml.SpecialBlocks[i] ) ;
 	}
-	
+
 	// Replace entities marker with the ampersand.
 	sXHTML = sXHTML.replace( FCKRegexLib.GeckoEntitiesMarker, '&' ) ;
@@ -73,5 +90,5 @@
 		FCK.ResetIsDirty() ;
 
-	return sXHTML
+	return sXHTML ;
 }
 
@@ -80,5 +97,5 @@
 	try
 	{
-		if ( !attributeValue )
+		if ( attributeValue == undefined || attributeValue == null )
 			attributeValue = '' ;
 		else if ( attributeValue.replace )
@@ -86,9 +103,9 @@
 			if ( FCKConfig.ForceSimpleAmpersand )
 				attributeValue = attributeValue.replace( /&/g, '___FCKAmp___' ) ;
-			
+
 			// Entities must be replaced in the attribute values.
 			attributeValue = attributeValue.replace( FCKXHtmlEntities.EntitiesRegex, FCKXHtml_GetEntity ) ;
 		}
-		
+
 		// Create the attribute.
 		var oXmlAtt = this.XML.createAttribute( attributeName ) ;
@@ -104,6 +121,11 @@
 FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement )
 {
+	// Trim block elements. This is also needed to avoid Firefox leaving extra
+	// BRs at the end of them (check made inside _AppendNode).
+	if ( isBlockElement )
+		FCKDomTools.TrimNode( htmlNode ) ;
+
 	var iCount = 0 ;
-	
+
 	var oNode = htmlNode.firstChild ;
 
@@ -115,5 +137,5 @@
 		oNode = oNode.nextSibling ;
 	}
-	
+
 	if ( iCount == 0 )
 	{
@@ -121,12 +143,20 @@
 		{
 			this._AppendEntity( xmlNode, 'nbsp' ) ;
-			return ;
+			return xmlNode ;
 		}
+
+		var sNodeName = xmlNode.nodeName ;
+
+		// Some inline elements are required to have something inside (span, strong, etc...).
+		if ( FCKListsLib.InlineChildReqElements[ sNodeName ] )
+			return null ;
 
 		// We can't use short representation of empty elements that are not marked
 		// as empty in th XHTML DTD.
-		if ( !FCKRegexLib.EmptyElements.test( xmlNode.nodeName ) )
+		if ( !FCKListsLib.EmptyElements[ sNodeName ] )
 			xmlNode.appendChild( this.XML.createTextNode('') ) ;
 	}
+
+	return xmlNode ;
 }
 
@@ -141,14 +171,14 @@
 		case 1 :
 
-			// Here we found an element that is not the real element, but a 
+			// Here we found an element that is not the real element, but a
 			// fake one (like the Flash placeholder image), so we must get the real one.
 			if ( htmlNode.getAttribute('_fckfakelement') )
 				return FCKXHtml._AppendNode( xmlNode, FCK.GetRealElement( htmlNode ) ) ;
-		
+
 			// Mozilla insert custom nodes in the DOM.
 			if ( FCKBrowserInfo.IsGecko && htmlNode.hasAttribute('_moz_editor_bogus_node') )
 				return false ;
-			
-			// This is for elements that are instrumental to FCKeditor and 
+
+			// This is for elements that are instrumental to FCKeditor and
 			// must be removed from the final HTML.
 			if ( htmlNode.getAttribute('_fcktemp') )
@@ -157,5 +187,5 @@
 			// Get the element name.
 			var sNodeName = htmlNode.tagName.toLowerCase()  ;
-			
+
 			if ( FCKBrowserInfo.IsIE )
 			{
@@ -176,5 +206,6 @@
 				return false ;
 
-			if ( sNodeName == 'br' && htmlNode.getAttribute( 'type', 2 ) == '_moz' )
+			// Remove the <br> if it is a bogus node or is the last child.
+			if ( sNodeName == 'br' && ( htmlNode.getAttribute( 'type', 2 ) == '_moz' || !htmlNode.nextSibling ) )
 				return false ;
 
@@ -185,8 +216,8 @@
 
 			var oNode = this._CreateNode( sNodeName ) ;
-			
+
 			// Add all attributes.
 			FCKXHtml._AppendAttributes( xmlNode, htmlNode, oNode, sNodeName ) ;
-			
+
 			htmlNode._fckxhtmljob = FCKXHtml.CurrentJobNum ;
 
@@ -195,10 +226,10 @@
 
 			if ( oTagProcessor )
-			{
 				oNode = oTagProcessor( oNode, htmlNode, xmlNode ) ;
-				if ( !oNode ) break ;
-			}
 			else
-				this._AppendChildNodes( oNode, htmlNode, FCKRegexLib.BlockElements.test( sNodeName ) ) ;
+				oNode = this._AppendChildNodes( oNode, htmlNode, Boolean( FCKListsLib.NonEmptyBlockElements[ sNodeName ] ) ) ;
+
+			if ( !oNode )
+				break ;
 
 			xmlNode.appendChild( oNode ) ;
@@ -208,6 +239,5 @@
 		// Text Node.
 		case 3 :
-			this._AppendTextNode( xmlNode, htmlNode.nodeValue.ReplaceNewLineChars(' ') ) ;
-			break ;
+			return this._AppendTextNode( xmlNode, htmlNode.nodeValue.ReplaceNewLineChars(' ') ) ;
 
 		// Comment
@@ -262,6 +292,8 @@
 FCKXHtml._AppendTextNode = function( targetNode, textValue )
 {
-	targetNode.appendChild( this.XML.createTextNode( textValue.replace( FCKXHtmlEntities.EntitiesRegex, FCKXHtml_GetEntity ) ) ) ;
-	return ;
+	var bHadText = textValue.length > 0 ;
+	if ( bHadText )
+		targetNode.appendChild( this.XML.createTextNode( textValue.replace( FCKXHtmlEntities.EntitiesRegex, FCKXHtml_GetEntity ) ) ) ;
+	return bHadText ;
 }
 
@@ -310,4 +342,8 @@
 	a : function( node, htmlNode )
 	{
+		// Firefox may create empty tags when deleting the selection in some special cases (SF-BUG 1556878).
+		if ( htmlNode.innerHTML.Trim().length == 0 && !htmlNode.name )
+			return false ;
+
 		var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
 		if ( sSavedUrl != null )
@@ -327,8 +363,4 @@
 		FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
 
-		// Firefox may create empty tags when deleting the selection in some special cases (SF-BUG 1556878).
-		if ( node.childNodes.length == 0 && !node.getAttribute( 'name' ) )
-			return false ;
-
 		return node ;
 	},
@@ -383,8 +415,8 @@
 
 		var ePSibling = targetNode.lastChild ;
-		
+
 		if ( ePSibling && ePSibling.nodeType == 3 )
 			ePSibling = ePSibling.previousSibling ;
-		
+
 		if ( ePSibling && ePSibling.nodeName.toUpperCase() == 'LI' )
 		{
@@ -404,10 +436,10 @@
 		if ( htmlNode.innerHTML.length == 0 )
 			return false ;
-			
+
 		FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
 
 		return node ;
 	}
-}
+} ;
 
 FCKXHtml.TagProcessors.ul = FCKXHtml.TagProcessors.ol ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml_gecko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml_gecko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml_gecko.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKXHtml object, responsible for the XHTML operations.
-	Gecko specific.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKXHtml object, responsible for the XHTML operations.
+ * Gecko specific.
+ */
 
 FCKXHtml._GetMainXmlString = function()
@@ -19,9 +35,9 @@
 {
 	var aAttributes = htmlNode.attributes ;
-	
+
 	for ( var n = 0 ; n < aAttributes.length ; n++ )
 	{
 		var oAttribute = aAttributes[n] ;
-		
+
 		if ( oAttribute.specified )
 		{
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml_ie.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml_ie.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtml_ie.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKXHtml object, responsible for the XHTML operations.
-	IE specific.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKXHtml object, responsible for the XHTML operations.
+ * IE specific.
+ */
 
 FCKXHtml._GetMainXmlString = function()
@@ -31,5 +47,5 @@
 			// attribute. It returns "null" for the nodeValue.
 			else if ( sAttName == 'style' )
-				sAttValue = htmlNode.style.cssText ;
+				sAttValue = htmlNode.style.cssText.replace( FCKRegexLib.StyleProperties, FCKTools.ToLowerCase ) ;
 			// There are two cases when the oAttribute.nodeValue must be used:
 			//		- for the "class" attribute
@@ -42,9 +58,9 @@
 			else if ( oAttribute.nodeValue === true )
 				sAttValue = sAttName ;
-			else 
+			else
 			{
 				// We must use getAttribute to get it exactly as it is defined.
 				// There are some rare cases that IE throws an error here, so we must try/catch.
-				try 
+				try
 				{
 					sAttValue = htmlNode.getAttribute( sAttName, 2 ) ;
@@ -125,7 +141,7 @@
 	if ( ! node.attributes.getNamedItem( 'shape' ) )
 	{
-		var sCoords = htmlNode.getAttribute( 'shape', 2 ) ;
-		if ( sCoords && sCoords.length > 0 )
-			FCKXHtml._AppendAttribute( node, 'shape', sCoords ) ;
+		var sShape = htmlNode.getAttribute( 'shape', 2 ) ;
+		if ( sShape && sShape.length > 0 )
+			FCKXHtml._AppendAttribute( node, 'shape', sShape ) ;
 	}
 
@@ -148,6 +164,6 @@
 		FCKXHtml._AppendAttribute( node, 'accept-charset', htmlNode.acceptCharset ) ;
 
-	if ( htmlNode.name ) 
-		FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ; 
+	if ( htmlNode.name )
+		FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
 
 	FCKXHtml._AppendChildNodes( node, htmlNode ) ;
@@ -158,12 +174,12 @@
 // IE doens't hold the name attribute as an attribute for the <TEXTAREA> and <SELECT> tags.
 FCKXHtml.TagProcessors['textarea'] = FCKXHtml.TagProcessors['select'] = function( node, htmlNode )
-{ 
-	if ( htmlNode.name ) 
-		FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ; 
+{
+	if ( htmlNode.name )
+		FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
 
-	FCKXHtml._AppendChildNodes( node, htmlNode ) ; 
- 
-	return node ; 
-} 
+	FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+
+	return node ;
+}
 
 // On very rare cases, IE is loosing the "align" attribute for DIV. (right align and apply bulleted list)
@@ -173,5 +189,5 @@
 		FCKXHtml._AppendAttribute( node, 'align', htmlNode.align ) ;
 
-	FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+	FCKXHtml._AppendChildNodes( node, htmlNode, true ) ;
 
 	return node ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtmlentities.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtmlentities.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/_source/internals/fckxhtmlentities.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	This file define the HTML entities handled by the editor.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This file define the HTML entities handled by the editor.
+ */
 
 var FCKXHtmlEntities = new Object() ;
@@ -14,4 +30,5 @@
 
 	var sChars = '' ;
+	var oEntities, e ;
 
 	if ( FCKConfig.ProcessHTMLEntities )
@@ -123,5 +140,5 @@
 			'♦':'diams',
 
-			// Other Special Characters 
+			// Other Special Characters
 
 			'"':'quot',
@@ -155,5 +172,5 @@
 
 		// Process Base Entities.
-		for ( var e in FCKXHtmlEntities.Entities )
+		for ( e in FCKXHtmlEntities.Entities )
 			sChars += e ;
 
@@ -161,5 +178,5 @@
 		if ( FCKConfig.IncludeLatinEntities )
 		{
-			var oEntities = {
+			oEntities = {
 				'À':'Agrave',
 				'Á':'Aacute',
@@ -229,12 +246,12 @@
 				'š':'scaron',
 				'Ÿ':'Yuml'
-			} ; 
-			
-			for ( var e in oEntities )
+			} ;
+
+			for ( e in oEntities )
 			{
 				FCKXHtmlEntities.Entities[ e ] = oEntities[ e ] ;
 				sChars += e ;
 			}
-			
+
 			oEntities = null ;
 		}
@@ -243,5 +260,5 @@
 		if ( FCKConfig.IncludeGreekEntities )
 		{
-			var oEntities = {
+			oEntities = {
 				'Α':'Alpha',
 				'Β':'Beta',
@@ -295,5 +312,5 @@
 			} ;
 
-			for ( var e in oEntities )
+			for ( e in oEntities )
 			{
 				FCKXHtmlEntities.Entities[ e ] = oEntities[ e ] ;
@@ -302,5 +319,5 @@
 
 			oEntities = null ;
-		}		
+		}
 	}
 	else
@@ -316,5 +333,5 @@
 	// Create the Regex used to find entities in the text.
 	var sRegexPattern = '[' + sChars + ']' ;
-	
+
 	if ( FCKConfig.ProcessNumericEntities )
 		sRegexPattern = '[^ -~]|' + sRegexPattern ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/css/fck_editorarea.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/css/fck_editorarea.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/css/fck_editorarea.css	(revision 141)
@@ -1,14 +1,29 @@
-/* @Packager.Header
-<FileDescription>
-	This is the default CSS file used by the editor area. It defines the
-	initial font of the editor and background color.
-
-	A user can configure the editor to use another CSS file. Just change
-	the value of the FCKConfig.EditorAreaCSS key in the configuration
-	file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the default CSS file used by the editor area. It defines the
+ * initial font of the editor and background color.
+ *
+ * A user can configure the editor to use another CSS file. Just change
+ * the value of the FCKConfig.EditorAreaCSS key in the configuration
+ * file.
+ */
 
 /*
@@ -35,6 +50,6 @@
 }
 
-/* 
-	Just uncomment the following block if you want to avoid spaces between 
+/*
+	Just uncomment the following block if you want to avoid spaces between
 	paragraphs. Remember to apply the same style in your output front end page.
 */
Index: /FCKeditor/branches/developers/alfonsoml/editor/css/fck_internal.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/css/fck_internal.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/css/fck_internal.css	(revision 141)
@@ -1,9 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	This CSS Style Sheet defines rules used by the editor for its internal use.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This CSS Style Sheet defines rules used by the editor for its internal use.
+ */
 
 /* Fix to allow putting the caret at the end of the
@@ -58,5 +73,5 @@
 }
 
-/* Any anchor for non-IE, if we combine it 
+/* Any anchor for non-IE, if we combine it
    with the previous rule IE ignores all. */
 a[name]
Index: /FCKeditor/branches/developers/alfonsoml/editor/css/fck_showtableborders_gecko.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/css/fck_showtableborders_gecko.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/css/fck_showtableborders_gecko.css	(revision 141)
@@ -1,14 +1,30 @@
-/* @Packager.Header
-<FileDescription>
-	This CSS Style Sheet defines the rules to show table borders on Gecko.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This CSS Style Sheet defines the rules to show table borders on Gecko.
+ */
 
 /* For tables with the "border" attribute set to "0" */
-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"],
+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
 {
@@ -17,5 +33,5 @@
 
 /* For tables with no "border" attribute set */
-table:not([border]), 
+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,
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/fck_dialog_common.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/fck_dialog_common.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/fck_dialog_common.css	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	This is the CSS file used for interface details in some dialog
-	windows.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the CSS file used for interface details in some dialog
+ * windows.
+ */
 
 .ImagePreviewArea
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/fck_dialog_common.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/fck_dialog_common.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/fck_dialog_common.js	(revision 141)
@@ -1,8 +1,26 @@
-/* @Packager.Header
-<FileDescription>
-	Useful functions used by almost all dialog window pages.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Useful functions used by almost all dialog window pages.
+ */
+
+var GECKO_BOGUS = '<br type="_moz">' ;
 
 // Gets a element by its Id. Used for shorter coding.
@@ -34,7 +52,7 @@
 		return valueIfNull ? valueIfNull : '' ;
 
-	var oValue ;
-	
-	if ( !( oValue = element.getAttribute( attName, 2 ) ) )
+	var oValue = element.getAttribute( attName, 2 ) ;
+
+	if ( oValue == null )
 		oValue = oAtt.nodeValue ;
 
@@ -49,5 +67,5 @@
 
 	var iCode = ( e.keyCode || e.charCode ) ;
-	
+
 	return (
 			( iCode >= 48 && iCode <= 57 )		// Numbers
@@ -84,10 +102,10 @@
 {
 	var replaced = this ;
-	
+
 	for ( var i = 0 ; i < searchArray.length ; i++ )
 	{
 		replaced = replaced.replace( searchArray[i], replaceArray[i] ) ;
 	}
-	
+
 	return replaced ;
 }
@@ -96,5 +114,5 @@
 {
 	// oEditor must be defined.
-	
+
 	var iLeft = ( oEditor.FCKConfig.ScreenWidth  - width ) / 2 ;
 	var iTop  = ( oEditor.FCKConfig.ScreenHeight - height ) / 2 ;
@@ -106,14 +124,14 @@
 	sOptions += ",top=" + iTop ;
 
-	// The "PreserveSessionOnFileBrowser" because the above code could be 
+	// The "PreserveSessionOnFileBrowser" because the above code could be
 	// blocked by popup blockers.
 	if ( oEditor.FCKConfig.PreserveSessionOnFileBrowser && oEditor.FCKBrowserInfo.IsIE )
 	{
-		// The following change has been made otherwise IE will open the file 
+		// The following change has been made otherwise IE will open the file
 		// browser on a different server session (on some cases):
 		// http://support.microsoft.com/default.aspx?scid=kb;en-us;831678
 		// by Simone Chiaretta.
 		var oWindow = oEditor.window.open( url, 'FCKBrowseWindow', sOptions ) ;
-		
+
 		if ( oWindow )
 		{
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/moz-bindings.xml
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/moz-bindings.xml	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/common/moz-bindings.xml	(revision 141)
@@ -1,3 +1,3 @@
-﻿<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8" ?>
 <bindings xmlns="http://www.mozilla.org/xbl">
 	<binding id="numericfield">
@@ -15,6 +15,6 @@
 							( iCode >= 48 && iCode <= 57 )		// Numbers
 							|| (iCode >= 37 && iCode <= 40)		// Arrows
-							|| iCode == 8											// Backspace
-							|| iCode == 46										// Delete
+							|| iCode == 8						// Backspace
+							|| iCode == 46						// Delete
 						) ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_about.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_about.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_about.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	"About" dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * "About" dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -63,6 +79,6 @@
 								<span fcklang="DlgAboutVersion">version</span>
 								<br />
-								<b>[[@Packager.Version]]</b><br />
-								Build [[@Packager.Build]]</td>
+								<b>2.4.1 (SVN)</b><br />
+								Build 1156</td>
 						</tr>
 					</table>
@@ -82,5 +98,5 @@
 						target="_blank">http://www.fckeditor.net/</a>.
 					<br />
-					Copyright &copy; 2003-2006 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a>
+					Copyright &copy; 2003-2007 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a>
 				</td>
 			</tr>
@@ -93,20 +109,22 @@
 	</div>
 	<div id="divLicense" style="display: none">
-		<table style="height: 100%" width="100%">
-			<tr>
-				<td>
-					<span fcklang="DlgAboutLicense">Licensed under the terms of the GNU Lesser General Public
-						License</span>
-					<br />
-					<a href="http://www.opensource.org/licenses/lgpl-license.php" target="_blank">http://www.opensource.org/licenses/lgpl-license.php</a>
-					<br />
-				</td>
-			</tr>
-			<tr>
-				<td height="100%">
-					<iframe height="100%" width="100%" src="fck_about/lgpl.html" frameborder="1"></iframe>
-				</td>
-			</tr>
-		</table>
+			<p>
+				Licensed under the terms of any of the following licenses at your
+				choice:
+			</p>
+			<ul>
+				<li style="margin-bottom:15px">
+					<b>GNU General Public License</b> Version 2 or later (the "GPL")<br />
+					<a href="http://www.gnu.org/licenses/gpl.html" target="_blank">http://www.gnu.org/licenses/gpl.html</a>
+				</li>
+				<li style="margin-bottom:15px">
+					<b>GNU Lesser General Public License</b> Version 2.1 or later (the "LGPL")<br />
+					<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>
+				</li>
+				<li>
+					<b>Mozilla Public License</b> Version 1.1 or later (the "MPL")<br />
+					<a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html</a>
+			   </li>
+			</ul>
 	</div>
 	<div id="divInfo" style="display: none" dir="ltr">
Index: Keditor/branches/developers/alfonsoml/editor/dialog/fck_about/lgpl.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_about/lgpl.html	(revision 140)
+++ 	(revision )
@@ -1,482 +1,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<title>GNU Lesser General Public License</title>
-	<style type="text/css">
-			body 
-			{
-				font-family: Monospace;
-				font-size: 12px;
-				background-color: #ffffff;
-			}
-	</style>
-</head>
-<body>
-	<h3>
-		GNU Lesser General Public License</h3>
-	<p>
-		Version 2.1, February 1999</p>
-	<blockquote>
-		<p>
-			Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330,
-			Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim
-			copies of this license document, but changing it is not allowed.</p>
-		<p>
-			[This is the first released version of the Lesser GPL. It also counts as the successor
-			of the GNU Library Public License, version 2, hence the version number 2.1.]</p>
-	</blockquote>
-	<h4>
-		Preamble</h4>
-	<p>
-		The licenses for most software are designed to take away your freedom to share and
-		change it. By contrast, the GNU General Public Licenses are intended to guarantee
-		your freedom to share and change free software--to make sure the software is free
-		for all its users.
-	</p>
-	<p>
-		This license, the Lesser General Public License, applies to some specially designated
-		software packages--typically libraries--of the Free Software Foundation and other
-		authors who decide to use it. You can use it too, but we suggest you first think
-		carefully about whether this license or the ordinary General Public License is the
-		better strategy to use in any particular case, based on the explanations below.
-	</p>
-	<p>
-		When we speak of free software, we are referring to freedom of use, not price. Our
-		General Public Licenses are designed to make sure that you have the freedom to distribute
-		copies of free software (and charge for this service if you wish); that you receive
-		source code or can get it if you want it; that you can change the software and use
-		pieces of it in new free programs; and that you are informed that you can do these
-		things.</p>
-	<p>
-		To protect your rights, we need to make restrictions that forbid distributors to
-		deny you these rights or to ask you to surrender these rights. These restrictions
-		translate to certain responsibilities for you if you distribute copies of the library
-		or if you modify it.
-	</p>
-	<p>
-		For example, if you distribute copies of the library, whether gratis or for a fee,
-		you must give the recipients all the rights that we gave you. You must make sure
-		that they, too, receive or can get the source code. If you link other code with
-		the library, you must provide complete object files to the recipients, so that they
-		can relink them with the library after making changes to the library and recompiling
-		it. And you must show them these terms so they know their rights.
-	</p>
-	<p>
-		We protect your rights with a two-step method: (1) we copyright the library, and
-		(2) we offer you this license, which gives you legal permission to copy, distribute
-		and/or modify the library.
-	</p>
-	<p>
-		To protect each distributor, we want to make it very clear that there is no warranty
-		for the free library. Also, if the library is modified by someone else and passed
-		on, the recipients should know that what they have is not the original version,
-		so that the original author's reputation will not be affected by problems that might
-		be introduced by others.
-	</p>
-	<p>
-		Finally, software patents pose a constant threat to the existence of any free program.
-		We wish to make sure that a company cannot effectively restrict the users of a free
-		program by obtaining a restrictive license from a patent holder. Therefore, we insist
-		that any patent license obtained for a version of the library must be consistent
-		with the full freedom of use specified in this license.
-	</p>
-	<p>
-		Most GNU software, including some libraries, is covered by the ordinary GNU General
-		Public License. This license, the GNU Lesser General Public License, applies to
-		certain designated libraries, and is quite different from the ordinary General Public
-		License. We use this license for certain libraries in order to permit linking those
-		libraries into non-free programs.
-	</p>
-	<p>
-		When a program is linked with a library, whether statically or using a shared library,
-		the combination of the two is legally speaking a combined work, a derivative of
-		the original library. The ordinary General Public License therefore permits such
-		linking only if the entire combination fits its criteria of freedom. The Lesser
-		General Public License permits more lax criteria for linking other code with the
-		library.
-	</p>
-	<p>
-		We call this license the "Lesser" General Public License because it does Less to
-		protect the user's freedom than the ordinary General Public License. It also provides
-		other free software developers Less of an advantage over competing non-free programs.
-		These disadvantages are the reason we use the ordinary General Public License for
-		many libraries. However, the Lesser license provides advantages in certain special
-		circumstances.
-	</p>
-	<p>
-		For example, on rare occasions, there may be a special need to encourage the widest
-		possible use of a certain library, so that it becomes a de-facto standard. To achieve
-		this, non-free programs must be allowed to use the library. A more frequent case
-		is that a free library does the same job as widely used non-free libraries. In this
-		case, there is little to gain by limiting the free library to free software only,
-		so we use the Lesser General Public License.
-	</p>
-	<p>
-		In other cases, permission to use a particular library in non-free programs enables
-		a greater number of people to use a large body of free software. For example, permission
-		to use the GNU C Library in non-free programs enables many more people to use the
-		whole GNU operating system, as well as its variant, the GNU/Linux operating system.
-	</p>
-	<p>
-		Although the Lesser General Public License is Less protective of the users' freedom,
-		it does ensure that the user of a program that is linked with the Library has the
-		freedom and the wherewithal to run that program using a modified version of the
-		Library.
-	</p>
-	<p>
-		The precise terms and conditions for copying, distribution and modification follow.
-		Pay close attention to the difference between a "work based on the library" and
-		a "work that uses the library". The former contains code derived from the library,
-		whereas the latter must be combined with the library in order to run.
-	</p>
-	<h4>
-		TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</h4>
-	<p>
-		<strong>0.</strong> This License Agreement applies to any software library or other
-		program which contains a notice placed by the copyright holder or other authorized
-		party saying it may be distributed under the terms of this Lesser General Public
-		License (also called "this License"). Each licensee is addressed as "you".</p>
-	<p>
-		A "library" means a collection of software functions and/or data prepared so as
-		to be conveniently linked with application programs (which use some of those functions
-		and data) to form executables.
-	</p>
-	<p>
-		The "Library", below, refers to any such software library or work which has been
-		distributed under these terms. A "work based on the Library" means either the Library
-		or any derivative work under copyright law: that is to say, a work containing the
-		Library or a portion of it, either verbatim or with modifications and/or translated
-		straightforwardly into another language. (Hereinafter, translation is included without
-		limitation in the term "modification".)
-	</p>
-	<p>
-		"Source code" for a work means the preferred form of the work for making modifications
-		to it. For a library, complete source code means all the source code for all modules
-		it contains, plus any associated interface definition files, plus the scripts used
-		to control compilation and installation of the library.</p>
-	<p>
-		Activities other than copying, distribution and modification are not covered by
-		this License; they are outside its scope. The act of running a program using the
-		Library is not restricted, and output from such a program is covered only if its
-		contents constitute a work based on the Library (independent of the use of the Library
-		in a tool for writing it). Whether that is true depends on what the Library does
-		and what the program that uses the Library does.
-	</p>
-	<p>
-		<strong>1.</strong> You may copy and distribute verbatim copies of the Library's
-		complete source code as you receive it, in any medium, provided that you conspicuously
-		and appropriately publish on each copy an appropriate copyright notice and disclaimer
-		of warranty; keep intact all the notices that refer to this License and to the absence
-		of any warranty; and distribute a copy of this License along with the Library.
-	</p>
-	<p>
-		You may charge a fee for the physical act of transferring a copy, and you may at
-		your option offer warranty protection in exchange for a fee.
-	</p>
-	<p>
-		<strong>2.</strong> You may modify your copy or copies of the Library or any portion
-		of it, thus forming a work based on the Library, and copy and distribute such modifications
-		or work under the terms of Section 1 above, provided that you also meet all of these
-		conditions:
-	</p>
-	<blockquote>
-		<p>
-			a) The modified work must itself be a software library.
-		</p>
-		<p>
-			b) You must cause the files modified to carry prominent notices stating that you
-			changed the files and the date of any change.</p>
-		<p>
-			c) You must cause the whole of the work to be licensed at no charge to all third
-			parties under the terms of this License.
-		</p>
-		<p>
-			d) If a facility in the modified Library refers to a function or a table of data
-			to be supplied by an application program that uses the facility, other than as an
-			argument passed when the facility is invoked, then you must make a good faith effort
-			to ensure that, in the event an application does not supply such function or table,
-			the facility still operates, and performs whatever part of its purpose remains meaningful.
-		</p>
-		<p>
-			(For example, a function in a library to compute square roots has a purpose that
-			is entirely well-defined independent of the application. Therefore, Subsection 2d
-			requires that any application-supplied function or table used by this function must
-			be optional: if the application does not supply it, the square root function must
-			still compute square roots.)
-		</p>
-		<p>
-			These requirements apply to the modified work as a whole. If identifiable sections
-			of that work are not derived from the Library, and can be reasonably considered
-			independent and separate works in themselves, then this License, and its terms,
-			do not apply to those sections when you distribute them as separate works. But when
-			you distribute the same sections as part of a whole which is a work based on the
-			Library, the distribution of the whole must be on the terms of this License, whose
-			permissions for other licensees extend to the entire whole, and thus to each and
-			every part regardless of who wrote it.
-		</p>
-		<p>
-			Thus, it is not the intent of this section to claim rights or contest your rights
-			to work written entirely by you; rather, the intent is to exercise the right to
-			control the distribution of derivative or collective works based on the Library.
-		</p>
-		<p>
-			In addition, mere aggregation of another work not based on the Library with the
-			Library (or with a work based on the Library) on a volume of a storage or distribution
-			medium does not bring the other work under the scope of this License.
-		</p>
-	</blockquote>
-	<p>
-		<strong>3.</strong> You may opt to apply the terms of the ordinary GNU General Public
-		License instead of this License to a given copy of the Library. To do this, you
-		must alter all the notices that refer to this License, so that they refer to the
-		ordinary GNU General Public License, version 2, instead of to this License. (If
-		a newer version than version 2 of the ordinary GNU General Public License has appeared,
-		then you can specify that version instead if you wish.) Do not make any other change
-		in these notices.
-	</p>
-	<p>
-		Once this change is made in a given copy, it is irreversible for that copy, so the
-		ordinary GNU General Public License applies to all subsequent copies and derivative
-		works made from that copy.
-	</p>
-	<p>
-		This option is useful when you wish to copy part of the code of the Library into
-		a program that is not a library.
-	</p>
-	<p>
-		<strong>4.</strong> You may copy and distribute the Library (or a portion or derivative
-		of it, under Section 2) in object code or executable form under the terms of Sections
-		1 and 2 above provided that you accompany it with the complete corresponding machine-readable
-		source code, which must be distributed under the terms of Sections 1 and 2 above
-		on a medium customarily used for software interchange.
-	</p>
-	<p>
-		If distribution of object code is made by offering access to copy from a designated
-		place, then offering equivalent access to copy the source code from the same place
-		satisfies the requirement to distribute the source code, even though third parties
-		are not compelled to copy the source along with the object code.</p>
-	<p>
-		<strong>5.</strong> A program that contains no derivative of any portion of the
-		Library, but is designed to work with the Library by being compiled or linked with
-		it, is called a "work that uses the Library". Such a work, in isolation, is not
-		a derivative work of the Library, and therefore falls outside the scope of this
-		License.
-	</p>
-	<p>
-		However, linking a "work that uses the Library" with the Library creates an executable
-		that is a derivative of the Library (because it contains portions of the Library),
-		rather than a "work that uses the library". The executable is therefore covered
-		by this License. Section 6 states terms for distribution of such executables.
-	</p>
-	<p>
-		When a "work that uses the Library" uses material from a header file that is part
-		of the Library, the object code for the work may be a derivative work of the Library
-		even though the source code is not. Whether this is true is especially significant
-		if the work can be linked without the Library, or if the work is itself a library.
-		The threshold for this to be true is not precisely defined by law.
-	</p>
-	<p>
-		If such an object file uses only numerical parameters, data structure layouts and
-		accessors, and small macros and small inline functions (ten lines or less in length),
-		then the use of the object file is unrestricted, regardless of whether it is legally
-		a derivative work. (Executables containing this object code plus portions of the
-		Library will still fall under Section 6.)
-	</p>
-	<p>
-		Otherwise, if the work is a derivative of the Library, you may distribute the object
-		code for the work under the terms of Section 6. Any executables containing that
-		work also fall under Section 6, whether or not they are linked directly with the
-		Library itself.
-	</p>
-	<p>
-		<strong>6.</strong> As an exception to the Sections above, you may also combine
-		or link a "work that uses the Library" with the Library to produce a work containing
-		portions of the Library, and distribute that work under terms of your choice, provided
-		that the terms permit modification of the work for the customer's own use and reverse
-		engineering for debugging such modifications.
-	</p>
-	<p>
-		You must give prominent notice with each copy of the work that the Library is used
-		in it and that the Library and its use are covered by this License. You must supply
-		a copy of this License. If the work during execution displays copyright notices,
-		you must include the copyright notice for the Library among them, as well as a reference
-		directing the user to the copy of this License. Also, you must do one of these things:
-	</p>
-	<blockquote>
-		<p>
-			a) Accompany the work with the complete corresponding machine-readable source code
-			for the Library including whatever changes were used in the work (which must be
-			distributed under Sections 1 and 2 above); and, if the work is an executable linked
-			with the Library, with the complete machine-readable "work that uses the Library",
-			as object code and/or source code, so that the user can modify the Library and then
-			relink to produce a modified executable containing the modified Library. (It is
-			understood that the user who changes the contents of definitions files in the Library
-			will not necessarily be able to recompile the application to use the modified definitions.)
-		</p>
-		<p>
-			b) Use a suitable shared library mechanism for linking with the Library. A suitable
-			mechanism is one that (1) uses at run time a copy of the library already present
-			on the user's computer system, rather than copying library functions into the executable,
-			and (2) will operate properly with a modified version of the library, if the user
-			installs one, as long as the modified version is interface-compatible with the version
-			that the work was made with.
-		</p>
-		<p>
-			c) Accompany the work with a written offer, valid for at least three years, to give
-			the same user the materials specified in Subsection 6a, above, for a charge no more
-			than the cost of performing this distribution.
-		</p>
-		<p>
-			d) If distribution of the work is made by offering access to copy from a designated
-			place, offer equivalent access to copy the above specified materials from the same
-			place.
-		</p>
-		<p>
-			e) Verify that the user has already received a copy of these materials or that you
-			have already sent this user a copy.</p>
-	</blockquote>
-	<p>
-		For an executable, the required form of the "work that uses the Library" must include
-		any data and utility programs needed for reproducing the executable from it. However,
-		as a special exception, the materials to be distributed need not include anything
-		that is normally distributed (in either source or binary form) with the major components
-		(compiler, kernel, and so on) of the operating system on which the executable runs,
-		unless that component itself accompanies the executable.
-	</p>
-	<p>
-		It may happen that this requirement contradicts the license restrictions of other
-		proprietary libraries that do not normally accompany the operating system. Such
-		a contradiction means you cannot use both them and the Library together in an executable
-		that you distribute.
-	</p>
-	<p>
-		<strong>7.</strong> You may place library facilities that are a work based on the
-		Library side-by-side in a single library together with other library facilities
-		not covered by this License, and distribute such a combined library, provided that
-		the separate distribution of the work based on the Library and of the other library
-		facilities is otherwise permitted, and provided that you do these two things:
-	</p>
-	<blockquote>
-		<p>
-			a) Accompany the combined library with a copy of the same work based on the Library,
-			uncombined with any other library facilities. This must be distributed under the
-			terms of the Sections above.
-		</p>
-		<p>
-			b) Give prominent notice with the combined library of the fact that part of it is
-			a work based on the Library, and explaining where to find the accompanying uncombined
-			form of the same work.</p>
-	</blockquote>
-	<p>
-		<strong>8.</strong> You may not copy, modify, sublicense, link with, or distribute
-		the Library except as expressly provided under this License. Any attempt otherwise
-		to copy, modify, sublicense, link with, or distribute the Library is void, and will
-		automatically terminate your rights under this License. However, parties who have
-		received copies, or rights, from you under this License will not have their licenses
-		terminated so long as such parties remain in full compliance.
-	</p>
-	<p>
-		<strong>9.</strong> You are not required to accept this License, since you have
-		not signed it. However, nothing else grants you permission to modify or distribute
-		the Library or its derivative works. These actions are prohibited by law if you
-		do not accept this License. Therefore, by modifying or distributing the Library
-		(or any work based on the Library), you indicate your acceptance of this License
-		to do so, and all its terms and conditions for copying, distributing or modifying
-		the Library or works based on it.
-	</p>
-	<p>
-		<strong>10.</strong> Each time you redistribute the Library (or any work based on
-		the Library), the recipient automatically receives a license from the original licensor
-		to copy, distribute, link with or modify the Library subject to these terms and
-		conditions. You may not impose any further restrictions on the recipients' exercise
-		of the rights granted herein. You are not responsible for enforcing compliance by
-		third parties with this License.
-	</p>
-	<p>
-		<strong>11.</strong> If, as a consequence of a court judgment or allegation of patent
-		infringement or for any other reason (not limited to patent issues), conditions
-		are imposed on you (whether by court order, agreement or otherwise) that contradict
-		the conditions of this License, they do not excuse you from the conditions of this
-		License. If you cannot distribute so as to satisfy simultaneously your obligations
-		under this License and any other pertinent obligations, then as a consequence you
-		may not distribute the Library at all. For example, if a patent license would not
-		permit royalty-free redistribution of the Library by all those who receive copies
-		directly or indirectly through you, then the only way you could satisfy both it
-		and this License would be to refrain entirely from distribution of the Library.
-	</p>
-	<p>
-		If any portion of this section is held invalid or unenforceable under any particular
-		circumstance, the balance of the section is intended to apply, and the section as
-		a whole is intended to apply in other circumstances.
-	</p>
-	<p>
-		It is not the purpose of this section to induce you to infringe any patents or other
-		property right claims or to contest validity of any such claims; this section has
-		the sole purpose of protecting the integrity of the free software distribution system
-		which is implemented by public license practices. Many people have made generous
-		contributions to the wide range of software distributed through that system in reliance
-		on consistent application of that system; it is up to the author/donor to decide
-		if he or she is willing to distribute software through any other system and a licensee
-		cannot impose that choice.
-	</p>
-	<p>
-		This section is intended to make thoroughly clear what is believed to be a consequence
-		of the rest of this License.
-	</p>
-	<p>
-		<strong>12.</strong> If the distribution and/or use of the Library is restricted
-		in certain countries either by patents or by copyrighted interfaces, the original
-		copyright holder who places the Library under this License may add an explicit geographical
-		distribution limitation excluding those countries, so that distribution is permitted
-		only in or among countries not thus excluded. In such case, this License incorporates
-		the limitation as if written in the body of this License.
-	</p>
-	<p>
-		<strong>13.</strong> The Free Software Foundation may publish revised and/or new
-		versions of the Lesser General Public License from time to time. Such new versions
-		will be similar in spirit to the present version, but may differ in detail to address
-		new problems or concerns.</p>
-	<p>
-		Each version is given a distinguishing version number. If the Library specifies
-		a version number of this License which applies to it and "any later version", you
-		have the option of following the terms and conditions either of that version or
-		of any later version published by the Free Software Foundation. If the Library does
-		not specify a license version number, you may choose any version ever published
-		by the Free Software Foundation.
-	</p>
-	<p>
-		<strong>14.</strong> If you wish to incorporate parts of the Library into other
-		free programs whose distribution conditions are incompatible with these, write to
-		the author to ask for permission. For software which is copyrighted by the Free
-		Software Foundation, write to the Free Software Foundation; we sometimes make exceptions
-		for this. Our decision will be guided by the two goals of preserving the free status
-		of all derivatives of our free software and of promoting the sharing and reuse of
-		software generally.
-	</p>
-	<p>
-		NO WARRANTY
-	</p>
-	<p>
-		<strong>15. </strong>BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-		WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-		OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
-		LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
-		BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-		PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY
-		IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
-		SERVICING, REPAIR OR CORRECTION.
-	</p>
-	<p>
-		<strong>16.</strong> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO
-		IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
-		THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
-		SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY
-		TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
-		INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY
-		TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
-		ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-	</p>
-	<h4>
-		<strong>END OF TERMS AND CONDITIONS</strong></h4>
-</body>
-</html>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_anchor.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_anchor.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_anchor.html	(revision 141)
@@ -1,9 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Anchor dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Anchor dialog window.
 -->
 <html>
@@ -12,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script type="text/javascript">
@@ -68,5 +82,5 @@
 	{
 		// Remove the anchor if the user leaves the name blank
-		if ( oAnchor )	
+		if ( oAnchor )
 		{
 			RemoveAnchor() ;
@@ -77,7 +91,7 @@
 		return false ;
 	}
-	
+
 	oEditor.FCKUndo.SaveUndoStep() ;
-	
+
 	if ( oAnchor )	// Modifying an existent anchor.
 	{
@@ -101,10 +115,10 @@
 	{
 		// Nothing was selected, so now just create a normal A
-		oAnchor = oEditor.FCK.CreateElement( 'a' ) ; 
+		oAnchor = oEditor.FCK.CreateElement( 'a' ) ;
 	}
 	else
 	{
 		// Remove the fake href
-		oAnchor.removeAttribute( 'href' ) ; 
+		oAnchor.removeAttribute( 'href' ) ;
 	}
 	// Set the name
@@ -125,5 +139,5 @@
 			var oImg = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__Anchor', oAnchor.cloneNode(true) ) ;
 			oImg.setAttribute( '_fckanchor', 'true', 0 ) ;
-			
+
 			oAnchor.parentNode.insertBefore( oImg, oAnchor ) ;
 			oAnchor.parentNode.removeChild( oAnchor ) ;
@@ -169,5 +183,5 @@
 {
 	var oDoc = FCK.EditorDocument ;
-	
+
 	var aLinks = oDoc.getElementsByTagName( 'A' ) ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_button.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_button.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_button.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Button dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Button dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_checkbox.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_checkbox.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_checkbox.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Checkbox dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Checkbox dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script type="text/javascript">
@@ -50,5 +65,5 @@
 	if ( GetE('txtName').value.length > 0 )
 		oActiveEl.name = GetE('txtName').value ;
-		
+
 	if ( oEditor.FCKBrowserInfo.IsIE )
 		oActiveEl.value = GetE('txtValue').value ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_colorselector.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_colorselector.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_colorselector.html	(revision 141)
@@ -1,12 +1,27 @@
-<!-- @Packager.Header
-<FileDescription>
-	Color Selection dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Color Selection dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 <html>
 	<head>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <!-- @Packager.RemoveLine -->
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 		<meta name="robots" content="noindex, nofollow" />
@@ -21,5 +36,5 @@
 		</style>
 		<script type="text/javascript">
-		
+
 var oEditor = window.parent.InnerDialogLoaded() ;
 
@@ -28,8 +43,8 @@
 	// First of all, translate the dialog box texts
 	oEditor.FCKLanguageManager.TranslatePage(document) ;
-	
+
 	CreateColorTable() ;
-	
-	window.parent.SetOkButton( true ) ;	
+
+	window.parent.SetOkButton( true ) ;
 	window.parent.SetAutoSize( true ) ;
 }
@@ -46,15 +61,15 @@
 	function AppendColorRow( rangeA, rangeB )
 	{
-		for ( var i = rangeA ; i < rangeA + 3 ; i++ ) 
-		{ 
-			var oRow = oTable.insertRow(-1) ; 
+		for ( var i = rangeA ; i < rangeA + 3 ; i++ )
+		{
+			var oRow = oTable.insertRow(-1) ;
 
-			for ( var j = rangeB ; j < rangeB + 3 ; j++ ) 
-			{ 
-				for ( var n = 0 ; n < 6 ; n++ ) 
-				{ 
-					AppendColorCell( oRow, '#' + aColors[j] + aColors[n] + aColors[i] ) ; 
-				} 
-			} 
+			for ( var j = rangeB ; j < rangeB + 3 ; j++ )
+			{
+				for ( var n = 0 ; n < 6 ; n++ )
+				{
+					AppendColorCell( oRow, '#' + aColors[j] + aColors[n] + aColors[i] ) ;
+				}
+			}
 		}
 	}
@@ -66,5 +81,5 @@
 		oCell.className = 'ColorCell' ;
 		oCell.bgColor = color ;
-		
+
 		oCell.onmouseover = function()
 		{
@@ -72,5 +87,5 @@
 			document.getElementById('hicolortext').innerHTML = this.bgColor ;
 		}
-		
+
 		oCell.onclick = function()
 		{
@@ -87,15 +102,15 @@
 	// Create the last row.
 	var oRow = oTable.insertRow(-1) ;
-	
+
 	// Create the gray scale colors cells.
 	for ( var n = 0 ; n < 6 ; n++ )
 	{
-		AppendColorCell( oRow, '#' + aColors[n] + aColors[n] + aColors[n] ) ; 
+		AppendColorCell( oRow, '#' + aColors[n] + aColors[n] + aColors[n] ) ;
 	}
-	
+
 	// Fill the row with black cells.
 	for ( var i = 0 ; i < 12 ; i++ )
 	{
-		AppendColorCell( oRow, '#000000' ) ; 
+		AppendColorCell( oRow, '#000000' ) ;
 	}
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_docprops.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_docprops.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_docprops.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Link dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Link dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -343,7 +359,7 @@
 }
 
-function SetColor( inputId, color ) 
-{
-	GetE( inputId ).value = color + '' ; 
+function SetColor( inputId, color )
+{
+	GetE( inputId ).value = color + '' ;
 	UpdatePreview() ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_docprops/fck_document_preview.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_docprops/fck_document_preview.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_docprops/fck_document_preview.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Preview shown in the "Document Properties" dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Preview shown in the "Document Properties" dialog window.
 -->
 <html>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_find.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_find.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_find.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	"Find" dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * "Find" dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -59,8 +75,10 @@
 function GetRegexExpr()
 {
+	var sExpr ;
+
 	if ( document.getElementById('chkWord').checked )
-		var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
+		sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
 	else
-		var sExpr = document.getElementById('txtFind').value ;
+		sExpr = document.getElementById('txtFind').value ;
 
 	return sExpr ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Flash Properties dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Flash Properties dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script src="fck_flash/fck_flash.js" type="text/javascript"></script>
@@ -78,5 +93,5 @@
 				<br />
 				<input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" />
-				<iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe> 
+				<iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe>
 			</form>
 		</div>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash/fck_flash.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash/fck_flash.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash/fck_flash.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Scripts related to the Flash dialog window (see fck_flash.html).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Scripts related to the Flash dialog window (see fck_flash.html).
+ */
 
 var oEditor		= window.parent.InnerDialogLoaded() ;
@@ -79,5 +95,5 @@
 	GetE('chkMenu').checked		= GetAttribute( oEmbed, 'menu', 'true' ) == 'true' ;
 	GetE('cmbScale').value		= GetAttribute( oEmbed, 'scale', '' ).toLowerCase() ;
-	
+
 	GetE('txtAttTitle').value		= oEmbed.title ;
 
@@ -115,5 +131,5 @@
 	}
 	UpdateEmbed( oEmbed ) ;
-	
+
 	if ( !oFakeImage )
 	{
@@ -124,5 +140,5 @@
 	else
 		oEditor.FCKUndo.SaveUndoStep() ;
-	
+
 	oEditor.FCKFlashProcessor.RefreshView( oFakeImage, oEmbed ) ;
 
@@ -138,10 +154,10 @@
 	SetAttribute( e, "width" , GetE('txtWidth').value ) ;
 	SetAttribute( e, "height", GetE('txtHeight').value ) ;
-	
+
 	// Advances Attributes
 
 	SetAttribute( e, 'id'	, GetE('txtAttId').value ) ;
 	SetAttribute( e, 'scale', GetE('cmbScale').value ) ;
-	
+
 	SetAttribute( e, 'play', GetE('chkAutoPlay').checked ? 'true' : 'false' ) ;
 	SetAttribute( e, 'loop', GetE('chkLoop').checked ? 'true' : 'false' ) ;
@@ -167,5 +183,5 @@
 {
 	ePreview = previewEl ;
-	
+
 	if ( GetE('txtUrl').value.length > 0 )
 		UpdatePreview() ;
@@ -176,5 +192,5 @@
 	if ( !ePreview )
 		return ;
-		
+
 	while ( ePreview.firstChild )
 		ePreview.removeChild( ePreview.firstChild ) ;
@@ -186,10 +202,10 @@
 		var oDoc	= ePreview.ownerDocument || ePreview.document ;
 		var e		= oDoc.createElement( 'EMBED' ) ;
-		
+
 		e.src		= GetE('txtUrl').value ;
 		e.type		= 'application/x-shockwave-flash' ;
 		e.width		= '100%' ;
 		e.height	= '100%' ;
-		
+
 		ePreview.appendChild( e ) ;
 	}
@@ -206,9 +222,9 @@
 {
 	GetE('txtUrl').value = url ;
-	
+
 	if ( width )
 		GetE('txtWidth').value = width ;
-		
-	if ( height ) 
+
+	if ( height )
 		GetE('txtHeight').value = height ;
 
@@ -255,5 +271,5 @@
 {
 	var sFile = GetE('txtUploadFile').value ;
-	
+
 	if ( sFile.length == 0 )
 	{
@@ -261,5 +277,5 @@
 		return false ;
 	}
-	
+
 	if ( ( FCKConfig.FlashUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) ||
 		( FCKConfig.FlashUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) )
@@ -268,5 +284,5 @@
 		return false ;
 	}
-	
+
 	return true ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash/fck_flash_preview.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash/fck_flash_preview.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_flash/fck_flash_preview.html	(revision 141)
@@ -1,9 +1,25 @@
-<!-- @Packager.Header
-<FileDescription>
-	Preview page for the Flash dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Preview page for the Flash dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
 		<script language="javascript">
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_form.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_form.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_form.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Form dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Form dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -26,5 +42,5 @@
 	oEditor.FCKLanguageManager.TranslatePage(document) ;
 
-	if ( oActiveEl ) 
+	if ( oActiveEl )
 	{
 		GetE('txtName').value	= oActiveEl.name ;
@@ -46,5 +62,5 @@
 		oActiveEl.innerHTML = '&nbsp;' ;
 	}
-	
+
 	oActiveEl.name = GetE('txtName').value ;
 	SetAttribute( oActiveEl, 'action'	, GetE('txtAction').value ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_hiddenfield.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_hiddenfield.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_hiddenfield.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Hidden Field dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Hidden Field dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script type="text/javascript">
@@ -27,5 +42,5 @@
 	oEditor.FCKLanguageManager.TranslatePage(document) ;
 
-	if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type == 'hidden' ) 
+	if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type == 'hidden' )
 	{
 		GetE('txtName').value		= oActiveEl.name ;
@@ -36,5 +51,5 @@
 
 	window.parent.SetOkButton( true ) ;
-}	
+}
 
 
@@ -47,5 +62,5 @@
 		oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
 	}
-	
+
 	oActiveEl.name = GetE('txtName').value ;
 	SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image.html	(revision 141)
@@ -1,9 +1,25 @@
-﻿<!-- @Packager.Header
-<FileDescription>
-	Image Properties dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Image Properties dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image/fck_image.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image/fck_image.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image/fck_image.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Scripts related to the Image dialog window (see fck_image.html).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Scripts related to the Image dialog window (see fck_image.html).
+ */
 
 var oEditor		= window.parent.InnerDialogLoaded() ;
@@ -52,5 +68,5 @@
 	if ( !eImgPreview )
 		return ;
-	
+
 	if ( GetE('txtUrl').value.length == 0 )
 	{
@@ -58,5 +74,5 @@
 		return ;
 	}
-		
+
 	oImageOriginal = document.createElement( 'IMG' ) ;	// new Image() ;
 
@@ -120,11 +136,11 @@
 
 	var regexSize = /^\s*(\d+)px\s*$/i ;
-	
+
 	if ( oImage.style.width )
 	{
-		var aMatch  = oImage.style.width.match( regexSize ) ;
-		if ( aMatch )
-		{
-			iWidth = aMatch[1] ;
+		var aMatchW  = oImage.style.width.match( regexSize ) ;
+		if ( aMatchW )
+		{
+			iWidth = aMatchW[1] ;
 			oImage.style.width = '' ;
 		}
@@ -133,8 +149,8 @@
 	if ( oImage.style.height )
 	{
-		var aMatch  = oImage.style.height.match( regexSize ) ;
-		if ( aMatch )
-		{
-			iHeight = aMatch[1] ;
+		var aMatchH  = oImage.style.height.match( regexSize ) ;
+		if ( aMatchH )
+		{
+			iHeight = aMatchH[1] ;
 			oImage.style.height = '' ;
 		}
@@ -164,9 +180,9 @@
 	if ( oLink )
 	{
-		var sUrl = oLink.getAttribute( '_fcksavedurl' ) ;
-		if ( sUrl == null )
-			sUrl = oLink.getAttribute('href',2) ;
-	
-		GetE('txtLnkUrl').value		= sUrl ;
+		var sLinkUrl = oLink.getAttribute( '_fcksavedurl' ) ;
+		if ( sLinkUrl == null )
+			sLinkUrl = oLink.getAttribute('href',2) ;
+
+		GetE('txtLnkUrl').value		= sLinkUrl ;
 		GetE('cmbLnkTarget').value	= oLink.target ;
 	}
@@ -200,5 +216,5 @@
 			oImage = null ;
 	}
-	
+
 	if ( !bHasImage )
 	{
@@ -214,5 +230,5 @@
 	else
 		oEditor.FCKUndo.SaveUndoStep() ;
-	
+
 	UpdateImage( oImage ) ;
 
@@ -288,5 +304,5 @@
 	UpdatePreview() ;
 	UpdateOriginal() ;
-	
+
 	bPreviewInitialized = true ;
 }
@@ -336,5 +352,5 @@
 	{
 		var e = dimension == 'Width' ? GetE('txtHeight') : GetE('txtWidth') ;
-		
+
 		if ( value.length == 0 || isNaN( value ) )
 		{
@@ -411,5 +427,5 @@
 		UpdateOriginal( true ) ;
 	}
-	
+
 	window.parent.SetSelectedTab( 'Info' ) ;
 }
@@ -442,5 +458,5 @@
 	}
 
-	sActualBrowser = ''
+	sActualBrowser = '' ;
 	SetUrl( fileUrl ) ;
 	GetE('frmUpload').reset() ;
@@ -453,5 +469,5 @@
 {
 	var sFile = GetE('txtUploadFile').value ;
-	
+
 	if ( sFile.length == 0 )
 	{
@@ -459,5 +475,5 @@
 		return false ;
 	}
-	
+
 	if ( ( FCKConfig.ImageUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) ||
 		( FCKConfig.ImageUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) )
@@ -466,5 +482,5 @@
 		return false ;
 	}
-	
+
 	return true ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image/fck_image_preview.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image/fck_image_preview.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_image/fck_image_preview.html	(revision 141)
@@ -1,10 +1,27 @@
-<!-- @Packager.Header
-<FileDescription>
-	Preview page for the Image dialog window.
-	Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Preview page for the Image dialog window.
+ *
+ * Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -23,5 +40,5 @@
 window.onload = function()
 {
-	window.parent.SetPreviewElements( 
+	window.parent.SetPreviewElements(
 		document.getElementById( 'imgPreview' ),
 		document.getElementById( 'lnkPreview' ) ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_link.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_link.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_link.html	(revision 141)
@@ -1,9 +1,25 @@
-<!-- @Packager.Header
-<FileDescription>
-	Link dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Link dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
@@ -93,5 +109,5 @@
 				<br />
 				<input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" />
-				<iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe> 
+				<iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe>
 			</form>
 		</div>
@@ -133,19 +149,19 @@
 								<td valign="top" nowrap="nowrap" width="50%">
 									<input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br />
-									<input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location 
+									<input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location
 										Bar</label><br />
-									<input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu 
+									<input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu
 										Bar</label><br />
-									<input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll 
+									<input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll
 										Bars</label>
 								</td>
 								<td></td>
 								<td valign="top" nowrap="nowrap" width="50%">
-									<input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status 
+									<input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status
 										Bar</label><br />
 									<input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br />
-									<input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full 
+									<input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full
 										Screen (IE)</label><br />
-									<input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent 
+									<input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent
 										(Netscape)</label>
 								</td>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_link/fck_link.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_link/fck_link.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_link/fck_link.js	(revision 141)
@@ -1,10 +1,24 @@
-	/* @Packager.Header
-<FileDescription>
-	Scripts related to the Link dialog window (see fck_link.html).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Dominik Pesch ?dom? (empty selection patch)" email="d.pesch@11com7.de" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Scripts related to the Link dialog window (see fck_link.html).
+ */
 
 var oEditor		= window.parent.InnerDialogLoaded() ;
@@ -50,5 +64,5 @@
 oRegex.UrlOnChangeTestOther = new RegExp('') ;
 //oRegex.UrlOnChangeTestOther.compile( '^(javascript:|#|/)', 'gi' ) ;
-oRegex.UrlOnChangeTestOther.compile( '^((javascript:)|[#/\.])', 'gi' ) ; 
+oRegex.UrlOnChangeTestOther.compile( '^((javascript:)|[#/\.])', 'gi' ) ;
 
 oRegex.ReserveTarget = new RegExp('') ;
@@ -154,10 +168,10 @@
 function LoadAnchorNamesAndIds()
 {
-	// Since version 2.0, the anchors are replaced in the DOM by IMGs so the user see the icon 
+	// Since version 2.0, the anchors are replaced in the DOM by IMGs so the user see the icon
 	// to edit them. So, we must look for that images now.
 	var aAnchors = new Array() ;
-	
+	var i ;
 	var oImages = oEditor.FCK.EditorDocument.getElementsByTagName( 'IMG' ) ;
-	for( var i = 0 ; i < oImages.length ; i++ )
+	for( i = 0 ; i < oImages.length ; i++ )
 	{
 		if ( oImages[i].getAttribute('_fckanchor') )
@@ -167,15 +181,15 @@
 	// Add also real anchors
 	var oLinks = oEditor.FCK.EditorDocument.getElementsByTagName( 'A' ) ;
-	for( var i = 0 ; i < oLinks.length ; i++ )
+	for( i = 0 ; i < oLinks.length ; i++ )
 	{
 		if ( oLinks[i].name && ( oLinks[i].name.length > 0 ) )
 			aAnchors[ aAnchors.length ] = oLinks[i] ;
 	}
-	
+
 	var aIds = oEditor.FCKTools.GetAllChildrenIds( oEditor.FCK.EditorDocument.body ) ;
 
 	bHasAnchors = ( aAnchors.length > 0 || aIds.length > 0 ) ;
 
-	for ( var i = 0 ; i < aAnchors.length ; i++ )
+	for ( i = 0 ; i < aAnchors.length ; i++ )
 	{
 		var sName = aAnchors[i].name ;
@@ -184,5 +198,5 @@
 	}
 
-	for ( var i = 0 ; i < aIds.length ; i++ )
+	for ( i = 0 ; i < aIds.length ; i++ )
 	{
 		oEditor.FCKTools.AddSelectOption( GetE('cmbAnchorId'), aIds[i], aIds[i] ) ;
@@ -497,5 +511,5 @@
 	if ( !oLink )
 		oLink = oEditor.FCK.CreateLink( sUri ) ;
-	
+
 	if ( oLink )
 		sInnerHtml = oLink.innerHTML ;		// Save the innerHTML (IE changes it if it is like an URL).
@@ -538,9 +552,9 @@
 
 	// Accesible popups
-	if( GetE('cmbTarget').value == 'popup' ) 
+	if( GetE('cmbTarget').value == 'popup' )
 	{
 		SetAttribute( oLink, 'onClick_fckprotectedatt', " onClick=\"" + BuildOnClickPopup() + "\"") ;
-	} 
-	else 
+	}
+	else
 	{
 		// Check if the previous onclick was for a popup:
@@ -561,5 +575,5 @@
 	// Advances Attributes
 	SetAttribute( oLink, 'id'		, GetE('txtAttId').value ) ;
-	SetAttribute( oLink, 'name'		, GetE('txtAttName').value ) ;		
+	SetAttribute( oLink, 'name'		, GetE('txtAttName').value ) ;
 	SetAttribute( oLink, 'dir'		, GetE('cmbAttLangDir').value ) ;
 	SetAttribute( oLink, 'lang'		, GetE('txtAttLangCode').value ) ;
@@ -588,5 +602,5 @@
 	// Select the link.
 	oEditor.FCKSelection.SelectNode(oLink);
-	
+
 	return true ;
 }
@@ -641,5 +655,5 @@
 {
 	var sFile = GetE('txtUploadFile').value ;
-	
+
 	if ( sFile.length == 0 )
 	{
@@ -647,5 +661,5 @@
 		return false ;
 	}
-	
+
 	if ( ( FCKConfig.LinkUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) ||
 		( FCKConfig.LinkUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) )
@@ -654,5 +668,5 @@
 		return false ;
 	}
-	
+
 	return true ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_listprop.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_listprop.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_listprop.html	(revision 141)
@@ -1,9 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Bulleted List dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Marcel J Bennett" email="start attribute" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Bulleted List dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_paste.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_paste.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_paste.html	(revision 141)
@@ -1,10 +1,26 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	This dialog is shown when, for some reason (usually security settings), 
-	the user is not able to paste data from the clipboard to the editor using 
-	the toolbar buttons or the context menu.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This dialog is shown when, for some reason (usually security settings),
+ * the user is not able to paste data from the clipboard to the editor using
+ * the toolbar buttons or the context menu.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -23,11 +39,11 @@
 	// First of all, translate the dialog box texts
 	oEditor.FCKLanguageManager.TranslatePage(document) ;
-	
+
 	if ( window.parent.dialogArguments.CustomValue == 'Word' )
 	{
-		var oFrame = document.getElementById('frmData')
+		var oFrame = document.getElementById('frmData') ;
 		oFrame.style.display = '' ;
-		
-		if ( oFrame.contentDocument ) 
+
+		if ( oFrame.contentDocument )
 			oFrame.contentDocument.designMode = 'on' ;
 		else
@@ -40,6 +56,6 @@
 	}
 
-	window.parent.SetOkButton( true ) ;	
-	window.parent.SetAutoSize( true ) ;	
+	window.parent.SetOkButton( true ) ;
+	window.parent.SetAutoSize( true ) ;
 }
 
@@ -47,5 +63,5 @@
 {
 	var sHtml ;
-	
+
 	if ( window.parent.dialogArguments.CustomValue == 'Word' )
 	{
@@ -53,5 +69,5 @@
 		var oBody ;
 
-		if ( oFrame.contentDocument ) 
+		if ( oFrame.contentDocument )
 			oBody = oFrame.contentDocument.body ;
 		else
@@ -71,10 +87,10 @@
 	else
 	{
-		var sHtml = oEditor.FCKTools.HTMLEncode( document.getElementById('txtData').value )  ;
+		sHtml = oEditor.FCKTools.HTMLEncode( document.getElementById('txtData').value )  ;
 		sHtml = sHtml.replace( /\n/g, '<BR>' ) ;
 	}
-	
+
 	oEditor.FCK.InsertHtml( sHtml ) ;
-	
+
 	return true ;
 }
@@ -83,6 +99,6 @@
 {
 	var oFrame = document.getElementById('frmData') ;
-	
-	if ( oFrame.contentDocument ) 
+
+	if ( oFrame.contentDocument )
 		oFrame.contentDocument.body.innerHTML = '' ;
 	else
@@ -92,5 +108,5 @@
 
 // This function will be called from the PasteFromWord dialog (fck_paste.html)
-// Input: oNode a DOM node that contains the raw paste from the clipboard 
+// Input: oNode a DOM node that contains the raw paste from the clipboard
 // bIgnoreFont, bRemoveStyles booleans according to the values set in the dialog
 // Output: the cleaned string
@@ -101,5 +117,5 @@
 	html = html.replace(/<o:p>\s*<\/o:p>/g, '') ;
 	html = html.replace(/<o:p>.*?<\/o:p>/g, '&nbsp;') ;
-	
+
 	// Remove mso-xxx styles.
 	html = html.replace( /\s*mso-[^:]+:[^;"]+;?/gi, '' ) ;
@@ -129,5 +145,5 @@
 		html = html.replace( /\s*FONT-FAMILY:[^;"]*;?/gi, '' ) ;
 	}
-	
+
 	// Remove Class attributes
 	html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3") ;
@@ -139,22 +155,22 @@
 	// Remove empty styles.
 	html =  html.replace( /\s*style="\s*"/gi, '' ) ;
-	
+
 	html = html.replace( /<SPAN\s*[^>]*>\s*&nbsp;\s*<\/SPAN>/gi, '&nbsp;' ) ;
-	
+
 	html = html.replace( /<SPAN\s*[^>]*><\/SPAN>/gi, '' ) ;
-	
+
 	// Remove Lang attributes
 	html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ;
-	
+
 	html = html.replace( /<SPAN\s*>(.*?)<\/SPAN>/gi, '$1' ) ;
-	
+
 	html = html.replace( /<FONT\s*>(.*?)<\/FONT>/gi, '$1' ) ;
 
 	// Remove XML elements and declarations
 	html = html.replace(/<\\?\?xml[^>]*>/gi, '' ) ;
-	
+
 	// Remove Tags with XML namespace declarations: <o:p><\/o:p>
 	html = html.replace(/<\/?\w+:[^>]*>/gi, '' ) ;
-	
+
 	// Remove comments [SF BUG-1481861].
 	html = html.replace(/<\!--.*-->/g, '' ) ;
@@ -163,4 +179,7 @@
 
 	html = html.replace( /<H\d>\s*<\/H\d>/gi, '' ) ;
+
+	// Remove "display:none" tags.
+	html = html.replace( /<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none(.*?)<\/\1>/ig, '' ) ;
 
 	if ( FCKConfig.CleanWordKeepsStructure )
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_radiobutton.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_radiobutton.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_radiobutton.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Radio Button dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Radio Button dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script type="text/javascript">
@@ -50,5 +65,5 @@
 	if ( GetE('txtName').value.length > 0 )
 		oActiveEl.name = GetE('txtName').value ;
-		
+
 	if ( oEditor.FCKBrowserInfo.IsIE )
 		oActiveEl.value = GetE('txtValue').value ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_replace.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_replace.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_replace.html	(revision 141)
@@ -1,9 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	"Replace" dialog box window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Abdul-Aziz A. Al-Oraij" email="aziz.oraij.com" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * "Replace" dialog box window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -28,6 +43,6 @@
 function btnStat(frm)
 {
-	document.getElementById('btnReplace').disabled = 
-		document.getElementById('btnReplaceAll').disabled = 
+	document.getElementById('btnReplace').disabled =
+		document.getElementById('btnReplaceAll').disabled =
 			( document.getElementById('txtFind').value.length == 0 ) ;
 }
@@ -54,5 +69,5 @@
 			return true ;
 	}
-	
+
 	return hasFound ;
 }
@@ -68,5 +83,5 @@
 }
 
-function GetCase() 
+function GetCase()
 {
 	return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_select.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_select.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_select.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Select dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Select dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script type="text/javascript" src="fck_select/fck_select.js"></script>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_select/fck_select.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_select/fck_select.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_select/fck_select.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Scripts for the fck_select.html page.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Scripts for the fck_select.html page.
+ */
 
 function Select( combo )
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_smiley.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_smiley.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_smiley.html	(revision 141)
@@ -1,9 +1,25 @@
-﻿<!-- @Packager.Header
-<FileDescription>
-	Smileys (emoticons) dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Smileys (emoticons) dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -33,5 +49,5 @@
 	oImg.src = url ;
 	oImg.setAttribute( '_fcksavedurl', url ) ;
-	
+
 	// For long smileys list, it seams that IE continues loading the images in
 	// the background when you quickly select one image. so, let's clear
@@ -62,5 +78,5 @@
 var aImages		= FCKConfig.SmileyImages ;
 var iCols		= FCKConfig.SmileyColumns ;
-var iColWidth	= parseInt( 100 / iCols ) ;
+var iColWidth	= parseInt( 100 / iCols, 10 ) ;
 
 var i = 0 ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_source.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_source.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_source.html	(revision 141)
@@ -1,9 +1,25 @@
-<!-- @Packager.Header
-<FileDescription>
-	Source editor dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Source editor dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 <html>
 	<head>
@@ -11,8 +27,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
 		<script language="javascript">
-		
+
 var oEditor		= window.parent.InnerDialogLoaded() ;
 var FCK			= oEditor.FCK ;
@@ -34,7 +49,7 @@
 	if ( oEditor.FCKBrowserInfo.IsIE )
 		oEditor.FCKUndo.SaveUndoStep() ;
-			
+
 	FCK.SetHTML( document.getElementById('txtSource').value, false ) ;
-	
+
 	return true ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_specialchar.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_specialchar.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_specialchar.html	(revision 141)
@@ -1,19 +1,34 @@
-<!-- @Packager.Header
-<FileDescription>
-	Special Chars Selector dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Special Chars Selector dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 <html>
 	<head>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<meta name="robots" content="noindex, nofollow">
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<style type="text/css">
-				.Hand 
-				{ 
+				.Hand
+				{
 					cursor: pointer ;
-					cursor: hand ; 
+					cursor: hand ;
 				}
 				.Sample { font-size: 24px; }
@@ -68,5 +83,5 @@
 {
 	document.write("<TR>") ;
-	for(var j = 0 ; j < cols ; j++) 
+	for(var j = 0 ; j < cols ; j++)
 	{
 		if (aChars[i])
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Spell Check dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Spell Check dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="fck_spellerpages/spellerpages/spellChecker.js"></script>
 		<script type="text/javascript">
@@ -23,4 +38,5 @@
 
 	var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ;
+	oSpeller.spellCheckScript = oEditor.FCKConfig.SpellerPagesServerScript || 'server-scripts/spellchecker.php' ;
 	oSpeller.OnFinished = oSpeller_OnFinished ;
 	oSpeller.openChecker() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js	(revision 141)
@@ -1,3 +1,3 @@
-////////////////////////////////////////////////////
+﻿////////////////////////////////////////////////////
 // controlWindow object
 ////////////////////////////////////////////////////
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/controls.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/controls.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/controls.html	(revision 141)
@@ -139,5 +139,5 @@
 								</td>
 								<td>&nbsp;&nbsp;</td>
-								<td> 
+								<td>
 									<!-- by FredCK
 									<input class="buttonDefault" type="button" value="Close" onClick="end_spell();">
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm	(revision 141)
@@ -1,105 +1,150 @@
-<!--- Coldfusion MX uses java on the server to process tags. So it is save to use most java attributes. For example below
-I use list.lastindexOf(), lastindexOf() is a java string attribute. If you plan on using this tag with earlier versions
-of Coldfusion, you will have to replace the lastindexOf with a pure coldfusion function. By replacing the lastindexOf, spellchecker.cfm
-script should be compatible with all cf version 4.5 and up.
+<cfsilent>
+<!---
+This code uses a CF User Defined Function and should work in CF version 5.0
+and up without alteration.
 
-Also if you are hosting your site at an ISP, you will have to check with them to see if the use of <CFEXECUTE> is allowed. 
-In most cases ISP will not allow the use of that tag for security reasons. Clients would be able to access each others files in certain cases.
- --->
+Also if you are hosting your site at an ISP, you will have to check with them
+to see if the use of <CFEXECUTE> is allowed. In most cases ISP will not allow
+the use of that tag for security reasons. Clients would be able to access each
+others files in certain cases.
+--->
 
+<!---
+The following variables values must reflect your installation needs.
+--->
+<cfset apsell_dir	= "c:\aspell\bin">
 
-<!--- Set up variables --->
-<cfset tempFolder = "c:\test">
-<cfset tempfile = "spell_#randrange(1,1000)#">
-<cfset apsell_dir = "c:\aspell\bin">
-<!--- <cfset spellercss = "/speller/spellerStyle.css">		by FredCK --->
-<cfset spellercss = "../spellerStyle.css">
-<!--- <cfset word_win_src = "/speller/wordWindow.js">		by FredCK --->
-<cfset word_win_src = "../wordWindow.js">
+<cfset lang			= "en_US">
+<cfset aspell_opts	= "-a --lang=#lang# --encoding=utf-8 -H">
 
+<!--- Be sure the temporary folder exists --->
+<cfset tempFolder	= "c:\aspell\temp">
+<cfset tempfile		= "spell_#randrange(1,10000)#">
+
+<cfset spellercss	= "../spellerStyle.css">
+<cfset word_win_src	= "../wordWindow.js">
+
+<cfset form.checktext = form["textinputs[]"]>
+
+<cfscript>
+  function LastIndexOf(subs, str)
+  {
+    return Len(str) - Find(subs, Reverse(str)) + 1;
+  }
+</cfscript>
 
 <!--- Takes care of those pesky smart quotes from MS apps, replaces them with regular quotes --->
-<cfset submitted_text = replacelist(form.checktext,"%u201C,%u201D","%22,%22")> 
-<cfset submitted_text = urlDecode(submitted_text)>
+<cfparam name="url.checktext" default="">
+<cfparam name="form.checktext" default="#url.checktext#">
+<cfset submitted_text = replacelist(form.checktext,"%u201C,%u201D","%22,%22")>
 
+<!--- submitted_text now is ready for processing --->
 
+<!--- use carat on each line to escape possible aspell commands --->
+<cfset text = "">
+<cfset crlf = Chr(13) & Chr(10)>
+
+<cfloop list="#submitted_text#" index="field" delimiters=",">
+  <cfset text = text & "%" & crlf
+                     & "^A" & crlf
+                     & "!" & crlf>
+  <cfset field = URLDecode(field)>
+  <cfloop list="#field#" index="line" delimiters="#crlf#">
+<!---     <cfset submitted_text = replace(submitted_text,"'","\'","All")>
+    <cfset submitted_text = replace(submitted_text,"""","\""","All")> --->
+  	<cfset text = text & "^" & Trim(JSStringFormat(line)) & "#crlf#">
+  </cfloop>
+</cfloop>
 
 
 <!--- need to escape special javascript characters such as ' --->
 <cfset unaltered_text = submitted_text>
-<cfset submitted_text = replace(submitted_text,"'","\'","All")>
-<cfset submitted_text = replace(submitted_text,"""","\""","All")>
-
-<!--- use carat on each line to escape possible aspell commands --->
-<cfset text = "">
-<cfloop list="#submitted_text#" index="idx" delimiters="#chr(10)##chr(13)#">
-	<cfset text =text&"^"&idx&"#chr(10)##chr(13)#">
-</cfloop>
-
-
 
 <!--- create temp file from the submitted text, this will be passed to aspell to be check for misspelled words --->
 <cffile action="write" file="#tempFolder#\#tempfile#.txt" output="#text#" charset="utf-8">
 
-
 <!--- cfsavecontent is used to set the variable that will be returned with the results from aspell.
 If your using the new version of mx 6.1 you can  use the following cfexecute tag instead:
-<cfexecute name="C:\WINDOWS\SYSTEM32\cmd.exe" arguments="/c type c:\test\#tempfile#.txt | c:\aspell\bin\aspell -a --encoding=utf-8 -H" timeout="100" variable="results"></cfexecute> --->
+<cfexecute name="C:\WINDOWS\SYSTEM32\cmd.exe" arguments="/c type c:\test\#tempfile#.txt | c:\aspell\bin\aspell #aspell_opts#" timeout="100" variable="results"></cfexecute> --->
+
+
 
 <cfsavecontent variable="food">
-<cfexecute name="C:\WINDOWS\SYSTEM32\cmd.exe" arguments="/c type #tempFolder#\#tempfile#.txt | #apsell_dir#\aspell -a --encoding=utf-8 -H" timeout="100"></cfexecute>
+<cfexecute name="C:\WINDOWS\SYSTEM32\cmd.exe" arguments="/c type #tempFolder#\#tempfile#.txt | #apsell_dir#\aspell #aspell_opts#" timeout="100"></cfexecute>
 </cfsavecontent>
+
+
 
 <!--- remove temp file --->
 <cffile action="delete" file="#tempFolder#\#tempfile#.txt">
 
+<cfset texts = StructNew()>
+<cfset texts.textinputs = "">
+<cfset texts.words = "">
+<cfset texts.abort = "">
 
+<!--- Generate Text Inputs --->
 
+<cfset i = "0">
+<cfloop index="text" list="#form.checktext#">
+  <cfset texts.textinputs = ListAppend(texts.textinputs, 'textinputs[#i#] = decodeURIComponent("#text#");', '#Chr(13)##Chr(10)#')>
+  <cfset i = i + "1">
+</cfloop>
 
-<cfoutput>
-<html>
-<head>
-<link rel="stylesheet" type="text/css" href="speller/spellerStyle.css">
-<script src="/speller/wordWindow.js"></script>
-<script language="javascript">
-var suggs = new Array();
-var words = new Array();
-var error;
-var wordtext = unescape('#urlencodedFormat(unaltered_text)#');
+<!--- Generate Words Lists --->
 
-<cfset cnt = 1>
-<cfset word_cnt = 0>
+<cfset cnt = "1">
+<cfset word_cnt = "0">
+<cfset input_cnt = "-1">
 <cfloop list="#food#" index="list" delimiters="#chr(10)##chr(13)#">
 	<!--- removes the first line of the aspell output "@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.3)" --->
-	<cfif NOT cnt EQ 1>
-		<cfif find("&",list) OR find("##",list)>
+	<cfif NOT cnt IS "1">
+		<cfif Find("&", list) OR Find("##", list)>
 			<!--- word that misspelled --->
-			<cfset bad_word = listGetAt(list,"2"," ")>
+			<cfset bad_word = listGetAt(list, "2", " ")>
 			<!--- sugestions --->
-			<cfset wrdList = mid(list,(list.lastindexOf(':') + 2),(len(list) - (list.lastindexOf(':') + 2)))>
+			<cfset wrdList = mid(list,(LastIndexOf(':', list) + 2),(len(list) - (LastIndexOf(':', list) + 2)))>
 			<cfset wrdsList = "">
-			<cfloop list=#wrdList# index="idx">
-				<cfset wrdsList =wrdsList&"'"&trim(replace(idx,"'","\'","All"))&"',">
+			<cfloop list="#wrdList#" index="idx">
+				<cfset wrdsList = ListAppend(wrdsList, " '" & trim(replace(idx,"'","\'","All")) & "'", ", ")>
 			</cfloop>
+      <cfset wrdsList = Right(wrdsList, Len(wrdsList) - 1)>
 			<!--- javascript --->
-			words[#word_cnt#] = '#trim(replace(bad_word,"'","\'","All"))#';
-			suggs[#word_cnt#] = [#trim(wrdsList)#];
+			<cfset texts.words = ListAppend(texts.words, "words[#input_cnt#][#word_cnt#] = '#trim(replace(bad_word,"'","\'","All"))#';", "#Chr(13)##Chr(10)#")>
+			<cfset texts.words = ListAppend(texts.words, "suggs[#input_cnt#][#word_cnt#] = [#trim(wrdsList)#];", "#Chr(13)##Chr(10)#")>
 			<cfset word_cnt = word_cnt + 1>
-		<cfelseif find("*",list)>
-		</cfif>			
+		<cfelseif find("*", list)>
+      <cfset input_cnt = input_cnt + "1">
+      <cfset word_cnt = "0">
+      <cfset texts.words = ListAppend(texts.words, "words[#input_cnt#] = [];", "#crlf#")>
+      <cfset texts.words = ListAppend(texts.words, "suggs[#input_cnt#] = [];", "#crlf#")>
+		</cfif>
 	</cfif>
 	<cfset cnt = cnt + 1>
 </cfloop>
 
+<cfif texts.words IS "">
+  <cfset texts.abort = "alert('Spell check complete.\n\nNo misspellings found.');#chrlf#top.window.close();">
+</cfif>
 
+</cfsilent><cfoutput><cfcontent type="text/html"><html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link rel="stylesheet" type="text/css" href="#spellercss#" />
+<script language="javascript" src="#word_win_src#"></script>
+<script language="javascript">
+var suggs = new Array();
+var words = new Array();
+var textinputs = new Array();
+var error;
 
-
-
+#texts.textinputs##Chr(13)##Chr(10)#
+#texts.words#
+#texts.abort#
 
 var wordWindowObj = new wordWindow();
 wordWindowObj.originalSpellings = words;
 wordWindowObj.suggestions = suggs;
-wordWindowObj.text = wordtext;
-
+wordWindowObj.textInputs = textinputs;
 
 function init_spell() {
@@ -117,6 +162,4 @@
 }
 
-
-
 </script>
 
@@ -124,9 +167,8 @@
 <body onLoad="init_spell();">
 
-<script>
+<script type="text/javascript">
 wordWindowObj.writeBody();
 </script>
 
 </body>
-</html>
-</cfoutput>
+</html></cfoutput>
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php	(revision 141)
@@ -2,15 +2,18 @@
 header('Content-type: text/html; charset=utf-8');
 
-//$spellercss = '/speller/spellerStyle.css';	// by FredCK
-$spellercss = '../spellerStyle.css';			// by FredCK
-//$word_win_src = '/speller/wordWindow.js';		// by FredCK
-$word_win_src = '../wordWindow.js';				// by FredCK
-$textinputs = $_POST['textinputs']; # array
-//$aspell_prog = 'aspell';									// by FredCK (for Linux)
-$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"';	// by FredCK (for Windows)
-$lang = 'en_US';
-//$aspell_opts = "-a --lang=$lang --encoding=utf-8";	// by FredCK
-$aspell_opts = "-a --lang=$lang --encoding=utf-8 -H";	// by FredCK
-$tempfiledir = "./";
+// The following variables values must reflect your installation needs.
+
+$aspell_prog	= '"C:\Program Files\Aspell\bin\aspell.exe"';	// by FredCK (for Windows)
+//$aspell_prog	= 'aspell';										// by FredCK (for Linux)
+
+$lang			= 'en_US';
+$aspell_opts	= "-a --lang=$lang --encoding=utf-8 -H";		// by FredCK
+
+$tempfiledir	= "./";
+
+$spellercss		= '../spellerStyle.css';						// by FredCK
+$word_win_src	= '../wordWindow.js';							// by FredCK
+
+$textinputs		= $_POST['textinputs']; # array
 $input_separator = "A";
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl	(revision 141)
@@ -16,5 +16,5 @@
 my $input_separator = "A";
 
-# set the 'wordtext' JavaScript variable to the submitted text. 
+# set the 'wordtext' JavaScript variable to the submitted text.
 sub printTextVar {
 	for( my $i = 0; $i <= $#textinputs; $i++ ) {
@@ -55,5 +55,5 @@
 
 	# temp file was created properly?
-	
+
 	# open temp file, add the submitted text.
 	for( my $i = 0; $i <= $#textinputs; $i++ ) {
@@ -67,5 +67,5 @@
 			print $fh "^$line\n";
 		}
-		
+
 	}
 	# exec aspell command
@@ -82,5 +82,5 @@
 			printTextIdxDecl( $textInputIdx );
 			$wordIdx = 0;
-	
+
 		} elsif( $ret =~ /^(&|#)/ ) {
 			my @tokens = split( " ", $ret, 5 );
@@ -159,5 +159,5 @@
 			parent.init_spell( wordWindowObj );
 		} else {
-			error = "This page was loaded outside of a frameset. "; 
+			error = "This page was loaded outside of a frameset. ";
 			error += "It might not display properly";
 			alert( error );
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js	(revision 141)
@@ -1,3 +1,3 @@
-////////////////////////////////////////////////////
+﻿////////////////////////////////////////////////////
 // spellChecker.js
 //
@@ -20,5 +20,4 @@
 	this.popUpProps = null ;																	// by FredCK
 //	this.spellCheckScript = '/speller/server-scripts/spellchecker.php';		// by FredCK
-	this.spellCheckScript = 'server-scripts/spellchecker.php';				// by FredCK
 	//this.spellCheckScript = '/cgi-bin/spellchecker.pl';
 
@@ -38,5 +37,5 @@
 	this.wordWin = null;
 	this.textArea = textObject;	// deprecated
-	this.textInputs = arguments; 
+	this.textInputs = arguments;
 
 	// private methods
@@ -98,5 +97,5 @@
 	this.wordWin = wordWindowObj;
 	this.controlWin = controlWindowObj;
-	
+
 	// reset properties
 	this.wordWin.resetForm();
@@ -113,5 +112,5 @@
 	// start
 	this._spellcheck();
-	
+
 	return true;
 }
@@ -150,5 +149,5 @@
 	}
 
-	// set this word as an "ignore all" word. 
+	// set this word as an "ignore all" word.
 	this._setAsIgnored( ti, wi, this.ignrAllFlag );
 
@@ -158,5 +157,5 @@
 			if(( i == ti && j > wi ) || i > ti ) {
 				// future word: set as "from ignore all" if
-				// 1) do not already have a flag and 
+				// 1) do not already have a flag and
 				// 2) have the same value as current word
 				if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl )
@@ -215,5 +214,5 @@
 	var newspell = new String( txt.value );
 
-	// set this word as a "replace all" word. 
+	// set this word as a "replace all" word.
 	this._setWordText( ti, wi, newspell, this.replAllFlag );
 
@@ -223,5 +222,5 @@
 			if(( i == ti && j > wi ) || i > ti ) {
 				// future word: set word text to s_word_to_repl if
-				// 1) do not already have a flag and 
+				// 1) do not already have a flag and
 				// 2) have the same value as s_word_to_repl
 				if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl )
@@ -232,5 +231,5 @@
 		}
 	}
-	
+
 	// finally, move on
 	this.currentWordIndex++;
@@ -291,10 +290,10 @@
 	// skip if this is the first word!
 	var ti = this.currentTextIndex;
-	var wi = this.currentWordIndex
-	
+	var wi = this.currentWordIndex;
+
 	if( this.wordWin.totalPreviousWords( ti, wi ) > 0 ) {
 		this.wordWin.removeFocus( ti, wi );
 
-		// go back to the last word index that was acted upon 
+		// go back to the last word index that was acted upon
 		do {
 			// if the current word index is zero then reset the seed
@@ -308,28 +307,29 @@
 				}
 			}
-		} while ( 
+		} while (
 			this.wordWin.totalWords( this.currentTextIndex ) == 0
 			|| this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromIgnrAll
 			|| this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromReplAll
-		); 
+		);
 
 		var text_idx = this.currentTextIndex;
 		var idx = this.currentWordIndex;
 		var preReplSpell = this.wordWin.originalSpellings[text_idx][idx];
-		
+
 		// if we got back to the first word then set the Undo button back to disabled
 		if( this.wordWin.totalPreviousWords( text_idx, idx ) == 0 ) {
 			this.controlWin.disableUndo();
 		}
-	
+
+		var i, j, origSpell ;
 		// examine what happened to this current word.
 		switch( this.wordFlags[text_idx][idx] ) {
-			// replace all: go through this and all the future occurances of the word 
+			// replace all: go through this and all the future occurances of the word
 			// and revert them all to the original spelling and clear their flags
 			case this.replAllFlag :
-				for( var i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
-					for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
+				for( i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
+					for( j = 0; j < this.wordWin.totalWords( i ); j++ ) {
 						if(( i == text_idx && j >= idx ) || i > text_idx ) {
-							var origSpell = this.wordWin.originalSpellings[i][j];
+							origSpell = this.wordWin.originalSpellings[i][j];
 							if( origSpell == preReplSpell ) {
 								this._setWordText ( i, j, origSpell, undefined );
@@ -339,14 +339,14 @@
 				}
 				break;
-				
-			// ignore all: go through all the future occurances of the word 
+
+			// ignore all: go through all the future occurances of the word
 			// and clear their flags
 			case this.ignrAllFlag :
-				for( var i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
-					for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
+				for( i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
+					for( j = 0; j < this.wordWin.totalWords( i ); j++ ) {
 						if(( i == text_idx && j >= idx ) || i > text_idx ) {
-							var origSpell = this.wordWin.originalSpellings[i][j];
+							origSpell = this.wordWin.originalSpellings[i][j];
 							if( origSpell == preReplSpell ) {
-								this.wordFlags[i][j] = undefined; 
+								this.wordFlags[i][j] = undefined;
 							}
 						}
@@ -354,5 +354,5 @@
 				}
 				break;
-				
+
 			// replace: revert the word to its original spelling
 			case this.replWordFlag :
@@ -362,5 +362,5 @@
 
 		// For all four cases, clear the wordFlag of this word. re-start the process
-		this.wordFlags[text_idx][idx] = undefined; 
+		this.wordFlags[text_idx][idx] = undefined;
 		this._spellcheck();
 	}
@@ -369,5 +369,5 @@
 function _spellcheck() {
 	var ww = this.wordWin;
-	
+
 	// check if this is the last word in the current text element
 	if( this.currentWordIndex == ww.totalWords( this.currentTextIndex) ) {
@@ -375,5 +375,5 @@
 		this.currentWordIndex = 0;
 		// keep going if we're not yet past the last text element
-		if( this.currentTextIndex < this.wordWin.textInputs.length ) {	
+		if( this.currentTextIndex < this.wordWin.textInputs.length ) {
 			this._spellcheck();
 			return;
@@ -383,5 +383,5 @@
 		}
 	}
-	
+
 	// if this is after the first one make sure the Undo button is enabled
 	if( this.currentWordIndex > 0 ) {
@@ -409,8 +409,8 @@
 	// get the array of suggested words out of the
 	// three-dimensional array containing all suggestions.
-	var a_suggests = this.wordWin.suggestions[text_num][word_num];	
+	var a_suggests = this.wordWin.suggestions[text_num][word_num];
 	if( a_suggests ) {
 		// got an array of suggestions.
-		for( var ii = 0; ii < a_suggests.length; ii++ ) {	
+		for( var ii = 0; ii < a_suggests.length; ii++ ) {
 			this.controlWin.addSuggestion( a_suggests[ii] );
 		}
@@ -454,6 +454,6 @@
 		for( var j = 0; j < document.forms[i].elements.length; j++ ) {
 			if( document.forms[i].elements[j].type.match( inputPattern )) {
-				inputs[inputs.length] = document.forms[i].elements[j]; 
-			}	
+				inputs[inputs.length] = document.forms[i].elements[j];
+			}
 		}
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html	(revision 141)
@@ -27,6 +27,6 @@
 	var s = new String( str );
 	s = encodeURIComponent( s );
-	// additionally encode single quotes to evade any PHP 
-	// magic_quotes_gpc setting (it inserts escape characters and 
+	// additionally encode single quotes to evade any PHP
+	// magic_quotes_gpc setting (it inserts escape characters and
 	// therefore skews the btye positions of misspelled words)
 	return s.replace( /\'/g, '%27' );
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css	(revision 141)
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js	(revision 141)
@@ -1,3 +1,3 @@
-////////////////////////////////////////////////////
+﻿////////////////////////////////////////////////////
 // wordWindow object
 ////////////////////////////////////////////////////
@@ -13,5 +13,5 @@
 	this._isWordChar = _isWordChar;
 	this._lastPos = _lastPos;
-	
+
 	// public properties
 	this.wordChar = /[a-zA-Z]/;
@@ -70,5 +70,5 @@
 			} else {
 				total_words++;
-			}	
+			}
 		}
 	}
@@ -116,15 +116,15 @@
 		// update the text given the index of the string
 		beginStr = this.textInputs[textIndex].substring( 0, pos );
-		endStr = this.textInputs[textIndex].substring( 
-			pos + oldText.length, 
-			this.textInputs[textIndex].length 
+		endStr = this.textInputs[textIndex].substring(
+			pos + oldText.length,
+			this.textInputs[textIndex].length
 		);
 		this.textInputs[textIndex] = beginStr + newText + endStr;
-		
-		// adjust the indexes on the stack given the differences in 
-		// length between the new word and old word. 
+
+		// adjust the indexes on the stack given the differences in
+		// length between the new word and old word.
 		var lengthDiff = newText.length - oldText.length;
 		this._adjustIndexes( textIndex, wordIndex, lengthDiff );
-		
+
 		word.size = newText.length;
 		word.value = newText;
@@ -141,12 +141,12 @@
 
 	// iterate through each text input.
-	for( var txtid = 0; txtid < this.textInputs.length; txtid++ ) {	
+	for( var txtid = 0; txtid < this.textInputs.length; txtid++ ) {
 		var end_idx = 0;
-		var begin_idx = 0;	
+		var begin_idx = 0;
 		d.writeln( '<form name="textInput'+txtid+'">' );
 		var wordtxt = this.textInputs[txtid];
 		this.indexes[txtid] = [];
 
-		if( wordtxt ) {			
+		if( wordtxt ) {
 			var orig = this.originalSpellings[txtid];
 			if( !orig ) break;
@@ -154,8 +154,8 @@
 			//!!! plain text, or HTML mode?
 			d.writeln( '<div class="plainText">' );
-			// iterate through each occurrence of a misspelled word. 
+			// iterate through each occurrence of a misspelled word.
 			for( var i = 0; i < orig.length; i++ ) {
 				// find the position of the current misspelled word,
-				// starting at the last misspelled word. 
+				// starting at the last misspelled word.
 				// and keep looking if it's a substring of another word
 				do {
@@ -163,15 +163,15 @@
 					end_idx = begin_idx + orig[i].length;
 					// word not found? messed up!
-					if( begin_idx == -1 ) break; 
-					// look at the characters immediately before and after 
+					if( begin_idx == -1 ) break;
+					// look at the characters immediately before and after
 					// the word. If they are word characters we'll keep looking.
 					var before_char = wordtxt.charAt( begin_idx - 1 );
 					var after_char = wordtxt.charAt( end_idx );
-				} while ( 
-					this._isWordChar( before_char ) 
+				} while (
+					this._isWordChar( before_char )
 					|| this._isWordChar( after_char )
 				);
 
-				// keep track of its position in the original text. 
+				// keep track of its position in the original text.
 				this.indexes[txtid][i] = begin_idx;
 
@@ -182,5 +182,5 @@
 				}
 
-				// write out the misspelled word. 
+				// write out the misspelled word.
 				d.write( this._wordInputStr( orig[i] ));
 
@@ -188,9 +188,9 @@
 				if( i == orig.length-1 ){
 					d.write( printForHtml( wordtxt.substr( end_idx )));
-				}			
+				}
 			}
 
 			d.writeln( '</div>' );
-			
+
 		}
 		d.writeln( '</form>' );
@@ -201,6 +201,6 @@
 	//		alert( d.forms[j].elements[k].name + ": " + d.forms[j].elements[k].value );
 	//	}
-	//}	
-	
+	//}
+
 	// set the _forms property
 	this._forms = d.forms;
@@ -218,5 +218,5 @@
 function printForHtml( n ) {
 	return n ;		// by FredCK
-/*	
+/*
 	var htmlstr = n;
 	if( htmlstr.length == 1 ) {
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_table.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_table.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_table.html	(revision 141)
@@ -1,9 +1,25 @@
-﻿<!-- @Packager.Header
-<FileDescription>
-	Table dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Table dialog window.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -47,5 +63,5 @@
 		if (iWidth.indexOf('%') >= 0)			// Percentual = %
 		{
-			iWidth = parseInt( iWidth.substr(0,iWidth.length - 1) ) ;
+			iWidth = parseInt( iWidth.substr(0,iWidth.length - 1), 10 ) ;
 			document.getElementById('selWidthType').value = "percent" ;
 		}
@@ -55,8 +71,8 @@
 			document.getElementById('selWidthType').value = "pixels" ;
 		}
-		
+
 		if (iHeight && iHeight.indexOf('px') >= 0)		// Style Pixel = px
 			iHeight = iHeight.substr(0,iHeight.length - 2);
-		
+
 		document.getElementById('txtWidth').value		= iWidth || '' ;
 		document.getElementById('txtHeight').value		= iHeight || '' ;
@@ -69,11 +85,11 @@
 
 		if (table.caption) document.getElementById('txtCaption').value = table.caption.innerHTML ;
-		
+
 		document.getElementById('txtRows').disabled    = true ;
 		document.getElementById('txtColumns').disabled = true ;
 	}
-	
-	window.parent.SetOkButton( true ) ;	
-	window.parent.SetAutoSize( true ) ;	
+
+	window.parent.SetOkButton( true ) ;
+	window.parent.SetAutoSize( true ) ;
 }
 
@@ -82,5 +98,5 @@
 {
 	var bExists = ( table != null ) ;
-	
+
 	if ( ! bExists )
 		table = oEditor.FCK.EditorDocument.createElement( "TABLE" ) ;
@@ -116,10 +132,10 @@
 	else if ( bExists && eCaption )
 		eCaption.parentNode.removeChild( eCaption ) ;
-		
+
 	if (! bExists)
 	{
 		var iRows = document.getElementById('txtRows').value ;
 		var iCols = document.getElementById('txtColumns').value ;
-		
+
 		for ( var r = 0 ; r < iRows ; r++ )
 		{
@@ -128,15 +144,15 @@
 			{
 				var oCell = oRow.insertCell(-1) ;
-				if ( oEditor.FCKBrowserInfo.IsGecko )
-					oCell.innerHTML = '<br _moz_editor_bogus_node="TRUE" />' ;
+				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
+					oCell.innerHTML = GECKO_BOGUS ;
 				//oCell.innerHTML = "&nbsp;" ;
 			}
 		}
-		
+
 		oEditor.FCKUndo.SaveUndoStep() ;
-		
+
 		oEditor.FCK.InsertElement( table ) ;
 	}
-	
+
 	return true ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_tablecell.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_tablecell.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_tablecell.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Cell properties dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Cell properties dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_template.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_template.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_template.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Template selection dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Template selection dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -52,7 +68,7 @@
 	// Translate the dialog box texts.
 	oEditor.FCKLanguageManager.TranslatePage(document) ;
-	
+
 	GetE('xChkReplaceAll').checked = ( FCKConfig.TemplateReplaceAll !== false ) ;
-	
+
 	if ( FCKConfig.TemplateReplaceCheckbox !== false )
 		GetE('xReplaceBlock').style.display = '' ;
@@ -65,4 +81,6 @@
 function LoadTemplatesXml()
 {
+	var oTemplate ;
+
 	if ( !FCK._Templates )
 	{
@@ -85,7 +103,7 @@
 		for ( var i = 0 ; i < aTplNodes.length ; i++ )
 		{
-			var oNode = aTplNodes[i]
-
-			var oTemplate = new Object() ;
+			var oNode = aTplNodes[i] ;
+
+			oTemplate = new Object() ;
 
 			var oPart ;
@@ -124,10 +142,10 @@
 	else
 	{
-		for ( var i = 0 ; i < FCK._Templates.length ; i++ )
+		for ( var j = 0 ; j < FCK._Templates.length ; j++ )
 		{
-			var oTemplate = FCK._Templates[i] ;
+			oTemplate = FCK._Templates[j] ;
 
 			var oItemDiv = GetE('eList').appendChild( document.createElement( 'DIV' ) ) ;
-			oItemDiv.TplIndex = i ;
+			oItemDiv.TplIndex = j ;
 			oItemDiv.className = 'TplItem' ;
 
@@ -146,5 +164,5 @@
 
 			oItemDiv.innerHTML = sInner ;
-			
+
 			oItemDiv.onmouseover = ItemDiv_OnMouseOver ;
 			oItemDiv.onmouseout = ItemDiv_OnMouseOut ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_textarea.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_textarea.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_textarea.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Text Area dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Text Area dialog window.
 -->
 <html>
@@ -11,5 +27,4 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
 		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
 		<script type="text/javascript">
Index: /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_textfield.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_textfield.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_textfield.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Text field dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Text field dialog window.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
Index: Keditor/branches/developers/alfonsoml/editor/dialog/fck_universalkey.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/dialog/fck_universalkey.html	(revision 140)
+++ 	(revision )
@@ -1,52 +1,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<!-- @Packager.Header
-<FileDescription>
-	Unicode Keyboard dialog window.
-</FileDescription>
-<Author name="Abdul-Aziz Al-Oraij" email="top7up@hotmail.com" />
-<Author name="Michel Staelens" />
-<Author name="Bernadette Cierzniak" />
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
--->
-<html>
-	<head>
-		<title>Universal Keyboard</title>
-		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-		<meta content="noindex, nofollow" name="robots">
-		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <!-- @Packager.RemoveLine -->
-		<link rel="stylesheet" type="text/css" href="fck_universalkey/fck_universalkey.css" />
-		<script type="text/javascript">
-
-var oEditor = window.parent.InnerDialogLoaded() ;
-
-window.onload = function()
-{
-	document.body.style.padding = '0px' ;
-
-	// First of all, translate the dialog box texts
-	oEditor.FCKLanguageManager.TranslatePage(document) ;
-
-	window.parent.SetOkButton( true ) ;
-	window.parent.SetAutoSize( true ) ;	
-}
-
-function Ok()
-{
-	var oArea = document.getElementById( 'uni_area' ) ;
-
-	if ( oArea.value.length > 0 )
-		oEditor.FCK.InsertHtml( oArea.value ) ;
-
-	return true ;
-}
-
-		</script>
-	</head>
-	<body style="OVERFLOW: hidden" scroll="no">
-		<textarea id="uni_area" cols="40" rows="4" style="width:100%;height:60px;"></textarea>
-		<script type="text/javascript" src="fck_universalkey/data.js"></script>
-		<script type="text/javascript" src="fck_universalkey/diacritic.js"></script>
-		<script type="text/javascript" src="fck_universalkey/dialogue.js"></script>
-		<script type="text/javascript" src="fck_universalkey/multihexa.js"></script>
-	</body>
-</html>
Index: /FCKeditor/branches/developers/alfonsoml/editor/fckdebug.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/fckdebug.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/fckdebug.html	(revision 141)
@@ -1,9 +1,25 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	This is the Debug window.
-	It automatically popups if the Debug = true in the configuration file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the Debug window.
+ * It automatically popups if the Debug = true in the configuration file.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -32,8 +48,8 @@
 	if ( !noParse && message != null && isNaN( message ) )
 		message = message.replace(/</g, "&lt;") ;
-		
+
 	if ( color )
 		message = '<font color="' + color + '">' + message + '<\/font>' ;
-		
+
 	window.FCKMessages[ window.FCKMessages.length ] = message ;
 	StartTimer() ;
@@ -43,16 +59,16 @@
 {
 	var message ;
-	
-	if ( anyObject != null ) 
+
+	if ( anyObject != null )
 	{
 		message = 'Properties of: ' + anyObject + '</b><blockquote>' ;
-		
+
 		for (var prop in anyObject)
 		{
-			try 
+			try
 			{
 				var sVal = anyObject[ prop ] != null ? anyObject[ prop ] + '' : '[null]' ;
 				message += '<b>' + prop + '</b> : ' + sVal.replace(/</g, '&lt;') + '<br>' ;
-			} 
+			}
 			catch (e)
 			{
@@ -68,8 +84,8 @@
 		}
 
-		message += '</blockquote><b>' ; 
+		message += '</blockquote><b>' ;
 	} else
 		message = 'OutputObject : Object is "null".' ;
-		
+
 	Output( message, color, true ) ;
 }
@@ -86,5 +102,5 @@
 		// Get the first item in the queue
 		var sMessage = window.FCKMessages[0] ;
-		
+
 		// Removes the first item from the queue
 		var oTempArray = new Array() ;
@@ -92,10 +108,10 @@
 			oTempArray[ i - 1 ] = window.FCKMessages[ i ] ;
 		window.FCKMessages = oTempArray ;
-		
+
 		var d = new Date() ;
-		var sTime = 
-			( d.getHours() + 100 + '' ).substr( 1,2 ) + ':' + 
-			( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' + 
-			( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' + 
+		var sTime =
+			( d.getHours() + 100 + '' ).substr( 1,2 ) + ':' +
+			( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' +
+			( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' +
 			( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/fckdialog.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/fckdialog.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/fckdialog.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	This page is used by all dialog box as the container.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page is used by all dialog box as the container.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -85,5 +101,5 @@
 		{
 			if ( document.all )
-				window.dialogHeight = ( parseInt( window.dialogHeight ) + iDiff ) + 'px' ;
+				window.dialogHeight = ( parseInt( window.dialogHeight, 10 ) + iDiff ) + 'px' ;
 			else
 				window.resizeBy( 0, iDiff ) ;
@@ -196,5 +212,5 @@
 			case 13 :		// ENTER
 				var oTarget = e.srcElement || e.target ;
-				if ( oTarget.tagName == 'TEXTAREA' ) 
+				if ( oTarget.tagName == 'TEXTAREA' )
 					return true ;
 				Ok() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/fckeditor.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/fckeditor.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/fckeditor.html	(revision 141)
@@ -1,8 +1,24 @@
-﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Main page that holds the editor.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Main page that holds the editor.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -72,4 +88,5 @@
 LoadScript( '_source/classes/fckdomrange.js' ) ;
 LoadScript( '_source/classes/fckdocumentfragment_' + sSuffix + '.js' ) ;
+LoadScript( '_source/classes/fckw3crange.js' ) ;
 LoadScript( '_source/classes/fckdomrange_' + sSuffix + '.js' ) ;
 LoadScript( '_source/classes/fckenterkey.js' ) ;
@@ -133,5 +150,13 @@
 {
 	// Remove IE mouse flickering.
-	document.execCommand( 'BackgroundImageCache', false, true ) ;
+	try
+	{
+		document.execCommand( 'BackgroundImageCache', false, true ) ;
+	}
+	catch (e)
+	{
+		// We have been reported about loading problems caused by the above
+		// line. For safety, let's just ignore errors.
+	}
 
 	// Create the default cleanup object used by the editor.
@@ -174,5 +199,5 @@
 	</script>
 	<script type="text/javascript">
-	
+
 // Set the editor interface direction.
 window.document.dir = FCKLang.Dir ;
@@ -203,5 +228,5 @@
 {
 	var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ;
-	
+
 	if ( oToolbarSet.IsLoaded )
 		StartEditor() ;
@@ -237,8 +262,8 @@
 		FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
 
-		// Call the special "FCKeditor_OnComplete" function that should be present in 
+		// Call the special "FCKeditor_OnComplete" function that should be present in
 		// the HTML page where the editor is located.
 		if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' )
-			window.parent.FCKeditor_OnComplete( FCK ) ;	
+			window.parent.FCKeditor_OnComplete( FCK ) ;
 	}
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/browser.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/browser.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/browser.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	CSS styles used by all pages that compose the File Browser.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * CSS styles used by all pages that compose the File Browser.
+ */
 
 body
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/browser.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/browser.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/browser.html	(revision 141)
@@ -1,13 +1,28 @@
-<!-- @Packager.Header
-<FileDescription>
-	This page compose the File Browser dialog frameset.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page compose the File Browser dialog frameset.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
 		<title>FCKeditor - Resources Browser</title>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<link href="browser.css" type="text/css" rel="stylesheet">
 		<script type="text/javascript" src="js/fckxml.js"></script>
@@ -18,5 +33,5 @@
 	var oRegex = new RegExp( '[\?&]' + paramName + '=([^&]+)', 'i' ) ;
 	var oMatch = oRegex.exec( window.top.location.search ) ;
-	
+
 	if ( oMatch && oMatch.length > 1 )
 		return decodeURIComponent( oMatch[1] ) ;
@@ -51,9 +66,9 @@
 	sUrl += '&Type=' + this.ResourceType ;
 	sUrl += '&CurrentFolder=' + encodeURIComponent( this.CurrentFolder ) ;
-	
+
 	if ( params ) sUrl += '&' + params ;
 
 	var oXML = new FCKXml() ;
-	
+
 	if ( callBackFunction )
 		oXML.LoadUrl( sUrl, callBackFunction ) ;	// Asynchronous load.
@@ -66,11 +81,11 @@
 oConnector.CheckError = function( responseXml )
 {
-	var iErrorNumber = 0
+	var iErrorNumber = 0 ;
 	var oErrorNode = responseXml.SelectSingleNode( 'Connector/Error' ) ;
-	
+
 	if ( oErrorNode )
 	{
-		iErrorNumber = parseInt( oErrorNode.attributes.getNamedItem('number').value ) ;
-		
+		iErrorNumber = parseInt( oErrorNode.attributes.getNamedItem('number').value, 10 ) ;
+
 		switch ( iErrorNumber )
 		{
@@ -102,8 +117,8 @@
 var oIcons = new Object() ;
 
-oIcons.AvailableIconsArray = [ 
+oIcons.AvailableIconsArray = [
 	'ai','avi','bmp','cs','dll','doc','exe','fla','gif','htm','html','jpg','js',
 	'mdb','mp3','pdf','ppt','rdp','swf','swt','txt','vsd','xls','xml','zip' ] ;
-	
+
 oIcons.AvailableIcons = new Object() ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/basexml.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/basexml.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/basexml.asp	(revision 141)
@@ -1,7 +1,23 @@
-<!-- @Packager.Header
-<FileDescription>
-	This file include the functions that create the base XML output.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This file include the functions that create the base XML output.
 -->
 <%
@@ -25,5 +41,5 @@
 	' Create the main "Connector" node.
 	Response.Write "<Connector command=""" & command & """ resourceType=""" & resourceType & """>"
-	
+
 	' Add the current folder node.
 	Response.Write "<CurrentFolder path=""" & ConvertToXmlAttribute( currentFolder ) & """ url=""" & ConvertToXmlAttribute( GetUrlFromPath( resourceType, currentFolder) ) & """ />"
@@ -36,10 +52,10 @@
 Sub SendError( number, text )
 	SetXmlHeaders
-	
+
 	' Create the XML document header.
 	Response.Write "<?xml version=""1.0"" encoding=""utf-8"" ?>"
-	
+
 	Response.Write "<Connector><Error number=""" & number & """ text=""" & Server.HTMLEncode( text ) & """ /></Connector>"
-	
+
 	Response.End
 End Sub
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/class_upload.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/class_upload.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/class_upload.asp	(revision 141)
@@ -1,8 +1,24 @@
-<!-- @Packager.Header
-<FileDescription>
-	These are the classes used to handle ASP upload without using third
-	part components (OCX/DLL).
-</FileDescription>
-<Author name="NetRube" email="netrube@126.com" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * These are the classes used to handle ASP upload without using third
+ * part components (OCX/DLL).
 -->
 <%
@@ -35,14 +51,14 @@
 	Private oSourceData
 	Private nMaxSize, nErr, sAllowed, sDenied
-	
+
 	Private Sub Class_Initialize
 		nErr		= 0
 		nMaxSize	= 1048576
-		
+
 		Set File			= Server.CreateObject("Scripting.Dictionary")
 		File.CompareMode	= 1
 		Set Form			= Server.CreateObject("Scripting.Dictionary")
 		Form.CompareMode	= 1
-		
+
 		Set oSourceData		= Server.CreateObject("ADODB.Stream")
 		oSourceData.Type	= 1
@@ -50,5 +66,5 @@
 		oSourceData.Open
 	End Sub
-	
+
 	Private Sub Class_Terminate
 		Form.RemoveAll
@@ -56,9 +72,9 @@
 		File.RemoveAll
 		Set File = Nothing
-		
+
 		oSourceData.Close
 		Set oSourceData = Nothing
 	End Sub
-	
+
 	Public Property Get Version
 		Version = "NetRube Upload Class Version 1.0 Build 20041218"
@@ -68,13 +84,13 @@
 		ErrNum	= nErr
 	End Property
-	
+
 	Public Property Let MaxSize(nSize)
 		nMaxSize	= nSize
 	End Property
-	
+
 	Public Property Let Allowed(sExt)
 		sAllowed	= sExt
 	End Property
-	
+
 	Public Property Let Denied(sExt)
 		sDenied	= sExt
@@ -88,5 +104,5 @@
 			Exit Sub
 		End If
-		
+
 		Dim nTotalSize
 		nTotalSize	= Request.TotalBytes
@@ -99,10 +115,10 @@
 			Exit Sub
 		End If
-		
+
 		oSourceData.Write Request.BinaryRead(nTotalSize)
 		oSourceData.Position = 0
-		
+
 		Dim oTotalData, oFormStream, sFormHeader, sFormName, bCrLf, nBoundLen, nFormStart, nFormEnd, nPosStart, nPosEnd, sBoundary
-		
+
 		oTotalData	= oSourceData.Read
 		bCrLf		= ChrB(13) & ChrB(10)
@@ -110,10 +126,10 @@
 		nBoundLen	= LenB(sBoundary) + 2
 		nFormStart	= nBoundLen
-		
+
 		Set oFormStream = Server.CreateObject("ADODB.Stream")
-		
+
 		Do While (nFormStart + 2) < nTotalSize
 			nFormEnd	= InStrB(nFormStart, oTotalData, bCrLf & bCrLf) + 3
-			
+
 			With oFormStream
 				.Type	= 1
@@ -128,10 +144,10 @@
 				.Close
 			End With
-			
+
 			nFormStart	= InStrB(nFormEnd, oTotalData, sBoundary) - 1
 			nPosStart	= InStr(22, sFormHeader, " name=", 1) + 7
 			nPosEnd		= InStr(nPosStart, sFormHeader, """")
 			sFormName	= Mid(sFormHeader, nPosStart, nPosEnd - nPosStart)
-			
+
 			If InStr(45, sFormHeader, " filename=", 1) > 0 Then
 				Set File(sFormName)			= New NetRube_FileInfo
@@ -161,8 +177,8 @@
 				End With
 			End If
-			
+
 			nFormStart	= nFormStart + nBoundLen
 		Loop
-		
+
 		oTotalData = ""
 		Set oFormStream = Nothing
@@ -174,10 +190,10 @@
 			Exit Sub
 		End If
-		
+
 		If Not IsAllowed(File(sItem).Ext) Then
 			nErr = 4
 			Exit Sub
 		End If
-		
+
 		Dim oFileStream
 		Set oFileStream = Server.CreateObject("ADODB.Stream")
@@ -194,5 +210,5 @@
 		Set oFileStream = Nothing
 	End Sub
-	
+
 	Private Function IsAllowed(sExt)
 		Dim oRE
@@ -200,5 +216,5 @@
 		oRE.IgnoreCase	= True
 		oRE.Global		= True
-		
+
 		If sDenied = "" Then
 			oRE.Pattern	= sAllowed
@@ -208,5 +224,5 @@
 			IsAllowed	= Not oRE.Test(sExt)
 		End If
-		
+
 		Set oRE	= Nothing
 	End Function
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/commands.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/commands.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/commands.asp	(revision 141)
@@ -1,8 +1,24 @@
-<!-- @Packager.Header
-<FileDescription>
-	This file include the functions that handle the Command requests
-	in the ASP Connector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This file include the functions that handle the Command requests
+ * in the ASP Connector.
 -->
 <%
@@ -23,7 +39,7 @@
 		Response.Write "<Folder name=""" & ConvertToXmlAttribute( oFolder.name ) & """ />"
 	Next
-	
+
 	Set oFSO = Nothing
-	
+
 	' Close the "Folders" node.
 	Response.Write "</Folders>"
@@ -40,26 +56,26 @@
 	Set oFolders	= oCurrentFolder.SubFolders
 	Set oFiles		= oCurrentFolder.Files
-	
+
 	' Open the "Folders" node.
 	Response.Write "<Folders>"
-	
+
 	For Each oFolder in oFolders
 		Response.Write "<Folder name=""" & ConvertToXmlAttribute( oFolder.name ) & """ />"
 	Next
-	
+
 	' Close the "Folders" node.
 	Response.Write "</Folders>"
-		
+
 	' Open the "Files" node.
 	Response.Write "<Files>"
-	
+
 	For Each oFile in oFiles
 		Dim iFileSize
 		iFileSize = Round( oFile.size / 1024 )
 		If ( iFileSize < 1 AND oFile.size <> 0 ) Then iFileSize = 1
-		
+
 		Response.Write "<File name=""" & ConvertToXmlAttribute( oFile.name ) & """ size=""" & iFileSize & """ />"
 	Next
-	
+
 	' Close the "Files" node.
 	Response.Write "</Files>"
@@ -78,15 +94,15 @@
 		Dim sServerDir
 		sServerDir = ServerMapFolder( resourceType, currentFolder & "/" & sNewFolderName )
-		
+
 		On Error Resume Next
 
 		CreateServerFolder sServerDir
-		
+
 		Dim iErrNumber, sErrDescription
 		iErrNumber		= err.number
 		sErrDescription	= err.Description
-		
+
 		On Error Goto 0
-		
+
 		Select Case iErrNumber
 			Case 0
@@ -117,5 +133,5 @@
 	Dim sErrorNumber
 	sErrorNumber = "0"
-	
+
 	Dim sFileName, sOriginalFileName, sExtension
 	sFileName = ""
@@ -130,5 +146,5 @@
 		Dim oFSO
 		Set oFSO = Server.CreateObject( "Scripting.FileSystemObject" )
-	
+
 		' Get the uploaded file name.
 		sFileName	= oUploader.File( "NewFile" ).Name
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/config.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/config.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/config.asp	(revision 141)
@@ -1,14 +1,29 @@
-<!-- @Packager.Header
-<FileDescription>
-	Configuration file for the File Manager Connector for ASP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the File Manager Connector for ASP.
 -->
 <%
 
-' SECURITY: You must explicitelly enable this "connector" (set it to "True"). 
+' SECURITY: You must explicitelly enable this "connector" (set it to "True").
 Dim ConfigIsEnabled
 ConfigIsEnabled = False
-ConfigIsEnabled = True		' @Packager.RemoveLine
 
 ' Path to user files relative to the document root.
@@ -21,5 +36,5 @@
 
 ConfigAllowedExtensions.Add	"File", ""
-ConfigDeniedExtensions.Add	"File", "php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess"
+ConfigDeniedExtensions.Add	"File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis"
 
 ConfigAllowedExtensions.Add	"Image", "jpg|gif|jpeg|png|bmp"
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/connector.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/connector.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/connector.asp	(revision 141)
@@ -1,12 +1,28 @@
-<%@ CodePage=65001 Language="VBScript"%>
+﻿<%@ CodePage=65001 Language="VBScript"%>
 <%
 Option Explicit
 Response.Buffer = True
 %>
-<!-- @Packager.Header
-<FileDescription>
-	This is the File Manager Connector for ASP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Manager Connector for ASP.
 -->
 <!--#include file="config.asp"-->
@@ -32,5 +48,5 @@
 	End If
 Else
-	sUserFilesPath = "/UserFiles/"
+	sUserFilesPath = "/userfiles/"
 End If
 
@@ -47,5 +63,5 @@
 Sub DoResponse()
 	Dim sCommand, sResourceType, sCurrentFolder
-	
+
 	' Get the main request information.
 	sCommand = Request.QueryString("Command")
@@ -54,5 +70,5 @@
 	sResourceType = Request.QueryString("Type")
 	If ( sResourceType = "" ) Then Exit Sub
-	
+
 	sCurrentFolder = Request.QueryString("CurrentFolder")
 	If ( sCurrentFolder = "" ) Then Exit Sub
@@ -68,5 +84,5 @@
 	If ( InStr( 1, sCurrentFolder, ".." ) <> 0 OR InStr( 1, sResourceType, ".." ) <> 0 ) Then
 		SendError 102, ""
-	End If 
+	End If
 
 	' File Upload doesn't have to Return XML, so it must be intercepted before anything.
@@ -77,5 +93,5 @@
 
 	SetXmlHeaders
-	
+
 	CreateXmlHeader sCommand, sResourceType, sCurrentFolder
 
@@ -101,7 +117,7 @@
 	oRE.Global		= True
 	oRE.Pattern		= "^(File|Image|Flash|Media)$"
-	
+
 	IsAllowedType = oRE.Test( resourceType )
-	
+
 	Set oRE	= Nothing
 End Function
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/io.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/io.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/io.asp	(revision 141)
@@ -1,7 +1,23 @@
-<!-- @Packager.Header
-<FileDescription>
-	This file include IO specific functions used by the ASP Connector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This file include IO specific functions used by the ASP Connector.
 -->
 <%
@@ -22,5 +38,5 @@
 	Dim sResourceTypePath
 	sResourceTypePath = sUserFilesDirectory & LCase( resourceType ) & "\"
-	
+
 	' Ensure that the directory exists.
 	CreateServerFolder sResourceTypePath
@@ -33,15 +49,15 @@
 	Dim oFSO
 	Set oFSO = Server.CreateObject( "Scripting.FileSystemObject" )
-	
+
 	Dim sParent
 	sParent = oFSO.GetParentFolderName( folderPath )
-	
+
 	' Check if the parent exists, or create it.
 	If ( NOT oFSO.FolderExists( sParent ) ) Then CreateServerFolder( sParent )
-	
-	If ( oFSO.FolderExists( folderPath ) = False ) Then 
+
+	If ( oFSO.FolderExists( folderPath ) = False ) Then
 		oFSO.CreateFolder( folderPath )
 	End If
-	
+
 	Set oFSO = Nothing
 End Sub
@@ -52,21 +68,21 @@
 	oRE.IgnoreCase	= True
 	oRE.Global		= True
-	
+
 	Dim sAllowed, sDenied
 	sAllowed	= ConfigAllowedExtensions.Item( resourceType )
 	sDenied		= ConfigDeniedExtensions.Item( resourceType )
-	
+
 	IsAllowedExt = True
-	
+
 	If sDenied <> "" Then
 		oRE.Pattern	= sDenied
 		IsAllowedExt	= Not oRE.Test( extension )
-	End If 
-	
+	End If
+
 	If IsAllowedExt And sAllowed <> "" Then
 		oRE.Pattern		= sAllowed
 		IsAllowedExt	= oRE.Test( extension )
 	End If
-	
+
 	Set oRE	= Nothing
 End Function
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/util.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/util.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/asp/util.asp	(revision 141)
@@ -1,7 +1,23 @@
-<!-- @Packager.Header
-<FileDescription>
-	This file include generic functions used by the ASP Connector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This file include generic functions used by the ASP Connector.
 -->
 <%
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/aspx/connector.aspx
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/aspx/connector.aspx	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/aspx/connector.aspx	(revision 141)
@@ -1,14 +1,30 @@
 <%@ Page language="c#" Inherits="FredCK.FCKeditorV2.FileBrowserConnector" AutoEventWireup="false" %>
-<!-- @Packager.Header
-<FileDescription>
-	This is the File Browser Connector for ASP.NET.
-	
-	The code of this page if included in the FCKeditor.Net package, 
-	in the FredCK.FCKeditorV2.dll assemblyfile. So to use it you must 
-	include that DLL in your "bin" directory.
-	
-	To download the FCKeditor.Net package, go to our official web site:
-	http://www.fckeditor.net
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
--->
+<%--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Browser Connector for ASP.NET.
+ *
+ * The code of this page if included in the FCKeditor.Net package,
+ * in the FredCK.FCKeditorV2.dll assembly file. So to use it you must
+ * include that DLL in your "bin" directory.
+ *
+ * To download the FCKeditor.Net package, go to our official web site:
+ * http://www.fckeditor.net
+--%>
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/cfm/config.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/cfm/config.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/cfm/config.cfm	(revision 141)
@@ -1,4 +1,23 @@
 <cfsetting enablecfoutputonly="Yes">
-
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+--->
 <cfscript>
 	config = structNew();
@@ -7,5 +26,5 @@
 	config.enabled = false;
 
-	config.userFilesPath = "/UserFiles/";
+	config.userFilesPath = "/userfiles/";
 
 	config.serverPath = ""; // use this to force the server path if FCKeditor is not running directly off the root of the application or the FCKeditor directory in the URL is a virtual directory or a symbolic link / junction
@@ -16,5 +35,5 @@
 	// config.allowedExtensions["File"] = "doc,rtf,pdf,ppt,pps,xls,csv,vnd,zip";
 	config.allowedExtensions["File"] = "";
-	config.deniedExtensions["File"] = "php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess";
+	config.deniedExtensions["File"] = "html,htm,php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess,asis";
 
 	config.allowedExtensions["Image"] = "png,gif,jpg,jpeg,bmp";
@@ -36,9 +55,9 @@
 
 <cfelseif isDefined("server.userFilesPath")>
-	
+
 	<cflock scope="server" type="readonly" timeout="5">
 	<cfset config.userFilesPath = server.userFilesPath>
 	</cflock>
-	
+
 </cfif>
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/cfm/connector.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/cfm/connector.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/cfm/connector.cfm	(revision 141)
@@ -1,26 +1,41 @@
-<cfsetting enablecfoutputonly="yes" showdebugoutput="no">
-<!--- @Packager.Header
-<FileDescription>
-	File Browser connector for ColdFusion.
-	(based on the original CF connector by Hendrik Kramer - hk@lwd.de)
-
-	Note: 
-	FCKeditor requires that the connector responds with UTF-8 encoded XML.
-	As ColdFusion 5 does not fully support UTF-8 encoding, we force ASCII 
-	file and folder names in this connector to allow CF5 send a UTF-8 
-	encoded response - code points under 127 in UTF-8 are stored using a 
-	single byte, using the same encoding as ASCII, which is damn handy. 
-	This is all grand for the English speakers, like meself, but I dunno 
-	how others are gonna take to it. Well, the previous version of this 
-	connector already did this with file names and nobody seemed to mind, 
-	so fingers-crossed nobody will mind their folder names being munged too.
-	  
-</FileDescription>
-<Author name="Mark Woods" email="mark@thickpaddy.com" />
-<Author name="Wim Lemmens" email="didgiman@gmail.com" />
+﻿<cfsetting enablecfoutputonly="yes" showdebugoutput="no">
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * File Browser connector for ColdFusion.
+ * (based on the original CF connector by Hendrik Kramer - hk@lwd.de)
+ *
+ * Note:
+ * FCKeditor requires that the connector responds with UTF-8 encoded XML.
+ * As ColdFusion 5 does not fully support UTF-8 encoding, we force ASCII
+ * file and folder names in this connector to allow CF5 send a UTF-8
+ * encoded response - code points under 127 in UTF-8 are stored using a
+ * single byte, using the same encoding as ASCII, which is damn handy.
+ * This is all grand for the English speakers, like meself, but I dunno
+ * how others are gonna take to it. Well, the previous version of this
+ * connector already did this with file names and nobody seemed to mind,
+ * so fingers-crossed nobody will mind their folder names being munged too.
+ *
 --->
 
 <cfparam name="url.command">
-<cfparam name="url.type"> 
+<cfparam name="url.type">
 <cfparam name="url.currentFolder">
 <!--- note: no serverPath url parameter - see config.cfm if you need to set the serverPath manually --->
@@ -32,15 +47,11 @@
 	lAllowedExtensions = config.allowedExtensions[url.type];
 	lDeniedExtensions = config.deniedExtensions[url.type];
-	
+
 	// make sure the user files path is correctly formatted
 	userFilesPath = replace(userFilesPath, "\", "/", "ALL");
-	userFilesPath = replace(userFilesPath, '//', '/', 'ALL');
 	if ( right(userFilesPath,1) neq "/" ) {
 		userFilesPath = userFilesPath & "/";
 	}
-	if ( left(userFilesPath,1) neq "/" ) {
-		userFilesPath = "/" & userFilesPath;
-	}
-	
+
 	// make sure the current folder is correctly formatted
 	url.currentFolder = replace(url.currentFolder, "\", "/", "ALL");
@@ -58,7 +69,7 @@
 		fs = "\";
 	}
-	
+
 	// Get the base physical path to the web root for this application. The code to determine the path automatically assumes that
-	// the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a 
+	// the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a
 	// virtual directory or a symbolic link / junction. Use the serverPath config setting to force a physical path if necessary.
 	if ( len(config.serverPath) ) {
@@ -67,8 +78,8 @@
 		serverPath = replaceNoCase(getBaseTemplatePath(),replace(cgi.script_name,"/",fs,"all"),"");
 	}
-			
+
 	// map the user files path to a physical directory
-	userFilesServerPath = serverPath & replace(userFilesPath,"/",fs,"all");
-	
+	userFilesServerPath = serverPath & url.type & replace(url.currentFolder,"/",fs,"all");
+
 	xmlContent = ""; // append to this string to build content
 </cfscript>
@@ -77,9 +88,9 @@
 
 	<cfset xmlContent = "<Error number=""1"" text=""This connector is disabled. Please check the 'editor/filemanager/browser/default/connectors/cfm/config.cfm' file"" />">
-	
+
 <cfelseif find("..",url.currentFolder)>
-	
+
 	<cfset xmlContent = "<Error number=""102"" />">
-	
+
 </cfif>
 
@@ -87,22 +98,22 @@
 
 <!--- create directories in physical path if they don't already exist --->
-<cfset currentPath = serverPath>
+<cfset currentPath = "">
 <cftry>
-
-	<cfloop list="#userFilesPath#" index="name" delimiters="/">
-		
+	<cfloop list="#userFilesServerPath#" index="name" delimiters="/">
+
 		<cfif not directoryExists(currentPath & fs & name)>
 				<cfdirectory action="create" directory="#currentPath##fs##name#" mode="755">
 		</cfif>
-		
+
 		<cfset currentPath = currentPath & fs & name>
-		
+
 	</cfloop>
-	
+
 	<!--- create sub-directory for file type if it doesn't already exist --->
-		<cfif not directoryExists(userFilesServerPath & url.type)>	
+	<!---
+		<cfif not directoryExists(userFilesServerPath & url.type)>
 		<cfdirectory action="create" directory="#userFilesServerPath##url.type#" mode="755">
 	</cfif>
-
+	--->
 <cfcatch>
 
@@ -118,20 +129,20 @@
 
 	<!--- no errors thus far - run command --->
-	
+
 	<!--- we need to know the physical path to the current folder for all commands --->
-	<cfset currentFolderPath = userFilesServerPath & url.type & replace(url.currentFolder,"/",fs,"all")>
-	
+	<cfset currentFolderPath = userFilesServerPath>
+
 	<cfswitch expression="#url.command#">
-	
-	
+
+
 		<cfcase value="FileUpload">
-		
+
 			<cfset fileName = "">
 			<cfset fileExt = "">
-		
+
 			<cftry>
-			
+
 				<!--- TODO: upload to a temp directory and move file if extension is allowed --->
-			
+
 				<!--- first upload the file with an unique filename --->
 				<cffile action="upload"
@@ -141,22 +152,22 @@
 					mode="644"
 					attributes="normal">
-				
+
 				<cfif cffile.fileSize EQ 0>
 					<cfthrow>
 				</cfif>
-				
+
 				<cfif ( len(lAllowedExtensions) and not listFindNoCase(lAllowedExtensions,cffile.ServerFileExt) )
 					or ( len(lDeniedExtensions) and listFindNoCase(lDeniedExtensions,cffile.ServerFileExt) )>
-				
+
 					<cfset errorNumber = "202">
 					<cffile action="delete" file="#cffile.ServerDirectory##fs##cffile.ServerFile#">
-				
+
 				<cfelse>
-				
+
 					<cfscript>
 					errorNumber = 0;
 					fileName = cffile.ClientFileName;
 					fileExt = cffile.ServerFileExt;
-			
+
 					// munge filename for html download. Only a-z, 0-9, _, - and . are allowed
 					if( reFind("[^A-Za-z0-9_\-\.]", fileName) ) {
@@ -166,5 +177,5 @@
 						fileName = reReplace(fileName, "$_([^_]+)$", "\1", "ALL");
 					}
-					
+
 					// When the original filename already exists, add numbers (0), (1), (2), ... at the end of the filename.
 					if( compare( cffile.ServerFileName, fileName ) ) {
@@ -177,8 +188,8 @@
 					}
 					</cfscript>
-					
+
 					<!--- Rename the uploaded file, if neccessary --->
 					<cfif compare(cffile.ServerFileName,fileName)>
-					
+
 						<cfset errorNumber = "201">
 						<cffile
@@ -188,20 +199,20 @@
 							mode="644"
 							attributes="normal">
-					
-					</cfif>					
-				
+
+					</cfif>
+
 				</cfif>
-		
+
 				<cfcatch type="Any">
-				
+
 					<cfset errorNumber = "202">
-					
+
 				</cfcatch>
-				
+
 			</cftry>
-			
-			
+
+
 			<cfif errorNumber eq 201>
-			
+
 				<!--- file was changed (201), submit the new filename --->
 				<cfoutput>
@@ -212,5 +223,5 @@
 
 			<cfelse>
-			
+
 				<!--- file was uploaded succesfully(0) or an error occured(202). Submit only the error code. --->
 				<cfoutput>
@@ -219,21 +230,21 @@
 				</script>
 				</cfoutput>
-				
+
 			</cfif>
-			
+
 			<cfabort>
-		
+
 		</cfcase>
-		
-		
+
+
 		<cfcase value="GetFolders">
-		
+
 			<!--- Sort directories first, name ascending --->
-			<cfdirectory 
-				action="list" 
-				directory="#currentFolderPath#" 
+			<cfdirectory
+				action="list"
+				directory="#currentFolderPath#"
 				name="qDir"
 				sort="type,name">
-			
+
 			<cfscript>
 				i=1;
@@ -243,23 +254,23 @@
 						break;
 					if( not listFind(".,..", qDir.name[i]) )
-						folders = folders & '<Folder name="#qDir.name[i]#" />';
+						folders = folders & '<Folder name="#HTMLEditFormat( qDir.name[i] )#" />';
 					i=i+1;
 				}
-		
+
 				xmlContent = xmlContent & '<Folders>' & folders & '</Folders>';
 			</cfscript>
-		
+
 		</cfcase>
-		
-		
+
+
 		<cfcase value="GetFoldersAndFiles">
-		
+
 			<!--- Sort directories first, name ascending --->
-			<cfdirectory 
-				action="list" 
-				directory="#currentFolderPath#" 
+			<cfdirectory
+				action="list"
+				directory="#currentFolderPath#"
 				name="qDir"
 				sort="type,name">
-				
+
 			<cfscript>
 				i=1;
@@ -268,23 +279,23 @@
 				while( i lte qDir.recordCount ) {
 					if( not compareNoCase( qDir.type[i], "DIR" ) and not listFind(".,..", qDir.name[i]) ) {
-						folders = folders & '<Folder name="#qDir.name[i]#" />';
+						folders = folders & '<Folder name="#HTMLEditFormat(qDir.name[i])#" />';
 					} else if( not compareNoCase( qDir.type[i], "FILE" ) ) {
 						fileSizeKB = round(qDir.size[i] / 1024);
-						files = files & '<File name="#qDir.name[i]#" size="#IIf( fileSizeKB GT 0, DE( fileSizeKB ), 1)#" />';
+						files = files & '<File name="#HTMLEditFormat(qDir.name[i])#" size="#IIf( fileSizeKB GT 0, DE( fileSizeKB ), 1)#" />';
 					}
 					i=i+1;
 				}
-		
+
 				xmlContent = xmlContent & '<Folders>' & folders & '</Folders>';
 				xmlContent = xmlContent & '<Files>' & files & '</Files>';
 			</cfscript>
-		
+
 		</cfcase>
-		
-		
+
+
 		<cfcase value="CreateFolder">
-		
+
 			<cfparam name="url.newFolderName" default="">
-			
+
 			<cfscript>
 				newFolderName = url.newFolderName;
@@ -298,7 +309,7 @@
 				}
 			</cfscript>
-		
+
 			<cfif not len(newFolderName) or len(newFolderName) gt 255>
-				<cfset errorNumber = 102>	
+				<cfset errorNumber = 102>
 			<cfelseif directoryExists(currentFolderPath & newFolderName)>
 				<cfset errorNumber = 101>
@@ -307,5 +318,5 @@
 			<cfelse>
 				<cfset errorNumber = 0>
-		
+
 				<cftry>
 					<cfdirectory
@@ -314,8 +325,8 @@
 						mode="755">
 					<cfcatch>
-						<!--- 
+						<!---
 						un-resolvable error numbers in ColdFusion:
-						* 102 : Invalid folder name. 
-						* 103 : You have no permissions to create the folder. 
+						* 102 : Invalid folder name.
+						* 103 : You have no permissions to create the folder.
 						--->
 						<cfset errorNumber = 110>
@@ -323,19 +334,19 @@
 				</cftry>
 			</cfif>
-			
+
 			<cfset xmlContent = xmlContent & '<Error number="#errorNumber#" />'>
-		
+
 		</cfcase>
-		
-		
+
+
 		<cfdefaultcase>
-		
+
 			<cfthrow type="fckeditor.connector" message="Illegal command: #url.command#">
-			
+
 		</cfdefaultcase>
-		
-		
+
+
 	</cfswitch>
-	
+
 </cfif>
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/lasso/config.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/lasso/config.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/lasso/config.lasso	(revision 141)
@@ -1,16 +1,32 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	Configuration file for the File Manager Connector for Lasso.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the File Manager Connector for Lasso.
+ */
 
-    /*.....................................................................     
+    /*.....................................................................
     The connector uses the file tags, which require authentication. Enter a
     valid username and password from Lasso admin for a group with file tags
-    permissions for uploads and the path you define in UserFilesPath below.                                                                        
-    */ 
-    
+    permissions for uploads and the path you define in UserFilesPath below.
+    */
+
 	var('connection') = array(
 		-username='xxxxxxxx',
@@ -19,13 +35,13 @@
 
 
-    /*.....................................................................     
+    /*.....................................................................
     Set the base path for files that users can upload and browse (relative
     to server root).
-    
-    Set which file extensions are allowed and/or denied for each file type.                                                                           
-    */                                                                          
+
+    Set which file extensions are allowed and/or denied for each file type.
+    */
 	var('config') = map(
 	    'Enabled' = true,
-		'UserFilesPath' = '/UserFiles/',
+		'UserFilesPath' = '/userfiles/',
 		'Subdirectories' = map(
 			'File' = 'File/',
@@ -41,5 +57,5 @@
 		),
 		'DeniedExtensions' = map(
-			'File' = array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess'),
+			'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis'),
 			'Image' = array(),
 			'Flash' = array(),
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/lasso/connector.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/lasso/connector.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/lasso/connector.lasso	(revision 141)
@@ -1,25 +1,41 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	This is the File Manager Connector for Lasso.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
-
-    /*.....................................................................     
-    Include global configuration. See config.lasso for details.                                                                           
-    */                                                                          
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Manager Connector for Lasso.
+ */
+
+    /*.....................................................................
+    Include global configuration. See config.lasso for details.
+    */
 	include('config.lasso');
 
-		
-    /*.....................................................................     
-    Translate current date/time to GMT for custom header.                                                                          
-    */                                                                          
+
+    /*.....................................................................
+    Translate current date/time to GMT for custom header.
+    */
 	var('headerDate') = date_localtogmt(date)->format('%a, %d %b %Y %T GMT');
 
 
-    /*.....................................................................     
-    Convert query string parameters to variables and initialize output.                                                                           
-    */                                                                          
+    /*.....................................................................
+    Convert query string parameters to variables and initialize output.
+    */
 	var(
 		'Command'		=	action_param('Command'),
@@ -41,10 +57,10 @@
 
 
-    /*.....................................................................     
-    Calculate the path to the current folder.                                                                           
-    */                                                                          
+    /*.....................................................................
+    Calculate the path to the current folder.
+    */
 	$ServerPath == '' ? $ServerPath = $config->find('UserFilesPath');
-		
-	var('currentFolderURL' = $ServerPath 
+
+	var('currentFolderURL' = $ServerPath
 		+ $config->find('Subdirectories')->find(action_param('Type'))
 		+ action_param('CurrentFolder')
@@ -52,27 +68,27 @@
 
 
-    /*.....................................................................     
+    /*.....................................................................
     Build the appropriate response per the 'Command' parameter. Wrap the
-    entire process in an inline for file tag permissions.                                                                         
-    */                                                                          
+    entire process in an inline for file tag permissions.
+    */
 	inline($connection);
-		select($Command);	
-            /*.............................................................     
-            List all subdirectories in the 'Current Folder' directory.                                                                   
-            */                                                                  
+		select($Command);
+            /*.............................................................
+            List all subdirectories in the 'Current Folder' directory.
+            */
 			case('GetFolders');
 				$commandData += '\t<Folders>\n';
-			
+
 				iterate(file_listdirectory($currentFolderURL), local('this'));
 					#this->endswith('/') ? $commandData += '\t\t<Folder name="' + #this->removetrailing('/')& + '" />\n';
 				/iterate;
-				
+
 				$commandData += '\t</Folders>\n';
 
 
-            /*.............................................................     
+            /*.............................................................
             List both files and folders in the 'Current Folder' directory.
-            Include the file sizes in kilobytes.                                                                   
-            */                                                                  				
+            Include the file sizes in kilobytes.
+            */
 			case('GetFoldersAndFiles');
 				iterate(file_listdirectory($currentFolderURL), local('this'));
@@ -82,24 +98,24 @@
 						local('size') = file_getsize($currentFolderURL + #this) / 1024;
 						$files += '\t\t<File name="' + #this + '" size="' + #size + '" />\n';
-					/if;					
+					/if;
 				/iterate;
 
 				$folders += '\t</Folders>\n';
 				$files += '\t</Files>\n';
-				
+
 				$commandData += $folders + $files;
 
 
-            /*.............................................................     
-            Create a directory 'NewFolderName' within the 'Current Folder.'                                                                 
-            */                                                                  				
+            /*.............................................................
+            Create a directory 'NewFolderName' within the 'Current Folder.'
+            */
 			case('CreateFolder');
-				var('newFolder' = $currentFolderURL + $NewFolderName + '/');			
-				file_create($newFolder);			
-				
-				
-                /*.........................................................     
-                Map Lasso's file error codes to FCKEditor's error codes.                                                              
-                */                                                              				
+				var('newFolder' = $currentFolderURL + $NewFolderName + '/');
+				file_create($newFolder);
+
+
+                /*.........................................................
+                Map Lasso's file error codes to FCKEditor's error codes.
+                */
 				select(file_currenterror( -errorcode));
 					case(0);
@@ -116,60 +132,60 @@
 						$errorNumber = 110;
 				/select;
-				
+
 				$commandData += '<Error number="' + $errorNumber + '" />\n';
 
 
-            /*.............................................................     
-            Process an uploaded file.                                                                  
-            */                                                                  				
-			case('FileUpload');		
-                /*.........................................................     
-                This is the only command that returns an HTML response.                                                              
-                */                                                              			
+            /*.............................................................
+            Process an uploaded file.
+            */
+			case('FileUpload');
+                /*.........................................................
+                This is the only command that returns an HTML response.
+                */
 				$responseType = 'html';
-				
-				
-                /*.........................................................     
-                Was a file actually uploaded?                                                              
-                */                                                              
+
+
+                /*.........................................................
+                Was a file actually uploaded?
+                */
 				file_uploads->size ? $NewFile = file_uploads->get(1) | $uploadResult = '202';
-								
+
 				if($uploadResult == '0');
-                    /*.....................................................     
+                    /*.....................................................
                     Split the file's extension from the filename in order
                     to follow the API's naming convention for duplicate
-                    files. (Test.txt, Test(1).txt, Test(2).txt, etc.)                                                          
-                    */                                                          
-					$NewFileName = $NewFile->find('OrigName');													
+                    files. (Test.txt, Test(1).txt, Test(2).txt, etc.)
+                    */
+					$NewFileName = $NewFile->find('OrigName');
 					$OrigFilePath = $currentFolderURL + $NewFileName;
 					$NewFilePath = $OrigFilePath;
-					local('fileExtension') = '.' + $NewFile->find('OrigExtension');					
+					local('fileExtension') = '.' + $NewFile->find('OrigExtension');
 					local('shortFileName') = $NewFileName->removetrailing(#fileExtension)&;
 
 
-                    /*.....................................................     
-                    Make sure the file extension is allowed.                                                          
-                    */                                                          
+                    /*.....................................................
+                    Make sure the file extension is allowed.
+                    */
 					if($config->find('DeniedExtensions')->find($Type) >> $NewFile->find('OrigExtension'));
 						$uploadResult = '202';
 					else;
-                        /*.................................................     
-                        Rename the target path until it is unique.                                                    
-                        */                                                      										
+                        /*.................................................
+                        Rename the target path until it is unique.
+                        */
 						while(file_exists($NewFilePath));
 							$NewFilePath = $currentFolderURL + #shortFileName + '(' + loop_count + ')' + #fileExtension;
 						/while;
-						
-						
-                        /*.................................................     
-                        Copy the uploaded file to its final location.                                                     
-                        */                                                      
+
+
+                        /*.................................................
+                        Copy the uploaded file to its final location.
+                        */
 						file_copy($NewFile->find('path'), $NewFilePath);
 
 
-                        /*.................................................     
+                        /*.................................................
                         Set the error code for the response. Note whether
-                        the file had to be renamed.                                                      
-                        */                                                      						
+                        the file had to be renamed.
+                        */
 						select(file_currenterror( -errorcode));
 							case(0);
@@ -182,7 +198,7 @@
 
 
-                /*.........................................................     
-                Set the HTML response.                                                               
-                */                                                              				
+                /*.........................................................
+                Set the HTML response.
+                */
 				$__html_reply__ = '\
 <script type="text/javascript">
@@ -194,7 +210,7 @@
 
 
-    /*.....................................................................     
-    Send a custom header for xml responses.                                                                          
-    */                                                                          
+    /*.....................................................................
+    Send a custom header for xml responses.
+    */
 	if($responseType == 'xml');
 		header;
@@ -214,13 +230,13 @@
 
 
-        /*.................................................................     
-        Set the content type encoding for Lasso.                                                                      
-        */                                                                      
+        /*.................................................................
+        Set the content type encoding for Lasso.
+        */
 		content_type('text/xml; charset=utf-8');
 
 
-        /*.................................................................     
-        Wrap the response as XML and output.                                                                      
-        */                                                                      
+        /*.................................................................
+        Wrap the response as XML and output.
+        */
 		$__html_reply__ = '\
 <?xml version="1.0" encoding="utf-8" ?>
@@ -231,3 +247,3 @@
 		';
 	/if;
-]	
+]
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/basexml.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/basexml.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/basexml.pl	(revision 141)
@@ -1,7 +1,23 @@
-##### @Packager.Header
-#<FileDescription>
-#	This is the File Manager Connector for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the File Manager Connector for Perl.
 #####
 
@@ -39,7 +55,7 @@
 	# Create the XML document header
 	print '<?xml version="1.0" encoding="utf-8" ?>' ;
-	
+
 	print '<Connector><Error number="' . $number . '" text="' . &specialchar_cnv( $text ) . '" /></Connector>' ;
-	
+
 	exit ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/commands.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/commands.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/commands.pl	(revision 141)
@@ -1,7 +1,23 @@
-##### @Packager.Header
-#<FileDescription>
-#	This is the File Manager Connector for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the File Manager Connector for Perl.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/connector.cgi
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/connector.cgi	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/connector.cgi	(revision 141)
@@ -1,10 +1,25 @@
-#!/usr/bin/env perl 
+#!/usr/bin/env perl
 
-##### @Packager.Header
-#<FileDescription>
-#	This is the File Manager Connector for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
-#<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the File Manager Connector for Perl.
 #####
 
@@ -48,7 +63,5 @@
 # SECURITY: REMOVE/COMMENT THE FOLLOWING LINE TO ENABLE THIS CONNECTOR.
 ##
-if ( 1==2 ) {		# @Packager.RemoveLine
 &SendError( 1, 'This connector is disabled. Please check the "editor/filemanager/browser/default/connectors/perl/connector.cgi" file' ) ;
-}		# @Packager.RemoveLine
 
 	&read_input();
@@ -60,5 +73,5 @@
 		}
 	} else {
-		$GLOBALS{'UserFilesPath'} = '/UserFiles/';
+		$GLOBALS{'UserFilesPath'} = '/userfiles/';
 	}
 
@@ -87,5 +100,5 @@
 		$sCurrentFolder = '/' . $sCurrentFolder;
 	}
-	
+
 	# Check for invalid folder paths (..)
 	if ( $sCurrentFolder =~ /\.\./ ) {
@@ -108,5 +121,5 @@
 
 	&CreateXmlHeader($sCommand,$sResourceType,$sCurrentFolder);
-	
+
 	# Execute the required command.
 	if($sCommand eq 'GetFolders') {
@@ -117,7 +130,7 @@
 		&CreateFolder($sResourceType,$sCurrentFolder);
 	}
-	
+
 	&CreateXmlFooter();
-	
+
 	exit ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/io.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/io.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/io.pl	(revision 141)
@@ -1,7 +1,23 @@
-##### @Packager.Header
-#<FileDescription>
-#	This is the File Manager Connector for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the File Manager Connector for Perl.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/upload_fck.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/upload_fck.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/upload_fck.pl	(revision 141)
@@ -1,7 +1,23 @@
-##### @Packager.Header
-#<FileDescription>
-#	This is the File Manager Connector for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the File Manager Connector for Perl.
 #####
 
@@ -178,5 +194,5 @@
 							$ContentName	#
 						) = &CheckContentType(\$value,$FileName,$ContentType);
-						
+
 						$FORM{$name}	= $FileName;
 						$new_fname		= $FileName;
@@ -334,5 +350,5 @@
 				$ImageHeight	= $XbmHeight;
 			}
-		} else {		# 
+		} else {		#
 			$Ext = 'txt';
 		}
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/util.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/util.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/perl/util.pl	(revision 141)
@@ -1,7 +1,23 @@
-##### @Packager.Header
-#<FileDescription>
-#	This is the File Manager Connector for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the File Manager Connector for Perl.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/basexml.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/basexml.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/basexml.php	(revision 141)
@@ -1,9 +1,26 @@
-<?php /* @Packager.Header
-<FileDescription>
-	These functions define the base of the XML response sent by the PHP
-	connector.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * These functions define the base of the XML response sent by the PHP
+ * connector.
+ */
 
 function SetXmlHeaders()
@@ -29,5 +46,5 @@
 {
 	SetXmlHeaders() ;
-	
+
 	// Create the XML document header.
 	echo '<?xml version="1.0" encoding="utf-8" ?>' ;
@@ -35,5 +52,5 @@
 	// Create the main "Connector" node.
 	echo '<Connector command="' . $command . '" resourceType="' . $resourceType . '">' ;
-	
+
 	// Add the current folder node.
 	echo '<CurrentFolder path="' . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $resourceType, $currentFolder ) ) . '" />' ;
@@ -48,10 +65,10 @@
 {
 	SetXmlHeaders() ;
-	
+
 	// Create the XML document header
 	echo '<?xml version="1.0" encoding="utf-8" ?>' ;
-	
+
 	echo '<Connector><Error number="' . $number . '" text="' . htmlspecialchars( $text ) . '" /></Connector>' ;
-	
+
 	exit ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/commands.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/commands.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/commands.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the File Manager Connector for PHP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Manager Connector for PHP.
+ */
 
 function GetFolders( $resourceType, $currentFolder )
@@ -26,5 +43,5 @@
 	// Open the "Folders" node.
 	echo "<Folders>" ;
-	
+
 	natcasesort( $aFolders ) ;
 	foreach ( $aFolders as $sFolder )
@@ -148,5 +165,5 @@
 		// Get the uploaded file name.
 		$sFileName = $oFile['name'] ;
-		
+
 		// Replace dots in the name with underscores (only one dot can be there... security issue).
 		if ( $Config['ForceSingleExtension'] )
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/config.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/config.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/config.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Configuration file for the File Manager Connector for PHP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the File Manager Connector for PHP.
+ */
 
 global $Config ;
@@ -10,5 +27,4 @@
 // SECURITY: You must explicitelly enable this "connector". (Set it to "true").
 $Config['Enabled'] = false ;
-$Config['Enabled'] = true ;		// @Packager.RemoveLine
 
 // Path to user files relative to the document root.
@@ -17,5 +33,5 @@
 // Fill the following value it you prefer to specify the absolute path for the
 // user files directory. Usefull if you are using a virtual directory, symbolic
-// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
+// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
 // Attention: The above 'UserFilesPath' must point to the same directory.
 $Config['UserFilesAbsolutePath'] = '' ;
@@ -26,5 +42,5 @@
 
 $Config['AllowedExtensions']['File']	= array() ;
-$Config['DeniedExtensions']['File']		= array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess') ;
+$Config['DeniedExtensions']['File']		= array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis') ;
 
 $Config['AllowedExtensions']['Image']	= array('jpg','gif','jpeg','png') ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/connector.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/connector.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/connector.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the File Manager Connector for PHP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Manager Connector for PHP.
+ */
 
 ob_start() ;
@@ -25,10 +42,10 @@
 	$GLOBALS["UserFilesPath"] = $_GET['ServerPath'] ;
 else
-	$GLOBALS["UserFilesPath"] = '/UserFiles/' ;
+	$GLOBALS["UserFilesPath"] = '/userfiles/' ;
 
 if ( ! ereg( '/$', $GLOBALS["UserFilesPath"] ) )
 	$GLOBALS["UserFilesPath"] .= '/' ;
 
-if ( strlen( $Config['UserFilesAbsolutePath'] ) > 0 ) 
+if ( strlen( $Config['UserFilesAbsolutePath'] ) > 0 )
 {
 	$GLOBALS["UserFilesDirectory"] = $Config['UserFilesAbsolutePath'] ;
@@ -62,5 +79,5 @@
 	if ( ! ereg( '/$', $sCurrentFolder ) ) $sCurrentFolder .= '/' ;
 	if ( strpos( $sCurrentFolder, '/' ) !== 0 ) $sCurrentFolder = '/' . $sCurrentFolder ;
-	
+
 	// Check for invalid folder paths (..)
 	if ( strpos( $sCurrentFolder, '..' ) )
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/io.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/io.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/io.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the File Manager Connector for ASP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Manager Connector for PHP.
+ */
 
 function GetUrlFromPath( $resourceType, $folderPath )
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/util.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/util.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/php/util.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Utility functions for the File Manager Connector for PHP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Utility functions for the File Manager Connector for PHP.
+ */
 
 function RemoveFromStart( $sourceString, $charToRemove )
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/py/connector.py
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/py/connector.py	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/py/connector.py	(revision 141)
@@ -1,18 +1,34 @@
 #!/usr/bin/env python
 
-""" @Packager.Header
-<FileDescription>
-	Connector for Python.
-	
-	Tested With:
-	Standard:
-		Python 2.3.3
-	Zope:
-		Zope Version: (Zope 2.8.1-final, python 2.3.5, linux2)
-		Python Version: 2.3.5 (#4, Mar 10 2005, 01:40:25) 
-			[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
-		System Platform: linux2 
-</FileDescription>
-<Author name="Andrew Liu" email="andrew@liuholdings.com" />
+"""
+FCKeditor - The text editor for Internet - http://www.fckeditor.net
+Copyright (C) 2003-2007 Frederico Caldeira Knabben
+
+== BEGIN LICENSE ==
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   http://www.gnu.org/licenses/gpl.html
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   http://www.gnu.org/licenses/lgpl.html
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   http://www.mozilla.org/MPL/MPL-1.1.html
+
+== END LICENSE ==
+
+Connector for Python.
+
+Tested With:
+Standard:
+	Python 2.3.3
+Zope:
+	Zope Version: (Zope 2.8.1-final, python 2.3.5, linux2)
+	Python Version: 2.3.5 (#4, Mar 10 2005, 01:40:25)
+		[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
+	System Platform: linux2
 """
 
@@ -22,5 +38,5 @@
 I am only supporting that part of the code that I use.  Initially
 I had the upload directory as a part of zope (ie. uploading files
-directly into Zope), before realising that there were too many 
+directly into Zope), before realising that there were too many
 complex intricacies within Zope to deal with.  Zope is one ugly piece
 of code.  So I decided to complement Zope by an Apache server (which
@@ -31,5 +47,5 @@
 terribly complex and something you don't want to do - trust me).
 
-Maybe a Zope expert can touch up the Zope components.  In the end, 
+Maybe a Zope expert can touch up the Zope components.  In the end,
 I had FCKeditor loaded in Zope (probably a bad idea as well), and
 I replaced the connector.py with an alias to a server module.
@@ -121,5 +137,5 @@
 	# Configuration for FCKEditor
 	# can point to another server here, if linked correctly
-	#WEB_HOST = "http://127.0.0.1/" 
+	#WEB_HOST = "http://127.0.0.1/"
 	WEB_HOST = ""
 	SERVER_DIR = "/var/www/html/"
@@ -162,8 +178,8 @@
 				}
 		self.deniedExtensions = {
-				"File": [ "php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess" ],
-				"Image": [ "php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess" ],
-				"Flash": [ "php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess" ],
-				"Media": [ "php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess" ]
+				"File": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ],
+				"Image": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ],
+				"Flash": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ],
+				"Media": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ]
 				}
 
@@ -261,9 +277,9 @@
 		fileExtension = fileName[index:]
 		return fileExtension
-		
+
 	def getParentFolder(self, folderPath):
 		parentFolderPath = self.parentFolderRe.sub('', folderPath)
 		return parentFolderPath
-	
+
 	"""
 	serverMapFolder
@@ -319,5 +335,5 @@
 	def getRootPath(self):
 		return self.rootPath
-		
+
 	"""
 	setXmlHeaders
@@ -368,5 +384,5 @@
 				self.convertToXmlAttribute(
 					self.getWebUrlFromPath(
-						resourceType, 
+						resourceType,
 						currentFolder
 						)
@@ -438,5 +454,5 @@
 		s += """</Folders>"""
 		return s
-		
+
 	"""
 	getFoldersAndFiles
@@ -494,5 +510,5 @@
 		s += """</Files>"""
 		return s
-		
+
 	def findZopeFolder(self, resourceType, folderName):
 		# returns the context of the resource / folder
@@ -545,5 +561,5 @@
 			newFolder = self.request.get("NewFolderName", None)
 			currentFolderPath = self.serverMapFolder(
-					resourceType, 
+					resourceType,
 					currentFolder
 					)
@@ -610,5 +626,5 @@
 			self.zopeFileUpload(resourceType, currentFolder, count)
 		return
-		
+
 	def nonZopeFileUpload(self, resourceType, currentFolder):
 		errorNo = 0
@@ -645,5 +661,5 @@
 					# Map the virtual path to the local server path
 					currentFolderPath = self.serverMapFolder(
-							resourceType, 
+							resourceType,
 							currentFolder
 							)
@@ -681,5 +697,5 @@
 			newFileName = "No File"
 			errorNo = 202
-	
+
 		string = """
 <script type="text/javascript">
@@ -700,9 +716,9 @@
 			# Make sure we have valid inputs
 			if not(
-					(self.request.has_key("Command")) and 
-					(self.request.has_key("Type")) and 
+					(self.request.has_key("Command")) and
+					(self.request.has_key("Type")) and
 					(self.request.has_key("CurrentFolder"))
 					):
-				return 
+				return
 			# Get command
 			command = self.request.get("Command", None)
@@ -739,5 +755,5 @@
 			s = "ERROR: %s" % e
 		return s
-			
+
 # Running from command line
 if __name__ == '__main__':
@@ -748,6 +764,6 @@
 
 """
-Running from zope, you will need to modify this connector. 
-If you have uploaded the FCKeditor into Zope (like me), you need to 
+Running from zope, you will need to modify this connector.
+If you have uploaded the FCKeditor into Zope (like me), you need to
 move this connector out of Zope, and replace the "connector" with an
 alias as below.  The key to it is to pass the Zope context in, as
@@ -766,4 +782,4 @@
 return connector.getFCKeditorConnector(context=context).run()
 """
-			
-	
+
+
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/test.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/test.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/connectors/test.html	(revision 141)
@@ -1,7 +1,23 @@
-<!-- @Packager.Header
-<FileDescription>
-	Test page for the File Browser connectors.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page for the File Browser connectors.
 -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -9,16 +25,14 @@
 <head>
 	<title>FCKeditor - Connectors Tests</title>
-	<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
-	<!-- @Packager.RemoveLine -->
 	<script type="text/javascript">
 
 function BuildBaseUrl( command )
 {
-	var sUrl =  
+	var sUrl =
 		document.getElementById('cmbConnector').value +
 		'?Command=' + command +
 		'&Type=' + document.getElementById('cmbType').value +
 		'&CurrentFolder=' + document.getElementById('txtFolder').value ;
-	
+
 	return sUrl ;
 }
@@ -30,10 +44,10 @@
 	else
 		document.getElementById('eRunningFrame').src = url ;
-		
+
 	document.getElementById('eUrl').innerHTML = url ;
 }
 
 function GetFolders()
-{	
+{
 	SetFrameUrl( BuildBaseUrl( 'GetFolders' ) ) ;
 	return false ;
@@ -49,8 +63,8 @@
 {
 	var sFolder = prompt( 'Type the folder name:', 'Test Folder' ) ;
-	
+
 	if ( ! sFolder )
 		return false ;
-	
+
 	var sUrl = BuildBaseUrl( 'CreateFolder' ) ;
 	sUrl += '&NewFolderName=' + encodeURIComponent( sFolder ) ;
@@ -68,5 +82,5 @@
 			break ;
 		case 201 :
-			GetFoldersAndFiles()
+			GetFoldersAndFiles() ;
 			alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ;
 			break ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmactualfolder.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmactualfolder.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmactualfolder.html	(revision 141)
@@ -1,12 +1,27 @@
-<!-- @Packager.Header
-<FileDescription>
-	This page shows the actual folder path.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page shows the actual folder path.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<link href="browser.css" type="text/css" rel="stylesheet">
 		<script type="text/javascript">
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmcreatefolder.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmcreatefolder.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmcreatefolder.html	(revision 141)
@@ -1,13 +1,28 @@
-<!-- @Packager.Header
-<FileDescription>
-	Page used to create new folders in the current folder.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Page used to create new folders in the current folder.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<link href="browser.css" type="text/css" rel="stylesheet">
 		<script type="text/javascript" src="js/common.js"></script>
@@ -17,5 +32,5 @@
 {
 	oConnector.ResourceType = resourceType ;
-	oConnector.CurrentFolder = folderPath
+	oConnector.CurrentFolder = folderPath ;
 }
 
@@ -23,9 +38,9 @@
 {
 	var sFolderName ;
-	
-	while ( true ) 
+
+	while ( true )
 	{
 		sFolderName = prompt( 'Type the name of the new folder:', '' ) ;
-	
+
 		if ( sFolderName == null )
 			return ;
@@ -35,5 +50,5 @@
 			break ;
 	}
-	
+
 	oConnector.SendCommand( 'CreateFolder', 'NewFolderName=' + encodeURIComponent( sFolderName) , CreateFolderCallBack ) ;
 }
@@ -43,10 +58,10 @@
 	if ( oConnector.CheckError( fckXml ) == 0 )
 		window.parent.frames['frmResourcesList'].Refresh() ;
-	
+
 	/*
 	// Get the current folder path.
 	var oNode = fckXml.SelectSingleNode( 'Connector/Error' ) ;
 	var iErrorNumber = parseInt( oNode.attributes.getNamedItem('number').value ) ;
-	
+
 	switch ( iErrorNumber )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmfolders.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmfolders.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmfolders.html	(revision 141)
@@ -1,13 +1,28 @@
-<!-- @Packager.Header
-<FileDescription>
-	This page shows the list of folders available in the parent folder 
-	of the current folder.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page shows the list of folders available in the parent folder
+ * of the current folder.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<link href="browser.css" type="text/css" rel="stylesheet">
 		<script type="text/javascript" src="js/common.js"></script>
@@ -26,5 +41,5 @@
 	this.UpRow = document.getElementById('trUp') ;
 
-	this.TableRows = new Object() ;	
+	this.TableRows = new Object() ;
 }
 
@@ -57,5 +72,5 @@
 	oCell.noWrap = true ;
 	oCell.innerHTML = '&nbsp;' + sLink + folderName + '</a>' ;
-	
+
 	this.TableRows[ folderPath ] = oRow ;
 }
@@ -64,5 +79,5 @@
 {
 	this.UpRow.style.display = ( upFolderPath != null ? '' : 'none' ) ;
-	
+
 	if ( upFolderPath != null )
 	{
@@ -77,6 +92,6 @@
 function CheckLoaded()
 {
-	if ( window.top.IsLoadedActualFolder 
-		&& window.top.IsLoadedCreateFolder 
+	if ( window.top.IsLoadedActualFolder
+		&& window.top.IsLoadedCreateFolder
 		&& window.top.IsLoadedUpload
 		&& window.top.IsLoadedResourcesList )
@@ -102,5 +117,5 @@
 	for ( var sFolderPath in oListManager.TableRows )
 	{
-		oListManager.TableRows[ sFolderPath ].className = 
+		oListManager.TableRows[ sFolderPath ].className =
 			( sFolderPath == folderPath ? 'FolderListCurrentFolder' : 'FolderListFolder' ) ;
 	}
@@ -110,5 +125,5 @@
 	window.parent.frames['frmCreateFolder'].SetCurrentFolder( oConnector.ResourceType, folderPath ) ;
 	window.parent.frames['frmUpload'].SetCurrentFolder( oConnector.ResourceType, folderPath ) ;
-	
+
 	// Load the resources list for this folder.
 	window.parent.frames['frmResourcesList'].LoadResources( oConnector.ResourceType, folderPath ) ;
@@ -127,9 +142,9 @@
 	// Show/Hide the Up Folder.
 	oListManager.ShowUpFolder( sParentFolderPath ) ;
-	
+
 	if ( folderPath != '/' )
 	{
 		sActiveFolder = folderPath ;
-		oConnector.CurrentFolder = sParentFolderPath
+		oConnector.CurrentFolder = sParentFolderPath ;
 		oConnector.SendCommand( 'GetFolders', null, GetFoldersCallBack ) ;
 	}
@@ -142,11 +157,11 @@
 	if ( oConnector.CheckError( fckXml ) != 0 )
 		return ;
-		
+
 	// Get the current folder path.
 	var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ;
 	var sCurrentFolderPath = oNode.attributes.getNamedItem('path').value ;
-	
+
 	var oNodes = fckXml.SelectNodes( 'Connector/Folders/Folder' ) ;
-	
+
 	for ( var i = 0 ; i < oNodes.length ; i++ )
 	{
@@ -154,5 +169,5 @@
 		oListManager.AddItem( sFolderName, sCurrentFolderPath + sFolderName + "/" ) ;
 	}
-	
+
 	OpenFolder( sActiveFolder ) ;
 }
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmresourceslist.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmresourceslist.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmresourceslist.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	This page shows all resources available in a folder in the File Browser.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page shows all resources available in a folder in the File Browser.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -29,6 +45,6 @@
 				'<img alt="" src="images/Folder.gif" width="16" height="16" border="0"></a>' +
 			'</td><td nowrap colspan="2">&nbsp;' +
-				sLink + 
-				folderName + 
+				sLink +
+				folderName +
 				'</a>' +
 		'</td></tr>' ;
@@ -45,12 +61,12 @@
 	return '<tr>' +
 			'<td width="16">' +
-				sLink + 
+				sLink +
 				'<img alt="" src="images/icons/' + sIcon + '.gif" width="16" height="16" border="0"></a>' +
 			'</td><td>&nbsp;' +
-				sLink + 
-				fileName + 
+				sLink +
+				fileName +
 				'</a>' +
 			'</td><td align="right" nowrap>&nbsp;' +
-				fileSize + 
+				fileSize +
 				' KB' +
 		'</td></tr>' ;
@@ -89,12 +105,12 @@
 
 	// Get the current folder path.
-	var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ;
-	if ( oNode == null )
+	var oFolderNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ;
+	if ( oFolderNode == null )
 	{
 		alert( 'The server didn\'t reply with a proper XML file\r\nCheck your configuration.' ) ;
 		return ;
 	}
-	var sCurrentFolderPath	= oNode.attributes.getNamedItem('path').value ;
-	var sCurrentFolderUrl	= oNode.attributes.getNamedItem('url').value ;
+	var sCurrentFolderPath	= oFolderNode.attributes.getNamedItem('path').value ;
+	var sCurrentFolderUrl	= oFolderNode.attributes.getNamedItem('url').value ;
 
 //	var dTimer = new Date() ;
@@ -102,6 +118,7 @@
 	var oHtml = new StringBuilder( '<table id="tableFiles" cellspacing="1" cellpadding="0" width="100%" border="0">' ) ;
 
-	// Add the Folders.	
-	var oNodes = fckXml.SelectNodes( 'Connector/Folders/Folder' ) ;
+	// Add the Folders.
+	var oNodes ;
+	oNodes = fckXml.SelectNodes( 'Connector/Folders/Folder' ) ;
 	for ( var i = 0 ; i < oNodes.length ; i++ )
 	{
@@ -110,21 +127,21 @@
 	}
 
-	// Add the Files.	
-	var oNodes = fckXml.SelectNodes( 'Connector/Files/File' ) ;
-	for ( var i = 0 ; i < oNodes.length ; i++ )
+	// Add the Files.
+	oNodes = fckXml.SelectNodes( 'Connector/Files/File' ) ;
+	for ( var j = 0 ; j < oNodes.length ; j++ )
 	{
-		var oNode = oNodes[i] ;
+		var oNode = oNodes[j] ;
 		var sFileName = oNode.attributes.getNamedItem('name').value ;
 		var sFileSize = oNode.attributes.getNamedItem('size').value ;
 
 		// Get the optional "url" attribute. If not available, build the url.
-		var oFileUrlAtt = oNodes[i].attributes.getNamedItem('url') ;
+		var oFileUrlAtt = oNodes[j].attributes.getNamedItem('url') ;
 		var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ;
-		
+
 		oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ;
 	}
 
 	oHtml.Append( '<\/table>' ) ;
-	
+
 	document.body.innerHTML = oHtml.ToString() ;
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmresourcetype.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmresourcetype.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmresourcetype.html	(revision 141)
@@ -1,13 +1,28 @@
-<!-- @Packager.Header
-<FileDescription>
-	This page shows the list of available resource types.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This page shows the list of available resource types.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 	<head>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<link href="browser.css" type="text/css" rel="stylesheet">
 		<script type="text/javascript" src="js/common.js"></script>
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmupload.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmupload.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/frmupload.html	(revision 141)
@@ -1,8 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Page used to upload new files in the current folder.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Page used to upload new files in the current folder.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -17,5 +33,5 @@
 	sUrl += '&Type=' + resourceType ;
 	sUrl += '&CurrentFolder=' + encodeURIComponent( folderPath ) ;
-	
+
 	document.getElementById('frmUpload').action = sUrl ;
 }
@@ -32,5 +48,5 @@
 	document.getElementById('eUploadMessage').innerHTML = 'Upload a new file in this folder (Upload in progress, please wait...)' ;
 	document.getElementById('btnUpload').disabled = true ;
-	
+
 	return true ;
 }
@@ -40,5 +56,5 @@
 	// Reset the Upload Worker Frame.
 	window.parent.frames['frmUploadWorker'].location = 'javascript:void(0)' ;
-	
+
 	// Reset the upload form (On IE we must do a little trick to avout problems).
 	if ( document.all )
@@ -46,9 +62,9 @@
 	else
 		document.getElementById('frmUpload').reset() ;
-	
+
 	// Reset the interface elements.
 	document.getElementById('eUploadMessage').innerHTML = 'Upload a new file in this folder' ;
 	document.getElementById('btnUpload').disabled = false ;
-	
+
 	switch ( errorNumber )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/js/common.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/js/common.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/js/common.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	Common objects and functions shared by all pages that compose the
-	File Browser dialog window.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Common objects and functions shared by all pages that compose the
+ * File Browser dialog window.
+ */
 
 function AddSelectOption( selectElement, optionText, optionValue )
@@ -12,5 +28,5 @@
 
 	oOption.text	= optionText ;
-	oOption.value	= optionValue ;	
+	oOption.value	= optionValue ;
 
 	selectElement.options.add(oOption) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/js/fckxml.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/js/fckxml.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/browser/default/js/fckxml.js	(revision 141)
@@ -1,11 +1,28 @@
-/* @Packager.Header
-<FileDescription>
-	Defines the FCKXml object that is used for XML data calls
-	and XML processing.
-	This script is shared by almost all pages that compose the 
-	File Browser frameset.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Defines the FCKXml object that is used for XML data calls
+ * and XML processing.
+ *
+ * This script is shared by almost all pages that compose the
+ * File Browser frameset.
+ */
 
 var FCKXml = function()
@@ -19,5 +36,5 @@
 
 	// IE6
-	try { return new ActiveXObject( 'Msxml2.XMLHTTP' ) ; } 
+	try { return new ActiveXObject( 'Msxml2.XMLHTTP' ) ; }
 	catch(e) {}
 
@@ -36,10 +53,10 @@
 
 	var oXmlHttp = this.GetHttpRequest() ;
-		
+
 	oXmlHttp.open( "GET", urlToCall, bAsync ) ;
 
 	if ( bAsync )
-	{	
-		oXmlHttp.onreadystatechange = function() 
+	{
+		oXmlHttp.onreadystatechange = function()
 		{
 			if ( oXmlHttp.readyState == 4 )
@@ -60,7 +77,7 @@
 		}
 	}
-	
+
 	oXmlHttp.send( null ) ;
-	
+
 	if ( ! bAsync )
 	{
@@ -82,7 +99,7 @@
 		var aNodeArray = new Array();
 
-		var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument, 
+		var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument,
 				this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ;
-		if ( xPathResult ) 
+		if ( xPathResult )
 		{
 			var oNode = xPathResult.iterateNext() ;
@@ -92,10 +109,10 @@
  				oNode = xPathResult.iterateNext();
  			}
-		} 
+		}
 		return aNodeArray ;
 	}
 }
 
-FCKXml.prototype.SelectSingleNode = function( xpath ) 
+FCKXml.prototype.SelectSingleNode = function( xpath )
 {
 	if ( navigator.userAgent.indexOf('MSIE') >= 0 )		// IE
@@ -108,5 +125,5 @@
 		if ( xPathResult && xPathResult.singleNodeValue )
 			return xPathResult.singleNodeValue ;
-		else	
+		else
 			return null ;
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/class_upload.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/class_upload.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/class_upload.asp	(revision 141)
@@ -1,8 +1,24 @@
-<!-- @Packager.Header
-<FileDescription>
-	These are the classes used to handle ASP upload without using third
-	part components (OCX/DLL).
-</FileDescription>
-<Author name="NetRube" email="netrube@126.com" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * These are the classes used to handle ASP upload without using third
+ * part components (OCX/DLL).
 -->
 <%
@@ -35,14 +51,14 @@
 	Private oSourceData
 	Private nMaxSize, nErr, sAllowed, sDenied
-	
+
 	Private Sub Class_Initialize
 		nErr		= 0
 		nMaxSize	= 1048576
-		
+
 		Set File			= Server.CreateObject("Scripting.Dictionary")
 		File.CompareMode	= 1
 		Set Form			= Server.CreateObject("Scripting.Dictionary")
 		Form.CompareMode	= 1
-		
+
 		Set oSourceData		= Server.CreateObject("ADODB.Stream")
 		oSourceData.Type	= 1
@@ -50,5 +66,5 @@
 		oSourceData.Open
 	End Sub
-	
+
 	Private Sub Class_Terminate
 		Form.RemoveAll
@@ -56,9 +72,9 @@
 		File.RemoveAll
 		Set File = Nothing
-		
+
 		oSourceData.Close
 		Set oSourceData = Nothing
 	End Sub
-	
+
 	Public Property Get Version
 		Version = "NetRube Upload Class Version 1.0 Build 20041218"
@@ -68,13 +84,13 @@
 		ErrNum	= nErr
 	End Property
-	
+
 	Public Property Let MaxSize(nSize)
 		nMaxSize	= nSize
 	End Property
-	
+
 	Public Property Let Allowed(sExt)
 		sAllowed	= sExt
 	End Property
-	
+
 	Public Property Let Denied(sExt)
 		sDenied	= sExt
@@ -88,5 +104,5 @@
 			Exit Sub
 		End If
-		
+
 		Dim nTotalSize
 		nTotalSize	= Request.TotalBytes
@@ -99,10 +115,10 @@
 			Exit Sub
 		End If
-		
+
 		oSourceData.Write Request.BinaryRead(nTotalSize)
 		oSourceData.Position = 0
-		
+
 		Dim oTotalData, oFormStream, sFormHeader, sFormName, bCrLf, nBoundLen, nFormStart, nFormEnd, nPosStart, nPosEnd, sBoundary
-		
+
 		oTotalData	= oSourceData.Read
 		bCrLf		= ChrB(13) & ChrB(10)
@@ -110,10 +126,10 @@
 		nBoundLen	= LenB(sBoundary) + 2
 		nFormStart	= nBoundLen
-		
+
 		Set oFormStream = Server.CreateObject("ADODB.Stream")
-		
+
 		Do While (nFormStart + 2) < nTotalSize
 			nFormEnd	= InStrB(nFormStart, oTotalData, bCrLf & bCrLf) + 3
-			
+
 			With oFormStream
 				.Type	= 1
@@ -128,10 +144,10 @@
 				.Close
 			End With
-			
+
 			nFormStart	= InStrB(nFormEnd, oTotalData, sBoundary) - 1
 			nPosStart	= InStr(22, sFormHeader, " name=", 1) + 7
 			nPosEnd		= InStr(nPosStart, sFormHeader, """")
 			sFormName	= Mid(sFormHeader, nPosStart, nPosEnd - nPosStart)
-			
+
 			If InStr(45, sFormHeader, " filename=", 1) > 0 Then
 				Set File(sFormName)			= New NetRube_FileInfo
@@ -161,8 +177,8 @@
 				End With
 			End If
-			
+
 			nFormStart	= nFormStart + nBoundLen
 		Loop
-		
+
 		oTotalData = ""
 		Set oFormStream = Nothing
@@ -174,10 +190,10 @@
 			Exit Sub
 		End If
-		
+
 		If Not IsAllowed(File(sItem).Ext) Then
 			nErr = 4
 			Exit Sub
 		End If
-		
+
 		Dim oFileStream
 		Set oFileStream = Server.CreateObject("ADODB.Stream")
@@ -194,5 +210,5 @@
 		Set oFileStream = Nothing
 	End Sub
-	
+
 	Private Function IsAllowed(sExt)
 		Dim oRE
@@ -200,5 +216,5 @@
 		oRE.IgnoreCase	= True
 		oRE.Global		= True
-		
+
 		If sDenied = "" Then
 			oRE.Pattern	= sAllowed
@@ -208,5 +224,5 @@
 			IsAllowed	= Not oRE.Test(sExt)
 		End If
-		
+
 		Set oRE	= Nothing
 	End Function
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/config.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/config.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/config.asp	(revision 141)
@@ -1,17 +1,32 @@
-<!-- @Packager.Header
-<FileDescription>
-	Configuration file for the File Manager Connector for ASP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the File Manager Connector for ASP.
 -->
 <%
 
-' SECURITY: You must explicitelly enable this "uploader" (set it to "True"). 
+' SECURITY: You must explicitelly enable this "uploader" (set it to "True").
 Dim ConfigIsEnabled
 ConfigIsEnabled = False
-ConfigIsEnabled = True		' @Packager.RemoveLine 
 
-' Set if the file type must be considere in the target path. 
-' Ex: /UserFiles/Image/ or /UserFiles/File/
+' Set if the file type must be considere in the target path.
+' Ex: /userfiles/image/ or /userfiles/file/
 Dim ConfigUseFileType
 ConfigUseFileType = False
@@ -19,5 +34,5 @@
 ' Path to user files relative to the document root.
 Dim ConfigUserFilesPath
-ConfigUserFilesPath = "/UserFiles/"
+ConfigUserFilesPath = "/userfiles/"
 
 ' Allowed and Denied extensions configurations.
@@ -27,5 +42,5 @@
 
 ConfigAllowedExtensions.Add	"File", ""
-ConfigDeniedExtensions.Add	"File", "php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi"
+ConfigDeniedExtensions.Add	"File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis"
 
 ConfigAllowedExtensions.Add	"Image", "jpg|gif|jpeg|png|bmp"
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/io.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/io.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/io.asp	(revision 141)
@@ -1,7 +1,23 @@
-<!-- @Packager.Header
-<FileDescription>
-	This file include IO specific functions used by the ASP Uploader.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This file include IO specific functions used by the ASP Uploader.
 -->
 <%
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/upload.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/upload.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/asp/upload.asp	(revision 141)
@@ -1,12 +1,28 @@
-<%@ CodePage=65001 Language="VBScript"%>
+﻿<%@ CodePage=65001 Language="VBScript"%>
 <%
 Option Explicit
 Response.Buffer = True
 %>
-<!-- @Packager.Header
-<FileDescription>
-	This is the "File Uploader" for ASP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the "File Uploader" for ASP.
 -->
 <!--#include file="config.asp"-->
@@ -61,8 +77,8 @@
 		sServerDir = sServerDir & "\"
 	End If
-	
+
 	If ( ConfigUseFileType = True ) Then
 		sServerDir = sServerDir & resourceType & "\"
-	End If 
+	End If
 
 	Dim oFSO
@@ -99,5 +115,5 @@
 
 	SendResults sErrorNumber, sFileUrl, sFileName, ""
-	
+
 End If
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/aspx/upload.aspx
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/aspx/upload.aspx	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/aspx/upload.aspx	(revision 141)
@@ -1,14 +1,30 @@
 <%@ Page language="c#" Inherits="FredCK.FCKeditorV2.Uploader" AutoEventWireup="false" %>
-<!-- @Packager.Header
-<FileDescription>
-	This is the Uploader for ASP.NET.
-	
-	The code of this page if included in the FCKeditor.Net package, 
-	in the FredCK.FCKeditorV2.dll assemblyfile. So to use it you must 
-	include that DLL in your "bin" directory.
-	
-	To download the FCKeditor.Net package, go to our official web site:
-	http://www.fckeditor.net
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
--->
+<%--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the Uploader for ASP.NET.
+ *
+ * The code of this page if included in the FCKeditor.Net package,
+ * in the FredCK.FCKeditorV2.dll assemblyfile. So to use it you must
+ * include that DLL in your "bin" directory.
+ *
+ * To download the FCKeditor.Net package, go to our official web site:
+ * http://www.fckeditor.net
+--%>
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/cfm/config.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/cfm/config.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/cfm/config.cfm	(revision 141)
@@ -1,29 +1,45 @@
-<!--- @Packager.Header
-<FileDescription>
-	Configuration file for the ColdFusion File Uploader.
-</FileDescription>
-<Author name="Wim Lemmens" email="didgiman@gmail.com" />
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the ColdFusion File Uploader.
 --->
 
 <cfscript>
 	config = StructNew();
-		 
-	// SECURITY: You must explicitelly enable this "uploader". 
+
+	// SECURITY: You must explicitelly enable this "uploader".
 	config.enabled = false;
-	
+
 	// Path to uploaded files relative to the document root.
-	config.userFilesPath = "/UserFiles/";
-	
+	config.userFilesPath = "/userfiles/";
+
 	config.serverPath = ""; // use this to force the server path if FCKeditor is not running directly off the root of the application or the FCKeditor directory in the URL is a virtual directory or a symbolic link / junction
-		
+
 	config.allowedExtensions = StructNew();
 	config.deniedExtensions = StructNew();
-	
+
 	config.allowedExtensions["File"] = "";
-	config.deniedExtensions["File"] = "php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi";
-	
+	config.deniedExtensions["File"] = "html,htm,php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess,asis";
+
 	config.allowedExtensions["Image"] = "png,gif,jpg,jpeg,bmp";
 	config.deniedExtensions["Image"] = "";
-	
+
 	config.allowedExtensions["Flash"] = "swf,fla";
 	config.deniedExtensions["Flash"] = "";
@@ -38,9 +54,9 @@
 
 <cfelseif isDefined("server.userFilesPath")>
-	
+
 	<cflock scope="server" type="readonly" timeout="5">
 		<cfset config.userFilesPath = server.userFilesPath>
 	</cflock>
-	
+
 </cfif>
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/cfm/upload.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/cfm/upload.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/cfm/upload.cfm	(revision 141)
@@ -1,8 +1,24 @@
-<!--- @Packager.Header
-<FileDescription>
-	This is the "File Uploader" for ColdFusion.
-	Based on connector.cfm by Mark Woods (mark@thickpaddy.com)
-</FileDescription>
-<Author name="Wim Lemmens" email="didgiman@gmail.com" />
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the "File Uploader" for ColdFusion.
+ * Based on connector.cfm by Mark Woods (mark@thickpaddy.com)
 --->
 
@@ -16,8 +32,8 @@
 	<cfargument name="fileName" type="string" required="no" default="">
 	<cfargument name="customMsg" type="string" required="no" default="">
-	
+
 	<cfoutput>
 		<script type="text/javascript">
-			window.parent.OnUploadCompleted(#errorNumber#, "#JSStringFormat(fileUrl)#", "#JSStringFormat(fileName)#", "#JSStringFormat(customMsg)#");			
+			window.parent.OnUploadCompleted(#errorNumber#, "#JSStringFormat(fileUrl)#", "#JSStringFormat(fileName)#", "#JSStringFormat(customMsg)#");
 		</script>
 	</cfoutput>
@@ -30,10 +46,10 @@
 <cfelse>
 	<cfscript>
-		
+
 		userFilesPath = config.userFilesPath;
 		lAllowedExtensions = config.allowedExtensions[url.type];
 		lDeniedExtensions = config.deniedExtensions[url.type];
 		customMsg = ''; // Can be overwritten. The last value will be sent with the result
-		
+
 		// make sure the user files path is correctly formatted
 		userFilesPath = replace(userFilesPath, "\", "/", "ALL");
@@ -45,5 +61,5 @@
 			userFilesPath = "/" & userFilesPath;
 		}
-		
+
 		if (find("/",getBaseTemplatePath())) {
 			fs = "/";
@@ -51,7 +67,7 @@
 			fs = "\";
 		}
-		
+
 		// Get the base physical path to the web root for this application. The code to determine the path automatically assumes that
-		// the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a 
+		// the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a
 		// virtual directory or a symbolic link / junction. Use the serverPath config setting to force a physical path if necessary.
 		if ( len(config.serverPath) ) {
@@ -60,19 +76,19 @@
 			serverPath = replaceNoCase(getBaseTemplatePath(),replace(cgi.script_name,"/",fs,"all"),"");
 		}
-				
+
 		// map the user files path to a physical directory
 		userFilesServerPath = serverPath & replace(userFilesPath,"/",fs,"all");
 	</cfscript>
-	
+
 	<cfset fileName = "">
 	<cfset fileExt = "">
-	
+
 	<cftry>
-	
+
 		<!--- we need to know the physical path to the current folder for all commands --->
 		<cfset currentFolderPath = userFilesServerPath & url.type & fs>
-	
+
 		<!--- TODO: upload to a temp directory and move file if extension is allowed --->
-	
+
 		<!--- first upload the file with an unique filename --->
 		<cffile action="upload"
@@ -82,19 +98,19 @@
 			mode="644"
 			attributes="normal">
-		
+
 		<cfif (Len(lAllowedExtensions) AND NOT listFindNoCase(lAllowedExtensions, cffile.ServerFileExt))
 			OR (Len(lDeniedExtensions) AND listFindNoCase(lDeniedExtensions, cffile.ServerFileExt))>
-			
+
 			<!--- Extension of the uploaded file is not allowed --->
 			<cfset errorNumber = "202">
 			<cffile action="delete" file="#cffile.ServerDirectory##fs##cffile.ServerFile#">
-		
+
 		<cfelse>
-		
+
 			<cfscript>
 				errorNumber = 0;
 				fileName = cffile.ClientFileName;
 				fileExt = cffile.ServerFileExt;
-		
+
 				// munge filename for html download. Only a-z, 0-9, _, - and . are allowed
 				if( reFind("[^A-Za-z0-9_\-\.]", fileName) ) {
@@ -104,5 +120,5 @@
 					fileName = reReplace(fileName, "$_([^_]+)$", "\1", "ALL");
 				}
-				
+
 				// When the original filename already exists, add numbers (0), (1), (2), ... at the end of the filename.
 				if( compare( cffile.ServerFileName, fileName ) ) {
@@ -115,8 +131,8 @@
 				}
 			</cfscript>
-			
+
 			<!--- Rename the uploaded file, if neccessary --->
 			<cfif compare(cffile.ServerFileName,fileName)>
-			
+
 				<cfset errorNumber = "201">
 				<cffile
@@ -126,18 +142,18 @@
 					mode="644"
 					attributes="normal">
-			
-			</cfif>					
-		
+
+			</cfif>
+
 		</cfif>
-	
+
 		<cfcatch type="Any">
-		
+
 			<cfset errorNumber = "1">
 			<cfset customMsg = "An error occured: " & cfcatch.message & " - " & cfcatch.detail>
-			
+
 		</cfcatch>
-		
+
 	</cftry>
-	
+
 	<cfif errorNumber EQ 0>
 		<!--- file was uploaded succesfully --->
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/lasso/config.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/lasso/config.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/lasso/config.lasso	(revision 141)
@@ -1,26 +1,32 @@
 [//lasso
 /*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: config.php
- * 	Configuration file for the Lasso File Uploader.
- * 
- * File Authors:
- * 		Jason Huck (jason.huck@corefive.com)
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the Lasso File Uploader.
  */
 
-    /*.....................................................................     
+    /*.....................................................................
     The connector uses the file tags, which require authentication. Enter a
     valid username and password from Lasso admin for a group with file tags
-    permissions for uploads and the path you define in UserFilesPath below.                                                                        
-    */ 
-    
+    permissions for uploads and the path you define in UserFilesPath below.
+    */
+
 	var('connection') = array(
 		-username='xxxxxxxx',
@@ -29,13 +35,13 @@
 
 
-    /*.....................................................................     
+    /*.....................................................................
     Set the base path for files that users can upload and browse (relative
     to server root).
-    
-    Set which file extensions are allowed and/or denied for each file type.                                                                           
-    */                                                                          
+
+    Set which file extensions are allowed and/or denied for each file type.
+    */
 	var('config') = map(
 		'Enabled' = false,
-		'UserFilesPath' = '/UserFiles/',
+		'UserFilesPath' = '/userfiles/',
 		'Subdirectories' = map(
 			'File' = 'File/',
@@ -51,5 +57,5 @@
 		),
 		'DeniedExtensions' = map(
-			'File' = array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp'),
+			'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis'),
 			'Image' = array(),
 			'Flash' = array(),
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/lasso/upload.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/lasso/upload.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/lasso/upload.lasso	(revision 141)
@@ -1,30 +1,35 @@
 [//lasso
 /*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: upload.php
- * 	This is the "File Uploader" for Lasso.
- * 
- * File Authors:
- * 		Jason Huck (jason.huck@corefive.com)
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the "File Uploader" for Lasso.
  */
 
-
-    /*.....................................................................     
-    Include global configuration. See config.lasso for details.                                                                           
-    */                                                                          
+    /*.....................................................................
+    Include global configuration. See config.lasso for details.
+    */
 	include('config.lasso');
 
 
-    /*.....................................................................     
-    Convert query string parameters to variables and initialize output.                                                                           
-    */                                                                          
+    /*.....................................................................
+    Convert query string parameters to variables and initialize output.
+    */
 	var(
 		'Type'			=	action_param('Type'),
@@ -42,10 +47,10 @@
 
 
-    /*.....................................................................     
-    Calculate the path to the current folder.                                                                           
-    */                                                                          
+    /*.....................................................................
+    Calculate the path to the current folder.
+    */
 	$ServerPath == '' ? $ServerPath = $config->find('UserFilesPath');
-		
-	var('currentFolderURL' = $ServerPath 
+
+	var('currentFolderURL' = $ServerPath
 		+ $config->find('Subdirectories')->find(action_param('Type'))
 		+ action_param('CurrentFolder')
@@ -53,8 +58,8 @@
 
 
-	/*.....................................................................    
-	Custom tag sets the HTML response.                                                               
+	/*.....................................................................
+	Custom tag sets the HTML response.
 	*/
-	
+
 	define_tag(
 		'sendresults',
@@ -73,7 +78,7 @@
 		$__html_reply__ = '\
 <script type="text/javascript">
-	window.parent.OnUploadCompleted(' + #errorNumber + ',"' 
-		+ string_replace(#fileUrl, -find='"', -replace='\\"') + '","' 
-		+ string_replace(#fileName, -find='"', -replace='\\"') + '","' 
+	window.parent.OnUploadCompleted(' + #errorNumber + ',"'
+		+ string_replace(#fileUrl, -find='"', -replace='\\"') + '","'
+		+ string_replace(#fileName, -find='"', -replace='\\"') + '","'
 		+ string_replace(#customMsg, -find='"', -replace='\\"') + '");
 </script>
@@ -83,51 +88,51 @@
 
 	if($config->find('Enabled'));
-		/*.................................................................     
-		Process an uploaded file.                                                                        
-		*/                                                                          
+		/*.................................................................
+		Process an uploaded file.
+		*/
 		inline($connection);
-			/*.............................................................     
-			Was a file actually uploaded?                                                              
-			*/                                                              
+			/*.............................................................
+			Was a file actually uploaded?
+			*/
 			file_uploads->size ? $NewFile = file_uploads->get(1) | $errorNumber = 202;
-							
+
 			if($errorNumber == 0);
-				/*.........................................................     
+				/*.........................................................
 				Split the file's extension from the filename in order
 				to follow the API's naming convention for duplicate
-				files. (Test.txt, Test(1).txt, Test(2).txt, etc.)                                                          
-				*/                                                          
-				$NewFileName = $NewFile->find('OrigName');													
+				files. (Test.txt, Test(1).txt, Test(2).txt, etc.)
+				*/
+				$NewFileName = $NewFile->find('OrigName');
 				$OrigFilePath = $currentFolderURL + $NewFileName;
 				$NewFilePath = $OrigFilePath;
-				local('fileExtension') = '.' + $NewFile->find('OrigExtension');					
+				local('fileExtension') = '.' + $NewFile->find('OrigExtension');
 				local('shortFileName') = $NewFileName->removetrailing(#fileExtension)&;
-	
-	
-				/*.........................................................     
-				Make sure the file extension is allowed.                                                          
-				*/ 
-								
+
+
+				/*.........................................................
+				Make sure the file extension is allowed.
+				*/
+
 				if($config->find('DeniedExtensions')->find($Type) >> $NewFile->find('OrigExtension'));
 					$errorNumber = 202;
 				else;
-					/*.....................................................     
-					Rename the target path until it is unique.                                                    
-					*/                                                      										
+					/*.....................................................
+					Rename the target path until it is unique.
+					*/
 					while(file_exists($NewFilePath));
 						$NewFileName = #shortFileName + '(' + loop_count + ')' + #fileExtension;
 						$NewFilePath = $currentFolderURL + $NewFileName;
 					/while;
-					
-					
-					/*.....................................................     
-					Copy the uploaded file to its final location.                                                     
-					*/                                                      
+
+
+					/*.....................................................
+					Copy the uploaded file to its final location.
+					*/
 					file_copy($NewFile->find('path'), $NewFilePath);
-	
-	
-					/*.....................................................    
-					Set the error code for the response.                                          
-					*/                                                      						
+
+
+					/*.....................................................
+					Set the error code for the response.
+					*/
 					select(file_currenterror( -errorcode));
 						case(0);
@@ -143,5 +148,5 @@
 		$customMsg = 'This file uploader is disabled. Please check the "editor/filemanager/upload/lasso/config.lasso" file.';
 	/if;
-	
+
 	fck_sendresults(
 		-errorNumber=$errorNumber,
@@ -150,3 +155,3 @@
 		-customMsg=$customMsg
 	);
-]	
+]
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/config.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/config.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/config.php	(revision 141)
@@ -1,25 +1,41 @@
-<?php /* @Packager.Header
-<FileDescription>
-	Configuration file for the PHP File Uploader.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Configuration file for the PHP File Uploader.
+ */
 
 global $Config ;
 
-// SECURITY: You must explicitelly enable this "uploader". 
+// SECURITY: You must explicitelly enable this "uploader".
 $Config['Enabled'] = false ;
-$Config['Enabled'] = true ;		// @Packager.RemoveLine 
 
-// Set if the file type must be considere in the target path. 
-// Ex: /UserFiles/Image/ or /UserFiles/File/
+// Set if the file type must be considere in the target path.
+// Ex: /userfiles/image/ or /userfiles/file/
 $Config['UseFileType'] = false ;
 
 // Path to uploaded files relative to the document root.
-$Config['UserFilesPath'] = '/UserFiles/' ;
+$Config['UserFilesPath'] = '/userfiles/' ;
 
 // Fill the following value it you prefer to specify the absolute path for the
 // user files directory. Usefull if you are using a virtual directory, symbolic
-// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
+// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
 // Attention: The above 'UserFilesPath' must point to the same directory.
 $Config['UserFilesAbsolutePath'] = '' ;
@@ -30,5 +46,5 @@
 
 $Config['AllowedExtensions']['File']	= array() ;
-$Config['DeniedExtensions']['File']		= array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi') ;
+$Config['DeniedExtensions']['File']		= array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis') ;
 
 $Config['AllowedExtensions']['Image']	= array('jpg','gif','jpeg','png') ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/upload.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/upload.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/upload.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the "File Uploader" for PHP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the "File Uploader" for PHP.
+ */
 
 require('config.php') ;
@@ -66,5 +83,5 @@
 if ( isset( $Config['UserFilesAbsolutePath'] ) && strlen( $Config['UserFilesAbsolutePath'] ) > 0 )
 	$sServerDir = $Config['UserFilesAbsolutePath'] ;
-else 
+else
 	$sServerDir = GetRootPath() . $Config["UserFilesPath"] ;
 
@@ -94,5 +111,5 @@
 			umask( $oldumask ) ;
 		}
-		
+
 		if ( $Config['UseFileType'] )
 			$sFileUrl = $Config["UserFilesPath"] . $sType . '/' . $sFileName ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/util.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/util.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/php/util.php	(revision 141)
@@ -1,8 +1,25 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the File Manager Connector for ASP.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the File Manager Connector for PHP.
+ */
 
 function RemoveExtension( $fileName )
Index: /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/test.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/test.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/filemanager/upload/test.html	(revision 141)
@@ -1,12 +1,27 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- @Packager.Header
-<FileDescription>
-	Test page for the "File Uploaders".
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Test page for the "File Uploaders".
 -->
 <html>
 	<head>
 		<title>FCKeditor - Uploaders Tests</title>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <!-- @Packager.RemoveLine -->
 		<script language="javascript">
 
@@ -14,8 +29,8 @@
 {
 	var sUploaderUrl = cmbUploaderUrl.value ;
-	
+
 	if ( sUploaderUrl.length == 0 )
 		sUploaderUrl = txtCustomUrl.value ;
-	
+
 	if ( sUploaderUrl.length == 0 )
 	{
@@ -23,8 +38,8 @@
 		return ;
 	}
-	
+
 	eURL.innerHTML = sUploaderUrl ;
 	txtUrl.value = '' ;
-	
+
 	frmUpload.action = sUploaderUrl ;
 	frmUpload.submit() ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/_getfontformat.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/_getfontformat.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/_getfontformat.html	(revision 141)
@@ -1,7 +1,26 @@
 <!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+-->
 <html>
 	<head>
 		<title></title>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
 	</head>
 	<script language="javascript">
@@ -10,5 +29,5 @@
 {
 	var oRange = document.selection.createRange() ;
-	
+
 	var sNormal ;
 	var sFormats = '' ;
@@ -21,5 +40,5 @@
 		sFormats += ';' ;
 	}
-	
+
 	document.getElementById('xFontFormats').innerHTML = sFormats + sNormal + ' (DIV)' ;
 }
@@ -31,17 +50,17 @@
 					<h3>FontFormats Localization</h3>
 					<p>
-						IE has some limits when handling the "Font Format". It actually uses localized 
-						strings to retrieve the current format value. This makes it very difficult to 
+						IE has some limits when handling the "Font Format". It actually uses localized
+						strings to retrieve the current format value. This makes it very difficult to
 						make a system that works on every single computer in the world.
 					</p>
 					<p>
-						With FCKeditor, this problem impacts in the "Format" toolbar command that 
+						With FCKeditor, this problem impacts in the "Format" toolbar command that
 						doesn't reflects the format of the current cursor position.
 					</p>
 					<p>
-						There is only one way to make it work. We must localize FCKeditor using the 
-						strings used by IE. In this way, we will have the expected behavior at least 
-						when using FCKeditor in the same language as the browser. So, when localizing 
-						FCKeditor, go to a computer with IE in the target language, open this page and 
+						There is only one way to make it work. We must localize FCKeditor using the
+						strings used by IE. In this way, we will have the expected behavior at least
+						when using FCKeditor in the same language as the browser. So, when localizing
+						FCKeditor, go to a computer with IE in the target language, open this page and
 						use the following string to the "FontFormats" value:
 					</p>
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/_translationstatus.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/_translationstatus.txt	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/_translationstatus.txt	(revision 141)
@@ -1,60 +1,76 @@
-/* @Packager.Header
-<FileDescription>
-	Translations Status.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="fredck@fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Translations Status.
+ */
 
-af.js      Found: 403   Missing: 0
-ar.js      Found: 388   Missing: 15
-bg.js      Found: 380   Missing: 23
-bn.js      Found: 388   Missing: 15
-bs.js      Found: 232   Missing: 171
-ca.js      Found: 403   Missing: 0
-cs.js      Found: 388   Missing: 15
-da.js      Found: 388   Missing: 15
-de.js      Found: 403   Missing: 0
-el.js      Found: 403   Missing: 0
-en-au.js   Found: 403   Missing: 0
-en-ca.js   Found: 403   Missing: 0
-en-uk.js   Found: 403   Missing: 0
-eo.js      Found: 352   Missing: 51
-es.js      Found: 388   Missing: 15
-et.js      Found: 388   Missing: 15
-eu.js      Found: 388   Missing: 15
-fa.js      Found: 403   Missing: 0
-fi.js      Found: 388   Missing: 15
-fo.js      Found: 358   Missing: 45
-fr.js      Found: 403   Missing: 0
-gl.js      Found: 388   Missing: 15
-he.js      Found: 403   Missing: 0
-hi.js      Found: 403   Missing: 0
-hr.js      Found: 403   Missing: 0
-hu.js      Found: 403   Missing: 0
-it.js      Found: 403   Missing: 0
-ja.js      Found: 403   Missing: 0
-km.js      Found: 377   Missing: 26
-ko.js      Found: 375   Missing: 28
-lt.js      Found: 383   Missing: 20
-lv.js      Found: 388   Missing: 15
-mn.js      Found: 232   Missing: 171
-ms.js      Found: 358   Missing: 45
-nb.js      Found: 388   Missing: 15
-nl.js      Found: 403   Missing: 0
-no.js      Found: 403   Missing: 0
-pl.js      Found: 388   Missing: 15
-pt-br.js   Found: 403   Missing: 0
-pt.js      Found: 388   Missing: 15
-ro.js      Found: 402   Missing: 1
-ru.js      Found: 403   Missing: 0
-sk.js      Found: 403   Missing: 0
-sl.js      Found: 380   Missing: 23
-sr-latn.js Found: 375   Missing: 28
-sr.js      Found: 375   Missing: 28
-sv.js      Found: 383   Missing: 20
-th.js      Found: 352   Missing: 51
-tr.js      Found: 403   Missing: 0
-uk.js      Found: 403   Missing: 0
-vi.js      Found: 403   Missing: 0
-zh-cn.js   Found: 403   Missing: 0
-zh.js      Found: 403   Missing: 0
+af.js      Found: 402   Missing: 0
+ar.js      Found: 402   Missing: 0
+bg.js      Found: 379   Missing: 23
+bn.js      Found: 387   Missing: 15
+bs.js      Found: 231   Missing: 171
+ca.js      Found: 402   Missing: 0
+cs.js      Found: 387   Missing: 15
+da.js      Found: 387   Missing: 15
+de.js      Found: 402   Missing: 0
+el.js      Found: 402   Missing: 0
+en-au.js   Found: 402   Missing: 0
+en-ca.js   Found: 402   Missing: 0
+en-uk.js   Found: 402   Missing: 0
+eo.js      Found: 351   Missing: 51
+es.js      Found: 387   Missing: 15
+et.js      Found: 387   Missing: 15
+eu.js      Found: 387   Missing: 15
+fa.js      Found: 402   Missing: 0
+fi.js      Found: 387   Missing: 15
+fo.js      Found: 402   Missing: 0
+fr.js      Found: 402   Missing: 0
+gl.js      Found: 387   Missing: 15
+he.js      Found: 402   Missing: 0
+hi.js      Found: 402   Missing: 0
+hr.js      Found: 402   Missing: 0
+hu.js      Found: 402   Missing: 0
+it.js      Found: 402   Missing: 0
+ja.js      Found: 402   Missing: 0
+km.js      Found: 376   Missing: 26
+ko.js      Found: 374   Missing: 28
+lt.js      Found: 382   Missing: 20
+lv.js      Found: 387   Missing: 15
+mn.js      Found: 231   Missing: 171
+ms.js      Found: 357   Missing: 45
+nb.js      Found: 402   Missing: 0
+nl.js      Found: 402   Missing: 0
+no.js      Found: 402   Missing: 0
+pl.js      Found: 387   Missing: 15
+pt-br.js   Found: 402   Missing: 0
+pt.js      Found: 387   Missing: 15
+ro.js      Found: 401   Missing: 1
+ru.js      Found: 402   Missing: 0
+sk.js      Found: 402   Missing: 0
+sl.js      Found: 379   Missing: 23
+sr-latn.js Found: 374   Missing: 28
+sr.js      Found: 374   Missing: 28
+sv.js      Found: 382   Missing: 20
+th.js      Found: 351   Missing: 51
+tr.js      Found: 402   Missing: 0
+uk.js      Found: 402   Missing: 0
+vi.js      Found: 402   Missing: 0
+zh-cn.js   Found: 402   Missing: 0
+zh.js      Found: 402   Missing: 0
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/af.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/af.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/af.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Afrikaans language file.
-</FileDescription>
-<Author name="Willem Petrus Botha" email="w@adesso.za.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Afrikaans language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Lesensie",
 DlgAboutVersion		: "weergawe",
-DlgAboutLicense		: "Lesensie volgens GNU Lesser General Public License terme",
 DlgAboutInfo		: "Vir meer informasie gaan na "
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ar.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ar.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ar.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Arabic language file.
-</FileDescription>
-<Author name="Abdul-Aziz Abdul-Kareem Al-Oraij" email="http://aziz.oraij.com" />
-<Author name="Abu Faisal" email="http://www.24at24.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Arabic language file.
+ */
 
 var FCKLang =
@@ -248,5 +263,5 @@
 DlnLnkMsgNoEMail	: "فضلاً أدخل عنوان البريد الإلكتروني",
 DlnLnkMsgNoAnchor	: "فضلاً حدد العلامة المرجعية المرغوبة",
-DlnLnkMsgInvPopName	: "The popup name must begin with an alphabetic character and must not contain spaces",	//MISSING
+DlnLnkMsgInvPopName	: "اسم النافذة المنبثقة يجب أن يبدأ بحرف أبجدي دون مسافات",
 
 // Color Dialog
@@ -367,7 +382,7 @@
 DlgButtonText		: "القيمة/التسمية",
 DlgButtonType		: "نوع الزر",
-DlgButtonTypeBtn	: "Button",	//MISSING
-DlgButtonTypeSbm	: "Submit",	//MISSING
-DlgButtonTypeRst	: "Reset",	//MISSING
+DlgButtonTypeBtn	: "زر",
+DlgButtonTypeSbm	: "إرسال",
+DlgButtonTypeRst	: "إعادة تعيين",
 
 // Checkbox and Radio Button Dialogs
@@ -418,5 +433,5 @@
 BulletedListProp	: "خصائص التعداد النقطي",
 NumberedListProp	: "خصائص التعداد الرقمي",
-DlgLstStart			: "Start",	//MISSING
+DlgLstStart			: "البدء عند",
 DlgLstType			: "النوع",
 DlgLstTypeCircle	: "دائرة",
@@ -441,14 +456,14 @@
 DlgDocLangCode		: "رمز اللغة",
 DlgDocCharSet		: "ترميز الحروف",
-DlgDocCharSetCE		: "Central European",	//MISSING
-DlgDocCharSetCT		: "Chinese Traditional (Big5)",	//MISSING
-DlgDocCharSetCR		: "Cyrillic",	//MISSING
-DlgDocCharSetGR		: "Greek",	//MISSING
-DlgDocCharSetJP		: "Japanese",	//MISSING
-DlgDocCharSetKR		: "Korean",	//MISSING
-DlgDocCharSetTR		: "Turkish",	//MISSING
-DlgDocCharSetUN		: "Unicode (UTF-8)",	//MISSING
-DlgDocCharSetWE		: "Western European",	//MISSING
-DlgDocCharSetOther	: "ترميز حروف آخر",
+DlgDocCharSetCE		: "أوروبا الوسطى",
+DlgDocCharSetCT		: "الصينية التقليدية (Big5)",
+DlgDocCharSetCR		: "السيريلية",
+DlgDocCharSetGR		: "اليونانية",
+DlgDocCharSetJP		: "اليابانية",
+DlgDocCharSetKR		: "الكورية",
+DlgDocCharSetTR		: "التركية",
+DlgDocCharSetUN		: "Unicode (UTF-8)",
+DlgDocCharSetWE		: "أوروبا الغربية",
+DlgDocCharSetOther	: "ترميز آخر",
 
 DlgDocDocType		: "ترويسة نوع  الصفحة",
@@ -479,5 +494,5 @@
 DlgTemplatesLoading	: "جاري تحميل قائمة القوالب، الرجاء الإنتظار...",
 DlgTemplatesNoTpl	: "(لم يتم تعريف أي قالب)",
-DlgTemplatesReplace	: "Replace actual contents",	//MISSING
+DlgTemplatesReplace	: "استبدال المحتوى",
 
 // About Dialog
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "الترخيص",
 DlgAboutVersion		: "الإصدار",
-DlgAboutLicense		: "مرخّص بحسب قانون  GNU LGPL",
 DlgAboutInfo		: "لمزيد من المعلومات تفضل بزيارة"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/bg.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/bg.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/bg.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Bulgarian language file.
-</FileDescription>
-<Author name="Miroslav Ivanov" email="miro@primal-chaos.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Bulgarian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "версия",
-DlgAboutLicense		: "Лиценз по условията на GNU Lesser General Public License",
 DlgAboutInfo		: "За повече информация посетете"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/bn.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/bn.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/bn.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Bengali/Bangla language file.
-</FileDescription>
-<Author name="Richard Walledge" email="darkdoctrine@hotmail.com" />
-<Author name="S M Mahbub Murshed" email="udvranto@yahoo.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Bengali/Bangla language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "লাইসেন্স",
 DlgAboutVersion		: "ভার্সন",
-DlgAboutLicense		: "লাইসেন্স GNU LGPL এর নীতিমালার অধীনে ",
 DlgAboutInfo		: "আরও তথ্যের জন্য যান"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/bs.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/bs.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/bs.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Bosnian language file.
-</FileDescription>
-<Author name="Muris Trax (www.elektronika.ba)" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Bosnian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "verzija",
-DlgAboutLicense		: "Licencirano pod uslovima GNU Lesser General Public License",
 DlgAboutInfo		: "Za više informacija posjetite"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ca.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ca.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ca.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Catalan language file.
-</FileDescription>
-<Author name="Jordi Cerdan" email="nan@myp.ad" />
-<Author name="Marc Folch" email="mcus21@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Catalan language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Llicència",
 DlgAboutVersion		: "versió",
-DlgAboutLicense		: "Segons els termes de la Llicència GNU Lesser General Public License",
 DlgAboutInfo		: "Per a més informació aneu a"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/cs.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/cs.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/cs.js	(revision 141)
@@ -1,10 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Czech language file.
-</FileDescription>
-<Author name="David Horák" email="david.horak@email.cz" />
-<Author name="Petr Plavjaník" email="plavjanik@gmail.com" />
-<Author name="Dave MacBlack" email="davemacblack@users.sourceforge.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Czech language file.
+ */
 
 var FCKLang =
@@ -487,5 +501,4 @@
 DlgAboutLicenseTab	: "Licence",
 DlgAboutVersion		: "verze",
-DlgAboutLicense		: "Licencováno pod GNU Lesser General Public License",
 DlgAboutInfo		: "Více informací získáte na"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/da.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/da.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/da.js	(revision 141)
@@ -1,10 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Danish language file.
-</FileDescription>
-<Author name="Jørgen Nordstrøm" email="jn@FirstWeb.dk" />
-<Author name="Jesper Michelsen" email="jm@i-deVision.dk" />
-<Author name="Bo Brandt" email="bbr@dynamicweb.dk" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Danish language file.
+ */
 
 var FCKLang =
@@ -487,5 +501,4 @@
 DlgAboutLicenseTab	: "Licens",
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "Licens under vilkår for GNU Lesser General Public License",
 DlgAboutInfo		: "For yderlig information gå til"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/de.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/de.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/de.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	German language file.
-</FileDescription>
-<Author name="Maik Unruh" email="m.unruh@mm-concept.de" />
-<Author name="Hendrik Kramer" email="HK@lwd.de" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * German language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Lizenz",
 DlgAboutVersion		: "Version",
-DlgAboutLicense		: "Lizensiert unter den Richtlinien der GNU Lesser General Public License",
 DlgAboutInfo		: "Für weitere Informationen siehe"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/el.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/el.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/el.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Greek language file.
-</FileDescription>
-<Author name="Vangelis Bibakis" email="bibakisv[-a-t-]yahoo.com" />
-<Author name="Spyros Barbatos" email="sbarbatos{at}users.sourceforge.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Greek language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Άδεια",
 DlgAboutVersion		: "έκδοση",
-DlgAboutLicense		: "Άδεια χρήσης υπό τους όρους της GNU Lesser General Public License",
 DlgAboutInfo		: "Για περισσότερες πληροφορίες"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/en-au.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/en-au.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/en-au.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	English (Australia) language file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Christopher Dawes" email="fckeditor@dawes.id.au" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * English (Australia) language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "License",
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "For further information go to"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/en-ca.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/en-ca.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/en-ca.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	English (Canadian) language file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Kevin Bennett" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * English (Canadian) language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "License",
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "For further information go to"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/en-uk.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/en-uk.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/en-uk.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	English (United Kingdom) language file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Christopher Dawes" email="fckeditor@dawes.id.au" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * English (United Kingdom) language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "License",
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "For further information go to"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/en.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/en.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/en.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	English language file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * English language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "For further information go to"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/eo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/eo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/eo.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Esperanto language file.
-</FileDescription>
-<Author name="Tim Morley" email="timsk@openoffice.org" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Esperanto language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "versio",
-DlgAboutLicense		: "Disdonata laŭ la GNU Lesser General Public License",
 DlgAboutInfo		: "Por pli da informoj, vizitu"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/es.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/es.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/es.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Spanish language file.
-</FileDescription>
-<Author name="Gabriel Schillaci" email="internetbug@users.sourceforge.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Spanish language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Licencia",
 DlgAboutVersion		: "versión",
-DlgAboutLicense		: "Licenciado bajo los términos de GNU Lesser General Public License",
 DlgAboutInfo		: "Para mayor información por favor dirigirse a"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/et.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/et.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/et.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Estonian language file.
-</FileDescription>
-<Author name="Kristjan Kivikangur" email="kristjan@ttrk.ee" />
-<Author name="Gustav Kaskema" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Estonian language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Litsents",
 DlgAboutVersion		: "versioon",
-DlgAboutLicense		: "Litsenseeritud GNU Lesser General Public License litsentsiga",
 DlgAboutInfo		: "Täpsema info saamiseks mine"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/eu.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/eu.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/eu.js	(revision 141)
@@ -1,9 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Basque language file.
-	Euskara hizkuntza fitxategia.
-</FileDescription>
-<Author name="Ibon Igartua" email="Librezale.org" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Basque language file.
+ * Euskara hizkuntza fitxategia.
+ */
 
 var FCKLang =
@@ -486,5 +502,4 @@
 DlgAboutLicenseTab	: "Lizentzia",
 DlgAboutVersion		: "bertsioa",
-DlgAboutLicense		: "GNU Lesser General Public License Lizentziapean",
 DlgAboutInfo		: "Informazio gehiago eskuratzeko hona joan"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/fa.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/fa.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/fa.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Persian language file.
-</FileDescription>
-<Author name="Hamed Taj-Abadi" email="hamed@ranginkaman.com" />
-<Author name="Pooyan Mahdavi" email="pooyanmx -@- gmail -.- com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Persian language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "گواهینامه",
 DlgAboutVersion		: "نگارش",
-DlgAboutLicense		: "لیسانس برپایهٴبندهای آیین‌نامهٴ GNU Lesser General Public License",
 DlgAboutInfo		: "برای آگاهی بیشتر به این نشانی بروید"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/fi.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/fi.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/fi.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Finnish language file.
-</FileDescription>
-<Author name="Marko Korhonen" email="marko.korhonen@datafisher.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Finnish language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Lisenssi",
 DlgAboutVersion		: "versio",
-DlgAboutLicense		: "Lisenssi: GNU Lesser General Public License",
 DlgAboutInfo		: "Lisää tietoa osoitteesta"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/fo.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/fo.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/fo.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Faroese language file.
-</FileDescription>
-<Author name="Símin Lassaberg" />
-<Author name="Helgi Arnthorsson" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Faroese language file.
+ */
 
 var FCKLang =
@@ -12,298 +27,298 @@
 Dir					: "ltr",
 
-ToolbarCollapse		: "Goym amboðalistan",
-ToolbarExpand		: "Vís amboðalistan",
+ToolbarCollapse		: "Fjal amboðsbjálkan",
+ToolbarExpand		: "Vís amboðsbjálkan",
 
 // Toolbar Items and Context Menu
-Save				: "Geim",
+Save				: "Goym",
 NewPage				: "Nýggj síða",
-Preview				: "Vís dømi",
-Cut					: "Klipp",
+Preview				: "Frumsýning",
+Cut					: "Kvett",
 Copy				: "Avrita",
-Paste				: "Set inn",
-PasteText			: "Set inn sum reinan tekst",
-PasteWord			: "Set inn frá Word",
+Paste				: "Innrita",
+PasteText			: "Innrita reinan tekst",
+PasteWord			: "Innrita frá Word",
 Print				: "Prenta",
 SelectAll			: "Markera alt",
-RemoveFormat		: "Sletta sniðgeving",
-InsertLinkLbl		: "Leinkja",
-InsertLink			: "Seta inn/Broyta Leinkju",
-RemoveLink			: "Sletta Leinkju",
-Anchor				: "Seta inn/Broyta staðsetingarmerki",
-InsertImageLbl		: "Seta inn mynd",
-InsertImage			: "Seta inn/Broyta mynd",
-InsertFlashLbl		: "Flash",	//MISSING
-InsertFlash			: "Insert/Edit Flash",	//MISSING
-InsertTableLbl		: "Talva",
-InsertTable			: "Seta inn/Broyta talvu",
+RemoveFormat		: "Strika sniðgeving",
+InsertLinkLbl		: "Tilknýti",
+InsertLink			: "Ger/broyt tilknýti",
+RemoveLink			: "Strika tilknýti",
+Anchor				: "Ger/broyt marknastein",
+InsertImageLbl		: "Myndir",
+InsertImage			: "Set inn/broyt mynd",
+InsertFlashLbl		: "Flash",
+InsertFlash			: "Set inn/broyt Flash",
+InsertTableLbl		: "Tabell",
+InsertTable			: "Set inn/broyt tabell",
 InsertLineLbl		: "Linja",
-InsertLine			: "Seta inn vatnrætta linju",
-InsertSpecialCharLbl: "Serlig tekn",
-InsertSpecialChar	: "Seta inn serligt tekn",
+InsertLine			: "Ger vatnrætta linju",
+InsertSpecialCharLbl: "Sertekn",
+InsertSpecialChar	: "Set inn sertekn",
 InsertSmileyLbl		: "Smiley",
-InsertSmiley		: "Seta inn Smiley",
+InsertSmiley		: "Set inn Smiley",
 About				: "Um FCKeditor",
-Bold				: "Feit",
-Italic				: "Skástillað",
+Bold				: "Feit skrift",
+Italic				: "Skráskrift",
 Underline			: "Undirstrikað",
-StrikeThrough		: "Strikað yvir",
+StrikeThrough		: "Yvirstrikað",
 Subscript			: "Lækkað skrift",
 Superscript			: "Hækkað skrift",
-LeftJustify			: "Vinstristillað",
-CenterJustify		: "Miðstillað",
-RightJustify		: "Hægristillað",
-BlockJustify		: "Beinir tekstkantar",
-DecreaseIndent		: "Økja innrykk",
-IncreaseIndent		: "Minka innrykk",
+LeftJustify			: "Vinstrasett",
+CenterJustify		: "Miðsett",
+RightJustify		: "Høgrasett",
+BlockJustify		: "Javnir tekstkantar",
+DecreaseIndent		: "Minka reglubrotarinntriv",
+IncreaseIndent		: "Økja reglubrotarinntriv",
 Undo				: "Angra",
-Redo				: "Broyt aftur í upprunamynd",
-NumberedListLbl		: "Talsettur listi",
-NumberedList		: "Seta inn/Sletta talsettan lista",
-BulletedListLbl		: "Punktsettur listi",
-BulletedList		: "Seta inn/Sletta punktsettan lista",
-ShowTableBorders	: "Vísa talvukantar ",
-ShowDetails			: "Vísa detaljur",
-Style				: "Tekstsnið",
-FontFormat			: "Sniðgeving",
+Redo				: "Vend aftur",
+NumberedListLbl		: "Talmerktur listi",
+NumberedList		: "Ger/strika talmerktan lista",
+BulletedListLbl		: "Punktmerktur listi",
+BulletedList		: "Ger/strika punktmerktan lista",
+ShowTableBorders	: "Vís tabellbordar",
+ShowDetails			: "Vís í smálutum",
+Style				: "Typografi",
+FontFormat			: "Skriftsnið",
 Font				: "Skrift",
 FontSize			: "Skriftstødd",
 TextColor			: "Tekstlitur",
-BGColor				: "Litur aftanfyri",
+BGColor				: "Bakgrundslitur",
 Source				: "Kelda",
 Find				: "Leita",
-Replace				: "Set í staðin",
-SpellCheck			: "Stavseting",
-UniversalKeyboard	: "Universalt Tastatur",
-PageBreakLbl		: "Page Break",	//MISSING
-PageBreak			: "Insert Page Break",	//MISSING
-
-Form			: "Seta inn Form",
-Checkbox		: "Seta inn Avmerkingarboks",
-RadioButton		: "Seta inn Radioknap",
-TextField		: "Seta inn Tekstteig",
-Textarea		: "Seta inn Tekstøki",
-HiddenField		: "Seta inn GoymdanTeig",
-Button			: "Seta inn knapp",
-SelectionField	: "Seta inn Valteig",
-ImageButton		: "Seta inn Myndaknapp",
-
-FitWindow		: "Maximize the editor size",	//MISSING
+Replace				: "Yvirskriva",
+SpellCheck			: "Kanna stavseting",
+UniversalKeyboard	: "Knappaborð",
+PageBreakLbl		: "Síðuskift",
+PageBreak			: "Ger síðuskift",
+
+Form			: "Formur",
+Checkbox		: "Flugubein",
+RadioButton		: "Radioknøttur",
+TextField		: "Tekstteigur",
+Textarea		: "Tekstumráði",
+HiddenField		: "Fjaldur teigur",
+Button			: "Knøttur",
+SelectionField	: "Valskrá",
+ImageButton		: "Myndaknøttur",
+
+FitWindow		: "Set tekstviðgera til fulla stødd",
 
 // Context Menu
-EditLink			: "Broyt leinkju",
-CellCM				: "Cell",	//MISSING
-RowCM				: "Row",	//MISSING
-ColumnCM			: "Column",	//MISSING
-InsertRow			: "Seta inn rekkju",
-DeleteRows			: "Sletta rekkjur",
-InsertColumn		: "Seta inn søjlur",
-DeleteColumns		: "Sletta søjlur",
-InsertCell			: "Seta inn sellu",
-DeleteCells			: "Sletta sellu",
-MergeCells			: "Flætta sellur",
-SplitCell			: "Deila sellur",
-TableDelete			: "Delete Table",	//MISSING
-CellProperties		: "Eginleikar fyri sellu",
-TableProperties		: "Eginleikar fyri talvu",
-ImageProperties		: "Eginleikar fyri mynd",
-FlashProperties		: "Flash Properties",	//MISSING
-
-AnchorProp			: "Eginleikar fyri staðsetingarpunkt",
-ButtonProp			: "Eginleikar fyri knapp",
-CheckboxProp		: "Eginleikar fyri avmerkingarboks",
-HiddenFieldProp		: "Eginleikar fyri goymdan teig",
-RadioButtonProp		: "Eginleikar fyri radioknapp",
-ImageButtonProp		: "Eginleikar fyri myndaknapp",
-TextFieldProp		: "Eginleikar fyri Tekstateig",
-SelectionFieldProp	: "Eginleikar fyri Valteig",
-TextareaProp		: "Eginleikar fyri Tekstaøki",
-FormProp			: "Eginleikar fyri form",
-
-FontFormats			: "Normalt;Sniðgevið;Adressa;Yvirskrift 1;Yvirskrift 2;Yvirskrift 3;Yvirskrift 4;Yvirskrift 5;Yvirskrift 6",		//REVIEW : Check _getfontformat.html
+EditLink			: "Broyt tilknýti",
+CellCM				: "Meski",
+RowCM				: "Rað",
+ColumnCM			: "Kolonna",
+InsertRow			: "Nýtt rað",
+DeleteRows			: "Strika røðir",
+InsertColumn		: "Nýggj kolonna",
+DeleteColumns		: "Strika kolonnur",
+InsertCell			: "Nýggjur meski",
+DeleteCells			: "Strika meskar",
+MergeCells			: "Flætta meskar",
+SplitCell			: "Být sundur meskar",
+TableDelete			: "Strika tabell",
+CellProperties		: "Meskueginleikar",
+TableProperties		: "Tabelleginleikar",
+ImageProperties		: "Myndaeginleikar",
+FlashProperties		: "Flash eginleikar",
+
+AnchorProp			: "Eginleikar fyri marknastein",
+ButtonProp			: "Eginleikar fyri knøtt",
+CheckboxProp		: "Eginleikar fyri flugubein",
+HiddenFieldProp		: "Eginleikar fyri fjaldan teig",
+RadioButtonProp		: "Eginleikar fyri radioknøtt",
+ImageButtonProp		: "Eginleikar fyri myndaknøtt",
+TextFieldProp		: "Eginleikar fyri tekstteig",
+SelectionFieldProp	: "Eginleikar fyri valskrá",
+TextareaProp		: "Eginleikar fyri tekstumráði",
+FormProp			: "Eginleikar fyri Form",
+
+FontFormats			: "Vanligt;Sniðgivið;Adressa;Yvirskrift 1;Yvirskrift 2;Yvirskrift 3;Yvirskrift 4;Yvirskrift 5;Yvirskrift 6",		//REVIEW : Check _getfontformat.html
 
 // Alerts and Messages
-ProcessingXHTML		: "Viðgerir XHTML. Bíða...",
+ProcessingXHTML		: "XHTML verður viðgjørt. Bíða við...",
 Done				: "Liðugt",
-PasteWordConfirm	: "Teksturin, tú roynir at seta inn, sýnist at vera frá Word. Vilt tú reinsa tekstin, áðrenn hann verður settur inn?",
-NotCompatiblePaste	: "Hesin ordri er tøkur í Internet Explorer 5.5 og nýggjari. Vilt tú seta tekstin inn, uttan at reinsa hann?",
-UnknownToolbarItem	: "Ókendur lutur í amboðalinju \"%1\"",
-UnknownCommand		: "Kenni ikki ordra \"%1\"",
-NotImplemented		: "Ordrin er ikki gjørdur virkin",
-UnknownToolbarSet	: "Amboðalinjan \"%1\" finst ikki",
-NoActiveX			: "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.",	//MISSING
-BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.",	//MISSING
-DialogBlocked		: "It was not possible to open the dialog window. Make sure all popup blockers are disabled.",	//MISSING
+PasteWordConfirm	: "Teksturin, royndur verður at seta inn, tykist at stava frá Word. Vilt tú reinsa tekstin, áðrenn hann verður settur inn?",
+NotCompatiblePaste	: "Hetta er bert tøkt í Internet Explorer 5.5 og nýggjari. Vilt tú seta tekstin inn kortini - óreinsaðan?",
+UnknownToolbarItem	: "Ókendur lutur í amboðsbjálkanum \"%1\"",
+UnknownCommand		: "Ókend kommando \"%1\"",
+NotImplemented		: "Hetta er ikki tøkt í hesi útgávuni",
+UnknownToolbarSet	: "Amboðsbjálkin \"%1\" finst ikki",
+NoActiveX			: "Trygdaruppsetingin í alnótskaganum kann sum er avmarka onkrar hentleikar í tekstviðgeranum. Tú mást loyva møguleikanum \"Run/Kør ActiveX controls and plug-ins\". Tú kanst uppliva feilir og ávaringar um tvørrandi hentleikar.",
+BrowseServerBlocked : "Ambætarakagin kundi ikki opnast. Tryggja tær, at allar pop-up forðingar eru óvirknar.",
+DialogBlocked		: "Tað eyðnaðist ikki at opna samskiftisrútin. Tryggja tær, at allar pop-up forðingar eru óvirknar.",
 
 // Dialogs
-DlgBtnOK			: "OK",
-DlgBtnCancel		: "Angra",
-DlgBtnClose			: "Lukka",
-DlgBtnBrowseServer	: "Hyggja á servara",
-DlgAdvancedTag		: "Útvíðka",
+DlgBtnOK			: "Góðkent",
+DlgBtnCancel		: "Avlýst",
+DlgBtnClose			: "Lat aftur",
+DlgBtnBrowseServer	: "Ambætarakagi",
+DlgAdvancedTag		: "Fjølbroytt",
 DlgOpOther			: "<Annað>",
-DlgInfoTab			: "Info",	//MISSING
-DlgAlertUrl			: "Please insert the URL",	//MISSING
+DlgInfoTab			: "Upplýsingar",
+DlgAlertUrl			: "Vinarliga veit ein URL",
 
 // General Dialogs Labels
 DlgGenNotSet		: "<ikki sett>",
 DlgGenId			: "Id",
-DlgGenLangDir		: "Tekstakós",
-DlgGenLangDirLtr	: "Vinstri móti høgri (LTR)",
-DlgGenLangDirRtl	: "Høgri móti vinstri (RTL)",
+DlgGenLangDir		: "Tekstkós",
+DlgGenLangDirLtr	: "Frá vinstru til høgru (LTR)",
+DlgGenLangDirRtl	: "Frá høgru til vinstru (RTL)",
 DlgGenLangCode		: "Málkoda",
-DlgGenAccessKey		: "Atgongdslykil",
+DlgGenAccessKey		: "Snarvegisknappur",
 DlgGenName			: "Navn",
-DlgGenTabIndex		: "Tabulator Indeks",
-DlgGenLongDescr		: "víðka frágreiðing",
-DlgGenClass			: "Typografiark",
-DlgGenTitle			: "Heiti",
-DlgGenContType		: "Innihaldsslag",
-DlgGenLinkCharset	: "Teknset",
-DlgGenStyle			: "Prentlist",
+DlgGenTabIndex		: "Inntriv indeks",
+DlgGenLongDescr		: "Víðkað URL frágreiðing",
+DlgGenClass			: "Typografi klassar",
+DlgGenTitle			: "Vegleiðandi heiti",
+DlgGenContType		: "Vegleiðandi innihaldsslag",
+DlgGenLinkCharset	: "Atknýtt teknsett",
+DlgGenStyle			: "Typografi",
 
 // Image Dialog
-DlgImgTitle			: "Mynd eginleikar",
-DlgImgInfoTab		: "Mynd info",
-DlgImgBtnUpload		: "Send til serveren",
+DlgImgTitle			: "Myndaeginleikar",
+DlgImgInfoTab		: "Myndaupplýsingar",
+DlgImgBtnUpload		: "Send til ambætaran",
 DlgImgURL			: "URL",
-DlgImgUpload		: "Upload",
-DlgImgAlt			: "Annar tekstur",
+DlgImgUpload		: "Send",
+DlgImgAlt			: "Alternativur tekstur",
 DlgImgWidth			: "Breidd",
 DlgImgHeight		: "Hædd",
-DlgImgLockRatio		: "Læs støddarlutfall",
-DlgBtnResetSize		: "Nulstilla stødd",
-DlgImgBorder		: "Ramma",
-DlgImgHSpace		: "HMargin",
-DlgImgVSpace		: "VMargin",
+DlgImgLockRatio		: "Læs lutfallið",
+DlgBtnResetSize		: "Upprunastødd",
+DlgImgBorder		: "Bordi",
+DlgImgHSpace		: "Høgri breddi",
+DlgImgVSpace		: "Vinstri breddi",
 DlgImgAlign			: "Justering",
 DlgImgAlignLeft		: "Vinstra",
 DlgImgAlignAbsBottom: "Abs botnur",
-DlgImgAlignAbsMiddle: "Abs Miðja",
-DlgImgAlignBaseline	: "Botnlinja",
+DlgImgAlignAbsMiddle: "Abs miðja",
+DlgImgAlignBaseline	: "Basislinja",
 DlgImgAlignBottom	: "Botnur",
 DlgImgAlignMiddle	: "Miðja",
 DlgImgAlignRight	: "Høgra",
-DlgImgAlignTextTop	: "Tekstur ovast",
+DlgImgAlignTextTop	: "Tekst toppur",
 DlgImgAlignTop		: "Ovast",
-DlgImgPreview		: "Vís dømi",
-DlgImgAlertUrl		: "Slá inn slóðina til myndina",
-DlgImgLinkTab		: "Leinkja",
+DlgImgPreview		: "Frumsýning",
+DlgImgAlertUrl		: "Rita slóðina til myndina",
+DlgImgLinkTab		: "Tilknýti",
 
 // Flash Dialog
-DlgFlashTitle		: "Flash Properties",	//MISSING
-DlgFlashChkPlay		: "Auto Play",	//MISSING
-DlgFlashChkLoop		: "Loop",	//MISSING
-DlgFlashChkMenu		: "Enable Flash Menu",	//MISSING
-DlgFlashScale		: "Scale",	//MISSING
-DlgFlashScaleAll	: "Show all",	//MISSING
-DlgFlashScaleNoBorder	: "No Border",	//MISSING
-DlgFlashScaleFit	: "Exact Fit",	//MISSING
+DlgFlashTitle		: "Flash eginleikar",
+DlgFlashChkPlay		: "Avspælingin byrjar sjálv",
+DlgFlashChkLoop		: "Endurspæl",
+DlgFlashChkMenu		: "Ger Flash skrá virkna",
+DlgFlashScale		: "Skalering",
+DlgFlashScaleAll	: "Vís alt",
+DlgFlashScaleNoBorder	: "Eingin bordi",
+DlgFlashScaleFit	: "Neyv skalering",
 
 // Link Dialog
-DlgLnkWindowTitle	: "Leinkja",
-DlgLnkInfoTab		: "Leinkju info",
+DlgLnkWindowTitle	: "Tilknýti",
+DlgLnkInfoTab		: "Tilknýtis upplýsingar",
 DlgLnkTargetTab		: "Mál",
 
-DlgLnkType			: "Leinkju slag",
+DlgLnkType			: "Tilknýtisslag",
 DlgLnkTypeURL		: "URL",
-DlgLnkTypeAnchor	: "Akker á hesari síðuni",
+DlgLnkTypeAnchor	: "Tilknýti til marknastein í tekstinum",
 DlgLnkTypeEMail		: "Teldupostur",
 DlgLnkProto			: "Protokoll",
-DlgLnkProtoOther	: "<onnur>",
+DlgLnkProtoOther	: "<Annað>",
 DlgLnkURL			: "URL",
-DlgLnkAnchorSel		: "VEl eitt akker",
-DlgLnkAnchorByName	: "Eftir akker navni",
+DlgLnkAnchorSel		: "Vel ein marknastein",
+DlgLnkAnchorByName	: "Eftir navni á marknasteini",
 DlgLnkAnchorById	: "Eftir element Id",
-DlgLnkNoAnchors		: "<Tað eru ongi akker tøk í hesum dokumentinum;",		//REVIEW : Change < and > with ( and )
-DlgLnkEMail			: "Teldupost Adresse",
+DlgLnkNoAnchors		: "(Eingir marknasteinar eru í hesum dokumentið)",		//REVIEW : Change < and > with ( and )
+DlgLnkEMail			: "Teldupost-adressa",
 DlgLnkEMailSubject	: "Evni",
-DlgLnkEMailBody		: "Boð",
-DlgLnkUpload		: "Upload",
-DlgLnkBtnUpload		: "Send til servaran",
+DlgLnkEMailBody		: "Breyðtekstur",
+DlgLnkUpload		: "Send til ambætaran",
+DlgLnkBtnUpload		: "Send til ambætaran",
 
 DlgLnkTarget		: "Mál",
 DlgLnkTargetFrame	: "<ramma>",
 DlgLnkTargetPopup	: "<popup vindeyga>",
-DlgLnkTargetBlank	: "Nytt vindeyga (_blank)",
-DlgLnkTargetParent	: "Omaná liggjandi vindeyga (_parent)",
-DlgLnkTargetSelf	: "Sama vindeyga (_self)",
-DlgLnkTargetTop		: "ovasta vindeyga (_top)",
-DlgLnkTargetFrameName	: "vísa vindeygas navn",
-DlgLnkPopWinName	: "Popup vindeygas navn",
-DlgLnkPopWinFeat	: "Popup vindeygas eginleikar",
-DlgLnkPopResize		: "Skalering",
-DlgLnkPopLocation	: "Lokationslinja",
-DlgLnkPopMenu		: "Menulinja",
-DlgLnkPopScroll		: "Scrollbars",
-DlgLnkPopStatus		: "Statuslinja",
-DlgLnkPopToolbar	: "Værktøjslinja",
+DlgLnkTargetBlank	: "Nýtt vindeyga (_blank)",
+DlgLnkTargetParent	: "Upphavliga vindeygað (_parent)",
+DlgLnkTargetSelf	: "Sama vindeygað (_self)",
+DlgLnkTargetTop		: "Alt vindeygað (_top)",
+DlgLnkTargetFrameName	: "Vís navn vindeygans",
+DlgLnkPopWinName	: "Popup vindeygans navn",
+DlgLnkPopWinFeat	: "Popup vindeygans víðkaðu eginleikar",
+DlgLnkPopResize		: "Kann broyta stødd",
+DlgLnkPopLocation	: "Adressulinja",
+DlgLnkPopMenu		: "Skrábjálki",
+DlgLnkPopScroll		: "Rullibjálki",
+DlgLnkPopStatus		: "Støðufrágreiðingarbjálki",
+DlgLnkPopToolbar	: "Amboðsbjálki",
 DlgLnkPopFullScrn	: "Fullur skermur (IE)",
-DlgLnkPopDependent	: "Bundin (Netscape)",
+DlgLnkPopDependent	: "Bundið (Netscape)",
 DlgLnkPopWidth		: "Breidd",
 DlgLnkPopHeight		: "Hædd",
-DlgLnkPopLeft		: "Positión frá vinstru",
-DlgLnkPopTop		: "Positión frá toppinum",
-
-DlnLnkMsgNoUrl		: "Inntasta leinkju URL",
-DlnLnkMsgNoEMail	: "Inntasta teldupost addressuna",
-DlnLnkMsgNoAnchor	: "Vel akker",
-DlnLnkMsgInvPopName	: "The popup name must begin with an alphabetic character and must not contain spaces",	//MISSING
+DlgLnkPopLeft		: "Frástøða frá vinstru",
+DlgLnkPopTop		: "Frástøða frá íerva",
+
+DlnLnkMsgNoUrl		: "Vinarliga skriva tilknýti (URL)",
+DlnLnkMsgNoEMail	: "Vinarliga skriva teldupost-adressu",
+DlnLnkMsgNoAnchor	: "Vinarliga vel marknastein",
+DlnLnkMsgInvPopName	: "Popup navnið má byrja við bókstavi og má ikki hava millumrúm",
 
 // Color Dialog
-DlgColorTitle		: "vel farvu",
-DlgColorBtnClear	: "sletta alt",
-DlgColorHighlight	: "Markera",
-DlgColorSelected	: "valt",
+DlgColorTitle		: "Vel lit",
+DlgColorBtnClear	: "Strika alt",
+DlgColorHighlight	: "Framhevja",
+DlgColorSelected	: "Valt",
 
 // Smiley Dialog
-DlgSmileyTitle		: "Innset ein smiley",
+DlgSmileyTitle		: "Vel Smiley",
 
 // Special Character Dialog
-DlgSpecialCharTitle	: "vel specialkarakter",
+DlgSpecialCharTitle	: "Vel sertekn",
 
 // Table Dialog
-DlgTableTitle		: "Tabel eginleikar",
-DlgTableRows		: "Rekkjur",
+DlgTableTitle		: "Eginleikar fyri tabell",
+DlgTableRows		: "Røðir",
 DlgTableColumns		: "Kolonnur",
-DlgTableBorder		: "Rammu stødd",
+DlgTableBorder		: "Bordabreidd",
 DlgTableAlign		: "Justering",
-DlgTableAlignNotSet	: "<Ikki sett>",
-DlgTableAlignLeft	: "Vinstrastilla",
-DlgTableAlignCenter	: "Miðseta",
-DlgTableAlignRight	: "Høgrastilla",
+DlgTableAlignNotSet	: "<Einki valt>",
+DlgTableAlignLeft	: "Vinstrasett",
+DlgTableAlignCenter	: "Miðsett",
+DlgTableAlignRight	: "Høgrasett",
 DlgTableWidth		: "Breidd",
 DlgTableWidthPx		: "pixels",
 DlgTableWidthPc		: "prosent",
 DlgTableHeight		: "Hædd",
-DlgTableCellSpace	: "Fjarstøða millum sellur",
-DlgTableCellPad		: "Sellu breddi",
-DlgTableCaption		: "Heiti",
-DlgTableSummary		: "Summary",	//MISSING
+DlgTableCellSpace	: "Fjarstøða millum meskar",
+DlgTableCellPad		: "Meskubreddi",
+DlgTableCaption		: "Tabellfrágreiðing",
+DlgTableSummary		: "Samandráttur",
 
 // Table Cell Dialog
-DlgCellTitle		: "Sellu eginleikar",
+DlgCellTitle		: "Mesku eginleikar",
 DlgCellWidth		: "Breidd",
 DlgCellWidthPx		: "pixels",
 DlgCellWidthPc		: "prosent",
 DlgCellHeight		: "Hædd",
-DlgCellWordWrap		: "Orðbýti",
-DlgCellWordWrapNotSet	: "<Ikki sett>",
+DlgCellWordWrap		: "Orðkloyving",
+DlgCellWordWrapNotSet	: "<Einki valt>",
 DlgCellWordWrapYes	: "Ja",
-DlgCellWordWrapNo	: "Nej",
-DlgCellHorAlign		: "Horisontal justering",
-DlgCellHorAlignNotSet	: "<Ikke sat>",
-DlgCellHorAlignLeft	: "Vinstrastilla",
+DlgCellWordWrapNo	: "Nei",
+DlgCellHorAlign		: "Vatnrøtt justering",
+DlgCellHorAlignNotSet	: "<Einki valt>",
+DlgCellHorAlignLeft	: "Vinstrasett",
 DlgCellHorAlignCenter	: "Miðsett",
-DlgCellHorAlignRight: "Høgrastilla",
-DlgCellVerAlign		: "Lodrøtt Justering",
+DlgCellHorAlignRight: "Høgrasett",
+DlgCellVerAlign		: "Lodrøtt justering",
 DlgCellVerAlignNotSet	: "<Ikki sett>",
 DlgCellVerAlignTop	: "Ovast",
-DlgCellVerAlignMiddle	: "Miðja",
+DlgCellVerAlignMiddle	: "Miðjan",
 DlgCellVerAlignBottom	: "Niðast",
-DlgCellVerAlignBaseline	: "Botnlinja",
-DlgCellRowSpan		: "Tal av rekkjum sellan spennur yvir",
-DlgCellCollSpan		: "Tal av talrøðum sellan spennur yvir",
-DlgCellBackColor	: "Bakgrundsfarva",
-DlgCellBorderColor	: "rammufarva",
+DlgCellVerAlignBaseline	: "Basislinja",
+DlgCellRowSpan		: "Røðir, meskin fevnir um",
+DlgCellCollSpan		: "Kolonnur, meskin fevnir um",
+DlgCellBackColor	: "Bakgrundslitur",
+DlgCellBorderColor	: "Litur á borda",
 DlgCellBtnSelect	: "Vel...",
 
@@ -311,72 +326,72 @@
 DlgFindTitle		: "Finn",
 DlgFindFindBtn		: "Finn",
-DlgFindNotFoundMsg	: "Teksturin bleiv ikki funnin",
+DlgFindNotFoundMsg	: "Leititeksturin varð ikki funnin",
 
 // Replace Dialog
-DlgReplaceTitle			: "Set í staðin",
+DlgReplaceTitle			: "Yvirskriva",
 DlgReplaceFindLbl		: "Finn:",
-DlgReplaceReplaceLbl	: "Set í staðin við:",
-DlgReplaceCaseChk		: "Munur á stórum og smáðum stavum",
-DlgReplaceReplaceBtn	: "Set í staðin",
-DlgReplaceReplAllBtn	: "Skift alt út",
+DlgReplaceReplaceLbl	: "Yvirskriva við:",
+DlgReplaceCaseChk		: "Munur á stórum og smáðum bókstavum",
+DlgReplaceReplaceBtn	: "Yvirskriva",
+DlgReplaceReplAllBtn	: "Yvirskriva alt",
 DlgReplaceWordChk		: "Bert heil orð",
 
 // Paste Operations / Dialog
-PasteErrorPaste	: "Leitarans trygdarinstillingar loyva ikki editorinum at innseta tekstin automatiskt. Brúka knappaborðið til at innseta tekstin (Ctrl+V).",
-PasteErrorCut	: "Leitarans trygdarinstillingar loyva ikki editorinum at klippa tekstin automatiskt. Brúka í staðin knappaborðið til at klippa tekstin (Ctrl+X).",
-PasteErrorCopy	: "Leitarans trygdarinstillingar loyva ikki editorinum at avrita tekstin automatiskt. Brúka í staðin knappaborðið til at avrita tekstin (Ctrl+V).",
-
-PasteAsText		: "Seta inn som reinur tekstur",
-PasteFromWord	: "Seta inn fra Word",
-
-DlgPasteMsg2	: "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.",	//MISSING
-DlgPasteIgnoreFont		: "Ignore Font Face definitions",	//MISSING
-DlgPasteRemoveStyles	: "Remove Styles definitions",	//MISSING
-DlgPasteCleanBox		: "Clean Up Box",	//MISSING
+PasteErrorPaste	: "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at seta tekstin inn. Vinarliga nýt knappaborðið til at seta tekstin inn (CTRL+V).",
+PasteErrorCut	: "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at kvetta tekstin. vinarliga nýt knappaborðið til at kvetta tekstin (CTRL+X).",
+PasteErrorCopy	: "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (CTRL+C).",
+
+PasteAsText		: "Innrita som reinan tekst",
+PasteFromWord	: "Innrita fra Word",
+
+DlgPasteMsg2	: "Vinarliga koyr tekstin í hendan rútin við knappaborðinum (<strong>CTRL+V</strong>) og klikk á <strong>Góðtak</strong>.",
+DlgPasteIgnoreFont		: "Forfjóna Font definitiónirnar",
+DlgPasteRemoveStyles	: "Strika Styles definitiónir",
+DlgPasteCleanBox		: "Reinskanarkassi",
 
 // Color Picker
-ColorAutomatic	: "Automatisk",
-ColorMoreColors	: "Fleiri farvur...",
+ColorAutomatic	: "Av sær sjálvum",
+ColorMoreColors	: "Fleiri litir...",
 
 // Document Properties
-DocProps		: "Dokument eginleikar",
+DocProps		: "Eginleikar fyri dokument",
 
 // Anchor Dialog
-DlgAnchorTitle		: "Akker eginleikar",
-DlgAnchorName		: "Akker navn",
-DlgAnchorErrorName	: "Slá innn akker navn",
+DlgAnchorTitle		: "Eginleikar fyri marknastein",
+DlgAnchorName		: "Heiti marknasteinsins",
+DlgAnchorErrorName	: "Vinarliga rita marknasteinsins heiti",
 
 // Speller Pages Dialog
-DlgSpellNotInDic		: "Finnst ikki í orðabókini",
-DlgSpellChangeTo		: "broyta til",
-DlgSpellBtnIgnore		: "Ignorera",
-DlgSpellBtnIgnoreAll	: "Ignorera alt",
-DlgSpellBtnReplace		: "Skift út",
-DlgSpellBtnReplaceAll	: "Skift út alt",
-DlgSpellBtnUndo			: "Aftur",
+DlgSpellNotInDic		: "Finst ikki í orðabókini",
+DlgSpellChangeTo		: "Broyt til",
+DlgSpellBtnIgnore		: "Forfjóna",
+DlgSpellBtnIgnoreAll	: "Forfjóna alt",
+DlgSpellBtnReplace		: "Yvirskriva",
+DlgSpellBtnReplaceAll	: "Yvirskriva alt",
+DlgSpellBtnUndo			: "Angra",
 DlgSpellNoSuggestions	: "- Einki uppskot -",
-DlgSpellProgress		: "Stavarin arbeiðir...",
-DlgSpellNoMispell		: "Stavarain liðugur: Eingin feilur funnin",
-DlgSpellNoChanges		: "Stavarain liðugur: Einki orð broytt",
-DlgSpellOneChange		: "Stavarain liðugur: Eitt orð broytt",
-DlgSpellManyChanges		: "Stavarain liðugur: %1 orð broytt",
-
-IeSpellDownload			: "Stavarin ikki lagdur inn. vilt tú heinta hann nú?",
+DlgSpellProgress		: "Rættstavarin arbeiðir...",
+DlgSpellNoMispell		: "Rættstavarain liðugur: Eingin feilur funnin",
+DlgSpellNoChanges		: "Rættstavarain liðugur: Einki orð varð broytt",
+DlgSpellOneChange		: "Rættstavarain liðugur: Eitt orð er broytt",
+DlgSpellManyChanges		: "Rættstavarain liðugur: %1 orð broytt",
+
+IeSpellDownload			: "Rættstavarin er ikki tøkur í tekstviðgeranum. Vilt tú heinta hann nú?",
 
 // Button Dialog
-DlgButtonText		: "Tekstur (Virði)",
+DlgButtonText		: "Tekstur",
 DlgButtonType		: "Slag",
-DlgButtonTypeBtn	: "Button",	//MISSING
-DlgButtonTypeSbm	: "Submit",	//MISSING
-DlgButtonTypeRst	: "Reset",	//MISSING
+DlgButtonTypeBtn	: "Knøttur",
+DlgButtonTypeSbm	: "Send",
+DlgButtonTypeRst	: "Nullstilla",
 
 // Checkbox and Radio Button Dialogs
 DlgCheckboxName		: "Navn",
 DlgCheckboxValue	: "Virði",
-DlgCheckboxSelected	: "Valgt",
+DlgCheckboxSelected	: "Valt",
 
 // Form Dialog
 DlgFormName		: "Navn",
-DlgFormAction	: "Gerð",
+DlgFormAction	: "Hending",
 DlgFormMethod	: "Háttur",
 
@@ -385,7 +400,7 @@
 DlgSelectValue		: "Virði",
 DlgSelectSize		: "Stødd",
-DlgSelectLines		: "linjir",
-DlgSelectChkMulti	: "Loyv fleiri valmøguleikar",
-DlgSelectOpAvail	: "valmøguleikar",
+DlgSelectLines		: "Linjur",
+DlgSelectChkMulti	: "Loyv fleiri valmøguleikum samstundis",
+DlgSelectOpAvail	: "Tøkir møguleikar",
 DlgSelectOpText		: "Tekstur",
 DlgSelectOpValue	: "Virði",
@@ -394,20 +409,20 @@
 DlgSelectBtnUp		: "Upp",
 DlgSelectBtnDown	: "Niður",
-DlgSelectBtnSetValue : "Set sum útvald",
-DlgSelectBtnDelete	: "Sletta",
+DlgSelectBtnSetValue : "Set sum valt virði",
+DlgSelectBtnDelete	: "Strika",
 
 // Textarea Dialog
 DlgTextareaName	: "Navn",
-DlgTextareaCols	: "talrøð",
-DlgTextareaRows	: "Rekkja",
+DlgTextareaCols	: "kolonnur",
+DlgTextareaRows	: "røðir",
 
 // Text Field Dialog
 DlgTextName			: "Navn",
 DlgTextValue		: "Virði",
-DlgTextCharWidth	: "Sjónligt tal av bókstavum",
-DlgTextMaxChars		: "Hægst loyvda tal av bókstavum",
+DlgTextCharWidth	: "Breidd (sjónlig tekn)",
+DlgTextMaxChars		: "Mest loyvdu tekn",
 DlgTextType			: "Slag",
 DlgTextTypeText		: "Tekstur",
-DlgTextTypePass		: "Koduorð",
+DlgTextTypePass		: "Loyniorð",
 
 // Hidden Field Dialog
@@ -416,11 +431,11 @@
 
 // Bulleted List Dialog
-BulletedListProp	: "Punktteknsuppsetingar eginleikar",
-NumberedListProp	: "Taluppsetingar eginleikar",
-DlgLstStart			: "Start",	//MISSING
+BulletedListProp	: "Eginleikar fyri punktmerktan lista",
+NumberedListProp	: "Eginleikar fyri talmerktan lista",
+DlgLstStart			: "Byrjan",
 DlgLstType			: "Slag",
 DlgLstTypeCircle	: "Sirkul",
-DlgLstTypeDisc		: "Disc",	//MISSING
-DlgLstTypeSquare	: "Fýrakantur",
+DlgLstTypeDisc		: "Fyltur sirkul",
+DlgLstTypeSquare	: "Fjórhyrningur",
 DlgLstTypeNumbers	: "Talmerkt (1, 2, 3)",
 DlgLstTypeLCase		: "Smáir bókstavir (a, b, c)",
@@ -432,59 +447,58 @@
 DlgDocGeneralTab	: "Generelt",
 DlgDocBackTab		: "Bakgrund",
-DlgDocColorsTab		: "Farva og Breddin",
-DlgDocMetaTab		: "Meta Information",
-
-DlgDocPageTitle		: "Síðu heiti",
-DlgDocLangDir		: "Mál",
+DlgDocColorsTab		: "Litir og breddar",
+DlgDocMetaTab		: "META-upplýsingar",
+
+DlgDocPageTitle		: "Síðuheiti",
+DlgDocLangDir		: "Tekstkós",
 DlgDocLangDirLTR	: "Frá vinstru móti høgru (LTR)",
 DlgDocLangDirRTL	: "Frá høgru móti vinstru (RTL)",
-DlgDocLangCode		: "Landakoda",
-DlgDocCharSet		: "Karakter set kodu",
-DlgDocCharSetCE		: "Central European",	//MISSING
-DlgDocCharSetCT		: "Chinese Traditional (Big5)",	//MISSING
-DlgDocCharSetCR		: "Cyrillic",	//MISSING
-DlgDocCharSetGR		: "Greek",	//MISSING
-DlgDocCharSetJP		: "Japanese",	//MISSING
-DlgDocCharSetKR		: "Korean",	//MISSING
-DlgDocCharSetTR		: "Turkish",	//MISSING
-DlgDocCharSetUN		: "Unicode (UTF-8)",	//MISSING
-DlgDocCharSetWE		: "Western European",	//MISSING
-DlgDocCharSetOther	: "Annar karakter set kodu",
-
-DlgDocDocType		: "Dokument slag kategori",
-DlgDocDocTypeOther	: "Annað dokument slag kategori",
-DlgDocIncXHTML		: "Inkludere XHTML deklartion",
-DlgDocBgColor		: "Bakgrundsfarva",
-DlgDocBgImage		: "Bakgrundsmynd URL",
-DlgDocBgNoScroll	: "Ikki scrollbar bakgrund",
+DlgDocLangCode		: "Málkoda",
+DlgDocCharSet		: "Teknsett koda",
+DlgDocCharSetCE		: "Miðeuropa",
+DlgDocCharSetCT		: "Kinesiskt traditionelt (Big5)",
+DlgDocCharSetCR		: "Cyrilliskt",
+DlgDocCharSetGR		: "Grikst",
+DlgDocCharSetJP		: "Japanskt",
+DlgDocCharSetKR		: "Koreanskt",
+DlgDocCharSetTR		: "Turkiskt",
+DlgDocCharSetUN		: "UNICODE (UTF-8)",
+DlgDocCharSetWE		: "Vestureuropa",
+DlgDocCharSetOther	: "Onnur teknsett koda",
+
+DlgDocDocType		: "Dokumentslag yvirskrift",
+DlgDocDocTypeOther	: "Annað dokumentslag yvirskrift",
+DlgDocIncXHTML		: "Viðfest XHTML deklaratiónir",
+DlgDocBgColor		: "Bakgrundslitur",
+DlgDocBgImage		: "Leið til bakgrundsmynd (URL)",
+DlgDocBgNoScroll	: "Læst bakgrund (rullar ikki)",
 DlgDocCText			: "Tekstur",
-DlgDocCLink			: "Leinkja",
-DlgDocCVisited		: "Vitja leinkja",
-DlgDocCActive		: "Aktiv leinkja",
-DlgDocMargins		: "Síðu breddi",
+DlgDocCLink			: "Tilknýti",
+DlgDocCVisited		: "Vitjaði tilknýti",
+DlgDocCActive		: "Virkin tilknýti",
+DlgDocMargins		: "Síðubreddar",
 DlgDocMaTop			: "Ovast",
 DlgDocMaLeft		: "Vinstra",
 DlgDocMaRight		: "Høgra",
 DlgDocMaBottom		: "Niðast",
-DlgDocMeIndex		: "Dokument index lyklaorð (komma sundurskilt)",
-DlgDocMeDescr		: "Dokument lýsing",
+DlgDocMeIndex		: "Dokument index lyklaorð (sundurbýtt við komma)",
+DlgDocMeDescr		: "Dokumentlýsing",
 DlgDocMeAuthor		: "Høvundur",
-DlgDocMeCopy		: "Copyright",
-DlgDocPreview		: "Vís",
+DlgDocMeCopy		: "Upphavsrættindi",
+DlgDocPreview		: "Frumsýning",
 
 // Templates Dialog
-Templates			: "Frymlar",
-DlgTemplatesTitle	: "Innihaldsfrymlar",
-DlgTemplatesSelMsg	: "Vel tann frymilin, sum skal opnast í editorinum<br>(Tað verður skriva útyvir núverandi innihald):",
-DlgTemplatesLoading	: "Heintar lista yvir frymlar. Vinarliga bíða...",
-DlgTemplatesNoTpl	: "(Ongin frymil er valdur)",
-DlgTemplatesReplace	: "Replace actual contents",	//MISSING
+Templates			: "Skabelónir",
+DlgTemplatesTitle	: "Innihaldsskabelónir",
+DlgTemplatesSelMsg	: "Vinarliga vel ta skabelón, ið skal opnast í tekstviðgeranum<br>(Hetta yvirskrivar núverandi innihald):",
+DlgTemplatesLoading	: "Heinti yvirlit yvir skabelónir. Vinarliga bíða við...",
+DlgTemplatesNoTpl	: "(Ongar skabelónir tøkar)",
+DlgTemplatesReplace	: "Yvirskriva núverandi innihald",
 
 // About Dialog
 DlgAboutAboutTab	: "Um",
-DlgAboutBrowserInfoTab	: "Browsara upplýsingar",
-DlgAboutLicenseTab	: "License",	//MISSING
-DlgAboutVersion		: "versión",
-DlgAboutLicense		: "Loyvi undir treytum fyri GNU Lesser General Public License",
-DlgAboutInfo		: "Fleiri upplýsingar, far til"
-}
+DlgAboutBrowserInfoTab	: "Upplýsingar um alnótskagan",
+DlgAboutLicenseTab	: "License",
+DlgAboutVersion		: "version",
+DlgAboutInfo		: "Fyri fleiri upplýsingar, far til"
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/fr.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/fr.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/fr.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	French language file.
-</FileDescription>
-<Author name="Hubert Garrido" email="liane@users.sourceforge.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * French language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "License selon les termes de GNU Lesser General Public License",
 DlgAboutInfo		: "Pour plus d'informations, aller à"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/gl.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/gl.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/gl.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Galician language file.
-</FileDescription>
-<Author name="Fernando Riveiro Lopez" email="" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Galician language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Licencia",
 DlgAboutVersion		: "versión",
-DlgAboutLicense		: "Licencia concedida baixo os termos da GNU Lesser General Public License",
 DlgAboutInfo		: "Para máis información visitar:"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/he.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/he.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/he.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Hebrew language file.
-</FileDescription>
-<Author name="Tamir Mordo" email="tamir@tetitu.co.il" />
-<Author name="Ophir Radnitz" email="ophir@liqweed.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Hebrew language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "רשיון",
 DlgAboutVersion		: "גירסא",
-DlgAboutLicense		: "ברשיון תחת תנאי GNU Lesser General Public License",
 DlgAboutInfo		: "מידע נוסף ניתן למצוא כאן:"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/hi.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/hi.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/hi.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Hindi language file.
-</FileDescription>
-<Author name="Utkarshraj Atmaram" email="utcursch@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Hindi language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "लाइसैन्स",
 DlgAboutVersion		: "वर्ज़न",
-DlgAboutLicense		: "लाइसेंस :GNU LGPL",
 DlgAboutInfo		: "अधिक जानकारी के लिये यहाँ जायें:"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/hr.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/hr.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/hr.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Croatian language file.
-</FileDescription>
-<Author name="Alex Varga" email="avarga@globaldizajn.hr" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Croatian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Licenca",
 DlgAboutVersion		: "inačica",
-DlgAboutLicense		: "Licencirano pod uvjetima GNU Lesser General Public License",
 DlgAboutInfo		: "Za više informacija posjetite"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/hu.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/hu.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/hu.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Hungarian language file.
-</FileDescription>
-<Author name="Varga Zsolt" email="meridian@netteszt.hu" />
-<Author name="Géza Szűcs" email="flextor@flextor.hu" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Hungarian language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Licensz",
 DlgAboutVersion		: "verzió",
-DlgAboutLicense		: "GNU Lesser General Public License szabadalom alá tartozik",
 DlgAboutInfo		: "További információkért látogasson el ide:"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/it.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/it.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/it.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Italian language file.
-</FileDescription>
-<Author name="Simone Chiaretta" email="simone@piyosailing.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Italian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Licenza",
 DlgAboutVersion		: "versione",
-DlgAboutLicense		: "Rilasciato sotto la licensa GNU Lesser General Public License",
 DlgAboutInfo		: "Per maggiori informazioni visitare"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ja.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ja.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ja.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Japanese language file.
-</FileDescription>
-<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Japanese language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "ライセンス",
 DlgAboutVersion		: "バージョン",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "より詳しい情報はこちらで"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/km.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/km.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/km.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Khmer language file.
-</FileDescription>
-<Author name="Chay Sengtha" email="sengtha@e-khmer.com - http://translate.e-khmer.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Khmer language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "ជំនាន់",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "សំរាប់ព៌តមានផ្សេងទៀត សូមទាក់ទង"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ko.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ko.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ko.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Korean language file.
-</FileDescription>
-<Author name="Taehwan Kwag" email="thkwag@nate.com" />
-<Author name="Hyung-chae, Kim" email="chaeya@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Korean language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "버전",
-DlgAboutLicense		: "Licensed under the terms of the GNU Lesser General Public License",
 DlgAboutInfo		: "For further information go to"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/lt.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/lt.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/lt.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Lithuanian language file.
-</FileDescription>
-<Author name="Tauras Paliulis" email="tauras.paliulis@tauras.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Lithuanian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "versija",
-DlgAboutLicense		: "Licencijuota pagal GNU mažesnės atsakomybės pagrindinės viešos licencijos sąlygas",
 DlgAboutInfo		: "Papildomą informaciją galima gauti"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/lv.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/lv.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/lv.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Latvian language file.
-</FileDescription>
-<Author name="Jānis Kļaviņš" email="janis@4id.lv" />
-<Author name="Slowmo" email="slowmo@inbox.lv" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Latvian language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Licence",
 DlgAboutVersion		: "versija",
-DlgAboutLicense		: "Programmatūra lietojama saskaņā ar GNU Lesser General Public License",
 DlgAboutInfo		: "Papildus informācija ir pieejama"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/mn.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/mn.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/mn.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Mongolian language file.
-</FileDescription>
-<Author name="Lkamtseren ODONBAATAR" email="odonbaatarl@yahoo.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Mongolian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "Хувилбар",
-DlgAboutLicense		: "GNU цөөн ерөнхий нийтийн лицензийн ангилалд багтсан зөвшөөрөлтэй",
 DlgAboutInfo		: "Мэдээллээр туслах"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ms.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ms.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ms.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Malay language file.
-</FileDescription>
-<Author name="Fairul Izham Mohd Mokhlas" email="eg86@hotmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Malay language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "versi",
-DlgAboutLicense		: "Perlesenan dibawah terma GNU Lesser General Public License",
 DlgAboutInfo		: "Untuk maklumat lanjut sila pergi ke"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/nb.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/nb.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/nb.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Norwegian Bokmål language file.
-</FileDescription>
-<Author name="Martin Kronstad (www.siteman.no)" email="martin.kronstad@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Norwegian Bokmål language file.
+ */
 
 var FCKLang =
@@ -206,5 +222,5 @@
 DlgLnkType			: "Lenketype",
 DlgLnkTypeURL		: "URL",
-DlgLnkTypeAnchor	: "Bokmerk denne siden",
+DlgLnkTypeAnchor	: "Lenke til bokmerke i teksten",
 DlgLnkTypeEMail		: "E-Post",
 DlgLnkProto			: "Protokoll",
@@ -247,5 +263,5 @@
 DlnLnkMsgNoEMail	: "Vennligst skriv inn e-postadressen",
 DlnLnkMsgNoAnchor	: "Vennligst velg ett anker",
-DlnLnkMsgInvPopName	: "The popup name must begin with an alphabetic character and must not contain spaces",	//MISSING
+DlnLnkMsgInvPopName	: "Popup vinduets navn må begynne med en bokstav, og kan ikke inneholde mellomrom",
 
 // Color Dialog
@@ -330,5 +346,5 @@
 
 DlgPasteMsg2	: "Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.",
-DlgPasteIgnoreFont		: "Ignorer fonter",
+DlgPasteIgnoreFont		: "Fjern skrifttyper",
 DlgPasteRemoveStyles	: "Fjern stildefinisjoner",
 DlgPasteCleanBox		: "Tøm boksen",
@@ -366,7 +382,7 @@
 DlgButtonText		: "Tekst",
 DlgButtonType		: "Type",
-DlgButtonTypeBtn	: "Button",	//MISSING
-DlgButtonTypeSbm	: "Submit",	//MISSING
-DlgButtonTypeRst	: "Reset",	//MISSING
+DlgButtonTypeBtn	: "Knapp",
+DlgButtonTypeSbm	: "Send",
+DlgButtonTypeRst	: "Nullstill",
 
 // Checkbox and Radio Button Dialogs
@@ -417,5 +433,5 @@
 BulletedListProp	: "Uordnet listeegenskaper",
 NumberedListProp	: "Ordnet listeegenskaper",
-DlgLstStart			: "Start",	//MISSING
+DlgLstStart			: "Start",
 DlgLstType			: "Type",
 DlgLstTypeCircle	: "Sirkel",
@@ -440,13 +456,13 @@
 DlgDocLangCode		: "Språkkode",
 DlgDocCharSet		: "Tegnsett",
-DlgDocCharSetCE		: "Central European",	//MISSING
-DlgDocCharSetCT		: "Chinese Traditional (Big5)",	//MISSING
-DlgDocCharSetCR		: "Cyrillic",	//MISSING
-DlgDocCharSetGR		: "Greek",	//MISSING
-DlgDocCharSetJP		: "Japanese",	//MISSING
-DlgDocCharSetKR		: "Korean",	//MISSING
-DlgDocCharSetTR		: "Turkish",	//MISSING
-DlgDocCharSetUN		: "Unicode (UTF-8)",	//MISSING
-DlgDocCharSetWE		: "Western European",	//MISSING
+DlgDocCharSetCE		: "Sentraleuropeisk",
+DlgDocCharSetCT		: "Tradisonell kinesisk(Big5)",
+DlgDocCharSetCR		: "Cyrillic",
+DlgDocCharSetGR		: "Gresk",
+DlgDocCharSetJP		: "Japansk",
+DlgDocCharSetKR		: "Koreansk",
+DlgDocCharSetTR		: "Tyrkisk",
+DlgDocCharSetUN		: "Unikode (UTF-8)",
+DlgDocCharSetWE		: "Vesteuropeisk",
 DlgDocCharSetOther	: "Annet tegnsett",
 
@@ -478,5 +494,5 @@
 DlgTemplatesLoading	: "Laster malliste. Vennligst vent...",
 DlgTemplatesNoTpl	: "(Ingen maler definert)",
-DlgTemplatesReplace	: "Replace actual contents",	//MISSING
+DlgTemplatesReplace	: "Erstatt faktisk innold",
 
 // About Dialog
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Lisens",
 DlgAboutVersion		: "versjon",
-DlgAboutLicense		: "Lisensiert under GNU Lesser General Public License",
 DlgAboutInfo		: "Oversatt av Siteman AS<br /><a target=\"_blank\" href=\"http://www.siteman.no\">www.siteman.no</a><br /><br />For mer informasjon gå til"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/nl.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/nl.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/nl.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Dutch language file.
-</FileDescription>
-<Author name="Bram Crins" email="bcrins@realdesign.nl" />
-<Author name="Aaron van Geffen" email="aaron@aaronweb.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Dutch language file.
+ */
 
 var FCKLang =
@@ -28,13 +43,13 @@
 RemoveFormat		: "Opmaak verwijderen",
 InsertLinkLbl		: "Link",
-InsertLink			: "Invoegen/Wijzigen link",
-RemoveLink			: "Verwijderen link",
+InsertLink			: "Link invoegen/wijzigen",
+RemoveLink			: "Link verwijderen",
 Anchor				: "Interne link",
 InsertImageLbl		: "Afbeelding",
-InsertImage			: "Invoegen/Wijzigen afbeelding",
+InsertImage			: "Afbeelding invoegen/wijzigen",
 InsertFlashLbl		: "Flash",
-InsertFlash			: "Invoegen/Wijzigen Flash",
+InsertFlash			: "Flash invoegen/wijzigen",
 InsertTableLbl		: "Tabel",
-InsertTable			: "Invoegen/Wijzigen tabel",
+InsertTable			: "Tabel invoegen/wijzigen",
 InsertLineLbl		: "Lijn",
 InsertLine			: "Invoegen horizontale lijn",
@@ -54,12 +69,12 @@
 RightJustify		: "Rechts uitlijnen",
 BlockJustify		: "Uitvullen",
-DecreaseIndent		: "Oplopenend",
-IncreaseIndent		: "Aflopend",
+DecreaseIndent		: "Inspringen verkleinen",
+IncreaseIndent		: "Inspringen vergroten",
 Undo				: "Ongedaan maken",
-Redo				: "Opnieuw",
+Redo				: "Opnieuw uitvoeren",
 NumberedListLbl		: "Genummerde lijst",
-NumberedList		: "Invoegen/Verwijderen genummerde lijst",
+NumberedList		: "Genummerde lijst invoegen/verwijderen",
 BulletedListLbl		: "Opsomming",
-BulletedList		: "Invoegen/Verwijderen opsomming",
+BulletedList		: "Opsomming invoegen/verwijderen",
 ShowTableBorders	: "Randen tabel weergeven",
 ShowDetails			: "Details weergeven",
@@ -123,5 +138,5 @@
 
 // Alerts and Messages
-ProcessingXHTML		: "Verwerken XHTML. Even geduld aub...",
+ProcessingXHTML		: "Bezig met verwerken XHTML. Even geduld aub...",
 Done				: "Klaar",
 PasteWordConfirm	: "De tekst die je plakte lijkt gekopieerd uit te zijn Word. Wil je de tekst opschonen voordat deze geplakt wordt?",
@@ -151,5 +166,5 @@
 DlgGenLangDirLtr	: "Links naar rechts (LTR)",
 DlgGenLangDirRtl	: "Rechts naar links (RTL)",
-DlgGenLangCode		: "Codetaal",
+DlgGenLangCode		: "Taalcode",
 DlgGenAccessKey		: "Toegangstoets",
 DlgGenName			: "Naam",
@@ -215,5 +230,5 @@
 DlgLnkAnchorByName	: "Op naam interne link",
 DlgLnkAnchorById	: "Op kenmerk interne link",
-DlgLnkNoAnchors		: "<Geen interne links in document gevonden.>",		//REVIEW : Change < and > with ( and )
+DlgLnkNoAnchors		: "(Geen interne links in document gevonden)",		//REVIEW : Change < and > with ( and )
 DlgLnkEMail			: "E-mailadres",
 DlgLnkEMailSubject	: "Onderwerp bericht",
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Licentie",
 DlgAboutVersion		: "Versie",
-DlgAboutLicense		: "Gelicenceerd onder de condities van het GNU Lesser General Public License",
 DlgAboutInfo		: "Voor meer informatie ga naar "
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/no.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/no.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/no.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Norwegian language file.
-</FileDescription>
-<Author name="Martin Kronstad (www.siteman.no)" email="martin.kronstad@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Norwegian language file.
+ */
 
 var FCKLang =
@@ -11,11 +27,11 @@
 Dir					: "ltr",
 
-ToolbarCollapse		: "Skjul verktylinje",
-ToolbarExpand		: "Vis verktylinje",
+ToolbarCollapse		: "Skjul verktøylinje",
+ToolbarExpand		: "Vis verktøylinje",
 
 // Toolbar Items and Context Menu
 Save				: "Lagre",
 NewPage				: "Ny Side",
-Preview				: "Forhndsvis",
+Preview				: "Forhåndsvis",
 Cut					: "Klipp ut",
 Copy				: "Kopier",
@@ -51,10 +67,10 @@
 LeftJustify			: "Venstrejuster",
 CenterJustify		: "Midtjuster",
-RightJustify		: "Hyrejuster",
+RightJustify		: "Høyrejuster",
 BlockJustify		: "Blokkjuster",
-DecreaseIndent		: "Senk niv",
-IncreaseIndent		: "k niv",
+DecreaseIndent		: "Senk nivå",
+IncreaseIndent		: "Øk nivå",
 Undo				: "Angre",
-Redo				: "Gjr om",
+Redo				: "Gjør om",
 NumberedListLbl		: "Numrert liste",
 NumberedList		: "Sett inn/Fjern numrert liste",
@@ -66,5 +82,5 @@
 FontFormat			: "Format",
 Font				: "Skrift",
-FontSize			: "Strrelse",
+FontSize			: "Størrelse",
 TextColor			: "Tekstfarge",
 BGColor				: "Bakgrunnsfarge",
@@ -81,5 +97,5 @@
 RadioButton		: "Radioknapp",
 TextField		: "Tekstfelt",
-Textarea		: "Tekstomrde",
+Textarea		: "Tekstområde",
 HiddenField		: "Skjult felt",
 Button			: "Knapp",
@@ -87,5 +103,5 @@
 ImageButton		: "Bildeknapp",
 
-FitWindow		: "Maksimer strrelsen p redigeringsverktyet",
+FitWindow		: "Maksimer størrelsen på redigeringsverktøyet",
 
 // Context Menu
@@ -100,5 +116,5 @@
 InsertCell			: "Sett inn celle",
 DeleteCells			: "Slett celler",
-MergeCells			: "Sl sammen celler",
+MergeCells			: "Slå sammen celler",
 SplitCell			: "Splitt celler",
 TableDelete			: "Slett tabell",
@@ -124,13 +140,13 @@
 ProcessingXHTML		: "Lager XHTML. Vennligst vent...",
 Done				: "Ferdig",
-PasteWordConfirm	: "Teksten du prver  lime inn ser ut som om den kommer fra word , du br rense den fr du limer inn , vil du gjre dette?",
-NotCompatiblePaste	: "Denne kommandoen er tilgjenglig kun for Internet Explorer version 5.5 eller bedre. Vil du fortsette uten  rense?(Du kan lime inn som ren tekst)",
+PasteWordConfirm	: "Teksten du prøver å lime inn ser ut som om den kommer fra word , du bør rense den før du limer inn , vil du gjøre dette?",
+NotCompatiblePaste	: "Denne kommandoen er tilgjenglig kun for Internet Explorer version 5.5 eller bedre. Vil du fortsette uten å rense?(Du kan lime inn som ren tekst)",
 UnknownToolbarItem	: "Ukjent menyvalg \"%1\"",
 UnknownCommand		: "Ukjent kommando \"%1\"",
-NotImplemented		: "Kommando ikke enn implimentert",
-UnknownToolbarSet	: "Verktylinjesett \"%1\" finnes ikke",
-NoActiveX			: "Din nettleser's sikkerhetsinstillinger kan begrense noen av funksjonene i redigeringsverktyet. Du m aktivere \"Kjr ActiveXkontroller og plugins\". Du kan oppleve feil og advarsler om manglende funksjoner",
-BrowseServerBlocked : "Kunne ikke pne dialogboksen for filarkiv. Pass p at du har sltt av popupstoppere.",
-DialogBlocked		: "Kunne ikke pne dialogboksen. Pass p at du har sltt av popupstoppere.",
+NotImplemented		: "Kommando ikke ennå implimentert",
+UnknownToolbarSet	: "Verktøylinjesett \"%1\" finnes ikke",
+NoActiveX			: "Din nettleser's sikkerhetsinstillinger kan begrense noen av funksjonene i redigeringsverktøyet. Du må aktivere \"Kjør ActiveXkontroller og plugins\". Du kan oppleve feil og advarsler om manglende funksjoner",
+BrowseServerBlocked : "Kunne ikke åpne dialogboksen for filarkiv. Pass på at du har slått av popupstoppere.",
+DialogBlocked		: "Kunne ikke åpne dialogboksen. Pass på at du har slått av popupstoppere.",
 
 // Dialogs
@@ -147,8 +163,8 @@
 DlgGenNotSet		: "<ikke satt>",
 DlgGenId			: "Id",
-DlgGenLangDir		: "Sprkretning",
-DlgGenLangDirLtr	: "Venstre til hyre (VTH)",
-DlgGenLangDirRtl	: "Hyre til venstre (HTV)",
-DlgGenLangCode		: "Sprk kode",
+DlgGenLangDir		: "Språkretning",
+DlgGenLangDirLtr	: "Venstre til høyre (VTH)",
+DlgGenLangDirRtl	: "Høyre til venstre (HTV)",
+DlgGenLangCode		: "Språk kode",
 DlgGenAccessKey		: "Aksessknapp",
 DlgGenName			: "Navn",
@@ -158,5 +174,5 @@
 DlgGenTitle			: "Tittel",
 DlgGenContType		: "Type",
-DlgGenLinkCharset	: "Lenket sprkkart",
+DlgGenLinkCharset	: "Lenket språkkart",
 DlgGenStyle			: "Stil",
 
@@ -169,7 +185,7 @@
 DlgImgAlt			: "Alternativ tekst",
 DlgImgWidth			: "Bredde",
-DlgImgHeight		: "Hyde",
-DlgImgLockRatio		: "Ls forhold",
-DlgBtnResetSize		: "Tilbakestill strrelse",
+DlgImgHeight		: "Høyde",
+DlgImgLockRatio		: "Lås forhold",
+DlgBtnResetSize		: "Tilbakestill størrelse",
 DlgImgBorder		: "Ramme",
 DlgImgHSpace		: "HMarg",
@@ -182,8 +198,8 @@
 DlgImgAlignBottom	: "Bunn",
 DlgImgAlignMiddle	: "Midten",
-DlgImgAlignRight	: "Hyre",
+DlgImgAlignRight	: "Høyre",
 DlgImgAlignTextTop	: "Tekst topp",
 DlgImgAlignTop		: "Topp",
-DlgImgPreview		: "Forhndsvis",
+DlgImgPreview		: "Forhåndsvis",
 DlgImgAlertUrl		: "Vennligst skriv bildeurlen",
 DlgImgLinkTab		: "Lenke",
@@ -193,14 +209,14 @@
 DlgFlashChkPlay		: "Auto Spill",
 DlgFlashChkLoop		: "Loop",
-DlgFlashChkMenu		: "Sl p Flash meny",
+DlgFlashChkMenu		: "Slå på Flash meny",
 DlgFlashScale		: "Skaler",
 DlgFlashScaleAll	: "Vis alt",
 DlgFlashScaleNoBorder	: "Ingen ramme",
-DlgFlashScaleFit	: "Skaler til  passeExact Fit",
+DlgFlashScaleFit	: "Skaler til å passeExact Fit",
 
 // Link Dialog
 DlgLnkWindowTitle	: "Lenke",
 DlgLnkInfoTab		: "Lenkeinfo",
-DlgLnkTargetTab		: "Ml",
+DlgLnkTargetTab		: "Mål",
 
 DlgLnkType			: "Lenketype",
@@ -221,5 +237,5 @@
 DlgLnkBtnUpload		: "Send til server",
 
-DlgLnkTarget		: "Ml",
+DlgLnkTarget		: "Mål",
 DlgLnkTargetFrame	: "<ramme>",
 DlgLnkTargetPopup	: "<popup vindu>",
@@ -228,17 +244,17 @@
 DlgLnkTargetSelf	: "Samme vindu (_self)",
 DlgLnkTargetTop		: "Hele vindu (_top)",
-DlgLnkTargetFrameName	: "Mlramme",
+DlgLnkTargetFrameName	: "Målramme",
 DlgLnkPopWinName	: "Popup vindus navn",
 DlgLnkPopWinFeat	: "Popup vindus egenskaper",
-DlgLnkPopResize		: "Endre strrelse",
+DlgLnkPopResize		: "Endre størrelse",
 DlgLnkPopLocation	: "Adresselinje",
 DlgLnkPopMenu		: "Menylinje",
 DlgLnkPopScroll		: "Scrollbar",
 DlgLnkPopStatus		: "Statuslinje",
-DlgLnkPopToolbar	: "Verktylinje",
+DlgLnkPopToolbar	: "Verktøylinje",
 DlgLnkPopFullScrn	: "Full skjerm (IE)",
 DlgLnkPopDependent	: "Avhenging (Netscape)",
 DlgLnkPopWidth		: "Bredde",
-DlgLnkPopHeight		: "Hyde",
+DlgLnkPopHeight		: "Høyde",
 DlgLnkPopLeft		: "Venstre posisjon",
 DlgLnkPopTop		: "Topp posisjon",
@@ -247,9 +263,9 @@
 DlnLnkMsgNoEMail	: "Vennligst skriv inn e-postadressen",
 DlnLnkMsgNoAnchor	: "Vennligst velg ett anker",
-DlnLnkMsgInvPopName	: "Popup vinduets navn m begynne med en bokstav, og kan ikke inneholde mellomrom",
+DlnLnkMsgInvPopName	: "Popup vinduets navn må begynne med en bokstav, og kan ikke inneholde mellomrom",
 
 // Color Dialog
 DlgColorTitle		: "Velg farge",
-DlgColorBtnClear	: "Tm",
+DlgColorBtnClear	: "Tøm",
 DlgColorHighlight	: "Marker",
 DlgColorSelected	: "Velg",
@@ -265,14 +281,14 @@
 DlgTableRows		: "Rader",
 DlgTableColumns		: "Kolonner",
-DlgTableBorder		: "Rammestrrelse",
+DlgTableBorder		: "Rammestørrelse",
 DlgTableAlign		: "Justering",
 DlgTableAlignNotSet	: "<Ikke satt>",
 DlgTableAlignLeft	: "Venstre",
 DlgTableAlignCenter	: "Midtjuster",
-DlgTableAlignRight	: "Hyre",
+DlgTableAlignRight	: "Høyre",
 DlgTableWidth		: "Bredde",
 DlgTableWidthPx		: "pixler",
 DlgTableWidthPc		: "prosent",
-DlgTableHeight		: "Hyde",
+DlgTableHeight		: "Høyde",
 DlgTableCellSpace	: "Celle marg",
 DlgTableCellPad		: "Celle polstring",
@@ -285,5 +301,5 @@
 DlgCellWidthPx		: "pixeler",
 DlgCellWidthPc		: "prosent",
-DlgCellHeight		: "Hyde",
+DlgCellHeight		: "Høyde",
 DlgCellWordWrap		: "Tekstbrytning",
 DlgCellWordWrapNotSet	: "<Ikke satt>",
@@ -294,5 +310,5 @@
 DlgCellHorAlignLeft	: "Venstre",
 DlgCellHorAlignCenter	: "Midtjuster",
-DlgCellHorAlignRight: "Hyre",
+DlgCellHorAlignRight: "Høyre",
 DlgCellVerAlign		: "Vertikal justering",
 DlgCellVerAlignNotSet	: "<Ikke satt>",
@@ -329,8 +345,8 @@
 PasteFromWord	: "Lim inn fra word",
 
-DlgPasteMsg2	: "Vennligst lim inn i den flgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.",
+DlgPasteMsg2	: "Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.",
 DlgPasteIgnoreFont		: "Fjern skrifttyper",
 DlgPasteRemoveStyles	: "Fjern stildefinisjoner",
-DlgPasteCleanBox		: "Tm boksen",
+DlgPasteCleanBox		: "Tøm boksen",
 
 // Color Picker
@@ -355,11 +371,11 @@
 DlgSpellBtnUndo			: "Angre",
 DlgSpellNoSuggestions	: "- ingen forslag -",
-DlgSpellProgress		: "Stavekontroll pgr...",
-DlgSpellNoMispell		: "Stavekontroll fullfrt: ingen feilstavinger funnet",
-DlgSpellNoChanges		: "Stavekontroll fullfrt: ingen ord endret",
-DlgSpellOneChange		: "Stavekontroll fullfrt: Ett ord endret",
-DlgSpellManyChanges		: "Stavekontroll fullfrt: %1 ord endret",
-
-IeSpellDownload			: "Stavekontroll ikke installert, vil du laste den ned n?",
+DlgSpellProgress		: "Stavekontroll pågår...",
+DlgSpellNoMispell		: "Stavekontroll fullført: ingen feilstavinger funnet",
+DlgSpellNoChanges		: "Stavekontroll fullført: ingen ord endret",
+DlgSpellOneChange		: "Stavekontroll fullført: Ett ord endret",
+DlgSpellManyChanges		: "Stavekontroll fullført: %1 ord endret",
+
+IeSpellDownload			: "Stavekontroll ikke installert, vil du laste den ned nå?",
 
 // Button Dialog
@@ -383,5 +399,5 @@
 DlgSelectName		: "Navn",
 DlgSelectValue		: "Verdi",
-DlgSelectSize		: "Strrelse",
+DlgSelectSize		: "Størrelse",
 DlgSelectLines		: "Linjer",
 DlgSelectChkMulti	: "Tillat flervalg",
@@ -423,7 +439,7 @@
 DlgLstTypeSquare	: "Firkant",
 DlgLstTypeNumbers	: "Numre(1, 2, 3)",
-DlgLstTypeLCase		: "Sm bokstaver (a, b, c)",
+DlgLstTypeLCase		: "Små bokstaver (a, b, c)",
 DlgLstTypeUCase		: "Store bokstaver(A, B, C)",
-DlgLstTypeSRoman	: "Sm romerske tall(i, ii, iii)",
+DlgLstTypeSRoman	: "Små romerske tall(i, ii, iii)",
 DlgLstTypeLRoman	: "Store romerske tall(I, II, III)",
 
@@ -435,8 +451,8 @@
 
 DlgDocPageTitle		: "Sidetittel",
-DlgDocLangDir		: "Sprkretning",
-DlgDocLangDirLTR	: "Venstre til hyre (LTR)",
-DlgDocLangDirRTL	: "Hyre til venstre (RTL)",
-DlgDocLangCode		: "Sprkkode",
+DlgDocLangDir		: "Språkretning",
+DlgDocLangDirLTR	: "Venstre til høyre (LTR)",
+DlgDocLangDirRTL	: "Høyre til venstre (RTL)",
+DlgDocLangCode		: "Språkkode",
 DlgDocCharSet		: "Tegnsett",
 DlgDocCharSetCE		: "Sentraleuropeisk",
@@ -459,21 +475,21 @@
 DlgDocCText			: "Tekst",
 DlgDocCLink			: "Link",
-DlgDocCVisited		: "Beskt lenke",
+DlgDocCVisited		: "Besøkt lenke",
 DlgDocCActive		: "Aktiv lenke",
 DlgDocMargins		: "Sidemargin",
 DlgDocMaTop			: "Topp",
 DlgDocMaLeft		: "Venstre",
-DlgDocMaRight		: "Hyre",
+DlgDocMaRight		: "Høyre",
 DlgDocMaBottom		: "Bunn",
-DlgDocMeIndex		: "Dokument nkkelord (kommaseparert)",
+DlgDocMeIndex		: "Dokument nøkkelord (kommaseparert)",
 DlgDocMeDescr		: "Dokumentbeskrivelse",
 DlgDocMeAuthor		: "Forfatter",
 DlgDocMeCopy		: "Kopirett",
-DlgDocPreview		: "Forhndsvising",
+DlgDocPreview		: "Forhåndsvising",
 
 // Templates Dialog
 Templates			: "Maler",
 DlgTemplatesTitle	: "Innholdsmaler",
-DlgTemplatesSelMsg	: "Velg malen du vil pne<br>(innholdet du har skrevet blir tapt!):",
+DlgTemplatesSelMsg	: "Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):",
 DlgTemplatesLoading	: "Laster malliste. Vennligst vent...",
 DlgTemplatesNoTpl	: "(Ingen maler definert)",
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Lisens",
 DlgAboutVersion		: "versjon",
-DlgAboutLicense		: "Lisensiert under GNU Lesser General Public License",
-DlgAboutInfo		: "Oversatt av Siteman AS<br /><a target=\"_blank\" href=\"http://www.siteman.no\">www.siteman.no</a><br /><br />For mer informasjon g til"
-}
+DlgAboutInfo		: "Oversatt av Siteman AS<br /><a target=\"_blank\" href=\"http://www.siteman.no\">www.siteman.no</a><br /><br />For mer informasjon gå til"
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/pl.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/pl.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/pl.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Polish language file.
-</FileDescription>
-<Author name="Jakub Boesche" email="jboesche@gazeta.pl" />
-<Author name="Maciej Bochynski" email="maciej.bochynski@lubman.pl" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Polish language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Licencja",
 DlgAboutVersion		: "wersja",
-DlgAboutLicense		: "na licencji GNU Lesser General Public License",
 DlgAboutInfo		: "Więcej informacji uzyskasz pod adresem"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/pt-br.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/pt-br.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/pt-br.js	(revision 141)
@@ -1,10 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Brazilian Portuguese language file.
-</FileDescription>
-<Author name="Carlos Alberto Tomatis Loth" email="carlos.loth@conectait.com.br" />
-<Author name="GibaPhp" email="www.xoopstotal.com.br" />
-<Author name="Francisco Ernesto Teixeira" email="fco_ernesto@yahoo.com.br" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Brazilian Portuguese language file.
+ */
 
 var FCKLang =
@@ -89,5 +103,5 @@
 ImageButton		: "Botão de Imagem",
 
-FitWindow		: "Maximizar a área de edição",
+FitWindow		: "Maximizar o tamanho do editor",
 
 // Context Menu
@@ -203,6 +217,6 @@
 // Link Dialog
 DlgLnkWindowTitle	: "Hiperlink",
-DlgLnkInfoTab		: "Informações do hiperlink",
-DlgLnkTargetTab		: "Informações de destino",
+DlgLnkInfoTab		: "Informações",
+DlgLnkTargetTab		: "Destino",
 
 DlgLnkType			: "Tipo de hiperlink",
@@ -216,5 +230,5 @@
 DlgLnkAnchorByName	: "Pelo Nome da âncora",
 DlgLnkAnchorById	: "Pelo Id do Elemento",
-DlgLnkNoAnchors		: "<Não há âncoras disponíveis neste documento>",		//REVIEW : Change < and > with ( and )
+DlgLnkNoAnchors		: "(Não há âncoras disponíveis neste documento)",		//REVIEW : Change < and > with ( and )
 DlgLnkEMail			: "Endereço E-Mail",
 DlgLnkEMailSubject	: "Assunto da Mensagem",
@@ -224,5 +238,5 @@
 
 DlgLnkTarget		: "Destino",
-DlgLnkTargetFrame	: "<quadro>",
+DlgLnkTargetFrame	: "<frame>",
 DlgLnkTargetPopup	: "<janela popup>",
 DlgLnkTargetBlank	: "Nova Janela (_blank)",
@@ -249,5 +263,5 @@
 DlnLnkMsgNoEMail	: "Por favor, digite o endereço de e-mail",
 DlnLnkMsgNoAnchor	: "Por favor, selecione uma âncora",
-DlnLnkMsgInvPopName	: "O nome da janela popup deve começar com uma letra ou sublinhado (_) e não pode ter espaços",
+DlnLnkMsgInvPopName	: "O nome da janela popup deve começar com uma letra ou sublinhado (_) e não pode conter espaços",
 
 // Color Dialog
@@ -419,5 +433,5 @@
 BulletedListProp	: "Formatar Marcadores",
 NumberedListProp	: "Formatar Numeração",
-DlgLstStart			: "Início",
+DlgLstStart			: "Iniciar",
 DlgLstType			: "Tipo",
 DlgLstTypeCircle	: "Círculo",
@@ -442,5 +456,5 @@
 DlgDocLangCode		: "Código do Idioma",
 DlgDocCharSet		: "Codificação de Caracteres",
-DlgDocCharSetCE		: "Europeu Central",
+DlgDocCharSetCE		: "Europa Central",
 DlgDocCharSetCT		: "Chinês Tradicional (Big5)",
 DlgDocCharSetCR		: "Cirílico",
@@ -449,6 +463,6 @@
 DlgDocCharSetKR		: "Coreano",
 DlgDocCharSetTR		: "Turco",
-DlgDocCharSetUN		: "Codificação Universal (UTF-8)",
-DlgDocCharSetWE		: "Europeu Ocidental",
+DlgDocCharSetUN		: "Unicode (UTF-8)",
+DlgDocCharSetWE		: "Europa Ocidental",
 DlgDocCharSetOther	: "Outra Codificação de Caracteres",
 
@@ -487,5 +501,4 @@
 DlgAboutLicenseTab	: "Licença",
 DlgAboutVersion		: "versão",
-DlgAboutLicense		: "Licenciado sob os termos da GNU Lesser General Public License",
 DlgAboutInfo		: "Para maiores informações visite"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/pt.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/pt.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/pt.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Portuguese language file.
-</FileDescription>
-<Author name="Francisco Pereira" email="fjpereira@netcabo.pt" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Portuguese language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Licença",
 DlgAboutVersion		: "versão",
-DlgAboutLicense		: "Licenciado segundo os términos de GNU Lesser General Public License",
 DlgAboutInfo		: "Para mais informações por favor dirija-se a"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ro.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ro.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ro.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Romanian language file.
-</FileDescription>
-<Author name="Adrian Nicoara" email="nicoara@users.sourceforge.net" />
-<Author name="Ionut Traian Popa" email="" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Romanian language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Licenţă",
 DlgAboutVersion		: "versiune",
-DlgAboutLicense		: "Licenţiat sub termenii GNU Lesser General Public License",
 DlgAboutInfo		: "Pentru informaţii amănunţite, vizitaţi"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/ru.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/ru.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/ru.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Russian language file.
-</FileDescription>
-<Author name="Andrey Grebnev" email="andrey.grebnev@blandware.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Russian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Лицензия",
 DlgAboutVersion		: "Версия",
-DlgAboutLicense		: "Лицензировано в соответствии с условиями GNU Lesser General Public License",
 DlgAboutInfo		: "Для большей информации, посетите"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/sk.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/sk.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/sk.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Slovak language file.
-</FileDescription>
-<Author name="Samuel Szabo" email="samuel@nanete.sk" />
-<Author name="Jozef Gaal" email="runcms.mayday.sk" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Slovak language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Licencia",
 DlgAboutVersion		: "verzia",
-DlgAboutLicense		: "Licencované pod pravidlami GNU Lesser General Public License",
 DlgAboutInfo		: "Viac informácií získate na"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/sl.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/sl.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/sl.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Slovenian language file.
-</FileDescription>
-<Author name="Boris Volarič" email="vol@rutka.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Slovenian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "različica",
-DlgAboutLicense		: "Pravica za uporabo pod pogoji GNU Lesser General Public License",
 DlgAboutInfo		: "Za več informacij obiščite"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/sr-latn.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/sr-latn.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/sr-latn.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Serbian (Latin) language file.
-</FileDescription>
-<Author name="Zoran Subic" email="zoran@tf.zr.ac.yu" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Serbian (Latin) language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "verzija",
-DlgAboutLicense		: "Licencirano pod uslovima GNU Lesser General Public License",
 DlgAboutInfo		: "Za više informacija posetite"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/sr.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/sr.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/sr.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Serbian (Cyrillic) language file.
-</FileDescription>
-<Author name="Zoran Subić" email="zoran@tf.zr.ac.yu" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Serbian (Cyrillic) language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "верзија",
-DlgAboutLicense		: "Лиценцирано под условима GNU Lesser General Public License",
 DlgAboutInfo		: "За више информација посетите"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/sv.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/sv.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/sv.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Swedish language file.
-</FileDescription>
-<Author name="Kristoffer Malvefors" email="kristoffer@intema.ws" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Swedish language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "version",
-DlgAboutLicense		: "Licensierad under villkoren av GNU Lesser General Public License",
 DlgAboutInfo		: "För mer information se"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/th.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/th.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/th.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Thai language file.
-</FileDescription>
-<Author name="Audy Charin Arsakit" email="arsakit@gmail.com" />
-<Author name="Joy Piyanoot Promnuan" email="piyanoot@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Thai language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "License",	//MISSING
 DlgAboutVersion		: "รุ่น",
-DlgAboutLicense		: "สงวนลิขสิทธิ์ โดยนโยบายลิขสิทธิ์แบบ GNU Lesser General Public License",
 DlgAboutInfo		: "ข้อมูลเพิ่มเติมภาษาไทยติดต่อ</BR>นาย ชรินทร์ อาษากิจ (อู้ด)</BR><A HREF='mailto:arsakit@gmail.com'>arsakit@gmail.com</A> tel. (+66) 06-9241924</BR>หรือดาวน์โหลดรุ่นภาษาไทยได้ที่เว็บไซต์</BR><A HREF='http://www.thaimall4u.com'>www.Thaimall4u.com</A></BR>ข้อมูลเพิ่มเติมภาษาอังกฤษ กรุณาไปที่นี่"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/tr.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/tr.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/tr.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Turkish language file.
-</FileDescription>
-<Author name="Bogac Guven" email="bogacmx@yahoo.com" />
-<Author name="Burak Gürsoy" email="burak@cpan.org" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Turkish language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Lisans",
 DlgAboutVersion		: "sürüm",
-DlgAboutLicense		: "GNU Kısıtlı Kamu Lisansı (LGPL) koşulları altında lisanslanmıştır",
 DlgAboutInfo		: "Daha fazla bilgi için:"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/uk.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/uk.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/uk.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Ukrainian language file.
-</FileDescription>
-<Author name="Alexander Pervak" email="pervak@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Ukrainian language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "Ліцензія",
 DlgAboutVersion		: "Версія",
-DlgAboutLicense		: "Ліцензовано згідно умовам GNU Lesser General Public License",
 DlgAboutInfo		: "Додаткову інформацію дивіться на "
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/vi.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/vi.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/vi.js	(revision 141)
@@ -1,9 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Vietnamese language file.
-</FileDescription>
-<Author name="Phan Binh Giang" email="bbbgiang@yahoo.com" />
-<Author name="Hà Thanh Hải" email="thanhhai.ha@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Vietnamese language file.
+ */
 
 var FCKLang =
@@ -486,5 +501,4 @@
 DlgAboutLicenseTab	: "Giấy phép",
 DlgAboutVersion		: "phiên bản",
-DlgAboutLicense		: "Được cấp phép theo các điều khoản của giấy phép GNU Lesser General Public License",
 DlgAboutInfo		: "Để biết thêm thông tin, hãy truy cập"
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/zh-cn.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/zh-cn.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/zh-cn.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Chinese Simplified language file.
-</FileDescription>
-<Author name="NetRube" email="netrube@gmail.com" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Chinese Simplified language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "许可证",
 DlgAboutVersion		: "版本",
-DlgAboutLicense		: "基于 GNU 通用公共许可证授权发布 ",
 DlgAboutInfo		: "要获得更多信息请访问 "
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/lang/zh.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/lang/zh.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/lang/zh.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Chinese Traditional language file.
-</FileDescription>
-<Author name="Zak Fong" email="zakfong@yahoo.com.tw" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Chinese Traditional language file.
+ */
 
 var FCKLang =
@@ -485,5 +501,4 @@
 DlgAboutLicenseTab	: "許可證",
 DlgAboutVersion		: "版本",
-DlgAboutLicense		: "依據 GNU 較寬鬆公共許可證(LGPL)發佈",
 DlgAboutInfo		: "想獲得更多資訊請至 "
-}
+};
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/autogrow/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/autogrow/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/autogrow/fckplugin.js	(revision 141)
@@ -1,9 +1,25 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Plugin: automatically resizes the editor until a configurable maximun 
-	height (FCKConfig.AutoGrowMax), based on its contents.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Plugin: automatically resizes the editor until a configurable maximun
+ * height (FCKConfig.AutoGrowMax), based on its contents.
+ */
 
 var FCKAutoGrow_Min = window.frameElement.offsetHeight ;
@@ -14,5 +30,5 @@
 
 	var iFrameHeight, iInnerHeight ;
-	
+
 	if ( FCKBrowserInfo.IsIE )
 	{
@@ -31,5 +47,5 @@
 	{
 		var iMainFrameSize = window.frameElement.offsetHeight ;
-		
+
 		if ( iDiff > 0 && iMainFrameSize < FCKConfig.AutoGrowMax )
 		{
@@ -46,5 +62,5 @@
 		else
 			return ;
-			
+
 		window.frameElement.height = iMainFrameSize ;
 	}
@@ -55,4 +71,7 @@
 function FCKAutoGrow_SetListeners()
 {
+	if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
+		return ;
+
 	FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow_Check ) ;
 	FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow_Check ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/fck_placeholder.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/fck_placeholder.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/fck_placeholder.html	(revision 141)
@@ -1,13 +1,28 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Placeholder Plugin.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!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 ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Placeholder Plugin.
 -->
 <html>
 	<head>
 		<title>Placeholder Properties</title>
-		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <!-- @Packager.RemoveLine -->
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta content="noindex, nofollow" name="robots">
@@ -22,9 +37,9 @@
 	// First of all, translate the dialog box texts
 	oEditor.FCKLanguageManager.TranslatePage( document ) ;
-	
+
 	LoadSelected() ;
-	
+
 	// Show the "Ok" button.
-	window.parent.SetOkButton( true ) ;	
+	window.parent.SetOkButton( true ) ;
 }
 
@@ -45,5 +60,5 @@
 {
 	var sValue = document.getElementById('txtName').value ;
-	
+
 	if ( eSelected && eSelected._fckplaceholder == sValue )
 		return true ;
@@ -54,5 +69,5 @@
 		return false ;
 	}
-	
+
 	if ( FCKPlaceholders.Exist( sValue ) )
 	{
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/fckplugin.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Plugin to insert "Placeholders" in the editor.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Plugin to insert "Placeholders" in the editor.
+ */
 
 // Register the related command.
@@ -71,5 +87,5 @@
 FCKPlaceholders.Exist = function( name )
 {
-	var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' )
+	var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' ) ;
 
 	for ( var i = 0 ; i < aSpans.length ; i++ )
@@ -78,4 +94,6 @@
 			return true ;
 	}
+
+	return false ;
 }
 
@@ -84,4 +102,7 @@
 	FCKPlaceholders.Redraw = function()
 	{
+		if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
+			return ;
+
 		var aPlaholders = FCK.EditorDocument.body.innerText.match( /\[\[[^\[\]]+\]\]/g ) ;
 		if ( !aPlaholders )
@@ -104,4 +125,7 @@
 	FCKPlaceholders.Redraw = function()
 	{
+		if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
+			return ;
+
 		var oInteractor = FCK.EditorDocument.createTreeWalker( FCK.EditorDocument.body, NodeFilter.SHOW_TEXT, FCKPlaceholders._AcceptNode, true ) ;
 
@@ -137,5 +161,5 @@
 			aNodes[n].parentNode.removeChild( aNodes[n] ) ;
 		}
-		
+
 		FCKPlaceholders._SetupClickListener() ;
 	}
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/de.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/de.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/de.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Placholder German language file.
-</FileDescription>
-<Author name="José Fontanil" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Placholder German language file.
+ */
 FCKLang.PlaceholderBtn			= 'Einfügen/editieren Platzhalter' ;
 FCKLang.PlaceholderDlgTitle		= 'Platzhalter Eigenschaften' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/en.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/en.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/en.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Placholder English language file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Placholder English language file.
+ */
 FCKLang.PlaceholderBtn			= 'Insert/Edit Placeholder' ;
 FCKLang.PlaceholderDlgTitle		= 'Placeholder Properties' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/fr.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/fr.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/fr.js	(revision 141)
@@ -1,8 +1,24 @@
-﻿/* @Packager.Header
-<FileDescription>
-	Placholder Italian language file.
-</FileDescription>
-<Author name="Hubert Garrido" email="liane@users.sourceforge.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Placholder Italian language file.
+ */
 FCKLang.PlaceholderBtn			= 'Insérer/Modifier Substitut' ;
 FCKLang.PlaceholderDlgTitle		= 'Propriétés de Substitut' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/it.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/it.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/it.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Placholder Italian language file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Placholder Italian language file.
+ */
 FCKLang.PlaceholderBtn			= 'Aggiungi/Modifica Placeholder' ;
 FCKLang.PlaceholderDlgTitle		= 'Proprietà del Placeholder' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/pl.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/pl.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/placeholder/lang/pl.js	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Placholder Polish language file.
-</FileDescription>
-<Author name="Marcin Pietrzak" email="fck@iworks.pl" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Placholder Polish language file.
+ */
 FCKLang.PlaceholderBtn			= 'Wstaw/Edytuj nagłówek' ;
 FCKLang.PlaceholderDlgTitle		= 'Właśności nagłówka' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/simplecommands/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/simplecommands/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/simplecommands/fckplugin.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	This plugin register Toolbar items for the combos modifying the style to 
-	not show the box.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This plugin register Toolbar items for the combos modifying the style to
+ * not show the box.
+ */
 
 FCKToolbarItems.RegisterItem( 'SourceSimple'	, new FCKToolbarButton( 'Source', FCKLang.Source, null, FCK_TOOLBARITEM_ONLYICON, true, true, 1 ) ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/plugins/tablecommands/fckplugin.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/plugins/tablecommands/fckplugin.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/plugins/tablecommands/fckplugin.js	(revision 141)
@@ -1,9 +1,25 @@
-/* @Packager.Header
-<FileDescription>
-	This plugin register the required Toolbar items to be able to insert the
-	toolbar commands in the toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This plugin register the required Toolbar items to be able to insert the
+ * toolbar commands in the toolbar.
+ */
 
 FCKToolbarItems.RegisterItem( 'TableInsertRow'		, new FCKToolbarButton( 'TableInsertRow'	, FCKLang.InsertRow, null, null, null, null, 62 ) ) ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/_fckviewstrips.html
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/_fckviewstrips.html	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/_fckviewstrips.html	(revision 141)
@@ -1,9 +1,24 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- @Packager.Header
-<FileDescription>
-	Useful page that enumerates all icons in the skins strips.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="Alfonso Martinez de Lizarrondo - Uritec" email="alfonso at uritec dot net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Useful page that enumerates all icons in the skins strips.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -49,7 +64,7 @@
 	if ( iMaxHeight < this.height )
 		iMaxHeight = this.height ;
-	
+
 	iTotalStrips-- ;
-	
+
 	if ( iTotalStrips == 0 )
 		LoadIcons( iMaxHeight / 16 ) ;
@@ -63,8 +78,8 @@
 	{
 		var eRow = xIconsTable.insertRow(-1) ;
-		
+
 		var eCell = eRow.insertCell(-1) ;
 		eCell.innerHTML = i + 1 ;
-		
+
 		eCell = eRow.insertCell(-1) ;
 		eCell.align = 'center' ;
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/default/fck_dialog.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/default/fck_dialog.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/default/fck_dialog.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the dialog boxes.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the dialog boxes.
+ */
 
 body
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/default/fck_editor.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/default/fck_editor.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/default/fck_editor.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the editor IFRAME and Toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the editor IFRAME and Toolbar.
+ */
 
 /*
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/office2003/fck_dialog.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/office2003/fck_dialog.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/office2003/fck_dialog.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the dialog boxes.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the dialog boxes.
+ */
 
 body
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/office2003/fck_editor.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/office2003/fck_editor.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/office2003/fck_editor.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the editor IFRAME and Toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the editor IFRAME and Toolbar.
+ */
 
 /*
@@ -82,5 +98,5 @@
     background-position: center left;
     height: 24px;
-    width: 12px;
+    width: 4px;
 }
 
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/silver/fck_dialog.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/silver/fck_dialog.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/silver/fck_dialog.css	(revision 141)
@@ -1,8 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the dialog boxes.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the dialog boxes.
+ */
 
 body
Index: /FCKeditor/branches/developers/alfonsoml/editor/skins/silver/fck_editor.css
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/editor/skins/silver/fck_editor.css	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/editor/skins/silver/fck_editor.css	(revision 141)
@@ -1,9 +1,24 @@
-/* @Packager.Header
-<FileDescription>
-	Styles used by the editor IFRAME and Toolbar.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-<Author name="gazou[Fr]" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Styles used by the editor IFRAME and Toolbar.
+ */
 
 /*
@@ -180,6 +195,6 @@
 
 /* For composed button ( icon + text, icon + arrow ), we must compensate the table */
-.TB_Button_On TABLE .TB_Button_Image, 
-.TB_Button_Off TABLE .TB_Button_Image, 
+.TB_Button_On TABLE .TB_Button_Image,
+.TB_Button_Off TABLE .TB_Button_Image,
 .TB_Button_On_Over TABLE .TB_Button_Image,
 .TB_Button_Off_Over TABLE .TB_Button_Image,
Index: /FCKeditor/branches/developers/alfonsoml/fckconfig.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckconfig.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckconfig.js	(revision 141)
@@ -1,17 +1,32 @@
-/* @Packager.Header
-<FileDescription>
-	Editor configuration settings.
-	
-	Follow this link for more information:
-	http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
-
-// The following is a temporary configuration that will be removed once the next version is released.
-FCKConfig.DisableEnterKeyHandler = true ;
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * Editor configuration settings.
+ *
+ * Follow this link for more information:
+ * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
+ */
+
+// Disable the custom Enter Key Handler. This option will be removed in version 2.5.
+FCKConfig.DisableEnterKeyHandler = false ;
 
 FCKConfig.CustomConfigurationsPath = '' ;
-FCKConfig.CustomConfigurationsPath = '/fckeditor.config.js' ;	// @Packager.RemoveLine 
 
 FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
@@ -66,5 +81,4 @@
 FCKConfig.ShowBorders	= true ;
 FCKConfig.SourcePopup	= false ;
-FCKConfig.UseBROnCarriageReturn	= false ;	// IE only.
 FCKConfig.ToolbarStartExpanded	= true ;
 FCKConfig.ToolbarCanCollapse	= true ;
@@ -88,5 +102,5 @@
 	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 	['Link','Unlink','Anchor'],
-	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
+	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
 	'/',
 	['Style','FontFormat','FontName','FontSize'],
@@ -132,5 +146,6 @@
 
 FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
-FCKConfig.IeSpellDownloadUrl	= 'http://wcarchive.cdrom.com/pub/simtelnet/handheld/webbrow1/ieSpellSetup240428.exe' ;
+FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
+FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
 
 FCKConfig.MaxUndoLevels = 15 ;
@@ -154,20 +169,17 @@
 
 // The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
-FCKConfig.CleanWordKeepStructure = false ;
-
-
-// The following value defines which File Browser connector and Quick Upload 
+FCKConfig.CleanWordKeepsStructure = false ;
+
+// The following value defines which File Browser connector and Quick Upload
 // "uploader" to use. It is valid for the default implementaion and it is here
-// just to make this configuration file cleaner. 
-// It is not possible to change this value using an external file or even 
-// inline when creating the editor instance. In that cases you must set the 
+// just to make this configuration file cleaner.
+// It is not possible to change this value using an external file or even
+// inline when creating the editor instance. In that cases you must set the
 // values of LinkBrowserURL, ImageBrowserURL and so on.
 // Custom implementations should just ignore it.
 var _FileBrowserLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | perl | php | py
 var _QuickUploadLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | php
-_FileBrowserLanguage	= 'php' ;	// @Packager.RemoveLine 
-_QuickUploadLanguage	= 'php' ;	// @Packager.RemoveLine 
-
-// Don't care about the following line. It just calculates the correct connector 
+
+// Don't care about the following line. It just calculates the correct connector
 // extension to use for the default File Browser (Perl uses "cgi").
 var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
@@ -191,9 +203,9 @@
 FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
 FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
-FCKConfig.LinkUploadDeniedExtensions	= ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;	// empty for no one
+FCKConfig.LinkUploadDeniedExtensions	= ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ;	// empty for no one
 
 FCKConfig.ImageUpload = true ;
 FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
-FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png)$" ;		// empty for all
+FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png|bmp)$" ;		// empty for all
 FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
 
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.afp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.afp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.afp	(revision 141)
@@ -1,20 +1,24 @@
-<% 
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: fckeditor.afp
- *	This is the integration file for Active FoxPro Pages.
- * 
- * Version:  1.01 
- * Modified: 2006-11-13
- * 
- * File Authors: Soenke Freitag (www.afp-hosting.de)
- * 		
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for Active FoxPro Pages.
+ *
 
 DEFINE CLASS goFckeditor AS CONTAINER OLEPUBLIC
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.asp
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.asp	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.asp	(revision 141)
@@ -1,10 +1,26 @@
-<!-- @Packager.Header
-<FileDescription>
-	This is the integration file for ASP.
-
-	It defines the FCKeditor class that can be used to create editor
-	instances in ASP pages on server side.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+﻿<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for ASP.
+ *
+ * It defines the FCKeditor class that can be used to create editor
+ * instances in ASP pages on server side.
 -->
 <%
@@ -170,5 +186,5 @@
 
 	End Function
-	
+
 	Private Function EncodeConfig( valueToEncode )
 		EncodeConfig = Replace( valueToEncode, "&", "%26" )
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.cfc
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.cfc	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.cfc	(revision 141)
@@ -1,35 +1,51 @@
 <cfcomponent output="false" displayname="FCKeditor" hint="Create an instance of the FCKeditor.">
-<!--- @Packager.Header
-<FileDescription>
-	ColdFusion MX integration. 
-	Note this CFC is created for use only with Coldfusion MX and above.
-	For older version, check the fckeditor.cfm.
-
-	Syntax: 
-
-	&lt;cfscript&gt;
-			fckEditor = createObject("component", "fckEditorV2/fckeditor");
-			fckEditor.instanceName="myEditor";
-			fckEditor.basePath="/fckEditorV2/";
-			fckEditor.value="This is my &lt;strong&gt;initial&lt;/strong&gt; html text.";
-			fckEditor.width="100%";
-			fckEditor.height="200";
-		 	// ... additional parameters ...
-			fckEditor.create(); // create instance now.
-	&lt;/cfscript&gt;
-
-	See your macromedia coldfusion mx documentation for more info.
-
-	*** Note: 
-	Do not use path names with a "." (dot) in the name. This is a coldfusion 
-	limitation with the cfc invocation.
-</FileDescription>
-<Author name="Hendrik Kramer" email="hk@lwd.de" />
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * ColdFusion MX integration.
+ * Note this CFC is created for use only with Coldfusion MX and above.
+ * For older version, check the fckeditor.cfm.
+ *
+ * Syntax:
+ *
+ * <cfscript>
+ * 		fckEditor = createObject("component", "fckEditorV2/fckeditor");
+ * 		fckEditor.instanceName="myEditor";
+ * 		fckEditor.basePath="/fckEditorV2/";
+ * 		fckEditor.value="This is my <strong>initial</strong> html text.";
+ * 		fckEditor.width="100%";
+ * 		fckEditor.height="200";
+ * 	 	// ... additional parameters ...
+ * 		fckEditor.create(); // create instance now.
+ * </cfscript>
+ *
+ * See your macromedia coldfusion mx documentation for more info.
+ *
+ * *** Note:
+ * Do not use path names with a "." (dot) in the name. This is a coldfusion
+ * limitation with the cfc invocation.
 --->
-<cffunction 
-	name="create" 
-	access="public" 
-	output="true" 
-	returntype="void" 
+<cffunction
+	name="create"
+	access="public"
+	output="true"
+	returntype="void"
 	hint="Initialize the FCKeditor instance."
 >
@@ -131,8 +147,8 @@
 	hint="Create the html editor instance for compatible browsers."
 >
-	
+
 	<cfscript>
 	var sURL = "";
-	
+
 	// try to fix the basePath, if ending slash is missing
 	if( len( this.basePath) and right( this.basePath, 1 ) is not "/" )
@@ -172,5 +188,5 @@
 	var lConfigKeys = "";
 	var iPos = "";
-	
+
 	/**
 	 * CFML doesn't store casesensitive names for structure keys, but the configuration names must be casesensitive for js.
@@ -185,5 +201,5 @@
 	lConfigKeys = lConfigKeys & ",LinkUpload,LinkUploadURL,LinkUploadWindowWidth,LinkUploadWindowHeight,LinkUploadAllowedExtensions,LinkUploadDeniedExtensions";
 	lConfigKeys = lConfigKeys & ",ImageBrowser,ImageBrowserURL,ImageBrowserWindowWidth,ImageBrowserWindowHeight,SmileyPath,SmileyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight";
-	
+
 	for( key in this.config )
 	{
@@ -196,5 +212,5 @@
 			fieldValue = this.config[key];
 			fieldName = listGetAt( lConfigKeys, iPos );
-			
+
 			// set all boolean possibilities in CFML to true/false values
 			if( isBoolean( fieldValue) and fieldValue )
@@ -202,5 +218,5 @@
 			else if( isBoolean( fieldValue) )
 				fieldValue = "false";
-		
+
 			sParams = sParams & HTMLEditFormat( fieldName ) & '=' & HTMLEditFormat( fieldValue );
 		}
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.cfm
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.cfm	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.cfm	(revision 141)
@@ -1,22 +1,37 @@
 <cfsetting enablecfoutputonly="Yes">
-<!--- @Packager.Header
-<FileDescription>
-	ColdFusion integration. 
-	Note this module is created for use with Coldfusion 4.52 and above.
-	For a cfc version for coldfusion mx check the fckeditor.cfc.
-
-	Syntax: 
-
-	&lt;cfmodule name="path/to/cfc/fckeditor" 
-		instanceName="myEditor"
-		toolbarSet="..."
-		width="..."
-		height="..:"
-		value="..."
-		config="..." 
-	&gt;
-</FileDescription>
-<Author name="Hendrik Kramer" email="hk@lwd.de" />
-<Author name="Mark Woods" email="mark@thickpaddy.com" />
+<!---
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * ColdFusion integration.
+ * Note this module is created for use with Coldfusion 4.52 and above.
+ * For a cfc version for coldfusion mx check the fckeditor.cfc.
+ *
+ * Syntax:
+ *
+ * <cfmodule name="path/to/cfc/fckeditor"
+ * 	instanceName="myEditor"
+ * 	toolbarSet="..."
+ * 	width="..."
+ * 	height="..:"
+ * 	value="..."
+ * 	config="..."
+ * >
 --->
 <!--- ::
@@ -35,5 +50,5 @@
 	 * check browser compatibility via HTTP_USER_AGENT, if checkBrowser is true
 	:: --->
-	
+
 <cfscript>
 if( attributes.checkBrowser )
@@ -97,5 +112,5 @@
 
 		/**
-		 * CFML doesn't store casesensitive names for structure keys, but the configuration names must be casesensitive for js. 
+		 * CFML doesn't store casesensitive names for structure keys, but the configuration names must be casesensitive for js.
 		 * So we need to find out the correct case for the configuration keys.
 		 * We "fix" this by comparing the caseless configuration keys to a list of all available configuration options in the correct case.
@@ -109,7 +124,7 @@
 		lConfigKeys = lConfigKeys & ",LinkUpload,LinkUploadURL,LinkUploadWindowWidth,LinkUploadWindowHeight,LinkUploadAllowedExtensions,LinkUploadDeniedExtensions";
 		lConfigKeys = lConfigKeys & ",ImageBrowser,ImageBrowserURL,ImageBrowserWindowWidth,ImageBrowserWindowHeight,SmileyPath,SmileyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight";
-		
+
 		sConfig = "";
-		
+
 		for( key in attributes.config )
 		{
@@ -119,8 +134,8 @@
 				if( len( sConfig ) )
 					sConfig = sConfig & "&amp;";
-	
+
 				fieldValue = attributes.config[key];
 				fieldName = listGetAt( lConfigKeys, iPos );
-				
+
 				sConfig = sConfig & urlEncodedFormat( fieldName ) & '=' & urlEncodedFormat( fieldValue );
 			}
@@ -155,5 +170,5 @@
 	<textarea name="#attributes.instanceName#" rows="4" cols="40" style="WIDTH: #attributes.width#; HEIGHT: #attributes.height#">#HTMLEditFormat(attributes.value)#</textarea>
 	</div>
-	</cfoutput>	
+	</cfoutput>
 
 </cfif>
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.js
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.js	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.js	(revision 141)
@@ -1,12 +1,28 @@
-/* @Packager.Header
-<FileDescription>
-	This is the integration file for JavaScript.
-
-	It defines the FCKeditor class that can be used to create editor
-	instances in a HTML page in the client side. For server side
-	operations, use the specific integration system.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+﻿/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for JavaScript.
+ *
+ * It defines the FCKeditor class that can be used to create editor
+ * instances in a HTML page in the client side. For server side
+ * operations, use the specific integration system.
+ */
 
 // FCKeditor Class
@@ -20,8 +36,8 @@
 	this.Value			= value			|| '' ;
 	this.BasePath		= '/fckeditor/' ;
-	this.CheckBrowser	= false ;
+	this.CheckBrowser	= true ;
 	this.DisplayErrors	= true ;
 	this.EnableSafari	= false ;		// This is a temporary property, while Safari support is under development.
-	this.EnableSafari	= true ;		// @Packager.RemoveLine 
+	this.EnableSafari	= true ;		// @Packager.RemoveLine
 	this.EnableOpera	= false ;		// This is a temporary property, while Opera support is under development.
 	this.EnableOpera	= true ;		// @Packager.RemoveLine
@@ -33,6 +49,6 @@
 }
 
-FCKeditor.prototype.Version			= '[[@Packager.Version]]' ;
-FCKeditor.prototype.VersionBuild	= '[[@Packager.Build]]' ;
+FCKeditor.prototype.Version			= '2.4.1 (SVN)' ;
+FCKeditor.prototype.VersionBuild	= '1156' ;
 
 FCKeditor.prototype.Create = function()
@@ -66,5 +82,5 @@
 
 	sHtml += '</div>' ;
-	
+
 	return sHtml ;
 }
@@ -84,5 +100,5 @@
 			oTextarea = colElementsByName[i++] ;
 		}
-		
+
 		if ( !oTextarea )
 		{
@@ -125,5 +141,5 @@
 {
 	var sFile = 'fckeditor.html' ;
-	
+
 	try
 	{
@@ -190,5 +206,5 @@
 
 	// Opera
-	if ( enableOpera && navigator.appName == 'Opera' && parseInt( navigator.appVersion ) >= 9 )
+	if ( enableOpera && navigator.appName == 'Opera' && parseInt( navigator.appVersion, 10 ) >= 9 )
 			return true ;
 
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.lasso
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.lasso	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.lasso	(revision 141)
@@ -1,16 +1,32 @@
 [//lasso
-/* @Packager.Header
-<FileDescription>
-	This is the integration file for Lasso.
-
-	It defines the FCKeditor class ("custom type" in Lasso terms) that can 
-	be used to create editor instances in Lasso pages on server side.
-</FileDescription>
-<Author name="Jason Huck" email="jason.huck@corefive.com" />
-*/
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for Lasso.
+ *
+ * It defines the FCKeditor class ("custom type" in Lasso terms) that can
+ * be used to create editor instances in Lasso pages on server side.
+ */
 
 	define_type(
-		'editor', 
-		-namespace='fck_', 
+		'editor',
+		-namespace='fck_',
 		-description='Creates an instance of FCKEditor.'
 	);
@@ -26,5 +42,5 @@
 			'displayerrors'	=	false
 		);
-	
+
 		define_tag(
 			'onCreate',
@@ -36,5 +52,5 @@
 			-optional='basepath', -type='string',
 			-optional='config', -type='array'
-		);			
+		);
 			self->instancename = #instancename;
 			local_defined('width') ? self->width = #width;
@@ -45,5 +61,5 @@
 			local_defined('config') ? self->config = #config;
 		/define_tag;
-		
+
 		define_tag('create');
 			if(self->isCompatibleBrowser);
@@ -59,27 +75,27 @@
 					<div>
 						<textarea name="' + self->instancename + '" rows="4" cols="40" style="width: ' + self->width + '; height: ' + self->height + '">' + encode_html(self->initialvalue) + '</textarea>
-					</div>	
+					</div>
 				');
-			/if;		
+			/if;
 			return(@#out);
 		/define_tag;
-		
+
 		define_tag('isCompatibleBrowser');
-			local('result' = true);		
-			(client_browser >> 'Apple' || client_browser >> 'Opera' || client_browser >> 'KHTML') ? #result = false;		
+			local('result' = true);
+			(client_browser >> 'Apple' || client_browser >> 'Opera' || client_browser >> 'KHTML') ? #result = false;
 			return(#result);
 		/define_tag;
-		
+
 		define_tag('parseConfig');
 			if(self->config->size);
-				local('out' = '<input type="hidden" id="' + self->instancename + '___Config" value="');			
+				local('out' = '<input type="hidden" id="' + self->instancename + '___Config" value="');
 				iterate(self->config, local('this'));
-					loop_count > 1 ? #out += '&amp;';			
+					loop_count > 1 ? #out += '&amp;';
 					#out += encode_html(#this->first) + '=' + encode_html(#this->second);
-				/iterate;			
-				#out += '" style="display:none" />\n';			
+				/iterate;
+				#out += '" style="display:none" />\n';
 				return(@#out);
 			/if;
 		/define_tag;
-	/define_type;	
+	/define_type;
 ]
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.php	(revision 141)
@@ -1,11 +1,28 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the integration file for PHP (All versions).
-	
-	It loads the correct integration file based on the PHP version (avoinding
-	strict error messages with PHP 5).
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for PHP (All versions).
+ *
+ * It loads the correct integration file based on the PHP version (avoinding
+ * strict error messages with PHP 5).
+ */
 
 if ( version_compare( phpversion(), '5', '<' ) )
@@ -13,4 +30,4 @@
 else
 	include_once( 'fckeditor_php5.php' ) ;
-	
+
 ?>
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.pl
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.pl	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.pl	(revision 141)
@@ -1,7 +1,23 @@
-##### @Packager.Header
-#<FileDescription>
-#	This is the integration file for Perl.
-#</FileDescription>
-#<Author name="Takashi Yamaguchi" email="jack@omakase.net" />
+#####
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
+#
+#  == BEGIN LICENSE ==
+#
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+#  This is the integration file for Perl.
 #####
 
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor.py
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor.py	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor.py	(revision 141)
@@ -1,7 +1,23 @@
-""" @Packager.Header
-<FileDescription>
-	This is the integration file for Python.
-</FileDescription>
-<Author name="Andrew Liu" email="andrew@liuholdings.com" />
+"""
+FCKeditor - The text editor for Internet - http://www.fckeditor.net
+Copyright (C) 2003-2007 Frederico Caldeira Knabben
+
+== BEGIN LICENSE ==
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   http://www.gnu.org/licenses/gpl.html
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   http://www.gnu.org/licenses/lgpl.html
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   http://www.mozilla.org/MPL/MPL-1.1.html
+
+== END LICENSE ==
+
+This is the integration file for Python.
 """
 
@@ -91,5 +107,5 @@
 		Html += "</div>"
 		return Html
-	
+
 	def IsCompatible(self):
 		if (os.environ.has_key("HTTP_USER_AGENT")):
@@ -131,3 +147,3 @@
 					sParams += "%s=%s" % (k, v)
 		return sParams
-					
+
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor_php4.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor_php4.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor_php4.php	(revision 141)
@@ -1,11 +1,28 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the integration file for PHP 4.
-	
-	It defines the FCKeditor class that can be used to create editor
-	instances in PHP pages on server side.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for PHP 4.
+ *
+ * It defines the FCKeditor class that can be used to create editor
+ * instances in PHP pages on server side.
+ */
 
 class FCKeditor
@@ -18,5 +35,5 @@
 	var $Value ;
 	var $Config ;
-	
+
 	// PHP 4 Contructor
 	function FCKeditor( $instanceName )
@@ -36,5 +53,5 @@
 		echo $this->CreateHtml() ;
 	}
-	
+
 	function CreateHtml()
 	{
@@ -42,5 +59,5 @@
 
 		$Html = '<div>' ;
-		
+
 		if ( $this->IsCompatible() )
 		{
@@ -51,5 +68,5 @@
 
 			$Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ;
-			
+
 			if ( $this->ToolbarSet != '' )
 				$Link .= "&amp;Toolbar={$this->ToolbarSet}" ;
@@ -80,5 +97,5 @@
 
 		$Html .= '</div>' ;
-		
+
 		return $Html ;
 	}
@@ -118,5 +135,5 @@
 			else
 				$bFirst = false ;
-			
+
 			if ( $sValue === true )
 				$sParams .= $this->EncodeConfig( $sKey ) . '=true' ;
@@ -126,5 +143,5 @@
 				$sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ;
 		}
-		
+
 		return $sParams ;
 	}
@@ -132,7 +149,7 @@
 	function EncodeConfig( $valueToEncode )
 	{
-		$chars = array( 
-			'&' => '%26', 
-			'=' => '%3D', 
+		$chars = array(
+			'&' => '%26',
+			'=' => '%3D',
 			'"' => '%22' ) ;
 
Index: /FCKeditor/branches/developers/alfonsoml/fckeditor_php5.php
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckeditor_php5.php	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckeditor_php5.php	(revision 141)
@@ -1,11 +1,28 @@
-<?php /* @Packager.Header
-<FileDescription>
-	This is the integration file for PHP 5.
-	
-	It defines the FCKeditor class that can be used to create editor
-	instances in PHP pages on server side.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
-*/
+<?php
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the integration file for PHP 5.
+ *
+ * It defines the FCKeditor class that can be used to create editor
+ * instances in PHP pages on server side.
+ */
 
 class FCKeditor
@@ -36,5 +53,5 @@
 		echo $this->CreateHtml() ;
 	}
-	
+
 	function CreateHtml()
 	{
@@ -42,5 +59,5 @@
 
 		$Html = '<div>' ;
-		
+
 		if ( $this->IsCompatible() )
 		{
@@ -51,5 +68,5 @@
 
 			$Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ;
-			
+
 			if ( $this->ToolbarSet != '' )
 				$Link .= "&amp;Toolbar={$this->ToolbarSet}" ;
@@ -80,5 +97,5 @@
 
 		$Html .= '</div>' ;
-		
+
 		return $Html ;
 	}
@@ -118,5 +135,5 @@
 			else
 				$bFirst = false ;
-			
+
 			if ( $sValue === true )
 				$sParams .= $this->EncodeConfig( $sKey ) . '=true' ;
@@ -126,5 +143,5 @@
 				$sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ;
 		}
-		
+
 		return $sParams ;
 	}
@@ -132,7 +149,7 @@
 	function EncodeConfig( $valueToEncode )
 	{
-		$chars = array( 
-			'&' => '%26', 
-			'=' => '%3D', 
+		$chars = array(
+			'&' => '%26',
+			'=' => '%3D',
 			'"' => '%22' ) ;
 
Index: /FCKeditor/branches/developers/alfonsoml/fckstyles.xml
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fckstyles.xml	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fckstyles.xml	(revision 141)
@@ -1,10 +1,27 @@
-﻿<?xml version="1.0" encoding="utf-8" ?>
-<!-- @Packager.Header
-<FileDescription>
-	This is the sample style definitions file. It makes the styles combo
-	completely customizable.
-	See FCKConfig.StylesXmlPath in the configuration file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the sample style definitions file. It makes the styles combo
+ * completely customizable.
+ *
+ * See FCKConfig.StylesXmlPath in the configuration file.
 -->
 <Styles>
Index: /FCKeditor/branches/developers/alfonsoml/fcktemplates.xml
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/fcktemplates.xml	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/fcktemplates.xml	(revision 141)
@@ -1,10 +1,27 @@
 <?xml version="1.0" encoding="utf-8" ?>
-<!-- @Packager.Header
-<FileDescription>
-	This is the sample templates definitions file. It makes the "templates" 
-	command completely customizable.
-	See FCKConfig.TemplatesXmlPath in the configuration file.
-</FileDescription>
-<Author name="Frederico Caldeira Knabben" email="www.fckeditor.net" />
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * This is the sample templates definitions file. It makes the "templates"
+ * command completely customizable.
+ *
+ * See FCKConfig.TemplatesXmlPath in the configuration file.
 -->
 <Templates imagesBasePath="fck_template/images/">
Index: /FCKeditor/branches/developers/alfonsoml/htaccess.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/htaccess.txt	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/htaccess.txt	(revision 141)
@@ -1,18 +1,25 @@
 #
-# FCKeditor - The text editor for internet
-# Copyright (C) 2003-2006 Frederico Caldeira Knabben
-# 
-# Licensed under the terms of the GNU Lesser General Public License:
-# 		http://www.opensource.org/licenses/lgpl-license.php
-# 
-# For further information visit:
-# 		http://www.fckeditor.net/
-# 
-# "Support Open Source software. What about a donation today?"
+#  FCKeditor - The text editor for Internet - http://www.fckeditor.net
+#  Copyright (C) 2003-2007 Frederico Caldeira Knabben
 #
-# ----------------------------------------------------------------------------- 
-
+#  == BEGIN LICENSE ==
 #
-# On some specific Linux installations you could face problems with Firefox. 
+#  Licensed under the terms of any of the following licenses at your
+#  choice:
+#
+#   - GNU General Public License Version 2 or later (the "GPL")
+#     http://www.gnu.org/licenses/gpl.html
+#
+#   - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+#     http://www.gnu.org/licenses/lgpl.html
+#
+#   - Mozilla Public License Version 1.1 or later (the "MPL")
+#     http://www.mozilla.org/MPL/MPL-1.1.html
+#
+#  == END LICENSE ==
+#
+# -----------------------------------------------------------------------------
+#
+# On some specific Linux installations you could face problems with Firefox.
 # It could give you errors when loading the editor saying that some illegal
 # characters were found (three strange chars in the beginning of the file).
@@ -22,6 +29,6 @@
 # All FCKeditor files are Unicode encoded.
 #
-# Just rename this file to ".htaccess" and leave it in the editor directory. 
-# There are no security issues on doing it. It just sets the ".js" and ".css" 
+# Just rename this file to ".htaccess" and leave it in the editor directory.
+# There are no security issues on doing it. It just sets the ".js" and ".css"
 # files to their correct content types.
 #
Index: /FCKeditor/branches/developers/alfonsoml/license.txt
===================================================================
--- /FCKeditor/branches/developers/alfonsoml/license.txt	(revision 140)
+++ /FCKeditor/branches/developers/alfonsoml/license.txt	(revision 141)
@@ -1,2 +1,316 @@
+FCKeditor - The text editor for Internet - http://www.fckeditor.net
+Copyright (C) 2003-2007 Frederico Caldeira Knabben
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   http://www.gnu.org/licenses/gpl.html
+   (See Appendix A)
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   http://www.gnu.org/licenses/lgpl.html
+   (See Appendix B)
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   http://www.mozilla.org/MPL/MPL-1.1.html
+   (See Appendix C)
+
+You are not required to, but if you want to explicitly declare the
+license you have chosen to be bound to when using, reproducing,
+modifying and distributing this software, just include a text file
+titled "legal.txt" in your version of this software, indicating your
+license choice. In any case, your choice will not restrict any
+recipient of your version of this software to use, reproduce, modify
+and distribute this software under any of the above licenses.
+
+Appendix A: The GPL License
+===========================
+
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+
+Appendix B: The LGPL License
+============================
+
 		  GNU LESSER GENERAL PUBLIC LICENSE
 		       Version 2.1, February 1999
@@ -457,2 +771,477 @@
 
 		     END OF TERMS AND CONDITIONS
+
+
+Appendix C: The MPL License
+===========================
+
+                          MOZILLA PUBLIC LICENSE
+                                Version 1.1
+
+                              ---------------
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     Software distributed under the License is distributed on an "AS IS"
+     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+     License for the specific language governing rights and limitations
+     under the License.
+
+     The Original Code is ______________________________________.
+
+     The Initial Developer of the Original Code is ________________________.
+     Portions created by ______________________ are Copyright (C) ______
+     _______________________. All Rights Reserved.
+
+     Contributor(s): ______________________________________.
+
+     Alternatively, the contents of this file may be used under the terms
+     of the _____ license (the  "[___] License"), in which case the
+     provisions of [______] License are applicable instead of those
+     above.  If you wish to allow use of your version of this file only
+     under the terms of the [____] License and not to allow others to use
+     your version of this file under the MPL, indicate your decision by
+     deleting  the provisions above and replace  them with the notice and
+     other provisions required by the [___] License.  If you do not delete
+     the provisions above, a recipient may use your version of this file
+     under either the MPL or the [___] License."
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+
