diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js
index 6d25ed067c..fefd76dff2 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js
@@ -1,38 +1,38 @@
-/*
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2008 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- * - GNU General Public License Version 2 or later (the "GPL")
- * http://www.gnu.org/licenses/gpl.html
- *
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- * http://www.gnu.org/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.
-FCKCommands.RegisterCommand( 'My_Find' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'] , FCKLang['DlgMyFindTitle'] , FCKConfig.PluginsPath + 'findreplace/find.html' , 340, 170 ) ) ;
-FCKCommands.RegisterCommand( 'My_Replace' , new FCKDialogCommand( FCKLang['DlgMyReplaceTitle'], FCKLang['DlgMyReplaceTitle'] , FCKConfig.PluginsPath + 'findreplace/replace.html', 340, 200 ) ) ;
-
-// Create the "Find" toolbar button.
-var oFindItem = new FCKToolbarButton( 'My_Find', FCKLang['DlgMyFindTitle'] ) ;
-oFindItem.IconPath = FCKConfig.PluginsPath + 'findreplace/find.gif' ;
-
-FCKToolbarItems.RegisterItem( 'My_Find', oFindItem ) ; // 'My_Find' is the name used in the Toolbar config.
-
-// Create the "Replace" toolbar button.
-var oReplaceItem = new FCKToolbarButton( 'My_Replace', FCKLang['DlgMyReplaceTitle'] ) ;
-oReplaceItem.IconPath = FCKConfig.PluginsPath + 'findreplace/replace.gif' ;
-
-FCKToolbarItems.RegisterItem( 'My_Replace', oReplaceItem ) ; // 'My_Replace' is the name used in the Toolbar config.
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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.
+FCKCommands.RegisterCommand( 'My_Find' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'] , FCKLang['DlgMyFindTitle'] , FCKConfig.PluginsPath + 'findreplace/find.html' , 340, 170 ) ) ;
+FCKCommands.RegisterCommand( 'My_Replace' , new FCKDialogCommand( FCKLang['DlgMyReplaceTitle'], FCKLang['DlgMyReplaceTitle'] , FCKConfig.PluginsPath + 'findreplace/replace.html', 340, 200 ) ) ;
+
+// Create the "Find" toolbar button.
+var oFindItem = new FCKToolbarButton( 'My_Find', FCKLang['DlgMyFindTitle'] ) ;
+oFindItem.IconPath = FCKConfig.PluginsPath + 'findreplace/find.gif' ;
+
+FCKToolbarItems.RegisterItem( 'My_Find', oFindItem ) ; // 'My_Find' is the name used in the Toolbar config.
+
+// Create the "Replace" toolbar button.
+var oReplaceItem = new FCKToolbarButton( 'My_Replace', FCKLang['DlgMyReplaceTitle'] ) ;
+oReplaceItem.IconPath = FCKConfig.PluginsPath + 'findreplace/replace.gif' ;
+
+FCKToolbarItems.RegisterItem( 'My_Replace', oReplaceItem ) ; // 'My_Replace' is the name used in the Toolbar config.
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js
index df00c166f9..8242cc94f8 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js
@@ -1,33 +1,33 @@
-/*
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2008 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- * - GNU General Public License Version 2 or later (the "GPL")
- * http://www.gnu.org/licenses/gpl.html
- *
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- * http://www.gnu.org/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' ;
-FCKLang['DlgMyReplaceFindLbl'] = 'Find what:' ;
-FCKLang['DlgMyReplaceReplaceLbl'] = 'Replace with:' ;
-FCKLang['DlgMyReplaceCaseChk'] = 'Match case' ;
-FCKLang['DlgMyReplaceReplaceBtn'] = 'Replace' ;
-FCKLang['DlgMyReplaceReplAllBtn'] = 'Replace All' ;
-FCKLang['DlgMyReplaceWordChk'] = 'Match whole word' ;
-
-FCKLang['DlgMyFindTitle'] = 'Plugin - Find' ;
-FCKLang['DlgMyFindFindBtn'] = 'Find' ;
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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' ;
+FCKLang['DlgMyReplaceFindLbl'] = 'Find what:' ;
+FCKLang['DlgMyReplaceReplaceLbl'] = 'Replace with:' ;
+FCKLang['DlgMyReplaceCaseChk'] = 'Match case' ;
+FCKLang['DlgMyReplaceReplaceBtn'] = 'Replace' ;
+FCKLang['DlgMyReplaceReplAllBtn'] = 'Replace All' ;
+FCKLang['DlgMyReplaceWordChk'] = 'Match whole word' ;
+
+FCKLang['DlgMyFindTitle'] = 'Plugin - Find' ;
+FCKLang['DlgMyFindFindBtn'] = 'Find' ;
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js
index 9aba775683..9cc5bc8282 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js
@@ -1,33 +1,33 @@
-/*
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2008 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- * - GNU General Public License Version 2 or later (the "GPL")
- * http://www.gnu.org/licenses/gpl.html
- *
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- * http://www.gnu.org/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' ;
-FCKLang['DlgMyReplaceFindLbl'] = 'Chercher:' ;
-FCKLang['DlgMyReplaceReplaceLbl'] = 'Remplacer par:' ;
-FCKLang['DlgMyReplaceCaseChk'] = 'Respecter la casse' ;
-FCKLang['DlgMyReplaceReplaceBtn'] = 'Remplacer' ;
-FCKLang['DlgMyReplaceReplAllBtn'] = 'Remplacer Tout' ;
-FCKLang['DlgMyReplaceWordChk'] = 'Mot entier' ;
-
-FCKLang['DlgMyFindTitle'] = 'Plugin - Chercher' ;
-FCKLang['DlgMyFindFindBtn'] = 'Chercher' ;
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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' ;
+FCKLang['DlgMyReplaceFindLbl'] = 'Chercher:' ;
+FCKLang['DlgMyReplaceReplaceLbl'] = 'Remplacer par:' ;
+FCKLang['DlgMyReplaceCaseChk'] = 'Respecter la casse' ;
+FCKLang['DlgMyReplaceReplaceBtn'] = 'Remplacer' ;
+FCKLang['DlgMyReplaceReplAllBtn'] = 'Remplacer Tout' ;
+FCKLang['DlgMyReplaceWordChk'] = 'Mot entier' ;
+
+FCKLang['DlgMyFindTitle'] = 'Plugin - Chercher' ;
+FCKLang['DlgMyFindFindBtn'] = 'Chercher' ;
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js
index 414081ab7a..5cc080b66d 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js
@@ -1,33 +1,33 @@
-/*
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2008 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- * - GNU General Public License Version 2 or later (the "GPL")
- * http://www.gnu.org/licenses/gpl.html
- *
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- * http://www.gnu.org/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' ;
-FCKLang['DlgMyReplaceFindLbl'] = 'Trova:' ;
-FCKLang['DlgMyReplaceReplaceLbl'] = 'Sostituisci con:' ;
-FCKLang['DlgMyReplaceCaseChk'] = 'Maiuscole/minuscole' ;
-FCKLang['DlgMyReplaceReplaceBtn'] = 'Sostituisci' ;
-FCKLang['DlgMyReplaceReplAllBtn'] = 'Sostituisci tutto' ;
-FCKLang['DlgMyReplaceWordChk'] = 'Parola intera' ;
-
-FCKLang['DlgMyFindTitle'] = 'Plugin - Cerca' ;
-FCKLang['DlgMyFindFindBtn'] = 'Cerca' ;
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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' ;
+FCKLang['DlgMyReplaceFindLbl'] = 'Trova:' ;
+FCKLang['DlgMyReplaceReplaceLbl'] = 'Sostituisci con:' ;
+FCKLang['DlgMyReplaceCaseChk'] = 'Maiuscole/minuscole' ;
+FCKLang['DlgMyReplaceReplaceBtn'] = 'Sostituisci' ;
+FCKLang['DlgMyReplaceReplAllBtn'] = 'Sostituisci tutto' ;
+FCKLang['DlgMyReplaceWordChk'] = 'Parola intera' ;
+
+FCKLang['DlgMyFindTitle'] = 'Plugin - Cerca' ;
+FCKLang['DlgMyFindFindBtn'] = 'Cerca' ;
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js b/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js
index b2ac6de6ef..fbf48e1197 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js
@@ -1,73 +1,73 @@
-/*
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2008 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- * - GNU General Public License Version 2 or later (the "GPL")
- * http://www.gnu.org/licenses/gpl.html
- *
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- * http://www.gnu.org/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.
-var oMyBigStyleCombo = new FCKToolbarStyleCombo() ;
-oMyBigStyleCombo.FieldWidth = 250 ;
-oMyBigStyleCombo.PanelWidth = 300 ;
-FCKToolbarItems.RegisterItem( 'My_BigStyle', oMyBigStyleCombo ) ;
-
-
-// ##### Defining a custom context menu entry.
-
-// ## 1. Define the command to be executed when selecting the context menu item.
-var oMyCMCommand = new Object() ;
-oMyCMCommand.Name = 'OpenImage' ;
-
-// This is the standard function used to execute the command (called when clicking in the context menu item).
-oMyCMCommand.Execute = function()
-{
- // This command is called only when an image element is selected (IMG).
- // Get image URL (src).
- var sUrl = FCKSelection.GetSelectedElement().src ;
-
- // Open the URL in a new window.
- window.top.open( sUrl ) ;
-}
-
-// This is the standard function used to retrieve the command state (it could be disabled for some reason).
-oMyCMCommand.GetState = function()
-{
- // Let's make it always enabled.
- return FCK_TRISTATE_OFF ;
-}
-
-// ## 2. Register our custom command.
-FCKCommands.RegisterCommand( 'OpenImage', oMyCMCommand ) ;
-
-// ## 3. Define the context menu "listener".
-var oMyContextMenuListener = new Object() ;
-
-// This is the standard function called right before sowing the context menu.
-oMyContextMenuListener.AddItems = function( contextMenu, tag, tagName )
-{
- // Let's show our custom option only for images.
- if ( tagName == 'IMG' )
- {
- contextMenu.AddSeparator() ;
- contextMenu.AddItem( 'OpenImage', 'Open image in a new window (Custom)' ) ;
- }
-}
-
-// ## 4. Register our context menu listener.
-FCK.ContextMenu.RegisterListener( oMyContextMenuListener ) ;
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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.
+var oMyBigStyleCombo = new FCKToolbarStyleCombo() ;
+oMyBigStyleCombo.FieldWidth = 250 ;
+oMyBigStyleCombo.PanelWidth = 300 ;
+FCKToolbarItems.RegisterItem( 'My_BigStyle', oMyBigStyleCombo ) ;
+
+
+// ##### Defining a custom context menu entry.
+
+// ## 1. Define the command to be executed when selecting the context menu item.
+var oMyCMCommand = new Object() ;
+oMyCMCommand.Name = 'OpenImage' ;
+
+// This is the standard function used to execute the command (called when clicking in the context menu item).
+oMyCMCommand.Execute = function()
+{
+ // This command is called only when an image element is selected (IMG).
+ // Get image URL (src).
+ var sUrl = FCKSelection.GetSelectedElement().src ;
+
+ // Open the URL in a new window.
+ window.top.open( sUrl ) ;
+}
+
+// This is the standard function used to retrieve the command state (it could be disabled for some reason).
+oMyCMCommand.GetState = function()
+{
+ // Let's make it always enabled.
+ return FCK_TRISTATE_OFF ;
+}
+
+// ## 2. Register our custom command.
+FCKCommands.RegisterCommand( 'OpenImage', oMyCMCommand ) ;
+
+// ## 3. Define the context menu "listener".
+var oMyContextMenuListener = new Object() ;
+
+// This is the standard function called right before sowing the context menu.
+oMyContextMenuListener.AddItems = function( contextMenu, tag, tagName )
+{
+ // Let's show our custom option only for images.
+ if ( tagName == 'IMG' )
+ {
+ contextMenu.AddSeparator() ;
+ contextMenu.AddItem( 'OpenImage', 'Open image in a new window (Custom)' ) ;
+ }
+}
+
+// ## 4. Register our context menu listener.
+FCK.ContextMenu.RegisterListener( oMyContextMenuListener ) ;
diff --git a/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp b/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp
index 368d778fbd..d1ab578e1f 100644
--- a/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp
+++ b/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp
@@ -27,17 +27,20 @@
diff --git a/phpgwapi/js/fckeditor/_samples/html/sample01.html b/phpgwapi/js/fckeditor/_samples/html/sample01.html
index c22457bd2f..ab55f7da91 100644
--- a/phpgwapi/js/fckeditor/_samples/html/sample01.html
+++ b/phpgwapi/js/fckeditor/_samples/html/sample01.html
@@ -37,7 +37,7 @@
This sample displays a normal HTML form with an FCKeditor with full features enabled.
-
-
-