diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js
index 15b782d2a2..1edee89c51 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/fckplugin.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckplugin.js
- * This is the sample plugin definition file.
- *
- * File Authors:
- * 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 is the sample plugin definition file.
*/
// Register the related commands.
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/find.html b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/find.html
index 4df5ac92d8..d92b34190d 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/find.html
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/find.html
@@ -1,21 +1,25 @@
-
+
@@ -30,7 +34,7 @@ function OnLoad()
// Whole word is available on IE only.
if ( oEditor.FCKBrowserInfo.IsIE )
document.getElementById('divWord').style.display = '' ;
-
+
// First of all, translate the dialog box texts.
oEditor.FCKLanguageManager.TranslatePage( document ) ;
@@ -39,7 +43,7 @@ function OnLoad()
function btnStat(frm)
{
- document.getElementById('btnFind').disabled =
+ document.getElementById('btnFind').disabled =
( document.getElementById('txtFind').value.length == 0 ) ;
}
@@ -73,11 +77,11 @@ function GetRegexExpr()
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
else
var sExpr = document.getElementById('txtFind').value ;
-
+
return sExpr ;
}
-function GetCase()
+function GetCase()
{
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
}
@@ -86,7 +90,7 @@ function Ok()
{
if ( document.getElementById('txtFind').value.length == 0 )
return ;
-
+
if ( oEditor.FCKBrowserInfo.IsIE )
FindIE() ;
else
@@ -101,15 +105,15 @@ function FindIE()
oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
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 )
{
oRange.scrollIntoView() ;
@@ -128,10 +132,10 @@ function FindGecko()
{
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 ) ;
-
+
}
@@ -154,11 +158,11 @@ function FindGecko()
-
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js
index 4aa05dfb35..785ab9d8e7 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/en.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: en.js
- * English language file for the sample plugin.
- *
- * File Authors:
- * 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 ==
+ *
+ * English language file for the sample plugin.
*/
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Replace' ;
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js
index 691ad32eb2..553d2f6047 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/fr.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fr.js
- * French language file for the sample plugin.
- *
- * File Authors:
- * Benjamin Cartereau (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' ;
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js
index 80f68b4a3f..0f4bfb469b 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/lang/it.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: it.js
- * Italian language file for the sample plugin.
- *
- * File Authors:
- * 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 ==
+ *
+ * Italian language file for the sample plugin.
*/
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Sostituisci' ;
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/replace.html b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/replace.html
index 39f05252dc..62946aed8f 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/replace.html
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/findreplace/replace.html
@@ -1,21 +1,25 @@
-
+
@@ -35,8 +39,8 @@ function OnLoad()
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 ) ;
}
@@ -61,7 +65,7 @@ function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound
if ( ! replaceAll && hasFound )
return true ;
}
-
+
return hasFound ;
}
@@ -71,11 +75,11 @@ function GetRegexExpr()
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
else
var sExpr = document.getElementById('txtFind').value ;
-
+
return sExpr ;
}
-function GetCase()
+function GetCase()
{
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
}
@@ -109,7 +113,7 @@ function ReplaceAll()
-
Replace
+
Replace
with:
@@ -119,10 +123,10 @@ function ReplaceAll()
-
Match
+
Match
case
- Match
+ Match
whole word
diff --git a/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js b/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js
index 1beda7bd32..fee230a835 100644
--- a/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js
+++ b/phpgwapi/js/fckeditor/_samples/_plugins/samples/fckplugin.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckplugin.js
- * This is a sample plugin definition file.
- *
- * File Authors:
- * 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 is a sample plugin definition file.
*/
// Here we define our custom Style combo, with custom widths.
@@ -36,7 +40,7 @@ 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 ) ;
}
diff --git a/phpgwapi/js/fckeditor/_samples/afp/fck.afpa.code b/phpgwapi/js/fckeditor/_samples/afp/fck.afpa.code
index ce27a54039..401ee905a9 100644
--- a/phpgwapi/js/fckeditor/_samples/afp/fck.afpa.code
+++ b/phpgwapi/js/fckeditor/_samples/afp/fck.afpa.code
@@ -1,4 +1,26 @@
-DEFINE CLASS fckeditor AS custom
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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
cInstanceName =""
BasePath =""
cWIDTH =""
@@ -11,7 +33,7 @@ DEFINE CLASS fckeditor AS custom
FUNCTION fckeditor( tcInstanceName )
LOCAL lnLoop,lnLoop2
THIS.cInstanceName = tcInstanceName
- THIS.BasePath = '../../'
+ THIS.BasePath = '../../../FCKeditor/'
THIS.cWIDTH = '100%'
THIS.cHEIGHT = '200'
THIS.ToolbarSet = 'Default'
@@ -41,8 +63,8 @@ DEFINE CLASS fckeditor AS custom
IF THIS.IsCompatible()
lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName
- IF ( THIS.ToolbarSet # '' )
- lcLink = lcLink + [Toolbar=]+THIS.ToolbarSet
+ IF ( !THIS.ToolbarSet == '' )
+ lcLink = lcLink + [&Toolbar=]+THIS.ToolbarSet
ENDIF
&& Render the LINKED HIDDEN FIELD.
@@ -52,7 +74,7 @@ DEFINE CLASS fckeditor AS custom
html = html + [] +CHR(13)+CHR(10)
&& Render the EDITOR IFRAME.
- html = html + []
+ html = html + []
ELSE
IF ( AT("%", THIS.cWIDTH)=0 )
WidthCSS = THIS.cWIDTH + 'px'
@@ -117,5 +139,28 @@ DEFINE CLASS fckeditor AS custom
NEXT
RETURN(sParams)
ENDFUNC
+&& -----------------------------------------------------------------------
+&& This function removes unwanted characters in URL parameters mostly entered by hackers
+
+ FUNCTION StripAttacks
+ LPARAMETERS tcString
+ IF !EMPTY(tcString)
+ tcString=STRTRAN(tcString,"&","")
+ tcString=STRTRAN(tcString,"?","")
+ tcString=STRTRAN(tcString,";","")
+ tcString=STRTRAN(tcString,"!","")
+ tcString=STRTRAN(tcString,"<%","")
+ tcString=STRTRAN(tcString,"%>","")
+ tcString=STRTRAN(tcString,"<","")
+ tcString=STRTRAN(tcString,">","")
+ tcString=STRTRAN(tcString,"..","")
+ tcString=STRTRAN(tcString,"/","")
+ tcString=STRTRAN(tcString,"\","")
+ tcString=STRTRAN(tcString,":","")
+ ELSE
+ tcString=""
+ ENDIF
+ RETURN (tcString)
+
ENDDEFINE
diff --git a/phpgwapi/js/fckeditor/_samples/afp/sample01.afp b/phpgwapi/js/fckeditor/_samples/afp/sample01.afp
index 67e2888280..6b770b3f35 100644
--- a/phpgwapi/js/fckeditor/_samples/afp/sample01.afp
+++ b/phpgwapi/js/fckeditor/_samples/afp/sample01.afp
@@ -1,26 +1,30 @@
-<%
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2004 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.php
- * This page lists the data posted by a form.
- *
- * Version: 1.0
- * Modified: 2005-07-01
- *
- * 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.
+ *
%>
- FCKeditor - Sample
+ FCKeditor - AFP Sample 1
@@ -32,17 +36,17 @@
+
+
diff --git a/phpgwapi/js/fckeditor/_samples/afp/sample03.afp b/phpgwapi/js/fckeditor/_samples/afp/sample03.afp
new file mode 100644
index 0000000000..3d7fd17a8a
--- /dev/null
+++ b/phpgwapi/js/fckeditor/_samples/afp/sample03.afp
@@ -0,0 +1,91 @@
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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)
+ *
+%>
+
+
+
+ FCKeditor - AFP Sample 3
+
+
+
+
+
+
+
+
FCKeditor - AFP - Sample 3
+ This sample shows how to change the editor toolbar.
+
+
+
+
+ Select the toolbar to load:
+
+
+
+
+
+
+
+
+
+
diff --git a/phpgwapi/js/fckeditor/_samples/afp/sample04.afp b/phpgwapi/js/fckeditor/_samples/afp/sample04.afp
new file mode 100644
index 0000000000..fb878b872d
--- /dev/null
+++ b/phpgwapi/js/fckeditor/_samples/afp/sample04.afp
@@ -0,0 +1,98 @@
+<%
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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)
+ *
+%>
+
+
+
+ FCKeditor - AFP Sample 4
+
+
+
+
+
+
+
+
FCKeditor - AFP - Sample 4
+ This sample shows how to change the editor skin.
+
+
+
+
+ Select the skin to load:
+
+
+
+
+
+
+
+
+
+
diff --git a/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp b/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp
index 68e6d49a35..c3464f6106 100644
--- a/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp
+++ b/phpgwapi/js/fckeditor/_samples/afp/sampleposteddata.afp
@@ -1,26 +1,30 @@
-<%
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2004 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.php
- * This page lists the data posted by a form.
- *
- * Version: 1.0
- * Modified: 2005-07-01
- *
- * 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.
+ *
%>
- FCKeditor - Samples - Posted Data
+ FCKeditor - AFP - Samples - Posted Data
@@ -41,10 +45,12 @@
FOR lnLoop=1 TO MEMLINES(lcForm)
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,"<","<")
+ lcWert=STRTRAN(lcWert,">",">") && ... if wanted remove/translate HTML Chars ...
+
? [
]+lcVariable+[ =
]+lcWert+[
]
ENDIF
NEXT
diff --git a/phpgwapi/js/fckeditor/_samples/asp/sample01.asp b/phpgwapi/js/fckeditor/_samples/asp/sample01.asp
index 3c79eb15af..e3026bc00f 100644
--- a/phpgwapi/js/fckeditor/_samples/asp/sample01.asp
+++ b/phpgwapi/js/fckeditor/_samples/asp/sample01.asp
@@ -1,22 +1,26 @@
<%@ codepage="65001" language="VBScript" %>
<% Option Explicit %>
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
diff --git a/phpgwapi/js/fckeditor/_samples/asp/sample02.asp b/phpgwapi/js/fckeditor/_samples/asp/sample02.asp
index 2347185ddc..a57dc6d78e 100644
--- a/phpgwapi/js/fckeditor/_samples/asp/sample02.asp
+++ b/phpgwapi/js/fckeditor/_samples/asp/sample02.asp
@@ -1,22 +1,26 @@
<%@ CodePage=65001 Language="VBScript"%>
<% Option Explicit %>
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
@@ -37,7 +41,7 @@ function FCKeditor_OnComplete( editorInstance )
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
}
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
-}
+}
function AddComboOption(combo, optionText, optionValue)
{
@@ -47,7 +51,7 @@ function AddComboOption(combo, optionText, optionValue)
oOption.innerHTML = optionText ;
oOption.value = optionValue ;
-
+
return oOption ;
}
diff --git a/phpgwapi/js/fckeditor/_samples/asp/sample03.asp b/phpgwapi/js/fckeditor/_samples/asp/sample03.asp
index 4aa8be1db3..a85be43ae2 100644
--- a/phpgwapi/js/fckeditor/_samples/asp/sample03.asp
+++ b/phpgwapi/js/fckeditor/_samples/asp/sample03.asp
@@ -1,22 +1,26 @@
<%@ CodePage=65001 Language="VBScript"%>
<% Option Explicit %>
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
diff --git a/phpgwapi/js/fckeditor/_samples/asp/sample04.asp b/phpgwapi/js/fckeditor/_samples/asp/sample04.asp
index 19caaea165..365717c4d2 100644
--- a/phpgwapi/js/fckeditor/_samples/asp/sample04.asp
+++ b/phpgwapi/js/fckeditor/_samples/asp/sample04.asp
@@ -1,22 +1,26 @@
<%@ CodePage=65001 Language="VBScript"%>
<% Option Explicit %>
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
@@ -32,11 +36,11 @@
function FCKeditor_OnComplete( editorInstance )
{
var oCombo = document.getElementById( 'cmbSkins' ) ;
-
+
// Get the active skin.
var sSkin = editorInstance.Config['SkinPath'] ;
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
-
+
oCombo.value = sSkin ;
oCombo.style.visibility = '' ;
}
diff --git a/phpgwapi/js/fckeditor/_samples/asp/sampleposteddata.asp b/phpgwapi/js/fckeditor/_samples/asp/sampleposteddata.asp
index 9b008b973e..7e11b1948a 100644
--- a/phpgwapi/js/fckeditor/_samples/asp/sampleposteddata.asp
+++ b/phpgwapi/js/fckeditor/_samples/asp/sampleposteddata.asp
@@ -1,22 +1,26 @@
<%@ CodePage=65001 Language="VBScript"%>
<% Option Explicit %>
@@ -35,9 +39,9 @@
Field Name
Value
- <%
+ <%
Dim sForm
- For Each sForm in Request.Form
+ For Each sForm in Request.Form
%>
[#118] The SelectAll
+ command now is available in Source Mode.
+
The new open source FCKpackager sub-project is now available. It replaces the FCKeditor.Packager
+ software to compact the editor source.
+
With Firefox, if a paste execution is blocked by the browser security settings,
+ the new "Paste" popup is shown to the user to complete the pasting operation.
+
+
+ Fixed Bugs:
+
+
Various fixes to the ColdFusion File Browser connector.
+
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 mirrors link changes (and they change it frequently).
+
The Word cleanup has been changed to remove "display:none" tags that may come from
+ Word.
+
[SF
+ BUG-1659613] The 2.4 version introduced a bug in the flash handling code that
+ generated out of memory errors in IE7.
[#114] The correct
+ entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.
+
[#90] The editor
+ was wrongly removing some <br> tags from the code.
+
[#139] The CTRL+F
+ and CTRL+S keystroke default behaviors are now preserved.
+
[#138] We are
+ not providing a CTRL + ALT combination in the default configuration file because
+ it may be incompatible with some keyboard layouts. So, the CTRL + ALT + S combination
+ has been changed to CTRL + SHIFT + S.
+
[#129] In IE,
+ it was not possible to paste if "Allow paste operation via script" was disabled
+ in the browser security settings.
+
[#112] The enter
+ key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.
+
[#152] Invalid
+ self-closing tags are now being fixed before loading.
+
A few tags were being ignored to the check for required contents (not getting stripped
+ out, as expected). Fixed.
+
[#202] The HR
+ tag will not anymore break the contents loaded in the editor.
+
[#211] Some invalid
+ inputs, like "<p>" where making the caret disappear in Firefox.
+
[#99] The <div>
+ element is now considered a block container if EnterMode=p|br. It acts like a simple
+ block only if EnterMode=div.
+
Hidden fields will now show up as an icon in IE, instead of a normal text field.
+ They are also selectable and draggable, in all browsers.
+
[#213] Styles
+ are now preserved when hitting enter at the end of a paragraph.
+
[#77] If ShiftEnterMode
+ is set to a block tag (p or div), the desired block creation in now enforced, instead
+ of copying the current block (which is still the behavior of the simple enter).
+
[#209] Links and
+ images URLs will now be correctly preserved with Netscape 7.1.
+
[#165] The enter
+ key now honors the EnterMode settings when outdenting a list item.
+
[#190] Toolbars
+ may be wrongly positioned. Fixed.
+
[#254] The IgnoreEmptyParagraphValue
+ setting is now correctly handled in Firefox.
+
[#248] The behavior
+ of the backspace key has been fixed on some very specific cases.
The new and powerful Keyboard Accelerator System is being introduced.
+ You can now precisely control the commands to execute when some key combinations
+ are activated by the user. It guarantees that all browsers will have the same behavior
+ regarding the shortcuts.
+ It also makes it possible to remove buttons from the toolbar and still invoke their
+ features by using the keyboard instead.
+
+ It also blocks all default "CTRL based shortcuts" imposed by the browsers, so if
+ you don't want users to underline text, just remove the CTRL+U combination from
+ the keystrokes table. Take a look at the FCKConfig.Keystrokes setting in the fckconfig.js
+ file.
+
The new "ProtectedTags" configuration option is being introduced.
+ It will accept a list of tags (separated by a pipe "|"), which will have no effect
+ during editing, but will still be part of the document DOM. This can be used mainly
+ for non HTML standard, custom tags.
+
Dialog box commands can now open resizable dialogs (by setting oCommand.Resizable
+ = true).
+
Updated support for AFP. Thanks to Soenke Freitag.
+
New language file:
+
Afrikaans (by Willem Petrus Botha).
+
+
+
[SF
+ Patch-1456343] New sample file showing how to dynamically exchange a textarea
+ and an instance of FCKeditor. Thanks to Finn Hakansson
[SF
+ Patch-1472654] The server side script location for SpellerPages can now be set
+ in the configuration file, by using the SpellerPagesServerScript setting.
+
Attention: 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.
+
Attention: The UseBROnCarriageReturn configuration
+ is not anymore valid. The EnterMode setting can now be used to precisely set the
+ enter key behavior.
[SF
+ BUG-1015230] Toolbar buttons now update their state on shortcut keys activation.
+
[SF
+ BUG-1485621] It is now possible to precisely control which shortcut keys can
+ be used.
+
[SF
+ BUG-1573714] [SF
+ BUG-1593323] Paste was not working in IE if both AutoDetectPasteFromWord
+ and ForcePasteAsPlainText settings were set to "false".
+
[SF
+ BUG-1578306] The context menu was wrongly positioned if the editing document
+ was set to render in strict mode. Thanks to Alfonso Martinez.
Fixed Safari and Opera detection system (for development purposes only).
+
Paste from Notepad was including font information in IE. Fixed.
+
[SF
+ BUG-1584092] When replacing text area, names with spaces are now accepted.
+
Depending on the implementation of toolbar combos (mainly for custom plugins) the
+ editor area was loosing the focus when clicking in the combo label. Fixed.
+
[SF
+ BUG-1596937] InsertHtml() was inserting the HTML outside the editor area on
+ some very specific cases.
+
[SF
+ BUG-1585548] On very specific, rare and strange cases, the XHTML processor was
+ not working properly in IE. Fixed.
[SF
+ BUG-1515441] [SF
+ BUG-1451071] The "Insert/Edit Link" and "Select All" buttons are now working
+ properly when the editor is running on a IE Modal dialog.
+
On some very rare cases, IE was throwing a memory error when hiding the context
+ menus. Fixed.
[SF
+ BUG-1535946] The IE dialog system has been changed to better work with custom
+ dialogs.
+
[SF
+ BUG-1599520] The table dialog was producing empty tags when leaving some of
+ its fields empty.
+
[SF
+ BUG-1599545] HTML entities are now processed on attribute values too.
+
[SF
+ BUG-1598517] Meta tags are now protected from execution during editing (avoiding
+ the "redirect" meta to be activated).
+
[SF
+ BUG-1415601] Firefox internals: styleWithCSS is used instead of the deprecated
+ useCSS whenever possible.
+
All JavaScript Core extension function have been renamed to "PascalCase" (some were
+ in "camelCase"). This may have impact on plugins that use any of those functions.
+
[SF
+ BUG-1592311] Operations in the caption of tables are now working correctly in
+ both browsers.
[SF
+ BUG-1577247] Unneeded call to captureEvents and releaseEvents.
+
[SF
+ BUG-1610790] 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.
+
[SF
+ BUG-1613167] If the configuration was missing the FCKConfig.AdditionalNumericEntities
+ entry an error appeared.
The project has been relicensed under the terms of the
+ GPL / LGPL / MPL licenses. This change will remove many licensing compatibility
+ issues with other open source licenses, making the editor even more "open" than
+ before.
+
Attention: The default directory in the distribution
+ package is now named "fckeditor" (in lowercase) instead of "FCKeditor". This
+ change may impact installations on case sensitive OSs, like Linux.
+
Attention: 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.
+
Version 2.3.2
@@ -261,8 +562,9 @@
New Features and Improvements:
The Toolbar Sharing system has been completed. See sample10.html
- and sample11.html.*
[SF
- Patch-1407500] Small enhancement to the Find and Replace dialog windows.
+ and sample11.html.*
+
[SF
+ Patch-1407500] Small enhancement to the Find and Replace dialog windows.
Fixed Bugs:
@@ -272,8 +574,8 @@
An error in the image preloader system was making the toolbar strip being downloaded
once for each button on slow connections. Some enhancements have also been made
- so now the smaple05.html is loading fast for all skins.
Fixed many memory leak
- issues with IE.
+ so now the smaple05.html is loading fast for all skins.
+
Fixed many memory leak issues with IE.
[SF
BUG-1489768] The panels (context menus, toolbar combos and color selectors),
where being displayed in the wrong position if the contents of the editor, or its
@@ -415,10 +717,11 @@
Important security fixes have been applied to the File Manager, Uploader
and Connectors. Upgrade is highly recommended. Thanks to Alberto Moro,
- Baudouin Lamourere and James Bercegay.
[SF
- BUG-1399966] [SF
- BUG-1249853] The "BaseHref" configuration is now working with
- Firefox in both normal and full page modes.
+ Baudouin Lamourere and James Bercegay.
+
[SF
+ BUG-1399966] [SF
+ BUG-1249853] The "BaseHref" configuration is now working with
+ Firefox in both normal and full page modes.
[SF
BUG-1405263] A typo in the configuration file was impacting the Quick Upload
feature.
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckcontextmenu.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckcontextmenu.js
index f357abb8df..2d30eefdd2 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckcontextmenu.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckcontextmenu.js
@@ -1,35 +1,42 @@
/*
- * 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?"
- *
- * File Name: fckcontextmenu.js
- * FCKContextMenu Class: renders an control a context menu.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKContextMenu Class: renders an control a context menu.
*/
-var FCKContextMenu = function( parentWindow, mouseClickWindow, langDir )
+var FCKContextMenu = function( parentWindow, langDir )
{
var oPanel = this._Panel = new FCKPanel( parentWindow, true ) ;
oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ;
oPanel.IsContextMenu = true ;
-
+
+ // The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla
+ // so we stop the start of the dragging
+ if ( FCKBrowserInfo.IsGecko )
+ oPanel.Document.addEventListener( 'draggesture', function(e) {e.preventDefault(); return false;}, true ) ;
+
var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ;
oMenuBlock.Panel = oPanel ;
oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ;
-
+
this._Redraw = true ;
-
- this.SetMouseClickWindow( mouseClickWindow || parentWindow ) ;
}
@@ -74,7 +81,7 @@ FCKContextMenu.prototype.AttachToElement = function( element )
function FCKContextMenu_Document_OnContextMenu( e )
{
var el = e.target ;
-
+
while ( el )
{
if ( el._FCKContextMenu )
@@ -100,19 +107,23 @@ function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el )
if ( fckContextMenu._MenuBlock.Count() == 0 )
return false ;
-
+
if ( fckContextMenu._Redraw )
{
fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ;
fckContextMenu._Redraw = false ;
}
+
+ // This will avoid that the content of the context menu can be dragged in IE
+ // as the content of the panel is recreated we need to do it every time
+ FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ;
- 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 ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js
new file mode 100644
index 0000000000..f7c7b1b247
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js
@@ -0,0 +1,46 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 )
+{
+ this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ;
+}
+
+FCKDocumentFragment.prototype =
+{
+
+ // Append the contents of this Document Fragment to another element.
+ AppendTo : function( targetNode )
+ {
+ targetNode.appendChild( this.RootNode ) ;
+ },
+
+ InsertAfterNode : function( existingNode )
+ {
+ FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ;
+ }
+}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js
new file mode 100644
index 0000000000..3ea539f0c9
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js
@@ -0,0 +1,58 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 )
+{
+ this._Document = parentDocument ;
+ this.RootNode = parentDocument.createElement( 'div' ) ;
+}
+
+// Append the contents of this Document Fragment to another node.
+FCKDocumentFragment.prototype =
+{
+
+ 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 ) ) ;
+ }
+} ;
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange.js
new file mode 100644
index 0000000000..0471336cc3
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange.js
@@ -0,0 +1,452 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 )
+{
+ this.Window = sourceWindow ;
+}
+
+FCKDomRange.prototype =
+{
+
+ _UpdateElementInfo : function()
+ {
+ if ( !this._Range )
+ this.Release( true ) ;
+ else
+ {
+ var eStart = this._Range.startContainer ;
+ var eEnd = this._Range.endContainer ;
+
+ var oElementPath = new FCKElementPath( eStart ) ;
+ this.StartContainer = oElementPath.LastElement ;
+ this.StartBlock = oElementPath.Block ;
+ this.StartBlockLimit = oElementPath.BlockLimit ;
+
+ if ( eStart != eEnd )
+ oElementPath = new FCKElementPath( eEnd ) ;
+ this.EndContainer = oElementPath.LastElement ;
+ this.EndBlock = oElementPath.Block ;
+ this.EndBlockLimit = oElementPath.BlockLimit ;
+ }
+ },
+
+ CreateRange : function()
+ {
+ return new FCKW3CRange( this.Window.document ) ;
+ },
+
+ DeleteContents : function()
+ {
+ if ( this._Range )
+ {
+ this._Range.deleteContents() ;
+ this._UpdateElementInfo() ;
+ }
+ },
+
+ ExtractContents : function()
+ {
+ if ( this._Range )
+ {
+ var docFrag = this._Range.extractContents() ;
+ this._UpdateElementInfo() ;
+ return docFrag ;
+ }
+ },
+
+ CheckIsCollapsed : function()
+ {
+ if ( this._Range )
+ return this._Range.collapsed ;
+ },
+
+ Collapse : function( toStart )
+ {
+ if ( this._Range )
+ this._Range.collapse( toStart ) ;
+
+ this._UpdateElementInfo() ;
+ },
+
+ Clone : function()
+ {
+ var oClone = FCKTools.CloneObject( this ) ;
+
+ if ( this._Range )
+ oClone._Range = this._Range.cloneRange() ;
+
+ return oClone ;
+ },
+
+ MoveToNodeContents : function( targetNode )
+ {
+ if ( !this._Range )
+ this._Range = this.CreateRange() ;
+
+ this._Range.selectNodeContents( targetNode ) ;
+
+ this._UpdateElementInfo() ;
+ },
+
+ MoveToElementStart : function( targetElement )
+ {
+ this.SetStart(targetElement,1) ;
+ this.SetEnd(targetElement,1) ;
+ },
+
+ // Moves to the first editing point inside a element. For example, in a
+ // element tree like "
Text
", the start editing point
+ // is "
^ Text
" (inside ).
+ MoveToElementEditStart : function( targetElement )
+ {
+ var child ;
+
+ while ( ( child = targetElement.firstChild ) && child.nodeType == 1 && FCKListsLib.EmptyElements[ child.nodeName.toLowerCase() ] == null )
+ targetElement = child ;
+
+ this.MoveToElementStart( targetElement ) ;
+ },
+
+ InsertNode : function( node )
+ {
+ if ( this._Range )
+ this._Range.insertNode( node ) ;
+ },
+
+ CheckIsEmpty : function( ignoreEndBRs )
+ {
+ if ( this.CheckIsCollapsed() )
+ return true ;
+
+ // Inserts the contents of the range in a div tag.
+ var eToolDiv = this.Window.document.createElement( 'div' ) ;
+ this._Range.cloneContents().AppendTo( eToolDiv ) ;
+
+ FCKDomTools.TrimNode( eToolDiv, ignoreEndBRs ) ;
+
+ return ( eToolDiv.innerHTML.length == 0 ) ;
+ },
+
+ CheckStartOfBlock : function()
+ {
+ // 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( 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.CheckIsCollapsed() ;
+
+ if ( !bIsEndOfBlock )
+ {
+ // Inserts the contents of the range in a div tag.
+ var eToolDiv = this.Window.document.createElement( 'div' ) ;
+ oTestRange._Range.cloneContents().AppendTo( eToolDiv ) ;
+ FCKDomTools.TrimNode( eToolDiv, true ) ;
+
+ // Find out if we are in an empty tree of inline elements, like
+ bIsEndOfBlock = true ;
+ var eLastChild = eToolDiv ;
+ while ( ( eLastChild = eLastChild.lastChild ) )
+ {
+ // Check the following:
+ // 1. Is there more than one node in the parents children?
+ // 2. Is the node not an element node?
+ // 3. Is it not a inline element.
+ if ( eLastChild.previousSibling || eLastChild.nodeType != 1 || FCKListsLib.InlineChildReqElements[ eLastChild.nodeName.toLowerCase() ] == null )
+ {
+ // So we are not in the end of the range.
+ bIsEndOfBlock = false ;
+ break ;
+ }
+ }
+ }
+
+ oTestRange.Release() ;
+
+ if ( refreshSelection )
+ this.Select() ;
+
+ return bIsEndOfBlock ;
+ },
+
+ CreateBookmark : function()
+ {
+ // Create the bookmark info (random IDs).
+ var oBookmark =
+ {
+ StartId : 'fck_dom_range_start_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000),
+ EndId : 'fck_dom_range_end_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000)
+ } ;
+
+ var oDoc = this.Window.document ;
+ var eSpan ;
+ var oClone ;
+
+ // For collapsed ranges, add just the start marker.
+ if ( !this.CheckIsCollapsed() )
+ {
+ eSpan = oDoc.createElement( 'span' ) ;
+ eSpan.id = oBookmark.EndId ;
+ eSpan.innerHTML = ' ' ; // For IE, it must have something inside, otherwise it may be removed during operations.
+
+ oClone = this.Clone() ;
+ oClone.Collapse( false ) ;
+ oClone.InsertNode( eSpan ) ;
+ }
+
+ eSpan = oDoc.createElement( 'span' ) ;
+ eSpan.id = oBookmark.StartId ;
+ eSpan.innerHTML = ' ' ; // For IE, it must have something inside, otherwise it may be removed during operations.
+
+ oClone = this.Clone() ;
+ oClone.Collapse( true ) ;
+ oClone.InsertNode( eSpan ) ;
+
+ return oBookmark ;
+ },
+
+ MoveToBookmark : function( bookmark, preserveBookmark )
+ {
+ 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 ) ;
+
+ // If collapsed, the start span will not be available.
+ if ( eEndSpan )
+ {
+ this.SetEnd( eEndSpan, 3 ) ;
+
+ if ( !preserveBookmark )
+ FCKDomTools.RemoveNode( eEndSpan ) ;
+ }
+ else
+ this.Collapse( true ) ;
+ },
+
+ /*
+ * Moves the position of the start boundary of the range to a specific position
+ * relatively to a element.
+ * @position:
+ * 1 = After Start ^contents
+ * 2 = Before End contents^
+ * 3 = Before Start ^contents
+ * 4 = After End contents^
+ */
+ SetStart : function( targetElement, position )
+ {
+ var oRange = this._Range ;
+ if ( !oRange )
+ oRange = this._Range = this.CreateRange() ;
+
+ switch( position )
+ {
+ case 1 : // After Start ^contents
+ oRange.setStart( targetElement, 0 ) ;
+ break ;
+
+ case 2 : // Before End contents^
+ oRange.setStart( targetElement, targetElement.childNodes.length ) ;
+ break ;
+
+ case 3 : // Before Start ^contents
+ oRange.setStartBefore( targetElement ) ;
+ break ;
+
+ case 4 : // After End contents^
+ oRange.setStartAfter( targetElement ) ;
+ }
+ this._UpdateElementInfo() ;
+ },
+
+ /*
+ * Moves the position of the start boundary of the range to a specific position
+ * relatively to a element.
+ * @position:
+ * 1 = After Start ^contents
+ * 2 = Before End contents^
+ * 3 = Before Start ^contents
+ * 4 = After End contents^
+ */
+ SetEnd : function( targetElement, position )
+ {
+ var oRange = this._Range ;
+ if ( !oRange )
+ oRange = this._Range = this.CreateRange() ;
+
+ switch( position )
+ {
+ case 1 : // After Start ^contents
+ oRange.setEnd( targetElement, 0 ) ;
+ break ;
+
+ case 2 : // Before End contents^
+ oRange.setEnd( targetElement, targetElement.childNodes.length ) ;
+ break ;
+
+ case 3 : // Before Start ^contents
+ oRange.setEndBefore( targetElement ) ;
+ break ;
+
+ case 4 : // After End contents^
+ oRange.setEndAfter( targetElement ) ;
+ }
+ this._UpdateElementInfo() ;
+ },
+
+ Expand : function( unit )
+ {
+ var oNode, oSibling ;
+
+ switch ( unit )
+ {
+ case 'block_contents' :
+ if ( this.StartBlock )
+ this.SetStart( this.StartBlock, 1 ) ;
+ else
+ {
+ // Get the start node for the current range.
+ 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.
+ if ( oNode.nodeType == 1 )
+ {
+ if ( !( oNode = oNode.childNodes[ this._Range.startOffset ] ) )
+ 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 )
+ {
+ oSibling = oNode.previousSibling ;
+
+ if ( !oSibling )
+ {
+ // Continue if we are not yet in the block limit (inside a , for example).
+ if ( oNode.parentNode != this.StartBlockLimit )
+ oNode = oNode.parentNode ;
+ else
+ break ;
+ }
+ else if ( oSibling.nodeType != 1 || !(/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/).test( oSibling.nodeName.toUpperCase() ) )
+ {
+ // Continue if the sibling is not a block tag.
+ oNode = oSibling ;
+ }
+ else
+ break ;
+ }
+
+ this._Range.setStartBefore( oNode ) ;
+ }
+
+ if ( this.EndBlock )
+ this.SetEnd( this.EndBlock, 2 ) ;
+ else
+ {
+ 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 )
+ {
+ oSibling = oNode.nextSibling ;
+
+ if ( !oSibling )
+ {
+ // Continue if we are not yet in the block limit (inide a , for example).
+ if ( oNode.parentNode != this.EndBlockLimit )
+ oNode = oNode.parentNode ;
+ else
+ break ;
+ }
+ else if ( oSibling.nodeType != 1 || !(/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/).test( oSibling.nodeName.toUpperCase() ) )
+ {
+ // Continue if the sibling is not a block tag.
+ oNode = oSibling ;
+ }
+ else
+ break ;
+ }
+
+ this._Range.setEndAfter( oNode ) ;
+ }
+
+ this._UpdateElementInfo() ;
+ }
+ },
+
+ Release : function( preserveWindow )
+ {
+ if ( !preserveWindow )
+ this.Window = null ;
+
+ this.StartContainer = null ;
+ this.StartBlock = null ;
+ this.StartBlockLimit = null ;
+ this.EndContainer = null ;
+ this.EndBlock = null ;
+ this.EndBlockLimit = null ;
+ this._Range = null ;
+ }
+} ;
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange_gecko.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange_gecko.js
new file mode 100644
index 0000000000..d77520dc9b
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange_gecko.js
@@ -0,0 +1,71 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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()
+{
+ this.Release( true ) ;
+
+ var oSel = this.Window.getSelection() ;
+
+ if ( oSel.rangeCount == 1 )
+ {
+ this._Range = FCKW3CRange.CreateFromRange( this.Window.document, oSel.getRangeAt(0) ) ;
+ this._UpdateElementInfo() ;
+ }
+}
+
+FCKDomRange.prototype.Select = function()
+{
+ var oRange = this._Range ;
+ if ( oRange )
+ {
+ var oDocRange = this.Window.document.createRange() ;
+ oDocRange.setStart( oRange.startContainer, oRange.startOffset ) ;
+
+ try
+ {
+ oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ;
+ }
+ catch ( e )
+ {
+ // There is a bug in Firefox implementation (it would be too easy
+ // otherwhise). The new start can't be after the end (W3C says it can).
+ // So, let's create a new range and collapse it to the desired point.
+ if ( e.toString().Contains( 'NS_ERROR_ILLEGAL_VALUE' ) )
+ {
+ oRange.collapse( true ) ;
+ oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ;
+ }
+ else
+ throw( e ) ;
+ }
+
+ var oSel = this.Window.getSelection() ;
+ oSel.removeAllRanges() ;
+
+ // We must add a clone otherwise Firefox will have rendering issues.
+ oSel.addRange( oDocRange ) ;
+ }
+}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange_ie.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange_ie.js
new file mode 100644
index 0000000000..8fd779df20
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckdomrange_ie.js
@@ -0,0 +1,149 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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()
+{
+ this.Release( true ) ;
+
+ this._Range = new FCKW3CRange( this.Window.document ) ;
+
+ var oSel = this.Window.document.selection ;
+
+ if ( oSel.type != 'Control' )
+ {
+ // Set the start boundary.
+ eMarker = this._GetSelectionMarkerTag( true ) ;
+ this._Range.setStart( eMarker.parentNode, FCKDomTools.GetIndexOf( eMarker ) ) ;
+ eMarker.parentNode.removeChild( eMarker ) ;
+
+ // Set the end boundary.
+ var eMarker = this._GetSelectionMarkerTag( false ) ;
+ 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() ;
+ }
+ }
+}
+
+FCKDomRange.prototype.Select = function()
+{
+ if ( this._Range )
+ {
+ var bIsCollapsed = this.CheckIsCollapsed() ;
+
+ // Create marker tags for the start and end boundaries.
+ var eStartMarker = this._GetRangeMarkerTag( true ) ;
+
+ 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 ) ;
+
+ 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 ) ;
+ 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 ) ;
+
+ if ( bIsCollapsed )
+ {
+ // The following trick is needed so IE makes collapsed selections
+ // inside empty blocks visible (expands the block).
+ try
+ {
+ oIERange.pasteHTML(' ') ;
+ oIERange.moveStart( 'character', -1 ) ;
+ }
+ catch (e){}
+ oIERange.select() ;
+ oIERange.pasteHTML('') ;
+ }
+ else
+ {
+ this._Range.setEndBefore( eEndMarker ) ;
+ eEndMarker.parentNode.removeChild( eEndMarker ) ;
+ oIERange.select() ;
+ }
+ }
+}
+
+FCKDomRange.prototype._GetSelectionMarkerTag = function( toStart )
+{
+ // Get a range for the start boundary.
+ 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) ;
+ oRange.pasteHTML( '' ) ;
+ return this.Window.document.getElementById( sMarkerId ) ;
+}
+
+FCKDomRange.prototype._GetRangeMarkerTag = function( toStart )
+{
+ // 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.
+ if ( !toStart )
+ {
+ oRange = oRange.cloneRange() ;
+ oRange.collapse( toStart === true ) ;
+ }
+
+ var eSpan = this.Window.document.createElement( 'span' ) ;
+ eSpan.innerHTML = ' ' ;
+ oRange.insertNode( eSpan ) ;
+
+ return eSpan ;
+}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckeditingarea.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckeditingarea.js
index 645fb78c99..4d2ee09782 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckeditingarea.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckeditingarea.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckeditingarea.js
- * FCKEditingArea Class: renders an editable area.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKEditingArea Class: renders an editable area.
*/
/**
@@ -38,43 +42,64 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
{
var eTargetElement = this.TargetElement ;
var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ;
-
+
// Remove all child nodes from the target.
while( eTargetElement.childNodes.length > 0 )
eTargetElement.removeChild( eTargetElement.childNodes[0] ) ;
if ( this.Mode == FCK_EDITMODE_WYSIWYG )
{
- if ( FCKBrowserInfo.IsGecko )
- html = html.replace( /(]*>)\s*(<\/body>)/i, '$1' + GECKO_BOGUS + '$2' ) ;
-
// Create the editing area IFRAME.
var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ;
oIFrame.src = 'javascript:void(0)' ;
oIFrame.frameBorder = 0 ;
oIFrame.width = oIFrame.height = '100%' ;
-
+
// Append the new IFRAME to the target.
eTargetElement.appendChild( oIFrame ) ;
-
+
// IE has a bug with the tag... it must have a closer,
// otherwise the all sucessive tags will be set as children nodes of the .
if ( FCKBrowserInfo.IsIE )
html = html.replace( /(]*?)\s*\/?>(?!\s*<\/base>)/gi, '$1>' ) ;
+ else if ( !secondCall )
+ {
+ // If nothing in the body, place a BOGUS tag so the cursor will appear.
+ if ( FCKBrowserInfo.IsGecko )
+ html = html.replace( /(]*>)\s*(<\/body>)/i, '$1' + GECKO_BOGUS + '$2' ) ;
+
+ // 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 =
+ oMatch[1] + // This is the HTML until the tag, inclusive.
+ ' ' +
+ oMatch[3] ; // This is the HTML from the tag, inclusive.
+
+ this._BodyHTML = oMatch[2] ; // This is the BODY tag contents.
+ }
+ else
+ this._BodyHTML = html ; // Invalid HTML input.
+ }
// 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.
// this.Window.onerror = function() { alert( 'Error!' ) ; return true ; }
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.
if ( FCKBrowserInfo.IsGecko10 && !secondCall )
@@ -82,9 +107,9 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
this.Start( html, true ) ;
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
// "bla1!!bla2" in the source and then switching
@@ -96,7 +121,7 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
}
else
{
- var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ;
+ var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ;
eTextarea.className = 'SourceField' ;
eTextarea.dir = 'ltr' ;
eTextarea.style.width = eTextarea.style.height = '100%' ;
@@ -110,7 +135,7 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
}
}
-// "this" here is FCKEditingArea.Window
+// "this" here is FCKEditingArea.Window
function FCKEditingArea_CompleteStart()
{
// Of Firefox, the DOM takes a little to become available. So we must wait for it in a loop.
@@ -119,10 +144,10 @@ function FCKEditingArea_CompleteStart()
this.setTimeout( FCKEditingArea_CompleteStart, 50 ) ;
return ;
}
-
+
var oEditorArea = this._FCKEditingArea ;
oEditorArea.MakeEditable() ;
-
+
// Fire the "OnLoad" event.
FCKTools.RunFunction( oEditorArea.OnLoad ) ;
}
@@ -132,25 +157,50 @@ FCKEditingArea.prototype.MakeEditable = function()
var oDoc = this.Document ;
if ( FCKBrowserInfo.IsIE )
+ {
oDoc.body.contentEditable = true ;
+
+ /* The following commands don't throw errors, but have no effect.
+ oDoc.execCommand( 'AutoDetect', false, false ) ;
+ oDoc.execCommand( 'KeepSelection', false, true ) ;
+ */
+ }
else
{
try
{
+ // Disable Firefox 2 Spell Checker.
+ oDoc.body.spellcheck = ( this.FFSpellChecker !== false ) ;
+
+ if ( this._BodyHTML )
+ {
+ oDoc.body.innerHTML = this._BodyHTML ;
+ this._BodyHTML = null ;
+ }
+
oDoc.designMode = 'on' ;
// Tell Gecko to use or not the tag for the bold, italic and underline.
- oDoc.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ;
+ try
+ {
+ oDoc.execCommand( 'styleWithCSS', false, FCKConfig.GeckoUseSPAN ) ;
+ }
+ catch (e)
+ {
+ // As evidenced here, useCSS is deprecated in favor of styleWithCSS:
+ // http://www.mozilla.org/editor/midas-spec.html
+ oDoc.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ;
+ }
- // 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.
// oDoc.execCommand( 'insertBrOnReturn', false, false ) ;
// 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 ) ;
}
@@ -164,13 +214,26 @@ FCKEditingArea.prototype.Focus = function()
{
if ( this.Mode == FCK_EDITMODE_WYSIWYG )
{
+ // The following check is important to avoid IE entering in a focus loop. Ref:
+ // http://sourceforge.net/tracker/index.php?func=detail&aid=1567060&group_id=75348&atid=543653
+ if ( FCKBrowserInfo.IsIE && this.Document.hasFocus() )
+ return ;
+
if ( FCKBrowserInfo.IsSafari )
this.IFrame.focus() ;
else
+ {
this.Window.focus() ;
+ }
}
else
+ {
+ var oDoc = FCKTools.GetElementDocument( this.Textarea ) ;
+ if ( (!oDoc.hasFocus || oDoc.hasFocus() ) && oDoc.activeElement == this.Textarea )
+ return ;
+
this.Textarea.focus() ;
+ }
}
catch(e) {}
}
@@ -181,10 +244,10 @@ function FCKEditingArea_Cleanup()
this.IFrame = null ;
this.Document = null ;
this.Textarea = null ;
-
+
if ( this.Window )
{
this.Window._FCKEditingArea = null ;
this.Window = null ;
}
-}
\ No newline at end of file
+}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckelementpath.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckelementpath.js
new file mode 100644
index 0000000000..d5ff6519fa
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckelementpath.js
@@ -0,0 +1,66 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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.
+
+var FCKElementPath = function( lastNode )
+{
+ var eBlock = null ;
+ var eBlockLimit = null ;
+
+ var aElements = new Array() ;
+
+ var e = lastNode ;
+ while ( e )
+ {
+ if ( e.nodeType == 1 )
+ {
+ if ( !this.LastElement )
+ this.LastElement = e ;
+
+ var sElementName = e.nodeName.toLowerCase() ;
+
+ if ( !eBlockLimit )
+ {
+ if ( !eBlock && FCKListsLib.PathBlockElements[ sElementName ] != null )
+ eBlock = e ;
+
+ if ( FCKListsLib.PathBlockLimitElements[ sElementName ] != null )
+ eBlockLimit = e ;
+ }
+
+ aElements.push( e ) ;
+
+ if ( sElementName == 'body' )
+ break ;
+ }
+ e = e.parentNode ;
+ }
+
+ this.Block = eBlock ;
+ this.BlockLimit = eBlockLimit ;
+ this.Elements = aElements ;
+}
+
+
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckenterkey.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckenterkey.js
new file mode 100644
index 0000000000..eaed75867a
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckenterkey.js
@@ -0,0 +1,556 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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.
+ */
+
+/*
+ * Constructor.
+ * @targetDocument : the target document.
+ * @enterMode : the behavior for the keystroke.
+ * May be "p", "div", "br". Default is "p".
+ * @shiftEnterMode : the behavior for the + keystroke.
+ * May be "p", "div", "br". Defaults to "br".
+ */
+var FCKEnterKey = function( targetWindow, enterMode, shiftEnterMode )
+{
+ this.Window = targetWindow ;
+ this.EnterMode = enterMode || 'p' ;
+ this.ShiftEnterMode = shiftEnterMode || 'br' ;
+
+ // Setup the Keystroke Handler.
+ var oKeystrokeHandler = new FCKKeystrokeHandler( false ) ;
+ oKeystrokeHandler._EnterKey = this ;
+ oKeystrokeHandler.OnKeystroke = FCKEnterKey_OnKeystroke ;
+
+ oKeystrokeHandler.SetKeystrokes( [
+ [ 13 , 'Enter' ],
+ [ SHIFT + 13, 'ShiftEnter' ],
+ [ 8 , 'Backspace' ],
+ [ 46 , 'Delete' ]
+ ] ) ;
+
+ oKeystrokeHandler.AttachToElement( targetWindow.document ) ;
+}
+
+
+function FCKEnterKey_OnKeystroke( keyCombination, keystrokeValue )
+{
+ var oEnterKey = this._EnterKey ;
+
+ try
+ {
+ switch ( keystrokeValue )
+ {
+ case 'Enter' :
+ return oEnterKey.DoEnter() ;
+ break ;
+
+ case 'ShiftEnter' :
+ return oEnterKey.DoShiftEnter() ;
+ break ;
+
+ case 'Backspace' :
+ return oEnterKey.DoBackspace() ;
+ break ;
+
+ case 'Delete' :
+ return oEnterKey.DoDelete() ;
+ }
+ }
+ catch (e)
+ {
+ // If for any reason we are not able to handle it, go
+ // ahead with the browser default behavior.
+ }
+
+ return false ;
+}
+
+/*
+ * Executes the key behavior.
+ */
+FCKEnterKey.prototype.DoEnter = function( mode, hasShift )
+{
+ this._HasShift = ( hasShift === true ) ;
+
+ var sMode = mode || this.EnterMode ;
+
+ if ( sMode == 'br' )
+ return this._ExecuteEnterBr() ;
+ else
+ return this._ExecuteEnterBlock( sMode ) ;
+}
+
+/*
+ * Executes the + key behavior.
+ */
+FCKEnterKey.prototype.DoShiftEnter = function()
+{
+ return this.DoEnter( this.ShiftEnterMode, true ) ;
+}
+
+/*
+ * Executes the key behavior.
+ */
+FCKEnterKey.prototype.DoBackspace = function()
+{
+ var bCustom = false ;
+
+ // Get the current selection.
+ var oRange = new FCKDomRange( this.Window ) ;
+ 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 && 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, [ '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() ;
+ }
+ }
+
+ oRange.Release() ;
+ return bCustom ;
+}
+
+FCKEnterKey.prototype._ExecuteBackspace = function( range, previous, currentBlock )
+{
+ var bCustom = false ;
+
+ // We could be in a nested LI.
+ if ( !previous && currentBlock.nodeName.IEquals( 'LI' ) && currentBlock.parentNode.parentNode.nodeName.IEquals( 'LI' ) )
+ {
+ this._OutdentWithSelection( currentBlock, range ) ;
+ return true ;
+ }
+
+ if ( previous && previous.nodeName.IEquals( 'LI' ) )
+ {
+ var oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ;
+
+ while ( oNestedList )
+ {
+ previous = FCKDomTools.GetLastChild( oNestedList, 'LI' ) ;
+ oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ;
+ }
+ }
+
+ if ( previous && currentBlock )
+ {
+ // If we are in a LI, and the previous block is not an LI, we must outdent it.
+ if ( currentBlock.nodeName.IEquals( 'LI' ) && !previous.nodeName.IEquals( 'LI' ) )
+ {
+ this._OutdentWithSelection( currentBlock, range ) ;
+ return true ;
+ }
+
+ // Take a reference to the parent for post processing cleanup.
+ var oCurrentParent = currentBlock.parentNode ;
+
+ var sPreviousName = previous.nodeName.toLowerCase() ;
+ if ( FCKListsLib.EmptyElements[ sPreviousName ] != null || sPreviousName == 'table' )
+ {
+ FCKDomTools.RemoveNode( previous ) ;
+ bCustom = true ;
+ }
+ else
+ {
+ // Remove the current block.
+ FCKDomTools.RemoveNode( currentBlock ) ;
+
+ // Remove any empty tag left by the block removal.
+ while ( oCurrentParent.innerHTML.Trim().length == 0 )
+ {
+ var oParent = oCurrentParent.parentNode ;
+ oParent.removeChild( oCurrentParent ) ;
+ 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 ) ;
+ range.Collapse( true ) ;
+ var oBookmark = range.CreateBookmark() ;
+
+ // Move the contents of the block to the previous element and delete it.
+ FCKDomTools.MoveChildren( currentBlock, previous ) ;
+
+ // Place the selection at the bookmark.
+ range.MoveToBookmark( oBookmark ) ;
+ range.Select() ;
+
+ bCustom = true ;
+ }
+ }
+
+ return bCustom ;
+}
+
+/*
+ * Executes the key behavior.
+ */
+FCKEnterKey.prototype.DoDelete = function()
+{
+ // The has the same effect as the , so we have the same
+ // results if we just move to the next block and apply the same logic.
+
+ var bCustom = false ;
+
+ // Get the current selection.
+ var oRange = new FCKDomRange( this.Window ) ;
+ oRange.MoveToSelection() ;
+
+ // 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 ) ;
+ }
+
+ oRange.Release() ;
+ return bCustom ;
+}
+
+FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range )
+{
+ // Get the current selection.
+ var oRange = range || new FCKDomRange( this.Window ) ;
+
+ // If we don't have a range, move it to the selection.
+ if ( !range )
+ oRange.MoveToSelection() ;
+
+ // The selection boundaries must be in the same "block limit" element.
+ if ( oRange.StartBlockLimit == oRange.EndBlockLimit )
+ {
+ // If the StartBlock or EndBlock are not available (for text without a
+ // block tag), we must fix them, by moving the text to a block.
+ if ( !oRange.StartBlock )
+ this._FixBlock( oRange, true, blockTag ) ;
+
+ if ( !oRange.EndBlock )
+ 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 ( eStartBlock == eEndBlock )
+ {
+ var eNewBlock ;
+
+ var bIsStartOfBlock = oRange.CheckStartOfBlock() ;
+ var bIsEndOfBlock = oRange.CheckEndOfBlock() ;
+
+ if ( bIsStartOfBlock && !bIsEndOfBlock )
+ {
+ eNewBlock = eStartBlock.cloneNode(false) ;
+
+ 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 select it.
+ if ( FCKBrowserInfo.IsIE )
+ {
+ // Move the selection to the new block.
+ oRange.MoveToNodeContents( eNewBlock ) ;
+
+ oRange.Select() ;
+ }
+
+ // Move the selection to the new block.
+ oRange.MoveToElementEditStart( eStartBlock ) ;
+ }
+ else
+ {
+ // Check if the selection is at the end of the block.
+ if ( bIsEndOfBlock )
+ {
+ var sStartBlockTag = eStartBlock.tagName.toUpperCase() ;
+
+ // If the entire block is selected, and we are in a LI, let's decrease its indentation.
+ if ( bIsStartOfBlock && sStartBlockTag == 'LI' )
+ {
+ this._OutdentWithSelection( eStartBlock, oRange ) ;
+ oRange.Release() ;
+ return true ;
+ }
+ else
+ {
+ // If is a header tag, or we are in a Shift+Enter (#77),
+ // create a new block element.
+ if ( (/^H[1-6]$/).test( sStartBlockTag ) || this._HasShift )
+ eNewBlock = this.Window.document.createElement( blockTag ) ;
+ // Otherwise, duplicate the current block.
+ else
+ {
+ eNewBlock = eStartBlock.cloneNode(false) ;
+ this._RecreateEndingTree( eStartBlock, eNewBlock ) ;
+ }
+
+ if ( FCKBrowserInfo.IsGeckoLike )
+ {
+ eNewBlock.innerHTML = GECKO_BOGUS ;
+
+ // If the entire block is selected, let's add a bogus in the start block.
+ if ( bIsStartOfBlock )
+ eStartBlock.innerHTML = GECKO_BOGUS ;
+ }
+ }
+ }
+ else
+ {
+ // Extract the contents of the block from the selection point to the end of its contents.
+ oRange.SetEnd( eStartBlock, 2 ) ;
+ var eDocFrag = oRange.ExtractContents() ;
+
+ // Duplicate the block element after it.
+ eNewBlock = eStartBlock.cloneNode(false) ;
+
+ // It could be that we are in a LI with a child UL/OL. Insert a bogus to give us space to type.
+ FCKDomTools.TrimNode( eDocFrag.RootNode ) ;
+ 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 ) ;
+
+ if ( FCKBrowserInfo.IsGecko )
+ {
+ // In Gecko, the last child node must be a bogus .
+ this._AppendBogusBr( eStartBlock ) ;
+ this._AppendBogusBr( eNewBlock ) ;
+ }
+ }
+
+ if ( eNewBlock )
+ {
+ FCKDomTools.InsertAfterNode( eStartBlock, eNewBlock ) ;
+
+ // Move the selection to the new block.
+ oRange.MoveToElementEditStart( eNewBlock ) ;
+
+ if ( FCKBrowserInfo.IsGecko )
+ eNewBlock.scrollIntoView( false ) ;
+ }
+ }
+ }
+ else
+ {
+ // Move the selection to the end block.
+ oRange.MoveToElementEditStart( eEndBlock ) ;
+ }
+
+ oRange.Select() ;
+ }
+
+ // Release the resources used by the range.
+ oRange.Release() ;
+
+ return true ;
+}
+
+FCKEnterKey.prototype._ExecuteEnterBr = function( blockTag )
+{
+ // Get the current selection.
+ var oRange = new FCKDomRange( this.Window ) ;
+ oRange.MoveToSelection() ;
+
+ // The selection boundaries must be in the same "block limit" element.
+ if ( oRange.StartBlockLimit == oRange.EndBlockLimit )
+ {
+ 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() : '' ;
+
+ var bHasShift = this._HasShift ;
+
+ if ( !bHasShift && sStartBlockTag == 'LI' )
+ return this._ExecuteEnterBlock( null, oRange ) ;
+
+ // If we are at the end of a header block.
+ 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.
+ if ( FCKBrowserInfo.IsGecko )
+ FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createTextNode( '' ) ) ;
+
+ // IE and Gecko have different behaviors regarding the position.
+ oRange.SetStart( oRange.StartBlock.nextSibling, FCKBrowserInfo.IsIE ? 3 : 1 ) ;
+ }
+ else
+ {
+ FCKDebug.Output( 'BR - No Header' ) ;
+
+ var eBr = this.Window.document.createElement( 'br' ) ;
+
+ oRange.InsertNode( eBr ) ;
+
+ // 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 )
+ this._AppendBogusBr( eBr.parentNode ) ;
+
+ if ( FCKBrowserInfo.IsIE )
+ oRange.SetStart( eBr, 4 ) ;
+ else
+ oRange.SetStart( eBr.nextSibling, 1 ) ;
+
+ }
+
+ // This collapse guarantees the cursor will be blinking.
+ oRange.Collapse( true ) ;
+
+ oRange.Select() ;
+ }
+
+ // 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, isStart, blockTag )
+{
+ // Bookmark the range so we can restore it later.
+ var oBookmark = range.CreateBookmark() ;
+
+ // Collapse the range to the requested ending boundary.
+ range.Collapse( isStart ) ;
+
+ // Expands it to the block contents.
+ range.Expand( 'block_contents' ) ;
+
+ // Create the fixed block.
+ var oFixedBlock = this.Window.document.createElement( blockTag ) ;
+
+ // Move the contents of the temporary range to the fixed block.
+ range.ExtractContents().AppendTo( oFixedBlock ) ;
+ FCKDomTools.TrimNode( oFixedBlock ) ;
+
+ // Insert the fixed block into the DOM.
+ range.InsertNode( oFixedBlock ) ;
+
+ // Move the range back to the bookmarked place.
+ range.MoveToBookmark( oBookmark ) ;
+}
+
+// Appends a bogus at the end of the element, if not yet available.
+FCKEnterKey.prototype._AppendBogusBr = function( element )
+{
+ var eLastChild = element.getElementsByTagName('br') ;
+
+ if ( eLastChild )
+ eLastChild = eLastChild[ eLastChild.legth - 1 ] ;
+
+ if ( !eLastChild || eLastChild.getAttribute( 'type', 2 ) != '_moz' )
+ element.appendChild( FCKTools.CreateBogusBR( this.Window.document ) ) ;
+}
+
+// Recreate the elements tree at the end of the source block, at the beginning
+// of the target block. Eg.:
+// If source =
Some sample text
then target =
+// If source =
Some sample text
then target =
+FCKEnterKey.prototype._RecreateEndingTree = function( source, target )
+{
+ while ( ( source = source.lastChild ) && source.nodeType == 1 && FCKListsLib.InlineChildReqElements[ source.nodeName.toLowerCase() ] != null )
+ target = target.insertBefore( source.cloneNode( false ), target.firstChild ) ;
+}
+
+// Outdents a LI, maintaining the seletion defined on a range.
+FCKEnterKey.prototype._OutdentWithSelection = function( li, range )
+{
+ var oBookmark = range.CreateBookmark() ;
+
+ FCKListHandler.OutdentListItem( li ) ;
+
+ range.MoveToBookmark( oBookmark ) ;
+ range.Select() ;
+}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckevents.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckevents.js
index 47019e013d..45e84a8ae9 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckevents.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckevents.js
@@ -1,36 +1,38 @@
/*
- * 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?"
- *
- * File Name: fckevents.js
- * FCKEvents Class: used to handle events is a advanced way.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKEvents Class: used to handle events is a advanced way.
*/
-var FCKEvents ;
-
-FCKEvents = function( eventsOwner )
+var FCKEvents = function( eventsOwner )
{
this.Owner = eventsOwner ;
- this.RegisteredEvents = new Object() ;
+ this._RegisteredEvents = new Object() ;
}
FCKEvents.prototype.AttachEvent = function( eventName, functionPointer )
{
var aTargets ;
- if ( !( aTargets = this.RegisteredEvents[ eventName ] ) )
- this.RegisteredEvents[ eventName ] = [ functionPointer ] ;
+ if ( !( aTargets = this._RegisteredEvents[ eventName ] ) )
+ this._RegisteredEvents[ eventName ] = [ functionPointer ] ;
else
aTargets.push( functionPointer ) ;
}
@@ -39,7 +41,7 @@ FCKEvents.prototype.FireEvent = function( eventName, params )
{
var bReturnValue = true ;
- var oCalls = this.RegisteredEvents[ eventName ] ;
+ var oCalls = this._RegisteredEvents[ eventName ] ;
if ( oCalls )
{
@@ -48,4 +50,4 @@ FCKEvents.prototype.FireEvent = function( eventName, params )
}
return bReturnValue ;
-}
\ No newline at end of file
+}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckicon.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckicon.js
index c305310eef..f053f9da61 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckicon.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckicon.js
@@ -1,21 +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?"
- *
- * File Name: fckicon.js
- * FCKIcon Class: renders an icon from a single image, a strip or even a
- * spacer.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKIcon Class: renders an icon from a single image, a strip or even a
+ * spacer.
*/
var FCKIcon = function( iconPathOrStripInfoArray )
@@ -28,15 +32,15 @@ var FCKIcon = function( iconPathOrStripInfoArray )
this.Size = 16 ;
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 ]
this.Path = iconPathOrStripInfoArray[0] ;
@@ -47,26 +51,26 @@ var FCKIcon = function( iconPathOrStripInfoArray )
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 )
{
//
-
+
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 ;
}
else
{
//
-
+
eIcon = document.createElement( 'IMG' ) ;
eIcon.src = FCK_SPACER_PATH ;
eIcon.style.backgroundPosition = '0px ' + sPos ;
@@ -83,11 +87,11 @@ FCKIcon.prototype.CreateIconElement = function( document )
// IE makes the button 1px higher if using the directly, so we
// are changing to the
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' ;
return eIcon ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckiecleanup.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckiecleanup.js
index 70f06ff7df..5468e1a295 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckiecleanup.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckiecleanup.js
@@ -1,51 +1,68 @@
/*
- * 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?"
- *
- * File Name: fckiecleanup.js
- * FCKIECleanup Class: a generic class used as a tool to remove IE leaks.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKIECleanup Class: a generic class used as a tool to remove IE leaks.
*/
-
var FCKIECleanup = function( attachWindow )
{
+ // If the attachWindow already have a cleanup object, jusgt use that one.
+ if ( attachWindow._FCKCleanupObj )
+ this.Items = attachWindow._FCKCleanupObj.Items ;
+ else
+ {
+ this.Items = new Array() ;
- this.Items = new Array() ;
-
- attachWindow._FCKCleanupObj = this ;
- attachWindow.attachEvent( 'onunload', FCKIECleanup_Cleanup ) ;
+ attachWindow._FCKCleanupObj = this ;
+ FCKTools.AddEventListenerEx( attachWindow, 'unload', FCKIECleanup_Cleanup ) ;
+// attachWindow.attachEvent( 'onunload', FCKIECleanup_Cleanup ) ;
+ }
}
-
+
FCKIECleanup.prototype.AddItem = function( dirtyItem, cleanupFunction )
{
this.Items.push( [ dirtyItem, cleanupFunction ] ) ;
}
-
+
function FCKIECleanup_Cleanup()
{
- var aItems = this._FCKCleanupObj.Items ;
- var iLenght = aItems.length ;
+ if ( !this._FCKCleanupObj )
+ return ;
- for ( var i = 0 ; i < iLenght ; i++ )
+ var aItems = this._FCKCleanupObj.Items ;
+
+ while ( aItems.length > 0 )
{
- var oItem = aItems[i] ;
- oItem[1].call( oItem[0] ) ;
- aItems[i] = null ;
+
+ // 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 at the end of the
+ // cleanup function, so we must cleanup then first, otherwise IE could
+ // throw some crazy memory errors (IE bug).
+ var oItem = aItems.pop() ;
+ if ( oItem )
+ oItem[1].call( oItem[0] ) ;
}
-
+
this._FCKCleanupObj = null ;
-
+
if ( CollectGarbage )
CollectGarbage() ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckimagepreloader.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckimagepreloader.js
new file mode 100644
index 0000000000..3e35697c10
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckimagepreloader.js
@@ -0,0 +1,68 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 =
+{
+ AddImages : function( images )
+ {
+ 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++ )
+ {
+ var eImg = document.createElement( 'img' ) ;
+ eImg.onload = eImg.onerror = _FCKImagePreloader_OnImage ;
+ eImg._FCKImagePreloader = this ;
+ eImg.src = aImages[i] ;
+
+ _FCKImagePreloader_ImageCache.push( eImg ) ;
+ }
+ }
+};
+
+// All preloaded images must be placed in a global array, otherwise the preload
+// magic will not happen.
+var _FCKImagePreloader_ImageCache = new Array() ;
+
+function _FCKImagePreloader_OnImage()
+{
+ var oImagePreloader = this._FCKImagePreloader ;
+
+ if ( (--oImagePreloader._PreloadCount) == 0 && oImagePreloader.OnComplete )
+ oImagePreloader.OnComplete() ;
+
+ this._FCKImagePreloader = null ;
+}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckkeystrokehandler.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckkeystrokehandler.js
new file mode 100644
index 0000000000..334b476a54
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckkeystrokehandler.js
@@ -0,0 +1,136 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 )
+{
+ this.Keystrokes = new Object() ;
+ this.CancelCtrlDefaults = ( cancelCtrlDefaults !== false ) ;
+}
+
+/*
+ * Listen to keystroke events in an element or DOM document object.
+ * @target: The element or document to listen to keystroke events.
+ */
+FCKKeystrokeHandler.prototype.AttachToElement = function( target )
+{
+ // 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.
+ FCKTools.AddEventListenerEx( target, 'keydown', _FCKKeystrokeHandler_OnKeyDown, this ) ;
+ if ( FCKBrowserInfo.IsGecko10 || FCKBrowserInfo.IsOpera || ( FCKBrowserInfo.IsGecko && FCKBrowserInfo.IsMac ) )
+ FCKTools.AddEventListenerEx( target, 'keypress', _FCKKeystrokeHandler_OnKeyPress, this ) ;
+}
+
+/*
+ * Sets a list of keystrokes. It can receive either a single array or "n"
+ * arguments, each one being an array of 1 or 2 elemenst. The first element
+ * is the keystroke combination, and the second is the value to assign to it.
+ * If the second element is missing, the keystroke definition is removed.
+ */
+FCKKeystrokeHandler.prototype.SetKeystrokes = function()
+{
+ // Look through the arguments.
+ for ( var i = 0 ; i < arguments.length ; i++ )
+ {
+ var keyDef = arguments[i] ;
+
+ if ( typeof( keyDef[0] ) == 'object' ) // It is an array with arrays defining the keystrokes.
+ this.SetKeystrokes.apply( this, keyDef ) ;
+ else
+ {
+ if ( keyDef.length == 1 ) // If it has only one element, removed the keystroke.
+ delete this.Keystrokes[ keyDef[0] ] ;
+ else // Otherwise add it.
+ this.Keystrokes[ keyDef[0] ] = keyDef[1] === true ? true : keyDef ;
+ }
+ }
+}
+
+function _FCKKeystrokeHandler_OnKeyDown( ev, keystrokeHandler )
+{
+ // Get the key code.
+ var keystroke = ev.keyCode || ev.which ;
+
+ // 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 )
+ {
+ // If the keystroke has been explicetly set to "true" OR calling the
+ // "OnKeystroke" event, it doesn't return "true", the default behavior
+ // must be preserved.
+ if ( keystrokeValue === true || !( keystrokeHandler.OnKeystroke && keystrokeHandler.OnKeystroke.apply( keystrokeHandler, keystrokeValue ) ) )
+ return true ;
+
+ cancelIt = true ;
+ }
+
+ // By default, it will cancel all combinations with the CTRL key only (except positioning keys).
+ if ( cancelIt || ( keystrokeHandler.CancelCtrlDefaults && keyModifiers == CTRL && ( keystroke < 33 || keystroke > 40 ) ) )
+ {
+ keystrokeHandler._CancelIt = true ;
+
+ if ( ev.preventDefault )
+ return ev.preventDefault() ;
+
+ ev.returnValue = false ;
+ ev.cancelBubble = true ;
+ return false ;
+ }
+
+ return true ;
+}
+
+function _FCKKeystrokeHandler_OnKeyPress( ev, keystrokeHandler )
+{
+ if ( keystrokeHandler._CancelIt )
+ {
+// FCKDebug.Output( 'KeyPress Cancel', 'Red') ;
+
+ if ( ev.preventDefault )
+ return ev.preventDefault() ;
+
+ return false ;
+ }
+
+ return true ;
+}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublock.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublock.js
index f6074b99fa..dba67e190f 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublock.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublock.js
@@ -1,23 +1,26 @@
/*
- * 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?"
- *
- * File Name: fckmenublock.js
- * Renders a list of menu items.
- *
- * File Authors:
- * 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 ==
+ *
+ * Renders a list of menu items.
*/
-
var FCKMenuBlock = function()
{
this._Items = new Array() ;
@@ -32,10 +35,10 @@ FCKMenuBlock.prototype.Count = function()
FCKMenuBlock.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled )
{
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 ) ;
return oItem ;
@@ -49,7 +52,7 @@ FCKMenuBlock.prototype.AddSeparator = function()
FCKMenuBlock.prototype.RemoveAllItems = function()
{
this._Items = new Array() ;
-
+
var eItemsTable = this._ItemsTable ;
if ( eItemsTable )
{
@@ -74,15 +77,15 @@ FCKMenuBlock.prototype.Create = function( parentElement )
eTable.cellSpacing = 0 ;
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 ) ;
}
@@ -97,14 +100,14 @@ function FCKMenuBlock_Item_OnClick( clickedItem, menuBlock )
function FCKMenuBlock_Item_OnActivate( menuBlock )
{
var oActiveItem = menuBlock._ActiveItem ;
-
+
if ( oActiveItem && oActiveItem != this )
{
// Set the focus to this menu block window (to fire OnBlur on opened panels).
if ( !FCKBrowserInfo.IsIE && oActiveItem.HasSubMenu && !this.HasSubMenu )
menuBlock._Window.focus() ;
- oActiveItem.Deactivate() ;
+ oActiveItem.Deactivate() ;
}
menuBlock._ActiveItem = this ;
@@ -126,7 +129,7 @@ FCKMenuSeparator.prototype.Create = function( parentTable )
var oDoc = FCKTools.GetElementDocument( parentTable ) ;
var r = parentTable.insertRow(-1) ;
-
+
var eCell = r.insertCell(-1) ;
eCell.className = 'MN_Separator MN_Icon' ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublockpanel.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublockpanel.js
index 68856956c9..45cbcc07cb 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublockpanel.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckmenublockpanel.js
@@ -1,24 +1,27 @@
/*
- * 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?"
- *
- * File Name: fckmenublockpanel.js
- * This class is a menu block that behaves like a panel. It's a mix of the
- * FCKMenuBlock and FCKPanel classes.
- *
- * File Authors:
- * 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 class is a menu block that behaves like a panel. It's a mix of the
+ * FCKMenuBlock and FCKPanel classes.
*/
-
var FCKMenuBlockPanel = function()
{
// Call the "base" constructor.
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckmenuitem.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckmenuitem.js
index ac2602f216..7319efa1c9 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckmenuitem.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckmenuitem.js
@@ -1,31 +1,34 @@
/*
- * 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?"
- *
- * File Name: fckmenuitem.js
- * Defines and renders a menu items in a menu block.
- *
- * File Authors:
- * 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 ==
+ *
+ * Defines and renders a menu items in a menu block.
*/
-
var FCKMenuItem = function( parentMenuBlock, name, label, iconPathOrStripInfoArray, isDisabled )
{
this.Name = name ;
this.Label = label || name ;
this.IsDisabled = isDisabled ;
-
+
this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ;
-
+
this.SubMenu = new FCKMenuBlockPanel() ;
this.SubMenu.Parent = parentMenuBlock ;
this.SubMenu.OnClick = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnClick, this ) ;
@@ -49,7 +52,7 @@ FCKMenuItem.prototype.AddSeparator = function()
FCKMenuItem.prototype.Create = function( parentTable )
{
var bHasSubMenu = this.HasSubMenu ;
-
+
var oDoc = FCKTools.GetElementDocument( parentTable ) ;
// Add a row in the table to hold the menu item.
@@ -65,7 +68,7 @@ FCKMenuItem.prototype.Create = function( parentTable )
if ( !bHasSubMenu )
FCKTools.AddEventListenerEx( r, 'mouseout', FCKMenuItem_OnMouseOut, [ this ] ) ;
}
-
+
// Create the icon cell.
var eCell = r.insertCell(-1) ;
eCell.className = 'MN_Icon' ;
@@ -76,7 +79,7 @@ FCKMenuItem.prototype.Create = function( parentTable )
eCell.className = 'MN_Label' ;
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) ;
if ( bHasSubMenu )
@@ -88,7 +91,7 @@ FCKMenuItem.prototype.Create = function( parentTable )
eArrowImg.src = FCK_IMAGES_PATH + 'arrow_' + FCKLang.Dir + '.gif' ;
eArrowImg.width = 4 ;
eArrowImg.height = 7 ;
-
+
this.SubMenu.Create() ;
this.SubMenu.Panel.OnHide = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnHide, this ) ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckpanel.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckpanel.js
index 273f49624e..007f9d3ead 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckpanel.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckpanel.js
@@ -1,43 +1,48 @@
/*
- * 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?"
- *
- * File Name: fckpanel.js
- * Component that creates floating panels. It is used by many
- * other components, like the toolbar items, context menu, etc...
- *
- * File Authors:
- * 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 ==
+ *
+ * Component that creates floating panels. It is used by many
+ * other components, like the toolbar items, context menu, etc...
*/
-
var FCKPanel = function( parentWindow )
{
this.IsRTL = ( FCKLang.Dir == 'rtl' ) ;
this.IsContextMenu = false ;
this._LockCounter = 0 ;
-
+
this._Window = parentWindow || window ;
-
+
var oDocument ;
-
+
if ( FCKBrowserInfo.IsIE )
{
// Create the Popup that will hold the panel.
this._Popup = this._Window.createPopup() ;
oDocument = this.Document = this._Popup.document ;
+
+ FCK.IECleanup.AddItem( this, FCKPanel_Cleanup ) ;
}
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 ;
oIFrame.frameBorder = '0' ;
@@ -50,9 +55,9 @@ var FCKPanel = function( parentWindow )
window.frameElement.parentNode.insertBefore( oIFrame, window.frameElement ) ;
else
this._Window.document.body.appendChild( oIFrame ) ;
-
- var oIFrameWindow = oIFrame.contentWindow ;
-
+
+ var oIFrameWindow = oIFrame.contentWindow ;
+
oDocument = this.Document = oIFrameWindow.document ;
// Initialize the IFRAME document body.
@@ -65,7 +70,7 @@ var FCKPanel = function( parentWindow )
}
oDocument.dir = FCKLang.Dir ;
-
+
oDocument.oncontextmenu = FCKTools.CancelEvent ;
@@ -74,9 +79,6 @@ var FCKPanel = function( parentWindow )
// The "float" property must be set so Firefox calculates the size correcly.
this.MainNode.style.cssFloat = this.IsRTL ? 'right' : 'left' ;
-
- if ( FCK.IECleanup )
- FCK.IECleanup.AddItem( this, FCKPanel_Cleanup ) ;
}
@@ -87,7 +89,7 @@ FCKPanel.prototype.AppendStyleSheet = function( styleSheet )
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).
if ( this._Popup )
@@ -96,19 +98,21 @@ FCKPanel.prototype.Preload = function( x, y, relElement )
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 )
{
@@ -117,10 +121,10 @@ FCKPanel.prototype.Show = function( x, y, relElement, width, height )
else if ( relElement )
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 )
{
if ( this._Timer )
@@ -141,7 +145,7 @@ FCKPanel.prototype.Show = function( x, y, relElement, width, height )
this.MainNode.style.width = width ? width + 'px' : '' ;
this.MainNode.style.height = height ? height + 'px' : '' ;
- var iMainWidth = this.MainNode.offsetWidth ;
+ iMainWidth = this.MainNode.offsetWidth ;
if ( !width ) this._IFrame.width = 1 ;
if ( !height ) this._IFrame.height = 1 ;
@@ -152,7 +156,11 @@ FCKPanel.prototype.Show = function( x, y, relElement, width, height )
// work when the editor is in RTL.
iMainWidth = this.MainNode.offsetWidth ;
- var oPos = FCKTools.GetElementPosition( ( relElement.nodeType == 9 ? relElement.body : relElement), this._Window ) ;
+ var oPos = FCKTools.GetElementPosition(
+ relElement.nodeType == 9 ?
+ ( FCKTools.IsStrictMode( relElement ) ? relElement.documentElement : relElement.body ) :
+ relElement,
+ this._Window ) ;
if ( this.IsRTL && !this.IsContextMenu )
x = ( x * -1 ) ;
@@ -171,7 +179,7 @@ FCKPanel.prototype.Show = function( x, y, relElement, width, height )
{
var oViewPaneSize = FCKTools.GetViewPaneSize( this._Window ) ;
var oScrollPosition = FCKTools.GetScrollPosition( this._Window ) ;
-
+
var iViewPaneHeight = oViewPaneSize.Height + oScrollPosition.Y ;
var iViewPaneWidth = oViewPaneSize.Width + oScrollPosition.X ;
@@ -181,17 +189,17 @@ FCKPanel.prototype.Show = function( x, y, relElement, width, height )
if ( ( y + this.MainNode.offsetHeight ) > iViewPaneHeight )
y -= y + this.MainNode.offsetHeight - iViewPaneHeight ;
}
-
+
if ( x < 0 )
x = 0 ;
// Set the context menu DIV in the specified location.
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 ;
@@ -212,17 +220,17 @@ FCKPanel.prototype.Hide = function( ignoreOnHide )
{
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() ;
@@ -241,11 +249,11 @@ FCKPanel.prototype.CheckIsOpened = function()
FCKPanel.prototype.CreateChildPanel = function()
{
- var oWindow = this._Popup ? FCKTools.GetParentWindow( this.Document ) : this._Window ;
+ var oWindow = this._Popup ? FCKTools.GetDocumentWindow( this.Document ) : this._Window ;
var oChildPanel = new FCKPanel( oWindow, true ) ;
oChildPanel.ParentPanel = this ;
-
+
return oChildPanel ;
}
@@ -270,7 +278,7 @@ function FCKPanel_Window_OnFocus( e, panel )
function FCKPanel_Window_OnBlur( e, panel )
{
panel.HasFocus = false ;
-
+
if ( panel._LockCounter == 0 )
FCKTools.RunFunction( panel.Hide, panel ) ;
}
@@ -281,7 +289,7 @@ function CheckPopupOnHide( forceHide )
{
window.clearInterval( this._Timer ) ;
this._Timer = null ;
-
+
FCKTools.RunFunction( this.OnHide, this ) ;
}
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckplugin.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckplugin.js
index 3aa1f86c53..a0df44e915 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckplugin.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckplugin.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckplugin.js
- * FCKPlugin Class: Represents a single plugin.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKPlugin Class: Represents a single plugin.
*/
var FCKPlugin = function( name, availableLangs, basePath )
@@ -22,7 +26,7 @@ var FCKPlugin = function( name, availableLangs, basePath )
this.Name = name ;
this.BasePath = basePath ? basePath : FCKConfig.PluginsPath ;
this.Path = this.BasePath + name + '/' ;
-
+
if ( !availableLangs || availableLangs.length == 0 )
this.AvailableLangs = new Array() ;
else
@@ -35,18 +39,18 @@ FCKPlugin.prototype.Load = function()
if ( this.AvailableLangs.length > 0 )
{
var sLang ;
-
+
// Check if the plugin has the language file for the active language.
- if ( this.AvailableLangs.indexOf( FCKLanguageManager.ActiveLanguage.Code ) >= 0 )
+ if ( this.AvailableLangs.IndexOf( FCKLanguageManager.ActiveLanguage.Code ) >= 0 )
sLang = FCKLanguageManager.ActiveLanguage.Code ;
else
// 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' ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckspecialcombo.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckspecialcombo.js
index 03c6bb1199..48e5942d2e 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckspecialcombo.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckspecialcombo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckspecialcombo.js
- * FCKSpecialCombo Class: represents a special combo.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKSpecialCombo Class: represents a special combo.
*/
var FCKSpecialCombo = function( caption, fieldWidth, panelWidth, panelMaxHeight, parentWindow )
@@ -29,9 +33,9 @@ var FCKSpecialCombo = function( caption, fieldWidth, panelWidth, panelMaxHeight,
this.Style = FCK_TOOLBARITEM_ICONTEXT ;
this.Enabled = true ;
-
+
this.Items = new Object() ;
-
+
this._Panel = new FCKPanel( parentWindow || window, true ) ;
this._Panel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ;
this._PanelBox = this._Panel.MainNode.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ;
@@ -39,7 +43,7 @@ var FCKSpecialCombo = function( caption, fieldWidth, panelWidth, panelMaxHeight,
this._PanelBox.style.width = this.PanelWidth + 'px' ;
this._PanelBox.innerHTML = '
' ;
-
+
this._ItemsHolderEl = this._PanelBox.getElementsByTagName('TD')[0] ;
if ( FCK.IECleanup )
@@ -88,23 +92,23 @@ FCKSpecialCombo.prototype.AddItem = function( id, html, label, bgColor )
// In IE, the width must be set so the borders are shown correctly when the content overflows.
if ( FCKBrowserInfo.IsIE )
oDiv.style.width = '100%' ;
-
+
if ( bgColor )
oDiv.style.backgroundColor = bgColor ;
oDiv.onmouseover = FCKSpecialCombo_ItemOnMouseOver ;
oDiv.onmouseout = FCKSpecialCombo_ItemOnMouseOut ;
oDiv.onclick = FCKSpecialCombo_ItemOnClick ;
-
+
this.Items[ id.toString().toLowerCase() ] = oDiv ;
-
+
return oDiv ;
}
FCKSpecialCombo.prototype.SelectItem = function( itemId )
{
itemId = itemId ? itemId.toString().toLowerCase() : '' ;
-
+
var oDiv = this.Items[ itemId ] ;
if ( oDiv )
{
@@ -123,7 +127,7 @@ FCKSpecialCombo.prototype.SelectItemByLabel = function( itemLabel, setLabel )
{
oDiv.className = oDiv.originalClass = 'SC_ItemSelected' ;
oDiv.Selected = true ;
-
+
if ( setLabel )
this.SetLabel( itemLabel ) ;
}
@@ -137,7 +141,7 @@ FCKSpecialCombo.prototype.DeselectAll = function( clearLabel )
this.Items[i].className = this.Items[i].originalClass = 'SC_Item' ;
this.Items[i].Selected = false ;
}
-
+
if ( clearLabel )
this.SetLabel( '' ) ;
}
@@ -145,7 +149,7 @@ FCKSpecialCombo.prototype.DeselectAll = function( clearLabel )
FCKSpecialCombo.prototype.SetLabelById = function( id )
{
id = id ? id.toString().toLowerCase() : '' ;
-
+
var oDiv = this.Items[ id ] ;
this.SetLabel( oDiv ? oDiv.FCKItemLabel : '' ) ;
}
@@ -155,13 +159,21 @@ FCKSpecialCombo.prototype.SetLabel = function( text )
this.Label = text.length == 0 ? ' ' : text ;
if ( this._LabelEl )
+ {
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
+ // combo will get the selection from the editing area. So we must
+ // disable any kind of selection here.
+ FCKTools.DisableSelection( this._LabelEl ) ;
+ }
}
FCKSpecialCombo.prototype.SetEnabled = function( isEnabled )
{
this.Enabled = isEnabled ;
-
+
this._OuterTable.className = isEnabled ? '' : 'SC_FieldDisabled' ;
}
@@ -171,12 +183,12 @@ FCKSpecialCombo.prototype.Create = function( targetElement )
var eOuterTable = this._OuterTable = targetElement.appendChild( oDoc.createElement( 'TABLE' ) ) ;
eOuterTable.cellPadding = 0 ;
eOuterTable.cellSpacing = 0 ;
-
+
eOuterTable.insertRow(-1) ;
-
+
var sClass ;
var bShowLabel ;
-
+
switch ( this.Style )
{
case FCK_TOOLBARITEM_ONLYICON :
@@ -198,7 +210,7 @@ FCKSpecialCombo.prototype.Create = function( targetElement )
oCaptionCell.innerHTML = this.Caption ;
oCaptionCell.className = 'SC_FieldCaption' ;
}
-
+
// Create the main DIV element.
var oField = FCKTools.AppendElement( eOuterTable.rows[0].insertCell(-1), 'div' ) ;
if ( bShowLabel )
@@ -215,7 +227,7 @@ FCKSpecialCombo.prototype.Create = function( targetElement )
oField.className = 'TB_Button_Off' ;
//oField.innerHTML = '' + this.Caption + '
' ;
//oField.innerHTML = '
' ;
-
+
// Gets the correct CSS class to use for the specified style (param).
oField.innerHTML = '
' +
'
' +
@@ -233,11 +245,11 @@ FCKSpecialCombo.prototype.Create = function( targetElement )
// Events Handlers
oField.SpecialCombo = this ;
-
+
oField.onmouseover = FCKSpecialCombo_OnMouseOver ;
oField.onmouseout = FCKSpecialCombo_OnMouseOut ;
oField.onclick = FCKSpecialCombo_OnClick ;
-
+
FCKTools.DisableSelection( this._Panel.Document.body ) ;
}
@@ -247,13 +259,13 @@ function FCKSpecialCombo_Cleanup()
this._OuterTable = null ;
this._ItemsHolderEl = null ;
this._PanelBox = null ;
-
+
if ( this.Items )
{
for ( var key in this.Items )
this.Items[key] = null ;
}
-}
+}
function FCKSpecialCombo_OnMouseOver()
{
@@ -273,7 +285,7 @@ function FCKSpecialCombo_OnMouseOver()
}
}
}
-
+
function FCKSpecialCombo_OnMouseOut()
{
switch ( this.SpecialCombo.Style )
@@ -289,17 +301,17 @@ function FCKSpecialCombo_OnMouseOut()
break ;
}
}
-
+
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 )
// {
// e.stopPropagation() ;
// FCKPanelEventHandlers.OnDocumentClick( e ) ;
// }
-
+
var oSpecialCombo = this.SpecialCombo ;
if ( oSpecialCombo.Enabled )
@@ -308,7 +320,7 @@ function FCKSpecialCombo_OnClick( e )
var oPanelBox = oSpecialCombo._PanelBox ;
var oItemsHolder = oSpecialCombo._ItemsHolderEl ;
var iMaxHeight = oSpecialCombo.PanelMaxHeight ;
-
+
if ( oSpecialCombo.OnBeforeClick )
oSpecialCombo.OnBeforeClick( oSpecialCombo ) ;
@@ -326,7 +338,7 @@ function FCKSpecialCombo_OnClick( e )
// }
else
oPanelBox.style.height = '' ;
-
+
// oPanel.PanelDiv.style.width = oSpecialCombo.PanelWidth + 'px' ;
oPanel.Show( 0, this.offsetHeight, this ) ;
@@ -335,7 +347,7 @@ function FCKSpecialCombo_OnClick( e )
// return false ;
}
-/*
+/*
Sample Combo Field HTML output:
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef.js
index 009008d555..0987b848a7 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckstyledef.js
- * FCKStyleDef Class: represents a single style definition.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKStyleDef Class: represents a single style definition.
*/
var FCKStyleDef = function( name, element )
@@ -33,10 +37,10 @@ FCKStyleDef.prototype.AddAttribute = function( name, value )
FCKStyleDef.prototype.GetOpenerTag = function()
{
var s = '<' + this.Element ;
-
+
for ( var a in this.Attributes )
s += ' ' + a + '="' + this.Attributes[a] + '"' ;
-
+
return s + '>' ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_gecko.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_gecko.js
index 0b12ac978d..fc14350239 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_gecko.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckstyledef_gecko.js
- * FCKStyleDef Class: represents a single stylke definition. (Gecko specific)
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKStyleDef Class: represents a single stylke definition. (Gecko specific)
*/
FCKStyleDef.prototype.ApplyToSelection = function()
@@ -22,22 +26,22 @@ FCKStyleDef.prototype.ApplyToSelection = function()
if ( FCKSelection.GetType() == 'Text' && !this.IsObjectElement )
{
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 ) ;
}
else
@@ -56,7 +60,6 @@ FCKStyleDef.prototype._AddAttributes = function( targetElement )
{
case 'src' :
targetElement.setAttribute( '_fcksavedurl', this.Attributes[a], 0 ) ;
-
default :
targetElement.setAttribute( a, this.Attributes[a], 0 ) ;
}
@@ -68,12 +71,12 @@ FCKStyleDef.prototype._RemoveDuplicates = function( parent )
for ( var i = 0 ; i < parent.childNodes.length ; i++ )
{
var oChild = parent.childNodes[i] ;
-
+
if ( oChild.nodeType != 1 )
continue ;
-
+
this._RemoveDuplicates( oChild ) ;
-
+
if ( this.IsEqual( oChild ) )
FCKTools.RemoveOuterTags( oChild ) ;
}
@@ -83,13 +86,13 @@ FCKStyleDef.prototype.IsEqual = function( e )
{
if ( e.tagName != this.Element )
return false ;
-
+
for ( var a in this.Attributes )
{
if ( e.getAttribute( a ) != this.Attributes[a] )
return false ;
}
-
+
return true ;
}
@@ -111,6 +114,6 @@ FCKStyleDef.prototype._RemoveMe = function( elementToCheck )
else
FCKTools.RemoveOuterTags( elementToCheck ) ;
}
-
+
this._RemoveMe( oParent ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_ie.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_ie.js
index 096ab36b8f..097d4e482b 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckstyledef_ie.js
@@ -1,40 +1,44 @@
/*
- * 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?"
- *
- * File Name: fckstyledef_ie.js
- * FCKStyleDef Class: represents a single stylke definition. (IE specific)
- *
- * File Authors:
- * 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 ==
+ *
+ * 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 ) ;
}
@@ -62,7 +66,6 @@ FCKStyleDef.prototype._AddAttributes = function( targetElement )
case 'src' :
targetElement.setAttribute( '_fcksavedurl', this.Attributes[a], 0 ) ;
-
default :
targetElement.setAttribute( a, this.Attributes[a], 0 ) ;
}
@@ -75,7 +78,7 @@ FCKStyleDef.prototype._RemoveDuplicates = function( parent )
{
var oChild = parent.children[i] ;
this._RemoveDuplicates( oChild ) ;
-
+
if ( this.IsEqual( oChild ) )
FCKTools.RemoveOuterTags( oChild ) ;
}
@@ -85,7 +88,7 @@ FCKStyleDef.prototype.IsEqual = function( e )
{
if ( e.tagName != this.Element )
return false ;
-
+
for ( var a in this.Attributes )
{
switch ( a.toLowerCase() )
@@ -103,7 +106,7 @@ FCKStyleDef.prototype.IsEqual = function( e )
return false ;
}
}
-
+
return true ;
}
@@ -134,6 +137,6 @@ FCKStyleDef.prototype._RemoveMe = function( elementToCheck )
else
FCKTools.RemoveOuterTags( elementToCheck ) ;
}
-
+
this._RemoveMe( oParent ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckstylesloader.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckstylesloader.js
index 38d5bbd49d..ae0bf61794 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckstylesloader.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckstylesloader.js
@@ -1,21 +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?"
- *
- * File Name: fckstylesloader.js
- * FCKStylesLoader Class: this class define objects that are responsible
- * for loading the styles defined in the XML file.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKStylesLoader Class: this class define objects that are responsible
+ * for loading the styles defined in the XML file.
*/
var FCKStylesLoader = function()
@@ -31,24 +35,24 @@ FCKStylesLoader.prototype.Load = function( stylesXmlUrl )
// Load the XML file into a FCKXml object.
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++ )
{
@@ -63,13 +67,13 @@ FCKStylesLoader.prototype.Load = function( stylesXmlUrl )
oTempE.style.cssText = sAttValue ;
sAttValue = oTempE.style.cssText ;
}
-
+
oStyleDef.AddAttribute( sAttName, sAttValue ) ;
}
// 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] ;
if ( aGroup == null )
@@ -79,6 +83,6 @@ FCKStylesLoader.prototype.Load = function( stylesXmlUrl )
}
aGroup[aGroup.length] = oStyleDef ;
}
-
+
this.Loaded = true ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbar.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbar.js
index 12225ba718..a5dafd83ff 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbar.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbar.js
@@ -1,21 +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?"
- *
- * File Name: fcktoolbar.js
- * FCKToolbar Class: represents a toolbar in the toolbarset. It is a group of
- * toolbar items.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbar Class: represents a toolbar in the toolbarset. It is a group of
+ * toolbar items.
*/
var FCKToolbar = function()
@@ -39,14 +43,14 @@ FCKToolbar.prototype.AddButton = function( name, label, tooltip, iconPathOrStrip
var oButton = new FCKToolbarButtonUI( name, label, tooltip, iconPathOrStripInfoArrayOrIndex, style, state ) ;
oButton._FCKToolbar = this ;
oButton.OnClick = FCKToolbar_OnItemClick ;
-
+
return this.AddItem( oButton ) ;
}
function FCKToolbar_OnItemClick( item )
{
var oToolbar = item._FCKToolbar ;
-
+
if ( oToolbar.OnItemClick )
oToolbar.OnItemClick( oToolbar, item ) ;
}
@@ -74,23 +78,23 @@ FCKToolbar.prototype.Create = function( parentElement )
e.dir = FCKLang.Dir ;
e.cellPadding = 0 ;
e.cellSpacing = 0 ;
-
+
this.RowElement = e.insertRow(-1) ;
-
+
// Insert the start cell.
var eCell ;
-
+
if ( !this.HideStart )
{
eCell = this.RowElement.insertCell(-1) ;
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 )
{
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js
index 96a1c2fc72..7c7fb81b43 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js
@@ -1,22 +1,26 @@
/*
- * 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?"
- *
- * File Name: fcktoolbarbreak_gecko.js
- * 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.
- *
- * File Authors:
- * 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 ==
+ *
+ * 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()
@@ -25,8 +29,8 @@ var FCKToolbarBreak = function()
FCKToolbarBreak.prototype.Create = function( targetElement )
{
var oBreakDiv = targetElement.ownerDocument.createElement( 'div' ) ;
-
+
oBreakDiv.style.clear = oBreakDiv.style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ;
-
+
targetElement.appendChild( oBreakDiv ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js
index 24cf08fc06..f14d0ca043 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js
@@ -1,22 +1,26 @@
/*
- * 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?"
- *
- * File Name: fcktoolbarbreak_ie.js
- * 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.
- *
- * File Authors:
- * 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 ==
+ *
+ * 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()
@@ -25,10 +29,10 @@ var FCKToolbarBreak = function()
FCKToolbarBreak.prototype.Create = function( targetElement )
{
var oBreakDiv = FCKTools.GetElementDocument( targetElement ).createElement( 'div' ) ;
-
+
oBreakDiv.className = 'TB_Break' ;
-
+
oBreakDiv.style.clear = FCKLang.Dir == 'rtl' ? 'left' : 'right' ;
-
+
targetElement.appendChild( oBreakDiv ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbutton.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbutton.js
index 645939302c..168df80244 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbutton.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbutton.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktoolbarbutton.js
- * FCKToolbarButton Class: represents a button in the toolbar.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarButton Class: represents a button in the toolbar.
*/
var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView, contextSensitive, icon )
@@ -24,7 +28,7 @@ var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView,
this.Tooltip = tooltip ;
this.Style = style ;
this.SourceView = sourceView ? true : false ;
- this.ContextSensitive = contextSensitive ? true : false ;
+ this.ContextSensitive = contextSensitive ? true : false ;
if ( icon == null )
this.IconPath = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ;
@@ -36,7 +40,7 @@ FCKToolbarButton.prototype.Create = function( targetElement )
{
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 ) ;
}
@@ -44,10 +48,10 @@ FCKToolbarButton.prototype.RefreshState = function()
{
// 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 ) ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js
index 7da16878db..08212bec18 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktoolbarbuttonui.js
- * FCKToolbarButtonUI Class: interface representation of a toolbar button.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarButtonUI Class: interface representation of a toolbar button.
*/
var FCKToolbarButtonUI = function( name, label, tooltip, iconPathOrStripInfoArray, style, state )
@@ -24,7 +28,7 @@ var FCKToolbarButtonUI = function( name, label, tooltip, iconPathOrStripInfoArra
this.Tooltip = tooltip || this.Label ;
this.Style = style || FCK_TOOLBARITEM_ONLYICON ;
this.State = state || FCK_TRISTATE_OFF ;
-
+
this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ;
if ( FCK.IECleanup )
@@ -43,18 +47,18 @@ FCKToolbarButtonUI.prototype._CreatePaddingElement = function( document )
FCKToolbarButtonUI.prototype.Create = function( parentElement )
{
var oMainElement = this.MainElement ;
-
+
if ( oMainElement )
{
FCKToolbarButtonUI_Cleanup.call(this) ;
-
+
if ( oMainElement.parentNode )
oMainElement.parentNode.removeChild( oMainElement ) ;
oMainElement = this.MainElement = null ;
}
var oDoc = FCKTools.GetElementDocument( parentElement ) ;
-
+
// Create the Main Element.
oMainElement = this.MainElement = oDoc.createElement( 'DIV' ) ;
oMainElement._FCKButton = this ; // IE Memory Leak (Circular reference).
@@ -69,28 +73,28 @@ FCKToolbarButtonUI.prototype.Create = function( parentElement )
if ( this.Style == FCK_TOOLBARITEM_ONLYICON && !this.ShowArrow )
{
//
-
+
var oTable = oMainElement.appendChild( oDoc.createElement( 'TABLE' ) ) ;
oTable.cellPadding = 0 ;
oTable.cellSpacing = 0 ;
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 )
{
// The Text cell.
@@ -99,15 +103,15 @@ FCKToolbarButtonUI.prototype.Create = function( parentElement )
oCell.noWrap = true ;
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' ) ) ;
eImg.src = FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ;
@@ -119,7 +123,7 @@ FCKToolbarButtonUI.prototype.Create = function( parentElement )
oCell = oRow.insertCell(-1) ;
oCell.appendChild( this._CreatePaddingElement( oDoc ) ) ;
}
-
+
parentElement.appendChild( oMainElement ) ;
}
@@ -130,22 +134,22 @@ FCKToolbarButtonUI.prototype.ChangeState = function( newState, force )
var e = this.MainElement ;
- switch ( parseInt( newState ) )
+ switch ( parseInt( newState, 10 ) )
{
case FCK_TRISTATE_OFF :
e.className = 'TB_Button_Off' ;
e.onmouseover = FCKToolbarButton_OnMouseOverOff ;
e.onmouseout = FCKToolbarButton_OnMouseOutOff ;
e.onclick = FCKToolbarButton_OnClick ;
-
+
break ;
-
+
case FCK_TRISTATE_ON :
e.className = 'TB_Button_On' ;
e.onmouseover = FCKToolbarButton_OnMouseOverOn ;
e.onmouseout = FCKToolbarButton_OnMouseOutOn ;
e.onclick = FCKToolbarButton_OnClick ;
-
+
break ;
case FCK_TRISTATE_DISABLED :
@@ -153,7 +157,7 @@ FCKToolbarButtonUI.prototype.ChangeState = function( newState, force )
e.onmouseover = null ;
e.onmouseout = null ;
e.onclick = null ;
- bEnableEvents = false ;
+
break ;
}
@@ -167,7 +171,7 @@ function FCKToolbarButtonUI_Cleanup()
this.MainElement._FCKButton = null ;
this.MainElement = null ;
}
-}
+}
// Event Handlers.
@@ -197,7 +201,7 @@ function FCKToolbarButton_OnClick( e )
this._FCKButton.OnClick( this._FCKButton ) ;
}
-/*
+/*
Sample outputs:
This is the base structure. The variation is the image that is marked as {Image}:
@@ -206,13 +210,13 @@ function FCKToolbarButton_OnClick( e )
Toolbar Button
These are samples of possible {Image} values:
-
+
Strip - IE version:
-
+
Strip : Firefox, Safari and Opera version
-
+
No-Strip : Browser independent:
*/
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js
index cee5c92242..11318ea2e7 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktoolbarfontformatcombo.js
- * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
*/
var FCKToolbarFontFormatCombo = function( tooltip, style )
@@ -23,9 +27,9 @@ var FCKToolbarFontFormatCombo = function( tooltip, style )
this.Label = this.GetLabel() ;
this.Tooltip = tooltip ? tooltip : this.Label ;
this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ;
-
+
this.NormalLabel = 'Normal' ;
-
+
this.PanelWidth = 190 ;
}
@@ -40,8 +44,16 @@ FCKToolbarFontFormatCombo.prototype.GetLabel = function()
FCKToolbarFontFormatCombo.prototype.CreateItems = function( targetSpecialCombo )
{
+ var oTargetDoc = targetSpecialCombo._Panel.Document ;
+
// Add the Editor Area CSS to the panel to create a realistic preview.
- FCKTools.AppendStyleSheet( targetSpecialCombo._Panel.Document, FCKConfig.ToolbarComboPreviewCSS ) ;
+ FCKTools.AppendStyleSheet( oTargetDoc, FCKConfig.ToolbarComboPreviewCSS ) ;
+
+ // Add ID and Class to the body
+ if ( FCKConfig.BodyId && FCKConfig.BodyId.length > 0 )
+ oTargetDoc.body.id = FCKConfig.BodyId ;
+ if ( FCKConfig.BodyClass && FCKConfig.BodyClass.length > 0 )
+ oTargetDoc.body.className += ' ' + FCKConfig.BodyClass ;
// Get the format names from the language file.
var aNames = FCKLang['FontFormats'].split(';') ;
@@ -60,19 +72,19 @@ FCKToolbarFontFormatCombo.prototype.CreateItems = function( targetSpecialCombo )
// Get the available formats from the configuration file.
var aTags = FCKConfig.FontFormats.split(';') ;
-
+
for ( var i = 0 ; i < aTags.length ; i++ )
{
// Support for DIV in Firefox has been reintroduced on version 2.2.
// 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, '
<' + sTag + '>' + sLabel + '' + sTag + '>
', sLabel ) ;
}
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js
index f7377a0ab6..f11293efda 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktoolbarfontscombo.js
- * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
*/
var FCKToolbarFontsCombo = function( tooltip, style )
@@ -37,7 +41,7 @@ FCKToolbarFontsCombo.prototype.GetLabel = function()
FCKToolbarFontsCombo.prototype.CreateItems = function( targetSpecialCombo )
{
var aFonts = FCKConfig.FontNames.split(';') ;
-
+
for ( var i = 0 ; i < aFonts.length ; i++ )
this._Combo.AddItem( aFonts[i], '' + aFonts[i] + '' ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js
index 727fc7ecaf..10538cbca3 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktoolbarfontsizecombo.js
- * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
*/
var FCKToolbarFontSizeCombo = function( tooltip, style )
@@ -37,9 +41,9 @@ FCKToolbarFontSizeCombo.prototype.GetLabel = function()
FCKToolbarFontSizeCombo.prototype.CreateItems = function( targetSpecialCombo )
{
targetSpecialCombo.FieldWidth = 70 ;
-
+
var aSizes = FCKConfig.FontSizes.split(';') ;
-
+
for ( var i = 0 ; i < aSizes.length ; i++ )
{
var aSizeParts = aSizes[i].split('/') ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js
index f76d1c48e1..7ca7a74393 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js
@@ -1,21 +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?"
- *
- * File Name: fcktoolbarpanelbutton.js
- * FCKToolbarPanelButton Class: represents a special button in the toolbar
- * that shows a panel when pressed.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarPanelButton Class: represents a special button in the toolbar
+ * that shows a panel when pressed.
*/
var FCKToolbarPanelButton = function( commandName, label, tooltip, style, icon )
@@ -23,12 +27,12 @@ var FCKToolbarPanelButton = function( commandName, label, tooltip, style, icon )
this.CommandName = commandName ;
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 ;
oUIButton.ShowArrow = true ;
@@ -42,14 +46,14 @@ FCKToolbarPanelButton.prototype.Create = function( parentElement )
parentElement.className += 'Menu' ;
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' ;
// eLine.style.backgroundColor = 'Red' ;
@@ -66,9 +70,9 @@ function FCKToolbarPanelButton_OnButtonClick( toolbarButton )
{
var oButton = this._FCKToolbarPanelButton ;
var e = oButton._UIButton.MainElement ;
-
+
oButton._UIButton.ChangeState( FCK_TRISTATE_ON ) ;
-
+
oButton.LineImg.style.width = ( e.offsetWidth - 2 ) + 'px' ;
FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( oButton.CommandName ).Execute( 0, e.offsetHeight - 1, e ) ; // -1 to be over the border
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js
index 6baf48282b..75f8c226ab 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js
@@ -1,33 +1,38 @@
/*
- * 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?"
- *
- * File Name: fcktoolbarspecialcombo.js
- * 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 ]
- *
- * File Authors:
- * 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 ==
+ *
+ * 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()
{
this.SourceView = false ;
this.ContextSensitive = true ;
+ this._LastValue = null ;
}
@@ -39,24 +44,24 @@ function FCKToolbarSpecialCombo_OnSelect( itemId, item )
FCKToolbarSpecialCombo.prototype.Create = function( targetElement )
{
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 ;
this._Combo.PanelWidth = this.PanelWidth != null ? this.PanelWidth : 150 ;
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 ) ;
this._Combo.Create( targetElement ) ;
this._Combo.CommandName = this.CommandName ;
-
+
this._Combo.OnSelect = FCKToolbarSpecialCombo_OnSelect ;
}
@@ -71,7 +76,7 @@ FCKToolbarSpecialCombo.prototype.RefreshState = function()
{
// Gets the actual state.
var eState ;
-
+
// if ( FCK.EditMode == FCK_EDITMODE_SOURCE && ! this.SourceView )
// eState = FCK_TRISTATE_DISABLED ;
// else
@@ -83,7 +88,7 @@ FCKToolbarSpecialCombo.prototype.RefreshState = function()
if ( sValue != FCK_TRISTATE_DISABLED )
{
eState = FCK_TRISTATE_ON ;
-
+
if ( this.RefreshActiveItems )
this.RefreshActiveItems( this._Combo, sValue ) ;
else
@@ -98,10 +103,10 @@ FCKToolbarSpecialCombo.prototype.RefreshState = function()
else
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 )
{
this._Combo.DeselectAll() ;
@@ -126,4 +131,4 @@ FCKToolbarSpecialCombo.prototype.Disable = function()
this._Combo.DeselectAll() ;
this._Combo.SetLabel( '' ) ;
this._Combo.SetEnabled( false ) ;
-}
\ No newline at end of file
+}
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js
index b259a3004e..69951ec5b9 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktoolbarstylecombo.js
- * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKToolbarPanelButton Class: Handles the Fonts combo selector.
*/
var FCKToolbarStyleCombo = function( tooltip, style )
@@ -37,13 +41,21 @@ FCKToolbarStyleCombo.prototype.GetLabel = function()
FCKToolbarStyleCombo.prototype.CreateItems = function( targetSpecialCombo )
{
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 ) ;
oTargetDoc.body.className += ' ForceBaseFont' ;
+ // Add ID and Class to the body
+ if ( FCKConfig.BodyId && FCKConfig.BodyId.length > 0 )
+ oTargetDoc.body.id = FCKConfig.BodyId ;
+ if ( FCKConfig.BodyClass && FCKConfig.BodyClass.length > 0 )
+ oTargetDoc.body.className += ' ' + FCKConfig.BodyClass ;
+
+
// For some reason Gecko is blocking inside the "RefreshVisibleItems" function.
- if ( ! FCKBrowserInfo.IsGecko )
+ // The problem is present only in old versions
+ if ( !( FCKBrowserInfo.IsGecko && FCKBrowserInfo.IsGecko10 ) )
targetSpecialCombo.OnBeforeClick = this.RefreshVisibleItems ;
// Add the styles to the special combo.
@@ -52,12 +64,12 @@ FCKToolbarStyleCombo.prototype.CreateItems = function( targetSpecialCombo )
{
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 ;
}
}
@@ -66,10 +78,10 @@ FCKToolbarStyleCombo.prototype.RefreshActiveItems = function( targetSpecialCombo
{
// Clear the actual selection.
targetSpecialCombo.DeselectAll() ;
-
+
// Get the active styles.
var aStyles = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetActiveStyles() ;
-
+
if ( aStyles.length > 0 )
{
// Select the active styles in the combo.
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckw3crange.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckw3crange.js
new file mode 100644
index 0000000000..fe7a98e265
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckw3crange.js
@@ -0,0 +1,448 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 )
+{
+ this._Document = parentDocument ;
+
+ this.startContainer = null ;
+ this.startOffset = null ;
+ this.endContainer = null ;
+ this.endOffset = null ;
+ this.collapsed = true ;
+}
+
+FCKW3CRange.CreateRange = function( parentDocument )
+{
+ // We could opt to use the Range implentation of the browsers. The problem
+ // is that every browser have different bugs on their implementations,
+ // mostly related to different interpretations of the W3C specifications.
+ // So, for now, let's use our implementation and pray for browsers fixings
+ // soon. Otherwise will go crazy on trying to find out workarounds.
+ /*
+ // Get the browser implementation of the range, if available.
+ if ( parentDocument.createRange )
+ {
+ var range = parentDocument.createRange() ;
+ if ( typeof( range.startContainer ) != 'undefined' )
+ return range ;
+ }
+ */
+ return new FCKW3CRange( parentDocument ) ;
+}
+
+FCKW3CRange.CreateFromRange = function( parentDocument, sourceRange )
+{
+ var range = FCKW3CRange.CreateRange( parentDocument ) ;
+ range.setStart( sourceRange.startContainer, sourceRange.startOffset ) ;
+ range.setEnd( sourceRange.endContainer, sourceRange.endOffset ) ;
+ return range ;
+}
+
+FCKW3CRange.prototype =
+{
+
+ _UpdateCollapsed : function()
+ {
+ this.collapsed = ( this.startContainer == this.endContainer && this.startOffset == this.endOffset ) ;
+ },
+
+ // W3C requires a check for the new position. If it is after the end
+ // boundary, the range should be collapsed to the new start. It seams we
+ // will not need this check for our use of this class so we can ignore it for now.
+ setStart : function( refNode, offset )
+ {
+ this.startContainer = refNode ;
+ this.startOffset = offset ;
+
+ if ( !this.endContainer )
+ {
+ this.endContainer = refNode ;
+ this.endOffset = offset ;
+ }
+
+ 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
+ // will not need this check for our use of this class so we can ignore it for now.
+ setEnd : function( refNode, offset )
+ {
+ this.endContainer = refNode ;
+ this.endOffset = offset ;
+
+ if ( !this.startContainer )
+ {
+ this.startContainer = refNode ;
+ this.startOffset = offset ;
+ }
+
+ this._UpdateCollapsed() ;
+ },
+
+ setStartAfter : function( refNode )
+ {
+ this.setStart( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) + 1 ) ;
+ },
+
+ setStartBefore : function( refNode )
+ {
+ this.setStart( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ;
+ },
+
+ setEndAfter : function( refNode )
+ {
+ this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) + 1 ) ;
+ },
+
+ setEndBefore : function( refNode )
+ {
+ this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ;
+ },
+
+ collapse : function( toStart )
+ {
+ if ( toStart )
+ {
+ this.endContainer = this.startContainer ;
+ this.endOffset = this.startOffset ;
+ }
+ else
+ {
+ this.startContainer = this.endContainer ;
+ this.startOffset = this.endOffset ;
+ }
+
+ this.collapsed = true ;
+ },
+
+ selectNodeContents : function( refNode )
+ {
+ this.setStart( refNode, 0 ) ;
+ this.setEnd( refNode, refNode.nodeType == 3 ? refNode.data.length : refNode.childNodes.length ) ;
+ },
+
+ insertNode : function( newNode )
+ {
+ var startContainer = this.startContainer ;
+ var startOffset = this.startOffset ;
+
+ // If we are in a text node.
+ if ( startContainer.nodeType == 3 )
+ {
+ startContainer.splitText( startOffset ) ;
+
+ // Check if it is necessary to update the end boundary.
+ 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 ;
+ }
+ else
+ {
+ // Simply insert the new node before the current start node.
+ startContainer.insertBefore( newNode, startContainer.childNodes[ startOffset ] || null ) ;
+
+ // Check if it is necessary to update the end boundary.
+ if ( startContainer == this.endContainer )
+ {
+ this.endOffset++ ;
+ this.collapsed = false ;
+ }
+ }
+ },
+
+ deleteContents : function()
+ {
+ if ( this.collapsed )
+ return ;
+
+ this._ExecContentsAction( 0 ) ;
+ },
+
+ extractContents : function()
+ {
+ var docFrag = new FCKDocumentFragment( this._Document ) ;
+
+ if ( !this.collapsed )
+ this._ExecContentsAction( 1, docFrag ) ;
+
+ return docFrag ;
+ },
+
+ // The selection may be lost when clonning (due to the splitText() call).
+ cloneContents : function()
+ {
+ var docFrag = new FCKDocumentFragment( this._Document ) ;
+
+ if ( !this.collapsed )
+ this._ExecContentsAction( 2, docFrag ) ;
+
+ return docFrag ;
+ },
+
+ _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.
+
+ // For text containers, we must simply split the node and point to the
+ // second part. The removal will be handled by the rest of the code .
+ if ( endNode.nodeType == 3 )
+ endNode = endNode.splitText( endOffset ) ;
+ else
+ {
+ // If the end container has children and the offset is pointing
+ // to a child, then we should start from it.
+ if ( endNode.childNodes.length > 0 )
+ {
+ // If the offset points after the last node.
+ if ( endOffset > endNode.childNodes.length - 1 )
+ {
+ // Let's create a temporary node and mark it for removal.
+ endNode = FCKDomTools.InsertAfterNode( endNode.lastChild, this._Document.createTextNode('') ) ;
+ removeEndNode = true ;
+ }
+ else
+ endNode = endNode.childNodes[ endOffset ] ;
+ }
+ }
+
+ // For text containers, we must simply split the node. The removal will
+ // 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
+ {
+ // If the start container has children and the offset is pointing
+ // to a child, then we should start from its previous sibling.
+ if ( startNode.childNodes.length > 0 && startOffset <= startNode.childNodes.length - 1 )
+ {
+ // If the offset points to the first node, we don't have a
+ // sibling, so let's use the first one, but mark it for removal.
+ if ( startOffset == 0 )
+ {
+ // Let's create a temporary node and mark it for removal.
+ startNode = startNode.insertBefore( this._Document.createTextNode(''), startNode.firstChild ) ;
+ removeStartNode = true ;
+ }
+ else
+ startNode = startNode.childNodes[ startOffset ].previousSibling ;
+ }
+ }
+
+ // 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
+ // most element.
+ if ( topStart != topEnd )
+ break ;
+ }
+
+ var clone, levelStartNode, levelClone, currentNode, currentSibling ;
+
+ if ( docFrag )
+ clone = docFrag.RootNode ;
+
+ // Remove all successive sibling nodes for every node in the
+ // startParents tree.
+ for ( var j = i ; j < startParents.length ; j++ )
+ {
+ levelStartNode = startParents[j] ;
+
+ // For Extract and Clone, we must clone this level.
+ if ( clone && levelStartNode != startNode ) // action = 0 = Delete
+ levelClone = clone.appendChild( levelStartNode.cloneNode( levelStartNode == startNode ) ) ;
+
+ currentNode = levelStartNode.nextSibling ;
+
+ while( currentNode )
+ {
+ // Stop processing when the current node matches a node in the
+ // endParents tree or if it is the endNode.
+ if ( currentNode == endParents[j] || currentNode == endNode )
+ break ;
+
+ // Cache the next sibling.
+ currentSibling = currentNode.nextSibling ;
+
+ // If clonning, just clone it.
+ if ( action == 2 ) // 2 = Clone
+ clone.appendChild( currentNode.cloneNode( true ) ) ;
+ else
+ {
+ // 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 ;
+
+ // Remove all previous sibling nodes for every node in the
+ // endParents tree.
+ for ( var k = i ; k < endParents.length ; k++ )
+ {
+ levelStartNode = endParents[k] ;
+
+ // For Extract and Clone, we must clone this level.
+ 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[k] || levelStartNode.parentNode != startParents[k].parentNode )
+ {
+ currentNode = levelStartNode.previousSibling ;
+
+ while( currentNode )
+ {
+ // Stop processing when the current node matches a node in the
+ // startParents tree or if it is the startNode.
+ if ( currentNode == startParents[k] || currentNode == startNode )
+ break ;
+
+ // Cache the next sibling.
+ currentSibling = currentNode.previousSibling ;
+
+ // If clonning, just clone it.
+ if ( action == 2 ) // 2 = Clone
+ clone.insertBefore( currentNode.cloneNode( true ), clone.firstChild ) ;
+ else
+ {
+ // 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
+ clone.insertBefore( currentNode, clone.firstChild ) ;
+ }
+
+ currentNode = currentSibling ;
+ }
+ }
+
+ if ( clone )
+ clone = levelClone ;
+ }
+
+ if ( action == 2 ) // 2 = Clone.
+ {
+ // No changes in the DOM should be done, so fix the split text (if any).
+
+ 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 ) ;
+ }
+ }
+ else
+ {
+ // 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 ) ;
+ },
+
+ cloneRange : function()
+ {
+ return FCKW3CRange.CreateFromRange( this._Document, this ) ;
+ },
+
+ toString : function()
+ {
+ var docFrag = this.cloneContents() ;
+
+ var tmpDiv = this._Document.createElement( 'div' ) ;
+ docFrag.AppendTo( tmpDiv ) ;
+
+ return tmpDiv.textContent || tmpDiv.innerText ;
+ }
+} ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_gecko.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_gecko.js
index d752f1d230..c9dc916748 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_gecko.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckxml_gecko.js
- * FCKXml Class: class to load and manipulate XML files.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKXml Class: class to load and manipulate XML files.
*/
var FCKXml = function()
@@ -22,27 +26,41 @@ var FCKXml = function()
FCKXml.prototype.LoadUrl = function( urlToCall )
{
+ this.Error = false ;
var oFCKXml = this ;
var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ;
oXmlHttp.open( "GET", urlToCall, false ) ;
oXmlHttp.send( null ) ;
-
+
if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 )
this.DOMDocument = oXmlHttp.responseXML ;
else if ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 )
this.DOMDocument = oXmlHttp.responseXML ;
else
- alert( 'Error loading "' + urlToCall + '"' ) ;
+ this.DOMDocument = null ;
+
+ if ( this.DOMDocument == null || this.DOMDocument.firstChild == null )
+ {
+ this.Error = true ;
+ if (window.confirm( 'Error loading "' + urlToCall + '"\r\nDo you want to see more info?' ) )
+ alert( 'URL requested: "' + urlToCall + '"\r\n' +
+ 'Server response:\r\nStatus: ' + oXmlHttp.status + '\r\n' +
+ 'Response text:\r\n' + oXmlHttp.responseText ) ;
+
+ }
}
FCKXml.prototype.SelectNodes = function( xpath, contextNode )
{
+ if ( this.Error )
+ return new Array() ;
+
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() ;
while( oNode )
@@ -50,17 +68,20 @@ FCKXml.prototype.SelectNodes = function( xpath, contextNode )
aNodeArray[aNodeArray.length] = oNode ;
oNode = xPathResult.iterateNext();
}
- }
+ }
return aNodeArray ;
}
-FCKXml.prototype.SelectSingleNode = function( xpath, contextNode )
+FCKXml.prototype.SelectSingleNode = function( xpath, contextNode )
{
+ if ( this.Error )
+ return null ;
+
var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument,
this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), 9, null);
if ( xPathResult && xPathResult.singleNodeValue )
return xPathResult.singleNodeValue ;
- else
+ else
return null ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_ie.js b/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_ie.js
index b4e07ebc37..5efc12fd9a 100644
--- a/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/classes/fckxml_ie.js
@@ -1,21 +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?"
- *
- * File Name: fckxml_ie.js
- * FCKXml Class: class to load and manipulate XML files.
- * (IE specific implementation)
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKXml Class: class to load and manipulate XML files.
+ * (IE specific implementation)
*/
var FCKXml = function()
@@ -36,9 +40,9 @@ FCKXml.prototype.LoadUrl = function( urlToCall )
}
oXmlHttp.open( "GET", urlToCall, false ) ;
-
+
oXmlHttp.send( null ) ;
-
+
if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 )
this.DOMDocument = oXmlHttp.responseXML ;
else if ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 )
@@ -49,9 +53,17 @@ FCKXml.prototype.LoadUrl = function( urlToCall )
this.DOMDocument.loadXML( oXmlHttp.responseText ) ;
}
else
+ {
+ this.DOMDocument = null ;
+ }
+
+ if ( this.DOMDocument == null || this.DOMDocument.firstChild == null )
{
this.Error = true ;
- alert( 'Error loading "' + urlToCall + '"' ) ;
+ if (window.confirm( 'Error loading "' + urlToCall + '"\r\nDo you want to see more info?' ) )
+ alert( 'URL requested: "' + urlToCall + '"\r\n' +
+ 'Server response:\r\nStatus: ' + oXmlHttp.status + '\r\n' +
+ 'Response text:\r\n' + oXmlHttp.responseText ) ;
}
}
@@ -66,11 +78,11 @@ FCKXml.prototype.SelectNodes = function( xpath, contextNode )
return this.DOMDocument.selectNodes( xpath ) ;
}
-FCKXml.prototype.SelectSingleNode = function( xpath, contextNode )
+FCKXml.prototype.SelectSingleNode = function( xpath, contextNode )
{
if ( this.Error )
- return ;
-
+ return null ;
+
if ( contextNode )
return contextNode.selectSingleNode( xpath ) ;
else
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fck_othercommands.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fck_othercommands.js
index 46bba4b8ee..079bfb71c2 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fck_othercommands.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fck_othercommands.js
@@ -1,21 +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?"
- *
- * File Name: fck_othercommands.js
- * Definition of other commands that are not available internaly in the
- * browser (see FCKNamedCommand).
- *
- * File Authors:
- * 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 ==
+ *
+ * Definition of other commands that are not available internaly in the
+ * browser (see FCKNamedCommand).
*/
// ### General Dialog Box Commands.
@@ -29,11 +33,13 @@ var FCKDialogCommand = function( name, title, url, width, height, getStateFuncti
this.GetStateFunction = getStateFunction ;
this.GetStateParam = getStateParam ;
+
+ this.Resizable = false ;
}
FCKDialogCommand.prototype.Execute = function()
{
- FCKDialog.OpenDialog( 'FCKDialog_' + this.Name , this.Title, this.Url, this.Width, this.Height ) ;
+ FCKDialog.OpenDialog( 'FCKDialog_' + this.Name , this.Title, this.Url, this.Width, this.Height, null, null, this.Resizable ) ;
}
FCKDialogCommand.prototype.GetState = function()
@@ -89,7 +95,7 @@ var FCKFontSizeCommand = function()
FCKFontSizeCommand.prototype.Execute = function( fontSize )
{
- if ( typeof( fontSize ) == 'string' ) fontSize = parseInt(fontSize) ;
+ if ( typeof( fontSize ) == 'string' ) fontSize = parseInt(fontSize, 10) ;
if ( fontSize == null || fontSize == '' )
{
@@ -151,7 +157,7 @@ var FCKSaveCommand = function()
FCKSaveCommand.prototype.Execute = function()
{
// Get the linked field form.
- var oForm = FCK.LinkedField.form ;
+ var oForm = FCK.GetParentForm() ;
if ( typeof( oForm.onsubmit ) == 'function' )
{
@@ -180,8 +186,6 @@ FCKNewPageCommand.prototype.Execute = function()
FCKUndo.SaveUndoStep() ;
FCK.SetHTML( '' ) ;
FCKUndo.Typing = true ;
-// FCK.SetHTML( FCKBrowserInfo.IsGecko ? ' ' : '' ) ;
-// FCK.SetHTML( FCKBrowserInfo.IsGecko ? GECKO_BOGUS : '' ) ;
}
FCKNewPageCommand.prototype.GetState = function()
@@ -267,12 +271,12 @@ FCKPageBreakCommand.prototype.Execute = function()
// var e = FCK.EditorDocument.createElement( 'CENTER' ) ;
// 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 = '' ;
-
+
var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', e ) ;
oFakeImage = FCK.InsertElement( oFakeImage ) ;
}
@@ -293,10 +297,10 @@ FCKUnlinkCommand.prototype.Execute = function()
if ( FCKBrowserInfo.IsGecko )
{
var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ;
- if ( oLink )
+ if ( oLink )
FCK.Selection.SelectNode( oLink ) ;
}
-
+
FCK.ExecuteNamedCommand( this.Name ) ;
if ( FCKBrowserInfo.IsGecko )
@@ -305,5 +309,72 @@ FCKUnlinkCommand.prototype.Execute = function()
FCKUnlinkCommand.prototype.GetState = function()
{
- return FCK.GetNamedCommandState( this.Name ) ;
-}
\ No newline at end of file
+ var state = FCK.GetNamedCommandState( this.Name ) ;
+
+ // Check that it isn't an anchor
+ if ( state == FCK_TRISTATE_OFF && FCK.EditMode == FCK_EDITMODE_WYSIWYG )
+ {
+ var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ;
+ var bIsAnchor = ( oLink && oLink.name.length > 0 && oLink.href.length == 0 ) ;
+ if ( bIsAnchor )
+ state = FCK_TRISTATE_DISABLED ;
+ }
+
+ return state ;
+}
+
+// FCKSelectAllCommand
+var FCKSelectAllCommand = function()
+{
+ this.Name = 'SelectAll' ;
+}
+
+FCKSelectAllCommand.prototype.Execute = function()
+{
+ if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
+ {
+ FCK.ExecuteNamedCommand( 'SelectAll' ) ;
+ }
+ else
+ {
+ // Select the contents of the textarea
+ var textarea = FCK.EditingArea.Textarea ;
+ if ( FCKBrowserInfo.IsIE )
+ {
+ textarea.createTextRange().execCommand( 'SelectAll' ) ;
+ }
+ else
+ {
+ textarea.selectionStart = 0;
+ textarea.selectionEnd = textarea.value.length ;
+ }
+ textarea.focus() ;
+ }
+}
+
+FCKSelectAllCommand.prototype.GetState = function()
+{
+ return FCK_TRISTATE_OFF ;
+}
+
+// FCKPasteCommand
+var FCKPasteCommand = function()
+{
+ this.Name = 'Paste' ;
+}
+
+FCKPasteCommand.prototype =
+{
+ Execute : function()
+ {
+ if ( FCKBrowserInfo.IsIE )
+ FCK.Paste() ;
+ else
+ FCK.ExecuteNamedCommand( 'Paste' ) ;
+ },
+
+ GetState : function()
+ {
+ return FCK.GetNamedCommandState( 'Paste' ) ;
+ }
+} ;
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckfitwindow.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckfitwindow.js
index 0f5c5bedf4..66fbdfa7ec 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckfitwindow.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckfitwindow.js
@@ -1,22 +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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckfitwindow.js
- * Stretch the editor to full window size and back.
- *
- * File Authors:
- * Paul Moers (mail@saulmade.nl)
- * Thanks to Christian Fecteau (webmaster@christianfecteau.com)
- * 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 ==
+ *
+ * Stretch the editor to full window size and back.
*/
var FCKFitWindow = function()
@@ -33,6 +35,7 @@ FCKFitWindow.prototype.Execute = function()
var eDocEl = eMainWindow.document.documentElement ;
var eBody = eMainWindow.document.body ;
var eBodyStyle = eBody.style ;
+ var eParent ;
// No original style properties known? Go fullscreen.
if ( !this.IsMaximized )
@@ -45,14 +48,15 @@ FCKFitWindow.prototype.Execute = function()
// 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 ;
- while( eParent = eParent.parentNode )
+ eParent = eEditorFrame ;
+ // The extra () is to avoid a warning with strict error checking. This is ok.
+ while( (eParent = eParent.parentNode) )
{
if ( eParent.nodeType == 1 )
eParent._fckSavedStyles = FCKTools.SaveStyles( eParent ) ;
- }
+ }
// Hide IE scrollbars (in strict mode).
if ( FCKBrowserInfo.IsIE )
@@ -68,10 +72,10 @@ FCKFitWindow.prototype.Execute = function()
eBodyStyle.width = '0px' ;
eBodyStyle.height = '0px' ;
}
-
+
// Save the IFRAME styles.
this._EditorFrameStyles = FCKTools.SaveStyles( eEditorFrame ) ;
-
+
// Resize.
var oViewPaneSize = FCKTools.GetViewPaneSize( eMainWindow ) ;
@@ -81,11 +85,11 @@ FCKFitWindow.prototype.Execute = function()
eEditorFrameStyle.top = "0px";
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
// background of it to white to cover the page laying behind it anyway.
@@ -109,8 +113,9 @@ FCKFitWindow.prototype.Execute = function()
eMainWindow.removeEventListener( "resize", FCKFitWindow_Resize, true ) ;
// Restore the CSS position for the entire node tree.
- var eParent = eEditorFrame ;
- while( eParent = eParent.parentNode )
+ eParent = eEditorFrame ;
+ // The extra () is to avoid a warning with strict error checking. This is ok.
+ while( (eParent = eParent.parentNode) )
{
if ( eParent._fckSavedStyles )
{
@@ -118,30 +123,30 @@ FCKFitWindow.prototype.Execute = function()
eParent._fckSavedStyles = null ;
}
}
-
+
// Restore IE scrollbars
if ( FCKBrowserInfo.IsIE )
eDocEl.style.overflow = this.documentElementOverflow ;
// Restore original size
FCKTools.RestoreStyles( eEditorFrame, this._EditorFrameStyles ) ;
-
+
// Restore the window scroll position.
eMainWindow.scrollTo( this._ScrollPos.X, this._ScrollPos.Y ) ;
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() ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcknamedcommand.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcknamedcommand.js
index d11c7bfca8..8b6909684e 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcknamedcommand.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcknamedcommand.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcknamedcommand.js
- * FCKNamedCommand Class: represents an internal browser command.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKNamedCommand Class: represents an internal browser command.
*/
var FCKNamedCommand = function( commandName )
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js
index 2e7c5f80b7..f12ac82853 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js
@@ -1,24 +1,28 @@
/*
- * 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?"
- *
- * File Name: fckpasteplaintextcommand.js
- * FCKPastePlainTextCommand Class: represents the
- * "Paste as Plain Text" command.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKPastePlainTextCommand Class: represents the
+ * "Paste as Plain Text" command.
*/
-var FCKPastePlainTextCommand = function()
+var FCKPastePlainTextCommand = function()
{
this.Name = 'PasteText' ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js
index ebe2ce8a11..b0608d4a2b 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js
@@ -1,23 +1,27 @@
/*
- * 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?"
- *
- * File Name: fckpastewordcommand.js
- * FCKPasteWordCommand Class: represents the "Paste from Word" command.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKPasteWordCommand Class: represents the "Paste from Word" command.
*/
-var FCKPasteWordCommand = function()
+var FCKPasteWordCommand = function()
{
this.Name = 'PasteWord' ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js
index 897b6b6a4b..527ab1e2df 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js
@@ -1,21 +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?"
- *
- * File Name: fckspellcheckcommand_gecko.js
- * FCKStyleCommand Class: represents the "Spell Check" command.
- * (Gecko specific implementation)
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKStyleCommand Class: represents the "Spell Check" command.
+ * (Gecko specific implementation)
*/
var FCKSpellCheckCommand = function()
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js
index a43bf3df18..820578712a 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js
@@ -1,21 +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?"
- *
- * File Name: fckspellcheckcommand_ie.js
- * FCKStyleCommand Class: represents the "Spell Check" command.
- * (IE specific implementation)
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKStyleCommand Class: represents the "Spell Check" command.
+ * (IE specific implementation)
*/
var FCKSpellCheckCommand = function()
@@ -31,7 +35,7 @@ FCKSpellCheckCommand.prototype.Execute = function()
case 'ieSpell' :
this._RunIeSpell() ;
break ;
-
+
case 'SpellerPages' :
FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'dialog/fck_spellerpages.html', 440, 480 ) ;
break ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckstylecommand.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckstylecommand.js
index e832347d8c..6ba8142075 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckstylecommand.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fckstylecommand.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckstylecommand.js
- * FCKStyleCommand Class: represents the "Style" command.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKStyleCommand Class: represents the "Style" command.
*/
var FCKStyleCommand = function()
@@ -39,7 +43,7 @@ FCKStyleCommand.prototype.Execute = function( styleName, styleComboItem )
FCKUndo.SaveUndoStep() ;
FCK.Focus() ;
-
+
FCK.Events.FireEvent( "OnSelectionChange" ) ;
}
@@ -49,7 +53,7 @@ FCKStyleCommand.prototype.GetState = function()
return FCK_TRISTATE_DISABLED ;
var oSelection = FCK.EditorDocument.selection ;
-
+
if ( FCKSelection.GetType() == 'Control' )
{
var e = FCKSelection.GetSelectedElement() ;
@@ -63,12 +67,12 @@ FCKStyleCommand.prototype.GetState = function()
FCKStyleCommand.prototype.GetActiveStyles = function()
{
var aActiveStyles = new Array() ;
-
+
if ( FCKSelection.GetType() == 'Control' )
this._CheckStyle( FCKSelection.GetSelectedElement(), aActiveStyles, false ) ;
else
this._CheckStyle( FCKSelection.GetParentElement(), aActiveStyles, true ) ;
-
+
return aActiveStyles ;
}
@@ -86,10 +90,10 @@ FCKStyleCommand.prototype._CheckStyle = function( element, targetArray, checkPar
{
if ( aStyleGroup[i].IsEqual( element ) )
targetArray[ targetArray.length ] = aStyleGroup[i] ;
- }
+ }
}
}
-
+
if ( checkParent )
this._CheckStyle( element.parentNode, targetArray, checkParent ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktablecommand.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktablecommand.js
index 04aaf7324e..ed69d858df 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktablecommand.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktablecommand.js
@@ -1,21 +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?"
- *
- * File Name: fcktablecommand.js
- * FCKPastePlainTextCommand Class: represents the
- * "Paste as Plain Text" command.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKPastePlainTextCommand Class: represents the
+ * "Paste as Plain Text" command.
*/
var FCKTableCommand = function( command )
@@ -26,7 +30,7 @@ var FCKTableCommand = function( command )
FCKTableCommand.prototype.Execute = function()
{
FCKUndo.SaveUndoStep() ;
-
+
switch ( this.Name )
{
case 'TableInsertRow' :
diff --git a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js
index 6b524dd4e3..ba1ac0e775 100644
--- a/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js
+++ b/phpgwapi/js/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js
@@ -1,21 +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?"
- *
- * File Name: fcktextcolorcommand.js
- * FCKTextColorCommand Class: represents the text color comand. It shows the
- * color selection panel.
- *
- * File Authors:
- * 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 ==
+ *
+ * FCKTextColorCommand Class: represents the text color comand. It shows the
+ * color selection panel.
*/
// FCKTextColorCommand Contructor
@@ -26,7 +30,7 @@ var FCKTextColorCommand = function( type )
this.Type = type ;
var oWindow ;
-
+
if ( FCKBrowserInfo.IsIE )
oWindow = window ;
else if ( FCK.ToolbarSet._IFrame )
@@ -38,7 +42,7 @@ var FCKTextColorCommand = function( type )
this._Panel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ;
this._Panel.MainNode.className = 'FCK_Panel' ;
this._CreatePanelBody( this._Panel.Document, this._Panel.MainNode ) ;
-
+
FCKTools.DisableSelection( this._Panel.Document.body ) ;
}
@@ -59,7 +63,7 @@ FCKTextColorCommand.prototype.SetColor = function( color )
{
if ( FCKBrowserInfo.IsGecko && !FCKConfig.GeckoUseSPAN )
FCK.EditorDocument.execCommand( 'useCSS', false, false ) ;
-
+
FCK.ExecuteNamedCommand( 'hilitecolor', color ) ;
if ( FCKBrowserInfo.IsGecko && !FCKConfig.GeckoUseSPAN )
@@ -67,7 +71,7 @@ FCKTextColorCommand.prototype.SetColor = function( color )
}
else
FCK.ExecuteNamedCommand( 'BackColor', color ) ;
-
+
// Delete the "cached" active panel type.
delete FCK._ActiveColorPanelType ;
}
@@ -110,7 +114,7 @@ FCKTextColorCommand.prototype._CreatePanelBody = function( targetDocument, targe
oDiv.className = 'ColorDeselected' ;
oDiv.onmouseover = FCKTextColorCommand_OnMouseOver ;
oDiv.onmouseout = FCKTextColorCommand_OnMouseOut ;
-
+
return oDiv ;
}
@@ -128,7 +132,7 @@ FCKTextColorCommand.prototype._CreatePanelBody = function( targetDocument, targe
// Create the Button for the "Automatic" color selection.
var oDiv = oCell.appendChild( CreateSelectionDiv() ) ;
- oDiv.innerHTML =
+ oDiv.innerHTML =
'
\
\
\
@@ -147,7 +151,7 @@ FCKTextColorCommand.prototype._CreatePanelBody = function( targetDocument, targe
while ( iCounter < aColors.length )
{
var oRow = oTable.insertRow(-1) ;
-
+
for ( var i = 0 ; i < 8 && iCounter < aColors.length ; i++, iCounter++ )
{
oDiv = oRow.insertCell(-1).appendChild( CreateSelectionDiv() ) ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/fckconstants.js b/phpgwapi/js/fckeditor/editor/_source/fckconstants.js
index a9a66a9d31..c44ca789fe 100644
--- a/phpgwapi/js/fckeditor/editor/_source/fckconstants.js
+++ b/phpgwapi/js/fckeditor/editor/_source/fckconstants.js
@@ -1,21 +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?"
- *
- * File Name: fckconstants.js
- * Defines some constants used by the editor. These constants are also
- * globally available in the page where the editor is placed.
- *
- * File Authors:
- * 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 ==
+ *
+ * Defines some constants used by the editor. These constants are also
+ * globally available in the page where the editor is placed.
*/
// Editor Instance Status.
@@ -41,4 +45,8 @@ var FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ;
var FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ;
var FCK_IMAGES_PATH = 'images/' ; // Check usage.
-var FCK_SPACER_PATH = 'images/spacer.gif' ;
\ No newline at end of file
+var FCK_SPACER_PATH = 'images/spacer.gif' ;
+
+var CTRL = 1000 ;
+var SHIFT = 2000 ;
+var ALT = 4000 ;
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/fckeditorapi.js b/phpgwapi/js/fckeditor/editor/_source/fckeditorapi.js
index 991fb7d87d..0a4fb46d75 100644
--- a/phpgwapi/js/fckeditor/editor/_source/fckeditorapi.js
+++ b/phpgwapi/js/fckeditor/editor/_source/fckeditorapi.js
@@ -1,104 +1,161 @@
/*
- * 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?"
- *
- * File Name: fckeditorapi.js
- * Create the FCKeditorAPI object that is available as a global object in
- * the page where the editor is placed in.
- *
- * File Authors:
- * 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 ==
+ *
+ * Create the FCKeditorAPI object that is available as a global object in
+ * the page where the editor is placed in.
*/
var FCKeditorAPI ;
function InitializeAPI()
{
- if ( !( FCKeditorAPI = window.parent.FCKeditorAPI ) )
+ var oParentWindow = window.parent ;
+
+ if ( !( FCKeditorAPI = oParentWindow.FCKeditorAPI ) )
{
- // Make the FCKeditorAPI object available in the parent window. Use
- // eval so it is independent from this window 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 FCKeditorAPI = {\
- Version : \'2.3.2\',\
- VersionBuild : \'1082\',\
- __Instances : new Object(),\
- GetInstance : function( instanceName )\
- {\
- return this.__Instances[ instanceName ] ;\
- },\
- _FunctionQueue : {\
- Functions : new Array(),\
- IsRunning : false,\
- Add : function( functionToAdd )\
- {\
- this.Functions.push( functionToAdd ) ;\
- if ( !this.IsRunning )\
- this.StartNext() ;\
- },\
- StartNext : function()\
- {\
- var aQueue = this.Functions ;\
- if ( aQueue.length > 0 )\
- {\
- this.IsRunning = true ;\
- aQueue[0].call() ;\
- }\
- else\
- this.IsRunning = false ;\
- },\
- Remove : function( func )\
- {\
- var aQueue = this.Functions ;\
- var i = 0, fFunc ;\
- while( fFunc = aQueue[ i ] )\
- {\
- if ( fFunc == func )\
- aQueue.splice( i,1 ) ;\
- i++ ;\
- }\
- this.StartNext() ;\
- }\
- }\
- }' ;
-
+
+ // Note: we check the existence of oEditor.GetParentForm because some external
+ // code (like JSON) can extend the Object protype and we get then extra oEditor
+ // objects that aren't really FCKeditor instances.
+ var sScript =
+ 'var FCKeditorAPI = {' +
+ 'Version : "2.4.1",' +
+ 'VersionBuild : "14797",' +
+ '__Instances : new Object(),' +
+
+ 'GetInstance : function( name )' +
+ '{' +
+ 'return this.__Instances[ name ];' +
+ '},' +
+
+ '_FormSubmit : function()' +
+ '{' +
+ 'for ( var name in FCKeditorAPI.__Instances )' +
+ '{' +
+ 'var oEditor = FCKeditorAPI.__Instances[ name ] ;' +
+ 'if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )' +
+ 'oEditor.UpdateLinkedField() ;' +
+ '}' +
+ 'this._FCKOriginalSubmit() ;' +
+ '},' +
+
+ '_FunctionQueue : {' +
+ 'Functions : new Array(),' +
+ 'IsRunning : false,' +
+
+ 'Add : function( f )' +
+ '{' +
+ 'this.Functions.push( f );' +
+ 'if ( !this.IsRunning )' +
+ 'this.StartNext();' +
+ '},' +
+
+ 'StartNext : function()' +
+ '{' +
+ 'var aQueue = this.Functions ;' +
+ 'if ( aQueue.length > 0 )' +
+ '{' +
+ 'this.IsRunning = true;' +
+ 'aQueue[0].call();' +
+ '}' +
+ 'else ' +
+ 'this.IsRunning = false;' +
+ '},' +
+
+ 'Remove : function( f )' +
+ '{' +
+ 'var aQueue = this.Functions;' +
+ 'var i = 0, fFunc;' +
+ 'while( (fFunc = aQueue[ i ]) )' +
+ '{' +
+ 'if ( fFunc == f )' +
+ 'aQueue.splice( i,1 );' +
+ 'i++ ;' +
+ '}' +
+ 'this.StartNext();' +
+ '}' +
+ '}' +
+ '}' ;
+
// In IE, the "eval" function is not always available (it works with
// the JavaScript samples, but not with the ASP ones, for example).
// So, let's use the execScript instead.
- if ( window.parent.execScript )
- window.parent.execScript( sScript, 'JavaScript' ) ;
+ if ( oParentWindow.execScript )
+ oParentWindow.execScript( sScript, 'JavaScript' ) ;
else
{
if ( FCKBrowserInfo.IsGecko10 )
{
- // FF 1.0.4 gives an error with the above request. The
- // following seams to work well. It could become to official
- // implementation for all browsers, but we need to check it.
- eval.call( window.parent, sScript ) ;
+ // FF 1.0.4 gives an error with the request bellow. The
+ // following seams to work well.
+ eval.call( oParentWindow, sScript ) ;
+ }
+ else if ( FCKBrowserInfo.IsSafari )
+ {
+ // oParentWindow.eval in Safari executes in the calling window
+ // environment, instead of the parent one. The following should make it work.
+ var oParentDocument = oParentWindow.document ;
+ var eScript = oParentDocument.createElement('script') ;
+ eScript.appendChild( oParentDocument.createTextNode( sScript ) ) ;
+ oParentDocument.documentElement.appendChild( eScript ) ;
}
else
- window.parent.eval( sScript ) ;
+ oParentWindow.eval( sScript ) ;
}
-
- FCKeditorAPI = window.parent.FCKeditorAPI ;
+
+ FCKeditorAPI = oParentWindow.FCKeditorAPI ;
}
// Add the current instance to the FCKeditorAPI's instances collection.
FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;
}
+// Attach to the form onsubmit event and to the form.submit().
+function _AttachFormSubmitToAPI()
+{
+ // 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 ) ) )
+ {
+ // Save the original submit.
+ oForm._FCKOriginalSubmit = oForm.submit ;
+
+ // Create our replacement for the submit.
+ oForm.submit = FCKeditorAPI._FormSubmit ;
+ }
+ }
+}
+
function FCKeditorAPI_Cleanup()
{
- FCKeditorAPI.__Instances[ FCK.Name ] = null ;
+ delete FCKeditorAPI.__Instances[ FCK.Name ] ;
}
FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ;
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/fckjscoreextensions.js b/phpgwapi/js/fckeditor/editor/_source/fckjscoreextensions.js
index 5deb74a7a0..d32f505223 100644
--- a/phpgwapi/js/fckeditor/editor/_source/fckjscoreextensions.js
+++ b/phpgwapi/js/fckeditor/editor/_source/fckjscoreextensions.js
@@ -1,23 +1,27 @@
/*
- * 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?"
- *
- * File Name: fckjscoreextensions.js
- * Extensions to the JavaScript Core.
- *
- * All custom extentions functions are PascalCased to differ from the standard
- * camelCased ones.
- *
- * File Authors:
- * 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 ==
+ *
+ * Extensions to the JavaScript Core.
+ *
+ * All custom extentions functions are PascalCased to differ from the standard
+ * camelCased ones.
*/
String.prototype.Contains = function( textToCheck )
@@ -27,22 +31,47 @@ String.prototype.Contains = function( textToCheck )
String.prototype.Equals = function()
{
- for ( var i = 0 ; i < arguments.length ; i++ )
- if ( this == arguments[i] )
+ var aArgs = arguments ;
+
+ // The arguments could also be a single array.
+ if ( aArgs.length == 1 && aArgs[0].pop )
+ aArgs = aArgs[0] ;
+
+ for ( var i = 0 ; i < aArgs.length ; i++ )
+ {
+ if ( this == aArgs[i] )
return true ;
-
+ }
+ return false ;
+}
+
+String.prototype.IEquals = function()
+{
+ var thisUpper = this.toUpperCase() ;
+
+ var aArgs = arguments ;
+
+ // The arguments could also be a single array.
+ if ( aArgs.length == 1 && aArgs[0].pop )
+ aArgs = aArgs[0] ;
+
+ for ( var i = 0 ; i < aArgs.length ; i++ )
+ {
+ if ( thisUpper == aArgs[i].toUpperCase() )
+ return true ;
+ }
return false ;
}
String.prototype.ReplaceAll = function( searchArray, replaceArray )
{
var replaced = this ;
-
+
for ( var i = 0 ; i < searchArray.length ; i++ )
{
replaced = replaced.replace( searchArray[i], replaceArray[i] ) ;
}
-
+
return replaced ;
}
@@ -53,7 +82,7 @@ Array.prototype.AddItem = function( item )
return i ;
}
-Array.prototype.indexOf = function( value )
+Array.prototype.IndexOf = function( value )
{
for ( var i = 0 ; i < this.length ; i++ )
{
@@ -63,17 +92,17 @@ Array.prototype.indexOf = function( value )
return -1 ;
}
-String.prototype.startsWith = function( value )
+String.prototype.StartsWith = function( value )
{
return ( this.substr( 0, value.length ) == value ) ;
}
-// Extends the String object, creating a "endsWith" method on it.
-String.prototype.endsWith = function( value, ignoreCase )
+// Extends the String object, creating a "EndsWith" method on it.
+String.prototype.EndsWith = function( value, ignoreCase )
{
var L1 = this.length ;
var L2 = value.length ;
-
+
if ( L2 > L1 )
return false ;
@@ -86,35 +115,38 @@ String.prototype.endsWith = function( value, ignoreCase )
return ( L2 == 0 || this.substr( L1 - L2, L2 ) == value ) ;
}
-String.prototype.remove = function( start, length )
+String.prototype.Remove = function( start, length )
{
var s = '' ;
-
+
if ( start > 0 )
s = this.substring( 0, start ) ;
-
+
if ( start + length < this.length )
s += this.substring( start + length , this.length ) ;
-
+
return s ;
}
-String.prototype.trim = function()
+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()
+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()
+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, '' ) ;
}
-String.prototype.replaceNewLineChars = function( replacement )
+String.prototype.ReplaceNewLineChars = function( replacement )
{
return this.replace( /\n/g, replacement ) ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/fckscriptloader.js b/phpgwapi/js/fckeditor/editor/_source/fckscriptloader.js
new file mode 100644
index 0000000000..42c7340828
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/_source/fckscriptloader.js
@@ -0,0 +1,108 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 ;
+var FCK_GENERIC_SPECIFIC = 2 ;
+var FCK_SPECIFIC = 3 ;
+
+var FCKScriptLoader = new Object() ;
+FCKScriptLoader.FCKeditorPath = '/fckeditor/' ;
+
+FCKScriptLoader._Scripts = new Object() ;
+FCKScriptLoader._LoadedScripts = new Object() ;
+
+FCKScriptLoader._IsIE = (/msie/).test( navigator.userAgent.toLowerCase() ) ;
+
+FCKScriptLoader.Load = function( scriptName )
+{
+ // Check if the script has already been loaded.
+ if ( scriptName in FCKScriptLoader._LoadedScripts )
+ return ;
+
+ var oScriptInfo = this._Scripts[ scriptName ] ;
+
+ if ( !oScriptInfo )
+ {
+ alert( 'FCKScriptLoader: The script "' + scriptName + '" could not be loaded' ) ;
+ 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 )
+ {
+ if ( this._IsIE )
+ this._LoadScript( sBaseScriptName + '_ie.js' ) ;
+ else
+ this._LoadScript( sBaseScriptName + '_gecko.js' ) ;
+ }
+
+ FCKScriptLoader._LoadedScripts[ scriptName ] = true ;
+}
+
+FCKScriptLoader._LoadScript = function( scriptPathFromSource )
+{
+ document.write( '' + document.getElementById( 'xToolbarSpace' ).innerHTML + '' ) ;
eTargetDocument.close() ;
-
+
eTargetDocument.oncontextmenu = FCKTools.CancelEvent ;
// Load external resources (must be done here, otherwise Firefox will not
// 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 ;
if ( FCK.IECleanup )
FCK.IECleanup.AddItem( eToolbarTarget, FCKToolbarSet_Target_Cleanup ) ;
}
-
+
oToolbarSet.CurrentInstance = FCK ;
FCK.AttachToOnSelectionChange( oToolbarSet.RefreshItemsState ) ;
@@ -100,7 +105,7 @@ function FCKToolbarSet_Create( overhideLocation )
function FCK_OnBlur( editorInstance )
{
var eToolbarSet = editorInstance.ToolbarSet ;
-
+
if ( eToolbarSet.CurrentInstance == editorInstance )
eToolbarSet.Disable() ;
}
@@ -109,13 +114,13 @@ function FCK_OnFocus( editorInstance )
{
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 ) ;
@@ -135,18 +140,18 @@ function FCKToolbarSet_Target_Cleanup()
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' ) ;
var eCollapseHandle = targetDocument.getElementById( 'xCollapseHandle' ) ;
eExpandHandle.title = FCKLang.ToolbarExpand ;
eExpandHandle.onclick = FCKToolbarSet_Expand_OnClick ;
-
+
eCollapseHandle.title = FCKLang.ToolbarCollapse ;
eCollapseHandle.onclick = FCKToolbarSet_Collapse_OnClick ;
@@ -163,7 +168,7 @@ var FCKToolbarSet = function( targetDocument )
eCollapseHandle.style.display = '' ;
else
targetDocument.getElementById( 'xTBLeftBorder' ).style.display = '' ;
-
+
// Set the default properties.
this.Toolbars = new Array() ;
this.IsLoaded = false ;
@@ -196,7 +201,7 @@ FCKToolbarSet.prototype._ChangeVisibility = function( collapse )
{
this._Document.getElementById( 'xCollapsed' ).style.display = collapse ? '' : 'none' ;
this._Document.getElementById( 'xExpanded' ).style.display = collapse ? 'none' : '' ;
-
+
if ( FCKBrowserInfo.IsGecko )
{
// I had to use "setTimeout" because Gecko was not responding in a right
@@ -210,32 +215,32 @@ FCKToolbarSet.prototype.Load = function( toolbarSetName )
this.Name = toolbarSetName ;
this.Items = new Array() ;
-
+
// Reset the array of toolbat items that are active only on WYSIWYG mode.
this.ItemsWysiwygOnly = new Array() ;
// 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 )
{
alert( FCKLang.UnknownToolbarSet.replace( /%1/g, toolbarSetName ) ) ;
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' )
{
if ( oToolbarItems == '/' )
@@ -244,11 +249,11 @@ FCKToolbarSet.prototype.Load = function( toolbarSetName )
else
{
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() ;
else
@@ -262,21 +267,21 @@ FCKToolbarSet.prototype.Load = function( toolbarSetName )
if ( !oItem.SourceView )
this.ItemsWysiwygOnly.push( oItem ) ;
-
+
if ( oItem.ContextSensitive )
this.ItemsContextSensitive.push( oItem ) ;
}
}
}
-
+
// oToolbar.AddTerminator() ;
}
-
+
oToolbar.Create( this._TargetElement ) ;
this.Toolbars[ this.Toolbars.length ] = oToolbar ;
}
-
+
FCKTools.DisableSelection( this._Document.getElementById( 'xCollapseHandle' ).parentNode ) ;
if ( FCK.Status != FCK_STATUS_COMPLETE )
@@ -321,7 +326,7 @@ FCKToolbarSet.prototype.RefreshModeState = function( editorInstance )
var oToolbarSet = editorInstance ? editorInstance.ToolbarSet : this ;
var aItems = oToolbarSet.ItemsWysiwygOnly ;
-
+
if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
{
// Enable all buttons that are available on WYSIWYG mode only.
@@ -337,16 +342,16 @@ FCKToolbarSet.prototype.RefreshModeState = function( editorInstance )
oToolbarSet.RefreshItemsState( editorInstance ) ;
// 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() ;
+ }
}
FCKToolbarSet.prototype.RefreshItemsState = function( editorInstance )
{
-
+
var aItems = ( editorInstance ? editorInstance.ToolbarSet : this ).ItemsContextSensitive ;
-
+
for ( var i = 0 ; i < aItems.length ; i++ )
aItems[i].RefreshState() ;
}
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fcktools.js b/phpgwapi/js/fckeditor/editor/_source/internals/fcktools.js
index 157da1ae8c..c74026f436 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fcktools.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fcktools.js
@@ -1,100 +1,59 @@
/*
- * 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?"
- *
- * File Name: fcktools.js
- * Utility functions.
- *
- * File Authors:
- * 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 ==
+ *
+ * Utility functions.
*/
+// Constant for the Gecko Bogus Node.
+//var GECKO_BOGUS = ' ' ;
+var GECKO_BOGUS = ' ' ;
+
var FCKTools = new Object() ;
+FCKTools.CreateBogusBR = function( targetDocument )
+{
+ var eBR = targetDocument.createElement( 'br' ) ;
+// eBR.setAttribute( '_moz_editor_bogus_node', 'TRUE' ) ;
+ eBR.setAttribute( 'type', '_moz' ) ;
+ return eBR ;
+}
+
+// Returns a reference to the appended style sheet or an array with all the appended references
FCKTools.AppendStyleSheet = function( documentElement, cssFileUrlOrArray )
{
if ( typeof( cssFileUrlOrArray ) == 'string' )
return this._AppendStyleSheet( documentElement, cssFileUrlOrArray ) ;
else
{
+ var aStyleSheeArray = new Array() ;
+
for ( var i = 0 ; i < cssFileUrlOrArray.length ; i++ )
- this._AppendStyleSheet( documentElement, cssFileUrlOrArray[i] ) ;
+ aStyleSheeArray.push(this._AppendStyleSheet( documentElement, cssFileUrlOrArray[i] ) ) ;
+
+ return aStyleSheeArray ;
}
}
-/**
- * Gets the value of the hidden INPUT element that is associated to the editor.
- * This element has its ID set to the editor's instance name so the user refers
- * to the instance name when getting the posted data.
- */
-FCKTools.GetLinkedFieldValue = function()
+FCKTools.GetElementDocument = function ( element )
{
- return FCK.LinkedField.value ;
-}
-
-/**
- * Attachs a function call to the submit event of the linked field form. This
- * function us generally used to update the linked field value before
- * submitting the form.
- */
-FCKTools.AttachToLinkedFieldFormSubmit = function( functionPointer )
-{
- // Gets the linked field form
- var oForm = FCK.LinkedField.form ;
-
- // Return now if no form is available
- if (!oForm) return ;
-
- // Attaches the functionPointer call to the onsubmit event
- if ( FCKBrowserInfo.IsIE )
- oForm.attachEvent( "onsubmit", functionPointer ) ;
- else
- oForm.addEventListener( 'submit', functionPointer, false ) ;
-
- //**
- // Attaches the functionPointer call to the submit method
- // This is done because IE doesn't fire onsubmit when the submit method is called
- // BEGIN --
-
- // Creates a Array in the form object that will hold all Attached function call
- // (in the case there are more than one editor in the same page)
- if (! oForm.updateFCKeditor) oForm.updateFCKeditor = new Array() ;
-
- // Adds the function pointer to the array of functions to call when "submit" is called
- oForm.updateFCKeditor[oForm.updateFCKeditor.length] = functionPointer ;
-
- // Switches the original submit method with a new one that first call all functions
- // on the above array and the call the original submit
- // IE sees it oForm.submit function as an 'object'.
- if (! oForm.originalSubmit && ( typeof( oForm.submit ) == 'function' || ( !oForm.submit.tagName && !oForm.submit.length ) ) )
- {
- // Creates a copy of the original submit
- oForm.originalSubmit = oForm.submit ;
-
- // Creates our replacement for the submit
- oForm.submit = FCKTools_SubmitReplacer ;
- }
- // END --
-}
-
-function FCKTools_SubmitReplacer()
-{
- if (this.updateFCKeditor)
- {
- // Calls all functions in the functions array
- for (var i = 0 ; i < this.updateFCKeditor.length ; i++)
- this.updateFCKeditor[i]() ;
- }
- // Calls the original "submit"
- this.originalSubmit() ;
+ return element.ownerDocument || element.document ;
}
// Get the window object where the element is placed in.
@@ -103,32 +62,27 @@ FCKTools.GetElementWindow = function( element )
return this.GetDocumentWindow( this.GetElementDocument( element ) ) ;
}
-FCKTools.GetDocumentWindow = function( doc )
+FCKTools.GetDocumentWindow = function( document )
{
// With Safari, there is not way to retrieve the window from the document, so we must fix it.
- if ( FCKBrowserInfo.IsSafari && !doc.parentWindow )
+ if ( FCKBrowserInfo.IsSafari && !document.parentWindow )
this.FixDocumentParentWindow( window.top ) ;
-
- return doc.parentWindow || doc.defaultView ;
+
+ 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] ) ;
}
-FCKTools.GetParentWindow = function( document )
-{
- return document.contentWindow ? document.contentWindow : document.parentWindow ;
-}
-
FCKTools.HTMLEncode = function( text )
{
if ( !text )
@@ -141,6 +95,18 @@ FCKTools.HTMLEncode = function( text )
return text ;
}
+FCKTools.HTMLDecode = function( text )
+{
+ if ( !text )
+ return '' ;
+
+ text = text.replace( />/g, '>' ) ;
+ text = text.replace( /</g, '<' ) ;
+ text = text.replace( /&/g, '&' ) ;
+
+ return text ;
+}
+
/**
* Adds an option to a SELECT element.
*/
@@ -149,7 +115,7 @@ FCKTools.AddSelectOption = function( selectElement, optionText, optionValue )
var oOption = FCKTools.GetElementDocument( selectElement ).createElement( "OPTION" ) ;
oOption.text = optionText ;
- oOption.value = optionValue ;
+ oOption.value = optionValue ;
selectElement.options.add(oOption) ;
@@ -164,7 +130,7 @@ FCKTools.RunFunction = function( func, thisObject, paramsArray, timerWindow )
FCKTools.SetTimeout = function( func, milliseconds, thisObject, paramsArray, timerWindow )
{
- return ( timerWindow || window ).setTimeout(
+ return ( timerWindow || window ).setTimeout(
function()
{
if ( paramsArray )
@@ -177,7 +143,7 @@ FCKTools.SetTimeout = function( func, milliseconds, thisObject, paramsArray, tim
FCKTools.SetInterval = function( func, milliseconds, thisObject, paramsArray, timerWindow )
{
- return ( timerWindow || window ).setInterval(
+ return ( timerWindow || window ).setInterval(
function()
{
func.apply( thisObject, paramsArray || [] ) ;
@@ -187,12 +153,12 @@ FCKTools.SetInterval = function( func, milliseconds, thisObject, paramsArray, ti
FCKTools.ConvertStyleSizeToHtml = function( size )
{
- return size.endsWith( '%' ) ? size : parseInt( size ) ;
+ return size.EndsWith( '%' ) ? size : parseInt( size, 10 ) ;
}
FCKTools.ConvertHtmlSizeToStyle = function( size )
{
- return size.endsWith( '%' ) ? size : ( size + 'px' ) ;
+ return size.EndsWith( '%' ) ? size : ( size + 'px' ) ;
}
// START iCM MODIFICATIONS
@@ -220,17 +186,40 @@ FCKTools.CreateEventListener = function( func, params )
var f = function()
{
var aAllParams = [] ;
-
+
for ( var i = 0 ; i < arguments.length ; i++ )
aAllParams.push( arguments[i] ) ;
func.apply( this, aAllParams.concat( params ) ) ;
- }
+ }
return f ;
}
-FCKTools.GetElementDocument = function ( element )
+FCKTools.IsStrictMode = function( document )
{
- return element.ownerDocument || element.document ;
-}
\ No newline at end of file
+ // There is no compatMode in Safari, but it seams that it always behave as
+ // CSS1Compat, so let's assume it as the default.
+ return ( 'CSS1Compat' == ( document.compatMode || 'CSS1Compat' ) ) ;
+}
+
+// Transforms a "arguments" object to an array.
+FCKTools.ArgumentsToArray = function( args, startIndex, maxLength )
+{
+ 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] ) ;
+
+ return argsArray ;
+}
+
+FCKTools.CloneObject = function( sourceObject )
+{
+ var fCloneCreator = function() {} ;
+ fCloneCreator.prototype = sourceObject ;
+ return new fCloneCreator ;
+}
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_gecko.js b/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_gecko.js
index 718d492909..08ed756855 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_gecko.js
@@ -1,25 +1,26 @@
/*
- * 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?"
- *
- * File Name: fcktools_gecko.js
- * Utility functions. (Gecko version).
- *
- * File Authors:
- * 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 ==
+ *
+ * Utility functions. (Gecko version).
*/
-// Constant for the Gecko Bogus Node.
-var GECKO_BOGUS = FCKBrowserInfo.IsGecko ? ' ' : '' ;
-
FCKTools.CancelEvent = function( e )
{
if ( e )
@@ -29,7 +30,7 @@ FCKTools.CancelEvent = function( e )
FCKTools.DisableSelection = function( element )
{
if ( FCKBrowserInfo.IsGecko )
- element.style.MozUserSelect = 'none' ; // Gecko only.
+ element.style.MozUserSelect = 'none' ; // Gecko only.
else
element.style.userSelect = 'none' ; // CSS3 (not supported yet).
}
@@ -61,35 +62,37 @@ FCKTools.GetAllChildrenIds = function( parentElement )
{
// 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 )
{
for ( var i = 0 ; i < parent.childNodes.length ; i++ )
{
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 ) ;
return aIds ;
}
+// Replaces a tag with its contents. For example "My tag"
+// will be replaced with "My tag".
FCKTools.RemoveOuterTags = function( e )
{
var oFragment = e.ownerDocument.createDocumentFragment() ;
-
+
for ( var i = 0 ; i < e.childNodes.length ; i++ )
- oFragment.appendChild( e.childNodes[i] ) ;
-
+ oFragment.appendChild( e.childNodes[i].cloneNode(true) ) ;
+
e.parentNode.replaceChild( oFragment, e ) ;
}
@@ -123,13 +126,13 @@ FCKTools.RemoveEventListener = function( sourceObject, eventName, listener )
// Listeners attached with this function cannot be detached.
FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, paramsArray )
{
- sourceObject.addEventListener(
- eventName,
+ sourceObject.addEventListener(
+ eventName,
function( e )
{
listener.apply( sourceObject, [ e ].concat( paramsArray || [] ) ) ;
},
- false
+ false
) ;
}
@@ -142,7 +145,7 @@ FCKTools.GetViewPaneSize = function( win )
FCKTools.SaveStyles = function( element )
{
var oSavedStyles = new Object() ;
-
+
if ( element.className.length > 0 )
{
oSavedStyles.Class = element.className ;
@@ -172,8 +175,8 @@ FCKTools.RestoreStyles = function( element, savedStyles )
FCKTools.RegisterDollarFunction = function( targetWindow )
{
- targetWindow.$ = function( id )
- {
+ targetWindow.$ = function( id )
+ {
return this.document.getElementById( id ) ;
} ;
}
@@ -190,7 +193,7 @@ FCKTools.GetElementPosition = function( el, relativeWindow )
{
// Initializes the Coordinates object that will be returned by the function.
var c = { X:0, Y:0 } ;
-
+
var oWindow = relativeWindow || window ;
var oOwnerWindow = FCKTools.GetElementWindow( el ) ;
@@ -202,7 +205,7 @@ FCKTools.GetElementPosition = function( el, relativeWindow )
// 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 ;
c.X += el.offsetLeft - el.scrollLeft ;
@@ -214,7 +217,8 @@ FCKTools.GetElementPosition = function( el, relativeWindow )
{
if ( oOwnerWindow != oWindow )
{
- if ( el = oOwnerWindow.frameElement )
+ el = oOwnerWindow.frameElement ;
+ if ( el )
oOwnerWindow = FCKTools.GetElementWindow( el ) ;
}
else
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_ie.js b/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_ie.js
index 641dae9078..3d6be65101 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fcktools_ie.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fcktools_ie.js
- * Utility functions. (IE version).
- *
- * File Authors:
- * 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 ==
+ *
+ * Utility functions. (IE version).
*/
FCKTools.CancelEvent = function( e )
@@ -55,13 +59,13 @@ FCKTools.RemoveOuterTags = function( e )
FCKTools.CreateXmlObject = function( object )
{
var aObjs ;
-
+
switch ( object )
{
case 'XmlHttp' :
aObjs = [ 'MSXML2.XmlHttp', 'Microsoft.XmlHttp' ] ;
break ;
-
+
case 'DOMDocument' :
aObjs = [ 'MSXML2.DOMDocument', 'Microsoft.XmlDom' ] ;
break ;
@@ -70,15 +74,16 @@ FCKTools.CreateXmlObject = function( object )
for ( var i = 0 ; i < 2 ; i++ )
{
try { return new ActiveXObject( aObjs[i] ) ; }
- catch (e)
+ catch (e)
{}
}
-
+
if ( FCKLang.NoActiveX )
{
alert( FCKLang.NoActiveX ) ;
FCKLang.NoActiveX = null ;
}
+ return null ;
}
FCKTools.DisableSelection = function( element )
@@ -86,7 +91,8 @@ FCKTools.DisableSelection = function( element )
element.unselectable = 'on' ;
var e, i = 0 ;
- while ( e = element.all[ i++ ] )
+ // The extra () is to avoid a warning with strict error checking. This is ok.
+ while ( (e = element.all[ i++ ]) )
{
switch ( e.tagName )
{
@@ -108,7 +114,7 @@ FCKTools.GetScrollPosition = function( relativeWindow )
// Try with the doc element.
var oPos = { X : oDoc.documentElement.scrollLeft, Y : oDoc.documentElement.scrollTop } ;
-
+
if ( oPos.X > 0 || oPos.Y > 0 )
return oPos ;
@@ -137,10 +143,10 @@ FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, param
{
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 ) ;
sourceObject = null ; // Memory leak cleaner (because of the above closure).
@@ -151,13 +157,13 @@ FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, param
FCKTools.GetViewPaneSize = function( win )
{
var oSizeSource ;
-
+
var oDoc = win.document.documentElement ;
if ( oDoc && oDoc.clientWidth ) // IE6 Strict Mode
oSizeSource = oDoc ;
else
oSizeSource = top.document.body ; // Other IEs
-
+
if ( oSizeSource )
return { Width : oSizeSource.clientWidth, Height : oSizeSource.clientHeight } ;
else
@@ -167,7 +173,7 @@ FCKTools.GetViewPaneSize = function( win )
FCKTools.SaveStyles = function( element )
{
var oSavedStyles = new Object() ;
-
+
if ( element.className.length > 0 )
{
oSavedStyles.Class = element.className ;
@@ -181,7 +187,7 @@ FCKTools.SaveStyles = function( element )
oSavedStyles.Inline = sInlineStyle ;
element.style.cssText = '' ;
}
-
+
return oSavedStyles ;
}
@@ -199,4 +205,10 @@ FCKTools.RegisterDollarFunction = function( targetWindow )
FCKTools.AppendElement = function( target, elementName )
{
return target.appendChild( this.GetElementDocument( target ).createElement( elementName ) ) ;
+}
+
+// This function may be used by Regex replacements.
+FCKTools.ToLowerCase = function( strValue )
+{
+ return strValue.toLowerCase() ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_gecko.js b/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_gecko.js
index 73f8473a0d..7cf7fe8b0d 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_gecko.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckundo_gecko.js
- * Fake implementation to ignore calls on Gecko.
- *
- * File Authors:
- * 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 ==
+ *
+ * Fake implementation to ignore calls on Gecko.
*/
var FCKUndo = new Object() ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_ie.js b/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_ie.js
index df08b12b54..3216bb7cc2 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fckundo_ie.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckundo_ie.js
- * IE specific implementation for the Undo/Redo system.
- *
- * File Authors:
- * 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 ==
+ *
+ * IE specific implementation for the Undo/Redo system.
*/
var FCKUndo = new Object() ;
@@ -99,7 +103,7 @@ FCKUndo.Redo = function()
FCKUndo._ApplyUndoLevel = function(level)
{
var oData = FCKUndo.SavedData[ level ] ;
-
+
if ( !oData )
return ;
@@ -107,13 +111,13 @@ FCKUndo._ApplyUndoLevel = function(level)
FCK.SetInnerHtml( oData[0] ) ;
// FCK.EditorDocument.body.innerHTML = oData[0] ;
- if ( oData[1] )
+ if ( oData[1] )
{
var oRange = FCK.EditorDocument.selection.createRange() ;
oRange.moveToBookmark( oData[1] ) ;
oRange.select() ;
}
-
- FCKUndo.TypesCount = 0 ;
+
+ FCKUndo.TypesCount = 0 ;
FCKUndo.Typing = false ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fckurlparams.js b/phpgwapi/js/fckeditor/editor/_source/internals/fckurlparams.js
index 56a398d5c0..3ac6e1b450 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fckurlparams.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fckurlparams.js
@@ -1,32 +1,39 @@
/*
- * 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?"
- *
- * File Name: fckurlparams.js
- * Defines the FCKURLParams object that is used to get all parameters
- * passed by the URL QueryString (after the "?").
- *
- * File Authors:
- * 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 ==
+ *
+ * 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)
var FCKURLParams = new Object() ;
-var aParams = document.location.search.substr(1).split('&') ;
-for ( var i = 0 ; i < aParams.length ; i++ )
+(function()
{
- var aParam = aParams[i].split('=') ;
- var sParamName = aParam[0] ;
- var sParamValue = aParam[1] ;
+ var aParams = document.location.search.substr(1).split('&') ;
+ for ( var i = 0 ; i < aParams.length ; i++ )
+ {
+ var aParam = aParams[i].split('=') ;
+ var sParamName = decodeURIComponent( aParam[0] ) ;
+ var sParamValue = decodeURIComponent( aParam[1] ) ;
- FCKURLParams[ sParamName ] = sParamValue ;
-}
\ No newline at end of file
+ FCKURLParams[ sParamName ] = sParamValue ;
+ }
+})();
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml.js b/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml.js
index 8307dc654b..2686349aaa 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckxhtml.js
- * Defines the FCKXHtml object, responsible for the XHTML operations.
- *
- * File Authors:
- * 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 ==
+ *
+ * Defines the FCKXHtml object, responsible for the XHTML operations.
*/
var FCKXHtml = new Object() ;
@@ -25,10 +29,13 @@ FCKXHtml.GetXHTML = function( node, includeNode, format )
{
FCKXHtmlEntities.Initialize() ;
+ // Set the correct entity to use for empty blocks.
+ this._NbspEntity = ( FCKConfig.ProcessHTMLEntities? 'nbsp' : '#160' ) ;
+
// 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 ;
// Special blocks are blocks of content that remain untouched during the
@@ -52,11 +59,13 @@ FCKXHtml.GetXHTML = function( node, includeNode, format )
var sXHTML = this._GetMainXmlString() ;
this.XML = null ;
-
+
// Strip the "XHTML" root node.
- sXHTML = sXHTML.substr( 7, sXHTML.length - 15 ).trim() ;
-
+ sXHTML = sXHTML.substr( 7, sXHTML.length - 15 ).Trim() ;
+
// Remove the trailing 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( / $/, '' ) ;
@@ -75,7 +84,7 @@ FCKXHtml.GetXHTML = function( node, includeNode, format )
var oRegex = new RegExp( '___FCKsi___' + i ) ;
sXHTML = sXHTML.replace( oRegex, FCKXHtml.SpecialBlocks[i] ) ;
}
-
+
// Replace entities marker with the ampersand.
sXHTML = sXHTML.replace( FCKRegexLib.GeckoEntitiesMarker, '&' ) ;
@@ -83,20 +92,27 @@ FCKXHtml.GetXHTML = function( node, includeNode, format )
if ( !bIsDirty )
FCK.ResetIsDirty() ;
- return sXHTML
+ return sXHTML ;
}
FCKXHtml._AppendAttribute = function( xmlNode, attributeName, attributeValue )
{
- if ( FCKConfig.ForceSimpleAmpersand && attributeValue.replace )
- attributeValue = attributeValue.replace( /&/g, '___FCKAmp___' ) ;
-
try
{
+ if ( attributeValue == undefined || attributeValue == null )
+ attributeValue = '' ;
+ else if ( attributeValue.replace )
+ {
+ 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 ) ;
-
- oXmlAtt.value = attributeValue ? attributeValue : '' ;
+ oXmlAtt.value = attributeValue ;
// Set the attribute in the node.
xmlNode.attributes.setNamedItem( oXmlAtt ) ;
@@ -107,8 +123,13 @@ FCKXHtml._AppendAttribute = function( xmlNode, attributeName, attributeValue )
FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement )
{
+ // Trim block elements. This is also needed to avoid Firefox leaving extra
+ // BRs at the end of them.
+ if ( isBlockElement )
+ FCKDomTools.TrimNode( htmlNode, true ) ;
+
var iCount = 0 ;
-
+
var oNode = htmlNode.firstChild ;
while ( oNode )
@@ -118,52 +139,68 @@ FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement )
oNode = oNode.nextSibling ;
}
-
+
if ( iCount == 0 )
{
if ( isBlockElement && FCKConfig.FillEmptyBlocks )
{
- this._AppendEntity( xmlNode, 'nbsp' ) ;
- return ;
+ this._AppendEntity( xmlNode, this._NbspEntity ) ;
+ 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( htmlNode.nodeName ) )
+ if ( !FCKListsLib.EmptyElements[ sNodeName ] )
xmlNode.appendChild( this.XML.createTextNode('') ) ;
}
+
+ return xmlNode ;
}
FCKXHtml._AppendNode = function( xmlNode, htmlNode )
{
if ( !htmlNode )
- return ;
+ return false ;
switch ( htmlNode.nodeType )
{
// Element Node.
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') )
return false ;
// Get the element name.
- var sNodeName = htmlNode.nodeName ;
-
- //Add namespace:
- if ( FCKBrowserInfo.IsIE && htmlNode.scopeName && htmlNode.scopeName != 'HTML' && htmlNode.scopeName != 'FCK' )
- sNodeName = htmlNode.scopeName + ':' + sNodeName ;
+ var sNodeName = htmlNode.tagName.toLowerCase() ;
+
+ if ( FCKBrowserInfo.IsIE )
+ {
+ // IE doens't include the scope name in the nodeName. So, add the namespace.
+ if ( htmlNode.scopeName && htmlNode.scopeName != 'HTML' && htmlNode.scopeName != 'FCK' )
+ sNodeName = htmlNode.scopeName.toLowerCase() + ':' + sNodeName ;
+ }
+ else
+ {
+ if ( sNodeName.StartsWith( 'fck:' ) )
+ sNodeName = sNodeName.Remove( 0,4 ) ;
+ }
// Check if the node name is valid, otherwise ignore this tag.
// If the nodeName starts with a slash, it is a orphan closing tag.
@@ -171,9 +208,8 @@ FCKXHtml._AppendNode = function( xmlNode, htmlNode )
if ( !FCKRegexLib.ElementName.test( sNodeName ) )
return false ;
- sNodeName = sNodeName.toLowerCase() ;
-
- if ( FCKBrowserInfo.IsGecko && sNodeName == 'br' && htmlNode.hasAttribute('type') && htmlNode.getAttribute( 'type', 2 ) == '_moz' )
+ // Remove the if it is a bogus node.
+ if ( sNodeName == 'br' && htmlNode.getAttribute( 'type', 2 ) == '_moz' )
return false ;
// The already processed nodes must be marked to avoid then to be duplicated (bad formatted HTML).
@@ -182,22 +218,22 @@ FCKXHtml._AppendNode = function( xmlNode, htmlNode )
return false ;
var oNode = this._CreateNode( sNodeName ) ;
-
+
// Add all attributes.
FCKXHtml._AppendAttributes( xmlNode, htmlNode, oNode, sNodeName ) ;
-
+
htmlNode._fckxhtmljob = FCKXHtml.CurrentJobNum ;
// Tag specific processing.
var oTagProcessor = FCKXHtml.TagProcessors[ sNodeName ] ;
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 )
+ return false ;
xmlNode.appendChild( oNode ) ;
@@ -205,8 +241,7 @@ FCKXHtml._AppendNode = function( xmlNode, htmlNode )
// Text Node.
case 3 :
- this._AppendTextNode( xmlNode, htmlNode.nodeValue.replaceNewLineChars(' ') ) ;
- break ;
+ return this._AppendTextNode( xmlNode, htmlNode.nodeValue.ReplaceNewLineChars(' ') ) ;
// Comment
case 8 :
@@ -259,8 +294,10 @@ FCKXHtml._AppendEntity = function( xmlNode, entity )
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 ;
}
// Retrieves a entity (internal format) for a given character.
@@ -273,118 +310,157 @@ function FCKXHtml_GetEntity( character )
return '#?-:' + sEntity + ';' ;
}
-// An object that hold tag specific operations.
-FCKXHtml.TagProcessors = new Object() ;
-
-FCKXHtml.TagProcessors['img'] = function( node, htmlNode )
+// Remove part of an attribute from a node according to a regExp
+FCKXHtml._RemoveAttribute = function( xmlNode, regX, sAttribute )
{
- // The "ALT" attribute is required in XHTML.
- if ( ! node.attributes.getNamedItem( 'alt' ) )
- FCKXHtml._AppendAttribute( node, 'alt', '' ) ;
+ var oAtt = xmlNode.attributes.getNamedItem( sAttribute ) ;
- var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
- if ( sSavedUrl != null )
- FCKXHtml._AppendAttribute( node, 'src', sSavedUrl ) ;
-
- return node ;
-}
-
-FCKXHtml.TagProcessors['a'] = function( node, htmlNode )
-{
- var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
- if ( sSavedUrl != null )
- FCKXHtml._AppendAttribute( node, 'href', sSavedUrl ) ;
-
- 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 ;
-}
-
-FCKXHtml.TagProcessors['script'] = function( node, htmlNode )
-{
- // The "TYPE" attribute is required in XHTML.
- if ( ! node.attributes.getNamedItem( 'type' ) )
- FCKXHtml._AppendAttribute( node, 'type', 'text/javascript' ) ;
-
- node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.text ) ) ) ;
-
- return node ;
-}
-
-FCKXHtml.TagProcessors['style'] = function( node, htmlNode )
-{
- // The "TYPE" attribute is required in XHTML.
- if ( ! node.attributes.getNamedItem( 'type' ) )
- FCKXHtml._AppendAttribute( node, 'type', 'text/css' ) ;
-
- node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.innerHTML ) ) ) ;
-
- return node ;
-}
-
-FCKXHtml.TagProcessors['title'] = function( node, htmlNode )
-{
- node.appendChild( FCKXHtml.XML.createTextNode( FCK.EditorDocument.title ) ) ;
-
- return node ;
-}
-
-FCKXHtml.TagProcessors['table'] = function( node, htmlNode )
-{
- // There is a trick to show table borders when border=0. We add to the
- // table class the FCK__ShowTableBorders rule. So now we must remove it.
-
- var oClassAtt = node.attributes.getNamedItem( 'class' ) ;
-
- if ( oClassAtt && FCKRegexLib.TableBorderClass.test( oClassAtt.nodeValue ) )
+ if ( oAtt && regX.test( oAtt.nodeValue ) )
{
- var sClass = oClassAtt.nodeValue.replace( FCKRegexLib.TableBorderClass, '' ) ;
+ var sValue = oAtt.nodeValue.replace( regX, '' ) ;
- if ( sClass.length == 0 )
- node.attributes.removeNamedItem( 'class' ) ;
+ if ( sValue.length == 0 )
+ xmlNode.attributes.removeNamedItem( sAttribute ) ;
else
- FCKXHtml._AppendAttribute( node, 'class', sClass ) ;
+ oAtt.nodeValue = sValue ;
}
-
- FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
-
- return node ;
}
-// Fix nested
and .
-FCKXHtml.TagProcessors['ol'] = FCKXHtml.TagProcessors['ul'] = function( node, htmlNode, targetNode )
+// An object that hold tag specific operations.
+FCKXHtml.TagProcessors =
{
- if ( htmlNode.innerHTML.trim().length == 0 )
- return ;
-
- var ePSibling = targetNode.lastChild ;
-
- if ( ePSibling && ePSibling.nodeType == 3 )
- ePSibling = ePSibling.previousSibling ;
-
- if ( ePSibling && ePSibling.nodeName.toUpperCase() == 'LI' )
+ img : function( node, htmlNode )
{
- htmlNode._fckxhtmljob = null ;
- FCKXHtml._AppendNode( ePSibling, htmlNode ) ;
- return ;
- }
+ // The "ALT" attribute is required in XHTML.
+ if ( ! node.attributes.getNamedItem( 'alt' ) )
+ FCKXHtml._AppendAttribute( node, 'alt', '' ) ;
- FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+ var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
+ if ( sSavedUrl != null )
+ FCKXHtml._AppendAttribute( node, 'src', sSavedUrl ) ;
- return node ;
-}
+ return node ;
+ },
-FCKXHtml.TagProcessors['span'] = function( node, htmlNode )
-{
- // Firefox may create empty tags when deleting the selection in some special cases (SF-BUG 1084404).
- if ( htmlNode.innerHTML.length == 0 )
- return false ;
+ 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 )
+ FCKXHtml._AppendAttribute( node, 'href', sSavedUrl ) ;
+
+
+ // Anchors with content has been marked with an additional class, now we must remove it.
+ if ( FCKBrowserInfo.IsIE )
+ {
+ FCKXHtml._RemoveAttribute( node, FCKRegexLib.FCK_Class, 'class' ) ;
+
+ // Buggy IE, doesn't copy the name of changed anchors.
+ if ( htmlNode.name )
+ FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
+ }
+
+ node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
+
+ return node ;
+ },
+
+ script : function( node, htmlNode )
+ {
+ // The "TYPE" attribute is required in XHTML.
+ if ( ! node.attributes.getNamedItem( 'type' ) )
+ FCKXHtml._AppendAttribute( node, 'type', 'text/javascript' ) ;
+
+ node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.text ) ) ) ;
+
+ return node ;
+ },
+
+ style : function( node, htmlNode )
+ {
+ // The "TYPE" attribute is required in XHTML.
+ if ( ! node.attributes.getNamedItem( 'type' ) )
+ FCKXHtml._AppendAttribute( node, 'type', 'text/css' ) ;
+
+ node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.innerHTML ) ) ) ;
+
+ return node ;
+ },
+
+ title : function( node, htmlNode )
+ {
+ node.appendChild( FCKXHtml.XML.createTextNode( FCK.EditorDocument.title ) ) ;
+
+ return node ;
+ },
+
+ table : function( node, htmlNode )
+ {
+ // There is a trick to show table borders when border=0. We add to the
+ // table class the FCK__ShowTableBorders rule. So now we must remove it.
+
+ if ( FCKBrowserInfo.IsIE )
+ FCKXHtml._RemoveAttribute( node, FCKRegexLib.FCK_Class, 'class' ) ;
+
+ node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
+
+ return node ;
+ },
+
+ // Fix nested
and .
+ ol : function( node, htmlNode, targetNode )
+ {
+ if ( htmlNode.innerHTML.Trim().length == 0 )
+ return false ;
+
+ var ePSibling = targetNode.lastChild ;
+
+ if ( ePSibling && ePSibling.nodeType == 3 )
+ ePSibling = ePSibling.previousSibling ;
+
+ if ( ePSibling && ePSibling.nodeName.toUpperCase() == 'LI' )
+ {
+ htmlNode._fckxhtmljob = null ;
+ FCKXHtml._AppendNode( ePSibling, htmlNode ) ;
+ return false ;
+ }
+
+ node = FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+
+ return node ;
+ },
+
+ span : function( node, htmlNode )
+ {
+ // Firefox may create empty tags when deleting the selection in some special cases (SF-BUG 1084404).
+ if ( htmlNode.innerHTML.length == 0 )
+ return false ;
+
+ node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
+
+ return node ;
+ },
+
+ // IE loses contents of iframes, and Gecko does give it back HtmlEncoded
+ // Note: Opera does lose the content and doesn't provide it in the innerHTML string
+ iframe : function( node, htmlNode )
+ {
+ var sHtml = htmlNode.innerHTML ;
+
+ // Gecko does give back the encoded html
+ if ( FCKBrowserInfo.IsGecko )
+ sHtml = FCKTools.HTMLDecode( sHtml );
- FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
+ // Remove the saved urls here as the data won't be processed as nodes
+ sHtml = sHtml.replace( /\s_fcksavedurl="[^"]*"/g, '' ) ;
- return node ;
-}
\ No newline at end of file
+ node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( sHtml ) ) ) ;
+
+ return node ;
+ }
+} ;
+
+FCKXHtml.TagProcessors.ul = FCKXHtml.TagProcessors.ol ;
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_gecko.js b/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_gecko.js
index d1ee68a69b..5614e9f01e 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_gecko.js
@@ -1,21 +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?"
- *
- * File Name: fckxhtml_gecko.js
- * Defines the FCKXHtml object, responsible for the XHTML operations.
- * Gecko specific.
- *
- * File Authors:
- * 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 ==
+ *
+ * Defines the FCKXHtml object, responsible for the XHTML operations.
+ * Gecko specific.
*/
FCKXHtml._GetMainXmlString = function()
@@ -30,18 +34,18 @@ FCKXHtml._GetMainXmlString = function()
FCKXHtml._AppendAttributes = function( xmlNode, htmlNode, node )
{
var aAttributes = htmlNode.attributes ;
-
+
for ( var n = 0 ; n < aAttributes.length ; n++ )
{
var oAttribute = aAttributes[n] ;
-
+
if ( oAttribute.specified )
{
var sAttName = oAttribute.nodeName.toLowerCase() ;
var sAttValue ;
// Ignore any attribute starting with "_fck".
- if ( sAttName.startsWith( '_fck' ) )
+ if ( sAttName.StartsWith( '_fck' ) )
continue ;
// There is a bug in Mozilla that returns '_moz_xxx' attributes as specified.
else if ( sAttName.indexOf( '_moz' ) == 0 )
diff --git a/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_ie.js b/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_ie.js
index ec5185b350..31288e3da3 100644
--- a/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_ie.js
+++ b/phpgwapi/js/fckeditor/editor/_source/internals/fckxhtml_ie.js
@@ -1,21 +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?"
- *
- * File Name: fckxhtml_ie.js
- * Defines the FCKXHtml object, responsible for the XHTML operations.
- * IE specific.
- *
- * File Authors:
- * 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 ==
+ *
+ * Defines the FCKXHtml object, responsible for the XHTML operations.
+ * IE specific.
*/
FCKXHtml._GetMainXmlString = function()
@@ -37,12 +41,12 @@ FCKXHtml._AppendAttributes = function( xmlNode, htmlNode, node, nodeName )
var sAttValue ;
// Ignore any attribute starting with "_fck".
- if ( sAttName.startsWith( '_fck' ) )
+ if ( sAttName.StartsWith( '_fck' ) )
continue ;
// The following must be done because of a bug on IE regarding the style
// 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
// - for events attributes (on IE only).
@@ -53,11 +57,17 @@ FCKXHtml._AppendAttributes = function( xmlNode, htmlNode, node, nodeName )
// XHTML doens't support attribute minimization like "CHECKED". It must be trasformed to cheched="checked".
else if ( oAttribute.nodeValue === true )
sAttValue = sAttName ;
- // We must use getAttribute to get it exactly as it is defined.
- else if ( ! (sAttValue = htmlNode.getAttribute( sAttName, 2 ) ) )
- sAttValue = oAttribute.nodeValue ;
-
- this._AppendAttribute( node, sAttName, sAttValue ) ;
+ 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
+ {
+ sAttValue = htmlNode.getAttribute( sAttName, 2 ) ;
+ }
+ catch (e) {}
+ }
+ this._AppendAttribute( node, sAttName, sAttValue || oAttribute.nodeValue ) ;
}
}
}
@@ -87,7 +97,7 @@ FCKXHtml.TagProcessors['font'] = function( node, htmlNode )
if ( node.attributes.length == 0 )
node = FCKXHtml.XML.createDocumentFragment() ;
- FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+ node = FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
@@ -113,7 +123,7 @@ FCKXHtml.TagProcessors['option'] = function( node, htmlNode )
if ( htmlNode.selected && !node.attributes.getNamedItem( 'selected' ) )
FCKXHtml._AppendAttribute( node, 'selected', 'selected' ) ;
- FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+ node = FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
@@ -130,9 +140,9 @@ FCKXHtml.TagProcessors['area'] = function( node, htmlNode )
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 ) ;
}
return node ;
@@ -143,7 +153,7 @@ FCKXHtml.TagProcessors['label'] = function( node, htmlNode )
if ( htmlNode.htmlFor.length > 0 )
FCKXHtml._AppendAttribute( node, 'for', htmlNode.htmlFor ) ;
- FCKXHtml._AppendChildNodes( node, htmlNode ) ;
+ node = FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
@@ -153,24 +163,24 @@ FCKXHtml.TagProcessors['form'] = function( node, htmlNode )
if ( htmlNode.acceptCharset && htmlNode.acceptCharset.length > 0 && htmlNode.acceptCharset != 'UNKNOWN' )
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 ) ;
+ node = FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
// IE doens't hold the name attribute as an attribute for the
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image.js b/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image.js
index 6289df3cb5..81eca12223 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image.js
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_image.js
- * Scripts related to the Image dialog window (see fck_image.html).
- *
- * File Authors:
- * 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 ==
+ *
+ * Scripts related to the Image dialog window (see fck_image.html).
*/
var oEditor = window.parent.InnerDialogLoaded() ;
@@ -63,13 +67,13 @@ function UpdateOriginal( resetSize )
{
if ( !eImgPreview )
return ;
-
+
if ( GetE('txtUrl').value.length == 0 )
{
oImageOriginal = null ;
return ;
}
-
+
oImageOriginal = document.createElement( 'IMG' ) ; // new Image() ;
if ( resetSize )
@@ -131,23 +135,23 @@ function LoadSelection()
var iWidth, iHeight ;
var regexSize = /^\s*(\d+)px\s*$/i ;
-
+
if ( oImage.style.width )
{
- var aMatch = oImage.style.width.match( regexSize ) ;
- if ( aMatch )
+ var aMatchW = oImage.style.width.match( regexSize ) ;
+ if ( aMatchW )
{
- iWidth = aMatch[1] ;
+ iWidth = aMatchW[1] ;
oImage.style.width = '' ;
}
}
if ( oImage.style.height )
{
- var aMatch = oImage.style.height.match( regexSize ) ;
- if ( aMatch )
+ var aMatchH = oImage.style.height.match( regexSize ) ;
+ if ( aMatchH )
{
- iHeight = aMatch[1] ;
+ iHeight = aMatchH[1] ;
oImage.style.height = '' ;
}
}
@@ -160,21 +164,26 @@ function LoadSelection()
GetE('cmbAttLangDir').value = oImage.dir ;
GetE('txtAttLangCode').value = oImage.lang ;
GetE('txtAttTitle').value = oImage.title ;
- GetE('txtAttClasses').value = oImage.getAttribute('class',2) || '' ;
GetE('txtLongDesc').value = oImage.longDesc ;
if ( oEditor.FCKBrowserInfo.IsIE )
- GetE('txtAttStyle').value = oImage.style.cssText ;
+ {
+ GetE('txtAttClasses').value = oImage.getAttribute('className') || '' ;
+ GetE('txtAttStyle').value = oImage.style.cssText ;
+ }
else
- GetE('txtAttStyle').value = oImage.getAttribute('style',2) ;
+ {
+ GetE('txtAttClasses').value = oImage.getAttribute('class',2) || '' ;
+ GetE('txtAttStyle').value = oImage.getAttribute('style',2) ;
+ }
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 ;
}
@@ -206,7 +215,7 @@ function Ok()
if ( confirm( 'Do you want to transform the selected image button on a simple image?' ) )
oImage = null ;
}
-
+
if ( !bHasImage )
{
if ( bImageButton )
@@ -220,10 +229,10 @@ function Ok()
}
else
oEditor.FCKUndo.SaveUndoStep() ;
-
+
UpdateImage( oImage ) ;
- var sLnkUrl = GetE('txtLnkUrl').value.trim() ;
+ var sLnkUrl = GetE('txtLnkUrl').value.Trim() ;
if ( sLnkUrl.length == 0 )
{
@@ -294,7 +303,7 @@ function SetPreviewElements( imageElement, linkElement )
UpdatePreview() ;
UpdateOriginal() ;
-
+
bPreviewInitialized = true ;
}
@@ -309,7 +318,7 @@ function UpdatePreview()
{
UpdateImage( eImgPreview, true ) ;
- if ( GetE('txtLnkUrl').value.trim().length > 0 )
+ if ( GetE('txtLnkUrl').value.Trim().length > 0 )
eImgPreviewLink.href = 'javascript:void(null);' ;
else
SetAttribute( eImgPreviewLink, 'href', '' ) ;
@@ -342,7 +351,7 @@ function OnSizeChanged( dimension, value )
if ( oImageOriginal && bLockRatio )
{
var e = dimension == 'Width' ? GetE('txtHeight') : GetE('txtWidth') ;
-
+
if ( value.length == 0 || isNaN( value ) )
{
e.value = '' ;
@@ -417,7 +426,7 @@ function SetUrl( url, width, height, alt )
UpdatePreview() ;
UpdateOriginal( true ) ;
}
-
+
window.parent.SetSelectedTab( 'Info' ) ;
}
@@ -448,7 +457,7 @@ function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg )
return ;
}
- sActualBrowser = ''
+ sActualBrowser = '' ;
SetUrl( fileUrl ) ;
GetE('frmUpload').reset() ;
}
@@ -459,19 +468,19 @@ var oUploadDeniedExtRegex = new RegExp( FCKConfig.ImageUploadDeniedExtensions, '
function CheckUpload()
{
var sFile = GetE('txtUploadFile').value ;
-
+
if ( sFile.length == 0 )
{
alert( 'Please select a file to upload' ) ;
return false ;
}
-
+
if ( ( FCKConfig.ImageUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) ||
( FCKConfig.ImageUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) )
{
OnUploadCompleted( 202 ) ;
return false ;
}
-
+
return true ;
}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image_preview.html b/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image_preview.html
index 809efb650d..6a74bc58aa 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image_preview.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_image/fck_image_preview.html
@@ -1,23 +1,28 @@
+
-
@@ -34,7 +39,7 @@ if ( window.parent.FCKConfig.BaseHref.length > 0 )
window.onload = function()
{
- window.parent.SetPreviewElements(
+ window.parent.SetPreviewElements(
document.getElementById( 'imgPreview' ),
document.getElementById( 'lnkPreview' ) ) ;
}
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_link.html b/phpgwapi/js/fckeditor/editor/dialog/fck_link.html
index 6eac6a175b..29261e2b28 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_link.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_link.html
@@ -1,22 +1,26 @@
+
-
Link Properties
@@ -104,7 +108,7 @@
-
+
@@ -144,21 +148,21 @@
Resizable
- Location
+ Location
Bar
- Menu
+ Menu
Bar
- Scroll
+ Scroll
Bars
- Status
+ Status
Bar Toolbar
- Full
+ Full
Screen (IE)
- Dependent
+ Dependent
(Netscape)
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_link/fck_link.js b/phpgwapi/js/fckeditor/editor/dialog/fck_link/fck_link.js
index aa92310ff7..c26b7cfc7c 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_link/fck_link.js
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_link/fck_link.js
@@ -1,27 +1,31 @@
/*
- * 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?"
- *
- * File Name: fck_link.js
- * Scripts related to the Link dialog window (see fck_link.html).
- *
- * File Authors:
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- * Dominik Pesch ?dom? (empty selection patch) (d.pesch@11com7.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 ==
+ *
+ * Scripts related to the Link dialog window (see fck_link.html).
*/
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKLang = oEditor.FCKLang ;
var FCKConfig = oEditor.FCKConfig ;
+var FCKRegexLib = oEditor.FCKRegexLib ;
//#### Dialog Tabs
@@ -51,24 +55,20 @@ function OnDialogTabChange( tabCode )
//#### Regular Expressions library.
var oRegex = new Object() ;
-oRegex.UriProtocol = new RegExp('') ;
-oRegex.UriProtocol.compile( '^(((http|https|ftp|news):\/\/)|mailto:)', 'gi' ) ;
+oRegex.UriProtocol = /^(((http|https|ftp|news):\/\/)|mailto:)/gi ;
-oRegex.UrlOnChangeProtocol = new RegExp('') ;
-oRegex.UrlOnChangeProtocol.compile( '^(http|https|ftp|news)://(?=.)', 'gi' ) ;
+oRegex.UrlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi ;
-oRegex.UrlOnChangeTestOther = new RegExp('') ;
-//oRegex.UrlOnChangeTestOther.compile( '^(javascript:|#|/)', 'gi' ) ;
-oRegex.UrlOnChangeTestOther.compile( '^((javascript:)|[#/\.])', 'gi' ) ;
+oRegex.UrlOnChangeTestOther = /^((javascript:)|[#\/\.])/gi ;
-oRegex.ReserveTarget = new RegExp('') ;
-oRegex.ReserveTarget.compile( '^_(blank|self|top|parent)$', 'i' ) ;
+oRegex.ReserveTarget = /^_(blank|self|top|parent)$/i ;
-oRegex.PopupUri = new RegExp('') ;
-oRegex.PopupUri.compile( "^javascript:void\\(\\s*window.open\\(\\s*'([^']+)'\\s*,\\s*(?:'([^']*)'|null)\\s*,\\s*'([^']*)'\\s*\\)\\s*\\)\\s*$" ) ;
+oRegex.PopupUri = /^javascript:void\(\s*window.open\(\s*'([^']+)'\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*\)\s*$/ ;
-oRegex.PopupFeatures = new RegExp('') ;
-oRegex.PopupFeatures.compile( '(?:^|,)([^=]+)=(\\d+|yes|no)', 'gi' ) ;
+// Accessible popups
+oRegex.OnClickPopup = /^\s*on[cC]lick="\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*"$/ ;
+
+oRegex.PopupFeatures = /(?:^|,)([^=]+)=(\d+|yes|no)/gi ;
//#### Parser Functions
@@ -92,10 +92,10 @@ oParser.ParseEMailUrl = function( emailUrl )
if ( oParts[2] )
{
var oMatch = oParts[2].match( /(^|&)subject=([^&]+)/i ) ;
- if ( oMatch ) oEMailInfo.Subject = unescape( oMatch[2] ) ;
+ if ( oMatch ) oEMailInfo.Subject = decodeURIComponent( oMatch[2] ) ;
oMatch = oParts[2].match( /(^|&)body=([^&]+)/i ) ;
- if ( oMatch ) oEMailInfo.Body = unescape( oMatch[2] ) ;
+ if ( oMatch ) oEMailInfo.Body = decodeURIComponent( oMatch[2] ) ;
}
}
@@ -109,12 +109,12 @@ oParser.CreateEMailUri = function( address, subject, body )
var sParams = '' ;
if ( subject.length > 0 )
- sParams = '?subject=' + escape( subject ) ;
+ sParams = '?subject=' + encodeURIComponent( subject ) ;
if ( body.length > 0 )
{
sParams += ( sParams.length == 0 ? '?' : '&' ) ;
- sParams += 'body=' + escape( body ) ;
+ sParams += 'body=' + encodeURIComponent( body ) ;
}
return sBaseUri + sParams ;
@@ -159,29 +159,37 @@ var bHasAnchors ;
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') )
aAnchors[ aAnchors.length ] = oEditor.FCK.GetRealElement( oImages[i] ) ;
}
-
+
+ // Add also real anchors
+ var oLinks = oEditor.FCK.EditorDocument.getElementsByTagName( 'A' ) ;
+ 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 ;
if ( sName && sName.length > 0 )
oEditor.FCKTools.AddSelectOption( GetE('cmbAnchorName'), sName, sName ) ;
}
- for ( var i = 0 ; i < aIds.length ; i++ )
+ for ( i = 0 ; i < aIds.length ; i++ )
{
oEditor.FCKTools.AddSelectOption( GetE('cmbAnchorId'), aIds[i], aIds[i] ) ;
}
@@ -199,8 +207,8 @@ function LoadSelection()
// Get the actual Link href.
var sHRef = oLink.getAttribute( '_fcksavedurl' ) ;
if ( sHRef == null )
- sHRef = oLink.getAttribute( 'href' , 2 ) + '' ;
-
+ sHRef = oLink.getAttribute( 'href' , 2 ) || '' ;
+
// Look for a popup javascript link.
var oPopupMatch = oRegex.PopupUri.exec( sHRef ) ;
if( oPopupMatch )
@@ -211,6 +219,18 @@ function LoadSelection()
SetTarget( 'popup' ) ;
}
+ // Accesible popups, the popup data is in the onclick attribute
+ if ( !oPopupMatch ) {
+ var onclick = oLink.getAttribute( 'onclick_fckprotectedatt' ) ;
+ oPopupMatch = oRegex.OnClickPopup.exec( onclick ) ;
+ if( oPopupMatch )
+ {
+ GetE( 'cmbTarget' ).value = 'popup' ;
+ FillPopupFields( oPopupMatch[1], oPopupMatch[2] ) ;
+ SetTarget( 'popup' ) ;
+ }
+ }
+
// Search for the protocol.
var sProtocol = oRegex.UriProtocol.exec( sHRef ) ;
@@ -279,16 +299,21 @@ function LoadSelection()
GetE('txtAttContentType').value = oLink.type ;
GetE('txtAttCharSet').value = oLink.charset ;
+ var sClass ;
if ( oEditor.FCKBrowserInfo.IsIE )
{
- GetE('txtAttClasses').value = oLink.getAttribute('className',2) || '' ;
+ sClass = oLink.getAttribute('className',2) || '' ;
+ // Clean up temporary classes for internal use:
+ sClass = sClass.replace( FCKRegexLib.FCK_Class, '' ) ;
+
GetE('txtAttStyle').value = oLink.style.cssText ;
}
else
{
- GetE('txtAttClasses').value = oLink.getAttribute('class',2) || '' ;
- GetE('txtAttStyle').value = oLink.getAttribute('style',2) ;
+ sClass = oLink.getAttribute('class',2) || '' ;
+ GetE('txtAttStyle').value = oLink.getAttribute('style',2) || '' ;
}
+ GetE('txtAttClasses').value = sClass ;
// Update the Link type combo.
GetE('cmbLinkType').value = sType ;
@@ -369,14 +394,13 @@ function OnTargetNameChange()
GetE('cmbTarget').value = 'frame' ;
}
-//#### Builds the javascript URI to open a popup to the specified URI.
-function BuildPopupUri( uri )
+// Accesible popups
+function BuildOnClickPopup()
{
- var oReg = new RegExp( "'", "g" ) ;
- var sWindowName = "'" + GetE('txtPopupName').value.replace(oReg, "\\'") + "'" ;
+ var sWindowName = "'" + GetE('txtPopupName').value.replace(/\W/gi, "") + "'" ;
var sFeatures = '' ;
- var aChkFeatures = document.getElementsByName('chkFeature') ;
+ var aChkFeatures = document.getElementsByName( 'chkFeature' ) ;
for ( var i = 0 ; i < aChkFeatures.length ; i++ )
{
if ( i > 0 ) sFeatures += ',' ;
@@ -388,7 +412,10 @@ function BuildPopupUri( uri )
if ( GetE('txtPopupLeft').value.length > 0 ) sFeatures += ',left=' + GetE('txtPopupLeft').value ;
if ( GetE('txtPopupTop').value.length > 0 ) sFeatures += ',top=' + GetE('txtPopupTop').value ;
- return ( "javascript:void(window.open('" + uri + "'," + sWindowName + ",'" + sFeatures + "'))" ) ;
+ if ( sFeatures != '' )
+ sFeatures = sFeatures + ",status" ;
+
+ return ( "window.open(this.href," + sWindowName + ",'" + sFeatures + "'); return false" ) ;
}
//#### Fills all Popup related fields.
@@ -441,18 +468,6 @@ function Ok()
sUri = GetE('cmbLinkProtocol').value + sUri ;
- if( GetE('cmbTarget').value == 'popup' )
- {
- // Check the window name, according to http://www.w3.org/TR/html4/types.html#type-frame-target (IE throw erros with spaces).
- if ( /(^[^a-zA-Z])|(\s)/.test( GetE('txtPopupName').value ) )
- {
- alert( FCKLang.DlnLnkMsgInvPopName ) ;
- return false ;
- }
-
- sUri = BuildPopupUri( sUri ) ;
- }
-
break ;
case 'email' :
@@ -487,7 +502,7 @@ function Ok()
// No link selected, so try to create one.
if ( !oLink )
oLink = oEditor.FCK.CreateLink( sUri ) ;
-
+
if ( oLink )
sInnerHtml = oLink.innerHTML ; // Save the innerHTML (IE changes it if it is like an URL).
else
@@ -527,6 +542,20 @@ function Ok()
oLink.href = sUri ;
SetAttribute( oLink, '_fcksavedurl', sUri ) ;
+ // Accesible popups
+ if( GetE('cmbTarget').value == 'popup' )
+ {
+ SetAttribute( oLink, 'onclick_fckprotectedatt', " onclick=\"" + BuildOnClickPopup() + "\"") ;
+ }
+ else
+ {
+ // Check if the previous onclick was for a popup:
+ // In that case remove the onclick handler.
+ var onclick = oLink.getAttribute( 'onclick_fckprotectedatt' ) ;
+ if( oRegex.OnClickPopup.test( onclick ) )
+ SetAttribute( oLink, 'onclick_fckprotectedatt', '' ) ;
+ }
+
oLink.innerHTML = sInnerHtml ; // Set (or restore) the innerHTML
// Target
@@ -537,7 +566,7 @@ function Ok()
// Advances Attributes
SetAttribute( oLink, 'id' , GetE('txtAttId').value ) ;
- SetAttribute( oLink, 'name' , GetE('txtAttName').value ) ; // No IE. Set but doesnt't update the outerHTML.
+ SetAttribute( oLink, 'name' , GetE('txtAttName').value ) ;
SetAttribute( oLink, 'dir' , GetE('cmbAttLangDir').value ) ;
SetAttribute( oLink, 'lang' , GetE('txtAttLangCode').value ) ;
SetAttribute( oLink, 'accesskey', GetE('txtAttAccessKey').value ) ;
@@ -548,7 +577,12 @@ function Ok()
if ( oEditor.FCKBrowserInfo.IsIE )
{
- SetAttribute( oLink, 'className', GetE('txtAttClasses').value ) ;
+ var sClass = GetE('txtAttClasses').value ;
+ // If it's also an anchor add an internal class
+ if ( GetE('txtAttName').value.length != 0 )
+ sClass += ' FCK__AnchorC' ;
+ SetAttribute( oLink, 'className', sClass ) ;
+
oLink.style.cssText = GetE('txtAttStyle').value ;
}
else
@@ -559,7 +593,7 @@ function Ok()
// Select the link.
oEditor.FCKSelection.SelectNode(oLink);
-
+
return true ;
}
@@ -612,19 +646,19 @@ var oUploadDeniedExtRegex = new RegExp( FCKConfig.LinkUploadDeniedExtensions, 'i
function CheckUpload()
{
var sFile = GetE('txtUploadFile').value ;
-
+
if ( sFile.length == 0 )
{
alert( 'Please select a file to upload' ) ;
return false ;
}
-
+
if ( ( FCKConfig.LinkUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) ||
( FCKConfig.LinkUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) )
{
OnUploadCompleted( 202 ) ;
return false ;
}
-
+
return true ;
-}
\ No newline at end of file
+}
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_listprop.html b/phpgwapi/js/fckeditor/editor/dialog/fck_listprop.html
index 67dde1d694..341c68e871 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_listprop.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_listprop.html
@@ -1,22 +1,25 @@
-
+
@@ -30,8 +33,9 @@ var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
+var sListType = ( location.search == '?OL' ? 'OL' : 'UL' ) ;
-var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'UL' ) ;
+var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( sListType ) ;
var oActiveSel ;
window.onload = function()
@@ -39,11 +43,10 @@ window.onload = function()
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
- if ( oActiveEl )
+ if ( sListType == 'UL' )
oActiveSel = GetE('selBulleted') ;
else
{
- oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'OL' ) ;
if ( oActiveEl )
{
oActiveSel = GetE('selNumbered') ;
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_paste.html b/phpgwapi/js/fckeditor/editor/dialog/fck_paste.html
index 6e491938f9..599248cb7d 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_paste.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_paste.html
@@ -1,43 +1,56 @@
-
+
+
+
- Please paste inside the following box using the keyboard
- (Ctrl+V) and hit OK.
-
-
+
+ Because of your browser security settings,
+ the editor is not able to access your clipboard data directly. You are required
+ to paste it again in this window.
+
+
+
+ Please paste inside the following box using the keyboard
+ (Ctrl+V) and hit OK.
+
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_radiobutton.html b/phpgwapi/js/fckeditor/editor/dialog/fck_radiobutton.html
index 5c99ae8501..c0414377cf 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_radiobutton.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_radiobutton.html
@@ -1,21 +1,25 @@
-
+
@@ -60,7 +64,7 @@ function Ok()
if ( GetE('txtName').value.length > 0 )
oActiveEl.name = GetE('txtName').value ;
-
+
if ( oEditor.FCKBrowserInfo.IsIE )
oActiveEl.value = GetE('txtValue').value ;
else
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_replace.html b/phpgwapi/js/fckeditor/editor/dialog/fck_replace.html
index b40cb86fab..516dfea31a 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_replace.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_replace.html
@@ -1,22 +1,25 @@
-
+
@@ -39,8 +42,8 @@ function OnLoad()
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 ) ;
}
@@ -65,7 +68,7 @@ function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound
if ( ! replaceAll && hasFound )
return true ;
}
-
+
return hasFound ;
}
@@ -79,7 +82,7 @@ function GetRegexExpr()
return sExpr ;
}
-function GetCase()
+function GetCase()
{
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
}
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_select.html b/phpgwapi/js/fckeditor/editor/dialog/fck_select.html
index e25e415717..59d57b2a6f 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_select.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_select.html
@@ -1,21 +1,25 @@
-
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_select/fck_select.js b/phpgwapi/js/fckeditor/editor/dialog/fck_select/fck_select.js
index 5a120445cd..256c3dd026 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_select/fck_select.js
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_select/fck_select.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_select.js
- * Scripts for the fck_select.html page.
- *
- * File Authors:
- * 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 ==
+ *
+ * Scripts for the fck_select.html page.
*/
function Select( combo )
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_smiley.html b/phpgwapi/js/fckeditor/editor/dialog/fck_smiley.html
index 836991be0d..2287681adf 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_smiley.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_smiley.html
@@ -1,22 +1,26 @@
+
-
@@ -44,7 +48,7 @@ function InsertSmiley( url )
var oImg = oEditor.FCK.CreateElement( 'IMG' ) ;
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
// everything before closing.
@@ -73,7 +77,7 @@ var FCKConfig = oEditor.FCKConfig ;
var sBasePath = FCKConfig.SmileyPath ;
var aImages = FCKConfig.SmileyImages ;
var iCols = FCKConfig.SmileyColumns ;
-var iColWidth = parseInt( 100 / iCols ) ;
+var iColWidth = parseInt( 100 / iCols, 10 ) ;
var i = 0 ;
while (i < aImages.length)
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_source.html b/phpgwapi/js/fckeditor/editor/dialog/fck_source.html
index dd3db7e650..8a68941409 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_source.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_source.html
@@ -1,22 +1,26 @@
+
-
Source
@@ -24,7 +28,7 @@
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_specialchar.html b/phpgwapi/js/fckeditor/editor/dialog/fck_specialchar.html
index 1fd8217435..025fafaa0b 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_specialchar.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_specialchar.html
@@ -1,31 +1,35 @@
+
-
@@ -78,7 +82,7 @@ var i = 0 ;
while (i < aChars.length)
{
document.write("
") ;
- for(var j = 0 ; j < cols ; j++)
+ for(var j = 0 ; j < cols ; j++)
{
if (aChars[i])
{
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages.html b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages.html
index df4637b3e1..391b559c66 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages.html
@@ -1,21 +1,25 @@
-
+
@@ -33,6 +37,7 @@ window.onload = function()
document.getElementById('txtHtml').value = oEditor.FCK.EditorDocument.body.innerHTML ;
var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ;
+ oSpeller.spellCheckScript = oEditor.FCKConfig.SpellerPagesServerScript || 'server-scripts/spellchecker.php' ;
oSpeller.OnFinished = oSpeller_OnFinished ;
oSpeller.openChecker() ;
}
@@ -54,6 +59,6 @@ function oSpeller_OnFinished( numberOCorrections )
-
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html
index e69de29bb2..5f282702bb 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html
index a608174c04..b920a6e966 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html
@@ -1,8 +1,8 @@
-
+
-
-
+
-
+
-
-
-
\ No newline at end of file
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
index 4549d12346..19ead6151a 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
@@ -1,17 +1,20 @@
- $dir );
# temp file was created properly?
-
+
# open temp file, add the submitted text.
for( my $i = 0; $i <= $#textinputs; $i++ ) {
$text = url_decode( $textinputs[$i] );
@@ -66,7 +66,7 @@ sub printCheckerResults {
# use carat on each line to escape possible aspell commands
print $fh "^$line\n";
}
-
+
}
# exec aspell command
my $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1";
@@ -81,7 +81,7 @@ sub printCheckerResults {
$textInputIdx++;
printTextIdxDecl( $textInputIdx );
$wordIdx = 0;
-
+
} elsif( $ret =~ /^(&|#)/ ) {
my @tokens = split( " ", $ret, 5 );
printWordsElem( $textInputIdx, $wordIdx, $tokens[1] );
@@ -158,7 +158,7 @@ function init_spell() {
if (parent.frames.length) {
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 );
}
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js
index 90189d6996..b5e55b74b9 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js
@@ -19,7 +19,6 @@ function spellChecker( textObject ) {
// this.popUpProps = "menu=no,width=440,height=350,top=70,left=120,resizable=yes,status=yes"; // by FredCK
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';
// values used to keep track of what happened to a word
@@ -37,7 +36,7 @@ function spellChecker( textObject ) {
this.controlWin = null;
this.wordWin = null;
this.textArea = textObject; // deprecated
- this.textInputs = arguments;
+ this.textInputs = arguments;
// private methods
this._spellcheck = _spellcheck;
@@ -97,7 +96,7 @@ function startCheck( wordWindowObj, controlWindowObj ) {
// set properties from args
this.wordWin = wordWindowObj;
this.controlWin = controlWindowObj;
-
+
// reset properties
this.wordWin.resetForm();
this.controlWin.resetForm();
@@ -112,7 +111,7 @@ function startCheck( wordWindowObj, controlWindowObj ) {
// start
this._spellcheck();
-
+
return true;
}
@@ -132,6 +131,7 @@ function ignoreWord() {
this.currentWordIndex++;
this._spellcheck();
}
+ return true;
}
function ignoreAll() {
@@ -148,7 +148,7 @@ function ignoreAll() {
return false;
}
- // set this word as an "ignore all" word.
+ // set this word as an "ignore all" word.
this._setAsIgnored( ti, wi, this.ignrAllFlag );
// loop through all the words after this word
@@ -156,7 +156,7 @@ function ignoreAll() {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
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 )
&& ( !this.wordFlags[i][j] )) {
@@ -169,6 +169,7 @@ function ignoreAll() {
// finally, move on
this.currentWordIndex++;
this._spellcheck();
+ return true;
}
function replaceWord() {
@@ -183,7 +184,7 @@ function replaceWord() {
return false;
}
if( !this.controlWin.replacementText ) {
- return;
+ return false ;
}
var txt = this.controlWin.replacementText;
if( txt.value ) {
@@ -193,6 +194,7 @@ function replaceWord() {
this._spellcheck();
}
}
+ return true;
}
function replaceAll() {
@@ -208,10 +210,10 @@ function replaceAll() {
return false;
}
var txt = this.controlWin.replacementText;
- if( !txt.value ) return;
+ if( !txt.value ) return false;
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 );
// loop through all the words after this word
@@ -219,7 +221,7 @@ function replaceAll() {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
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 )
&& ( !this.wordFlags[i][j] )) {
@@ -228,10 +230,11 @@ function replaceAll() {
}
}
}
-
+
// finally, move on
this.currentWordIndex++;
this._spellcheck();
+ return true;
}
function terminateSpell() {
@@ -286,12 +289,12 @@ function terminateSpell() {
function undo() {
// 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
if( this.currentWordIndex == 0 && this.currentTextIndex > 0 ) {
@@ -303,30 +306,31 @@ function undo() {
this.currentWordIndex--;
}
}
- } 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 );
}
@@ -334,22 +338,22 @@ function undo() {
}
}
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;
}
}
}
}
break;
-
+
// replace: revert the word to its original spelling
case this.replWordFlag :
this._setWordText ( text_idx, idx, preReplSpell, undefined );
@@ -357,20 +361,20 @@ function undo() {
}
// 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();
}
}
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) ) {
this.currentTextIndex++;
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;
} else {
@@ -378,7 +382,7 @@ function _spellcheck() {
return;
}
}
-
+
// if this is after the first one make sure the Undo button is enabled
if( this.currentWordIndex > 0 ) {
this.controlWin.enableUndo();
@@ -404,10 +408,10 @@ function _getSuggestions( text_num, word_num ) {
// add suggestion in list for each suggested word.
// 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] );
}
}
@@ -449,8 +453,8 @@ function _getFormInputs( inputPattern ) {
for( var i = 0; i < document.forms.length; i++ ) {
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];
+ }
}
}
return inputs;
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
index 35cb87889f..759a55b0ca 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
@@ -1,4 +1,4 @@
-
+
@@ -280,18 +262,6 @@ function IsDigit( e )
-
Caption:
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_tablecell.html b/phpgwapi/js/fckeditor/editor/dialog/fck_tablecell.html
index b2fcf8fb72..02d3e79fbe 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_tablecell.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_tablecell.html
@@ -1,21 +1,25 @@
-
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_template.html b/phpgwapi/js/fckeditor/editor/dialog/fck_template.html
index f459732530..d67019db6c 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_template.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_template.html
@@ -1,21 +1,25 @@
-
+
@@ -63,9 +67,9 @@ window.onload = function()
// Translate the dialog box texts.
oEditor.FCKLanguageManager.TranslatePage(document) ;
-
+
GetE('xChkReplaceAll').checked = ( FCKConfig.TemplateReplaceAll !== false ) ;
-
+
if ( FCKConfig.TemplateReplaceCheckbox !== false )
GetE('xReplaceBlock').style.display = '' ;
@@ -76,6 +80,8 @@ window.onload = function()
function LoadTemplatesXml()
{
+ var oTemplate ;
+
if ( !FCK._Templates )
{
GetE('eLoading').style.display = '' ;
@@ -96,28 +102,28 @@ function LoadTemplatesXml()
for ( var i = 0 ; i < aTplNodes.length ; i++ )
{
- var oNode = aTplNodes[i]
+ var oNode = aTplNodes[i] ;
- var oTemplate = new Object() ;
+ oTemplate = new Object() ;
var oPart ;
// Get the Template Title.
- if ( oPart = oNode.attributes.getNamedItem('title') )
+ if ( (oPart = oNode.attributes.getNamedItem('title')) )
oTemplate.Title = oPart.value ;
else
oTemplate.Title = 'Template ' + ( i + 1 ) ;
// Get the Template Description.
- if ( oPart = oXml.SelectSingleNode( 'Description', oNode ) )
+ if ( (oPart = oXml.SelectSingleNode( 'Description', oNode )) )
oTemplate.Description = oPart.text ? oPart.text : oPart.textContent ;
// Get the Template Image.
- if ( oPart = oNode.attributes.getNamedItem('image') )
+ if ( (oPart = oNode.attributes.getNamedItem('image')) )
oTemplate.Image = sImagesBasePath + oPart.value ;
// Get the Template HTML.
- if ( oPart = oXml.SelectSingleNode( 'Html', oNode ) )
+ if ( (oPart = oXml.SelectSingleNode( 'Html', oNode )) )
oTemplate.Html = oPart.text ? oPart.text : oPart.textContent ;
else
{
@@ -135,12 +141,12 @@ function LoadTemplatesXml()
GetE('eEmpty').style.display = '' ;
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' ;
// Build the inner HTML of our new item DIV.
@@ -157,7 +163,7 @@ function LoadTemplatesXml()
sInner += '<\/td><\/tr><\/table>' ;
oItemDiv.innerHTML = sInner ;
-
+
oItemDiv.onmouseover = ItemDiv_OnMouseOver ;
oItemDiv.onmouseout = ItemDiv_OnMouseOut ;
oItemDiv.onclick = ItemDiv_OnClick ;
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_textarea.html b/phpgwapi/js/fckeditor/editor/dialog/fck_textarea.html
index 15d01ffd9a..ce1eb5478e 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_textarea.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_textarea.html
@@ -1,21 +1,25 @@
-
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_textfield.html b/phpgwapi/js/fckeditor/editor/dialog/fck_textfield.html
index 3de9eb6d2b..336f71cef9 100644
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_textfield.html
+++ b/phpgwapi/js/fckeditor/editor/dialog/fck_textfield.html
@@ -1,21 +1,25 @@
-
+
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey.html b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey.html
deleted file mode 100644
index fda239b97c..0000000000
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
- Universal Keyboard
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/00.gif b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/00.gif
deleted file mode 100644
index fc2560981e..0000000000
Binary files a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/00.gif and /dev/null differ
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/data.js b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/data.js
deleted file mode 100644
index 81d271952c..0000000000
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/data.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * 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?"
- *
- * File Name: data.js
- * Scripts for the fck_universalkey.html page.
- * Definition des 104 caracteres en hexa unicode.
- *
- * File Authors:
- * Michel Staelens (michel.staelens@wanadoo.fr)
- * Abdul-Aziz Al-Oraij (top7up@hotmail.com)
- * Bo Brandt (bbr@dynamicweb.dk)
- */
-
-var Maj = new Array() ;
-var Min = new Array() ;
-
-Maj["Arabic"] ="0651|0021|0040|0023|0024|0025|005E|0026|002A|0029|0028|005F|002B|064E|064B|064F|064C|0625|0625|2018|00F7|00D7|061B|003C|003E|0650|064D|005D|005B|0623|0623|0640|060C|002F|003A|0022|007E|0652|007D|007B|0622|0622|2019|002C|002E|061F|007C|0020|0020|0020|0020|0020" ;
-Min["Arabic"] ="0630|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|0636|0635|062B|0642|0641|063A|0639|0647|062E|062D|062C|062F|0634|0633|064A|0628|0644|0627|062A|0646|0645|0643|0637|0626|0621|0624|0631|0644|0627|0649|0629|0648|0632|0638|005C|0020|0020|0020|0020" ;
-Maj["Belarusian (C)"] ="0401|0021|0022|2116|003B|0025|003A|003F|002A|0028|0029|005F|002B|0419|0426|0423|041A|0415|041D|0413|0428|040E|0417|0425|0027|0424|042B|0412|0410|041F|0420|041E|041B|0414|0416|042D|042F|0427|0421|041C|0406|0422|042C|0411|042E|002C|0020|0020|0020|0020|0020|0020" ;
-Min["Belarusian (C)"] ="0451|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|0439|0446|0443|043A|0435|043D|0433|0448|045E|0437|0445|0027|0444|044B|0432|0430|043F|0440|043E|043B|0434|0436|044D|044F|0447|0441|043C|0456|0442|044C|0431|044E|002E|0020|0020|0020|0020|0020|0020" ;
-Maj["Bulgarian (C)"] ="007E|0021|003F|002B|0022|0025|003D|003A|002F|005F|2116|0406|0056|044B|0423|0415|0418|0428|0429|041A|0421|0414|0417|0426|00A7|042C|042F|0410|041E|0416|0413|0422|041D|0412|041C|0427|042E|0419|042A|042D|0424|0425|041F|0420|041B|0411|0029|0020|0020|0020|0020|0020" ;
-Min["Bulgarian (C)"] ="0060|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|002E|002C|0443|0435|0438|0448|0449|043A|0441|0434|0437|0446|003B|044C|044F|0430|043E|0436|0433|0442|043D|0432|043C|0447|044E|0439|044A|044D|0444|0445|043F|0440|043B|0431|0028|0020|0020|0020|0020|0020" ;
-Maj["Croatian (L)"] ="00B8|0021|0022|0023|0024|0025|0026|002F|0028|0029|003D|003F|00A8|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|0160|0110|0041|0053|0044|0046|0047|0048|004A|004B|004C|010C|0106|0059|0058|0043|0056|0042|004E|004D|017D|003B|003A|003C|003E|005F|002D|002A|002B" ;
-Min["Croatian (L)"] ="00B8|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0027|00A8|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|0161|0111|0061|0073|0064|0066|0067|0068|006A|006B|006C|010D|0107|0079|0078|0063|0076|0062|006E|006D|017E|002C|002E|003C|003E|005F|002D|002A|002B" ;
-Maj["Czech (L)"] ="00B0|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0025|02C7|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|002F|0028|0041|0053|0044|0046|0047|0048|004A|004B|004C|0022|0027|0059|0058|0043|0056|0042|004E|004D|003F|003A|005F|005B|007B|0021|0020|0148|010F" ;
-Min["Czech (L)"] ="003B|002B|011B|0161|010D|0159|017E|00FD|00E1|00ED|00E9|003D|00B4|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|00FA|0029|0061|0073|0064|0066|0067|0068|006A|006B|006C|016F|00A7|0079|0078|0063|0076|0062|006E|006D|002C|002E|002D|005D|007D|00A8|0040|00F3|0165" ;
-Maj["Danish (L)"] ="00A7|0021|0022|0023|00A4|0025|0026|002F|0028|0029|003D|003F|0060|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|00C5|005E|0041|0053|0044|0046|0047|0048|004A|004B|004C|00C6|00D8|003E|005A|0058|0043|0056|0042|004E|004D|003B|003A|002A|005F|007B|007D|005C|007E" ;
-Min["Danish (L)"] ="00BD|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002B|00B4|0071|0077|0065|0072|0074|0079|0075|0069|006F|0070|00E5|00A8|0061|0073|0064|0066|0067|0068|006A|006B|006C|00E6|00F8|003C|007A|0078|0063|0076|0062|006E|006D|002C|002E|0027|002D|005B|005D|007C|0040" ;
-Maj["Diacritical (L)"] ="0060|00B4|005E|00A8|007E|00B0|00B7|00B8|00AF|02D9|02DB|02C7|02D8|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|00C6|02DD|0041|0053|0044|0046|0047|0048|004A|004B|004C|0141|0152|0059|0058|0043|0056|0042|004E|004D|01A0|01AF|00D8|0126|0110|0132|00DE|00D0|00DF" ;
-Min["Diacritical (L)"] ="0060|00B4|005E|00A8|007E|00B0|00B7|00B8|00AF|02D9|02DB|02C7|02D8|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|00E6|02DD|0061|0073|0064|0066|0067|0068|006A|006B|006C|0142|0153|0079|0078|0063|0076|0062|006E|006D|01A1|01B0|00F8|0127|0111|0133|00FE|00F0|00DF" ;
-Maj["Finnish (L)"] ="00A7|0021|0022|0023|00A4|0025|0026|002F|0028|0029|003D|003F|0060|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|00C5|005E|0041|0053|0044|0046|0047|0048|004A|004B|004C|00D6|00C4|003E|005A|0058|0043|0056|0042|004E|004D|003B|003A|002A|005F|007B|007D|005C|007E" ;
-Min["Finnish (L)"] ="00BD|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002B|00B4|0071|0077|0065|0072|0074|0079|0075|0069|006F|0070|00E5|00A8|0061|0073|0064|0066|0067|0068|006A|006B|006C|00F6|00E4|003C|007A|0078|0063|0076|0062|006E|006D|002C|002E|0027|002D|005B|005D|007C|0040" ;
-Maj["French (L)"] ="0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|00B0|002B|0023|0041|005A|0045|0052|0054|0059|0055|0049|004F|0050|00A8|0025|0051|0053|0044|0046|0047|0048|004A|004B|004C|004D|00B5|0057|0058|0043|0056|0042|004E|003F|002E|002F|00A7|003C|005B|007B|00A3|007E|0020" ;
-Min["French (L)"] ="0026|00E9|0022|0027|0028|002D|00E8|005F|00E7|00E0|0029|003D|0040|0061|007A|0065|0072|0074|0079|0075|0069|006F|0070|005E|00F9|0071|0073|0064|0066|0067|0068|006A|006B|006C|006D|002A|0077|0078|0063|0076|0062|006E|002C|003B|003A|0021|003E|005D|007D|0024|007E|0020" ;
-Maj["Greek"] ="007E|0021|0040|0023|0024|0025|0390|0026|03B0|0028|0029|005F|002B|003A|03A3|0395|03A1|03A4|03A5|0398|0399|039F|03A0|0386|038F|0391|03A3|0394|03A6|0393|0397|039E|039A|039B|038C|0022|0396|03A7|03A8|03A9|0392|039D|039C|003C|003E|003F|0388|0389|038A|03AA|03AB|038E" ;
-Min["Greek"] ="0060|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|003B|03C2|03B5|03C1|03C4|03C5|03B8|03B9|03BF|03C0|03AC|03CE|03B1|03C3|03B4|03C6|03B3|03B7|03BE|03BA|03BB|03CC|0027|03B6|03C7|03C8|03C9|03B2|03BD|03BC|002C|002E|002F|03AD|03AE|03AF|03CA|03CB|03CD" ;
-Maj["Hebrew"] ="007E|0021|0040|0023|0024|0025|005E|0026|002A|0028|0029|005F|002B|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|007B|007D|0041|0053|0044|0046|0047|0048|004A|004B|004C|003A|0022|005A|0058|0043|0056|0042|004E|004D|003C|003E|003F|0020|0020|0020|0020|0020|0020" ;
-Min["Hebrew"] ="0060|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|002F|0027|05E7|05E8|05D0|05D8|05D5|05DF|05DD|05E4|005B|005D|05E9|05D3|05D2|05DB|05E2|05D9|05D7|05DC|05DA|05E3|002C|05D6|05E1|05D1|05D4|05E0|05DE|05E6|05EA|05E5|002E|0020|0020|0020|0020|0020|0020" ;
-Maj["Hungarian (L)"] ="00A7|0027|0022|002B|0021|0025|002F|003D|0028|0029|00ED|00DC|00D3|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|0150|00DA|0041|0053|0044|0046|0047|0048|004A|004B|004C|00C9|00C1|0170|00CD|0059|0058|0043|0056|0042|004E|004D|003F|002E|003A|002D|005F|007B|007D" ;
-Min["Hungarian (L)"] ="0030|0031|0032|0033|0034|0035|0036|0037|0038|0039|00F6|00FC|00F3|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|0151|00FA|0061|0073|0064|0066|0067|0068|006A|006B|006C|00E9|00E1|0171|00ED|0079|0078|0063|0076|0062|006E|006D|002C|002E|003A|002D|005F|007B|007D" ;
-Maj["Macedonian (C)"] ="007E|0021|201E|201C|2019|0025|2018|0026|002A|0028|0029|005F|002B|0409|040A|0415|0420|0422|0405|0423|0418|041E|041F|0428|0403|0410|0421|0414|0424|0413|0425|0408|041A|041B|0427|040C|0401|0417|040F|0426|0412|0411|041D|041C|0416|003B|003A|003F|002A|005F|007B|007D" ;
-Min["Macedonian (C)"] ="0060|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|0459|045A|0435|0440|0442|0455|0443|0438|043E|043F|0448|0453|0430|0441|0434|0444|0433|0445|0458|043A|043B|0447|045C|0451|0437|045F|0446|0432|0431|043D|043C|0436|002C|002E|002F|0027|002D|005B|005D" ;
-Maj["Norwegian (L)"] ="00A7|0021|0022|0023|00A4|0025|0026|002F|0028|0029|003D|003F|0060|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|00C5|005E|0041|0053|0044|0046|0047|0048|004A|004B|00D8|00C6|00C4|003E|005A|0058|0043|0056|0042|004E|004D|003B|003A|002A|005F|007B|007D|005C|007E" ;
-Min["Norwegian (L)"] ="00BD|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002B|00B4|0071|0077|0065|0072|0074|0079|0075|0069|006F|0070|00E5|00A8|0061|0073|0064|0066|0067|0068|006A|006B|00F8|00E6|00E4|003C|007A|0078|0063|0076|0062|006E|006D|002C|002E|0027|002D|005B|005D|007C|0040" ;
-Maj["Persian"] ="200D|0021|066C|066B|FDFC|066A|00D7|060C|002A|0029|0028|0640|002B|0652|064C|064D|064B|064F|0650|064E|0651|005D|005B|007D|007B|0624|0626|064A|0625|0623|0622|0629|00BB|00AB|003A|061B|0643|0020|0698|0670|200C|0654|0621|003E|003C|061F|007C|0020|0020|0020|0020|0020" ;
-Min["Persian"] ="200D|06F1|06F2|06F3|06F4|06F5|06F6|06F7|06F8|06F9|06F0|002D|003D|0636|0635|062B|0642|0641|063A|0639|0647|062E|062D|062C|0686|0634|0633|06CC|0628|0644|0627|062A|0646|0645|06A9|06AF|0638|0637|0632|0631|0630|062F|067E|0648|002E|002F|005C|0020|0020|0020|0020|0020" ;
-Maj["Polish (L)"] ="002A|0021|0022|0023|00A4|0025|0026|002F|0028|0029|003D|003F|017A|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|0144|0107|0041|0053|0044|0046|0047|0048|004A|004B|004C|0141|0119|0059|0058|0043|0056|0042|004E|004D|003B|003A|005F|003C|005B|007B|02D9|00B4|02DB" ;
-Min["Polish (L)"] ="0027|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002B|00F3|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|017C|015B|0061|0073|0064|0066|0067|0068|006A|006B|006C|0142|0105|0079|0078|0063|0076|0062|006E|006D|002C|002E|002D|003E|005D|007D|02D9|00B4|02DB" ;
-Maj["Portuguese (L)"] ="007C|0021|0022|0023|0024|0025|0026|002F|0028|0029|003D|003F|00BB|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|002A|0060|0041|0053|0044|0046|0047|0048|004A|004B|004C|00C7|00AA|003E|005A|0058|0043|0056|0042|004E|004D|003B|003A|005E|007B|007D|00A7|20AC|005F" ;
-Min["Portuguese (L)"] ="005C|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0027|00AB|0071|0077|0065|0072|0074|0079|0075|0069|006F|0070|002B|00B4|0061|0073|0064|0066|0067|0068|006A|006B|006C|00E7|00BA|003C|007A|0078|0063|0076|0062|006E|006D|002C|002E|007E|005B|005D|00A8|0040|002D" ;
-Maj["Russian (C)"] ="0401|0021|0040|0023|2116|0025|005E|0026|002A|0028|0029|005F|002B|0419|0426|0423|041A|0415|041D|0413|0428|0429|0417|0425|042A|0424|042B|0412|0410|041F|0420|041E|041B|0414|0416|042D|042F|0427|0421|041C|0418|0422|042C|0411|042E|003E|002E|003A|0022|005B|005D|003F" ;
-Min["Russian (C)"] ="0451|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|0439|0446|0443|043A|0435|043D|0433|0448|0449|0437|0445|044A|0444|044B|0432|0430|043F|0440|043E|043B|0434|0436|044D|044F|0447|0441|043C|0438|0442|044C|0431|044E|003C|002C|003B|0027|007B|007D|002F" ;
-Maj["Serbian (C)"] ="007E|0021|0022|0023|0024|0025|0026|002F|0028|0029|003D|003F|002A|0409|040A|0415|0420|0422|0417|0423|0418|041E|041F|0428|0402|0410|0421|0414|0424|0413|0425|0408|041A|041B|0427|040B|003E|0405|040F|0426|0412|0411|041D|041C|0416|003A|005F|002E|003A|0022|005B|005D" ;
-Min["Serbian (C)"] ="0060|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0027|002B|0459|045A|0435|0440|0442|0437|0443|0438|043E|043F|0448|0452|0430|0441|0434|0444|0433|0445|0458|043A|043B|0447|045B|003C|0455|045F|0446|0432|0431|043D|043C|0436|002E|002D|002C|003B|0027|007B|007D" ;
-Maj["Serbian (L)"] ="007E|0021|0022|0023|0024|0025|0026|002F|0028|0029|003D|003F|002A|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|0160|0110|0041|0053|0044|0046|0047|0048|004A|004B|004C|010C|0106|003E|0059|0058|0043|0056|0042|004E|004D|017D|003A|005F|002E|003A|0022|005B|005D" ;
-Min["Serbian (L)"] ="201A|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0027|002B|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|0161|0111|0061|0073|0064|0066|0067|0068|006A|006B|006C|010D|0107|003C|0079|0078|0063|0076|0062|006E|006D|017E|002E|002D|002C|003B|0027|007B|007D" ;
-Maj["Slovak (L)"] ="00B0|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0025|02C7|0051|0057|0045|0052|0054|005A|0055|0049|004F|0050|002F|0028|0041|0053|0044|0046|0047|0048|004A|004B|004C|0022|0021|0059|0058|0043|0056|0042|004E|004D|003F|003A|005F|003C|005B|010F|0029|002A|0020" ;
-Min["Slovak (L)"] ="003B|002B|013E|0161|010D|0165|017E|00FD|00E1|00ED|00E9|003D|00B4|0071|0077|0065|0072|0074|007A|0075|0069|006F|0070|00FA|00E4|0061|0073|0064|0066|0067|0068|006A|006B|006C|00F4|00A7|0079|0078|0063|0076|0062|006E|006D|002C|002E|002D|003E|005D|00F3|0148|0026|0020" ;
-Maj["Spanish (L)"] ="00AA|0021|0022|00B7|0024|0025|0026|002F|0028|0029|003D|003F|00BF|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|005E|00A8|0041|0053|0044|0046|0047|0048|004A|004B|004C|00D1|00C7|005A|0058|0043|0056|0042|004E|004D|003B|003A|005F|003E|007C|0040|0023|007E|002A" ;
-Min["Spanish (L)"] ="00BA|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|0027|00A1|0071|0077|0065|0072|0074|0079|0075|0069|006F|0070|0060|00B4|0061|0073|0064|0066|0067|0068|006A|006B|006C|00F1|00E7|007A|0078|0063|0076|0062|006E|006D|002C|002E|002D|003C|005C|0040|0023|007E|002B" ;
-Maj["Ukrainian (C)"] ="0401|0021|0040|0023|2116|0025|005E|0026|002A|0028|0029|005F|002B|0419|0426|0423|041A|0415|041D|0413|0428|0429|0417|0425|0407|0424|0406|0412|0410|041F|0420|041E|041B|0414|0416|0404|0490|042F|0427|0421|041C|0418|0422|042C|0411|042E|002E|003A|0022|003C|003E|003F" ;
-Min["Ukrainian (C)"] ="0451|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|0439|0446|0443|043A|0435|043D|0433|0448|0449|0437|0445|0457|0444|0456|0432|0430|043F|0440|043E|043B|0434|0436|0454|0491|044F|0447|0441|043C|0438|0442|044C|0431|044E|002C|003B|0027|007B|007D|002F" ;
-Maj["Vietnamese (L)"] ="007E|0021|0040|0023|0024|0025|005E|0026|002A|0028|0029|005F|002B|0051|0057|0045|0052|0054|0059|0055|0049|004F|0050|01AF|01A0|0041|0053|0044|0046|0047|0048|004A|004B|004C|0102|00C2|005A|0058|0043|0056|0042|004E|004D|00CA|00D4|0110|003C|003E|003F|007D|003A|0022" ;
-Min["Vietnamese (L)"] ="20AB|0031|0032|0033|0034|0035|0036|0037|0038|0039|0030|002D|003D|0071|0077|0065|0072|0074|0079|0075|0069|006F|0070|01B0|01A1|0061|0073|0064|0066|0067|0068|006A|006B|006C|0103|00E2|007A|0078|0063|0076|0062|006E|006D|00EA|00F4|0111|002C|002E|002F|007B|003B|0027" ;
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/diacritic.js b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/diacritic.js
deleted file mode 100644
index 2446799df3..0000000000
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/diacritic.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * 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?"
- *
- * File Name: diacritic.js
- * Scripts for the fck_universalkey.html page.
- *
- * File Authors:
- * Michel Staelens (michel.staelens@wanadoo.fr)
- * Abdul-Aziz Al-Oraij (top7up@hotmail.com)
- */
-
-var dia = new Array()
-
-dia["0060"]=new Array();dia["00B4"]=new Array();dia["005E"]=new Array();dia["00A8"]=new Array();dia["007E"]=new Array();dia["00B0"]=new Array();dia["00B7"]=new Array();dia["00B8"]=new Array();dia["00AF"]=new Array();dia["02D9"]=new Array();dia["02DB"]=new Array();dia["02C7"]=new Array();dia["02D8"]=new Array();dia["02DD"]=new Array();dia["031B"]=new Array();
-dia["0060"]["0061"]="00E0";dia["00B4"]["0061"]="00E1";dia["005E"]["0061"]="00E2";dia["00A8"]["0061"]="00E4";dia["007E"]["0061"]="00E3";dia["00B0"]["0061"]="00E5";dia["00AF"]["0061"]="0101";dia["02DB"]["0061"]="0105";dia["02D8"]["0061"]="0103";
-dia["00B4"]["0063"]="0107";dia["005E"]["0063"]="0109";dia["00B8"]["0063"]="00E7";dia["02D9"]["0063"]="010B";dia["02C7"]["0063"]="010D";
-dia["02C7"]["0064"]="010F";
-dia["0060"]["0065"]="00E8";dia["00B4"]["0065"]="00E9";dia["005E"]["0065"]="00EA";dia["00A8"]["0065"]="00EB";dia["00AF"]["0065"]="0113";dia["02D9"]["0065"]="0117";dia["02DB"]["0065"]="0119";dia["02C7"]["0065"]="011B";dia["02D8"]["0065"]="0115";
-dia["005E"]["0067"]="011D";dia["00B8"]["0067"]="0123";dia["02D9"]["0067"]="0121";dia["02D8"]["0067"]="011F";
-dia["005E"]["0068"]="0125";
-dia["0060"]["0069"]="00EC";dia["00B4"]["0069"]="00ED";dia["005E"]["0069"]="00EE";dia["00A8"]["0069"]="00EF";dia["007E"]["0069"]="0129";dia["00AF"]["0069"]="012B";dia["02DB"]["0069"]="012F";dia["02D8"]["0069"]="012D";
-dia["005E"]["006A"]="0135";
-dia["00B8"]["006B"]="0137";
-dia["00B4"]["006C"]="013A";dia["00B7"]["006C"]="0140";dia["00B8"]["006C"]="013C";dia["02C7"]["006C"]="013E";
-dia["00B4"]["006E"]="0144";dia["007E"]["006E"]="00F1";dia["00B8"]["006E"]="0146";dia["02D8"]["006E"]="0148";
-dia["0060"]["006F"]="00F2";dia["00B4"]["006F"]="00F3";dia["005E"]["006F"]="00F4";dia["00A8"]["006F"]="00F6";dia["007E"]["006F"]="00F5";dia["00AF"]["006F"]="014D";dia["02D8"]["006F"]="014F";dia["02DD"]["006F"]="0151";dia["031B"]["006F"]="01A1";
-dia["00B4"]["0072"]="0155";dia["00B8"]["0072"]="0157";dia["02C7"]["0072"]="0159";
-dia["00B4"]["0073"]="015B";dia["005E"]["0073"]="015D";dia["00B8"]["0073"]="015F";dia["02C7"]["0073"]="0161";
-dia["00B8"]["0074"]="0163";dia["02C7"]["0074"]="0165";
-dia["0060"]["0075"]="00F9";dia["00B4"]["0075"]="00FA";dia["005E"]["0075"]="00FB";dia["00A8"]["0075"]="00FC";dia["007E"]["0075"]="0169";dia["00B0"]["0075"]="016F";dia["00AF"]["0075"]="016B";dia["02DB"]["0075"]="0173";dia["02D8"]["0075"]="016D";dia["02DD"]["0075"]="0171";dia["031B"]["0075"]="01B0";
-dia["005E"]["0077"]="0175";
-dia["00B4"]["0079"]="00FD";dia["005E"]["0079"]="0177";dia["00A8"]["0079"]="00FF";
-dia["00B4"]["007A"]="017A";dia["02D9"]["007A"]="017C";dia["02C7"]["007A"]="017E";
-dia["00B4"]["00E6"]="01FD";
-dia["00B4"]["00F8"]="01FF";
-dia["0060"]["0041"]="00C0";dia["00B4"]["0041"]="00C1";dia["005E"]["0041"]="00C2";dia["00A8"]["0041"]="00C4";dia["007E"]["0041"]="00C3";dia["00B0"]["0041"]="00C5";dia["00AF"]["0041"]="0100";dia["02DB"]["0041"]="0104";dia["02D8"]["0041"]="0102";
-dia["00B4"]["0043"]="0106";dia["005E"]["0043"]="0108";dia["00B8"]["0043"]="00C7";dia["02D9"]["0043"]="010A";dia["02C7"]["0043"]="010C";
-dia["02C7"]["0044"]="010E";
-dia["0060"]["0045"]="00C8";dia["00B4"]["0045"]="00C9";dia["005E"]["0045"]="00CA";dia["00A8"]["0045"]="00CB";dia["00AF"]["0045"]="0112";dia["02D9"]["0045"]="0116";dia["02DB"]["0045"]="0118";dia["02C7"]["0045"]="011A";dia["02D8"]["0045"]="0114";
-dia["005E"]["0047"]="011C";dia["00B8"]["0047"]="0122";dia["02D9"]["0047"]="0120";dia["02D8"]["0047"]="011E";
-dia["005E"]["0048"]="0124";
-dia["0060"]["0049"]="00CC";dia["00B4"]["0049"]="00CD";dia["005E"]["0049"]="00CE";dia["00A8"]["0049"]="00CF";dia["007E"]["0049"]="0128";dia["00AF"]["0049"]="012A";dia["02D9"]["0049"]="0130";dia["02DB"]["0049"]="012E";dia["02D8"]["0049"]="012C";
-dia["005E"]["004A"]="0134";
-dia["00B8"]["004B"]="0136";
-dia["00B4"]["004C"]="0139";dia["00B7"]["004C"]="013F";dia["00B8"]["004C"]="013B";dia["02C7"]["004C"]="013D";
-dia["00B4"]["004E"]="0143";dia["007E"]["004E"]="00D1";dia["00B8"]["004E"]="0145";dia["02D8"]["004E"]="0147";
-dia["0060"]["004F"]="00D2";dia["00B4"]["004F"]="00D3";dia["005E"]["004F"]="00D4";dia["00A8"]["004F"]="00D6";dia["007E"]["004F"]="00D5";dia["00AF"]["004F"]="014C";dia["02D8"]["004F"]="014E";dia["02DD"]["004F"]="0150";dia["031B"]["004F"]="01A0";
-dia["00B4"]["0052"]="0154";dia["00B8"]["0052"]="0156";dia["02C7"]["0052"]="0158";
-dia["00B4"]["0053"]="015A";dia["005E"]["0053"]="015C";dia["00B8"]["0053"]="015E";dia["02C7"]["0053"]="0160";
-dia["00B8"]["0054"]="0162";dia["02C7"]["0054"]="0164";
-dia["0060"]["0055"]="00D9";dia["00B4"]["0055"]="00DA";dia["005E"]["0055"]="00DB";dia["00A8"]["0055"]="00DC";dia["007E"]["0055"]="0168";dia["00B0"]["0055"]="016E";dia["00AF"]["0055"]="016A";dia["02DB"]["0055"]="0172";dia["02D8"]["0055"]="016C";dia["02DD"]["0055"]="0170";dia["031B"]["0055"]="01AF";
-dia["005E"]["0057"]="0174";
-dia["00B4"]["0059"]="00DD";dia["005E"]["0059"]="0176";dia["00A8"]["0059"]="0178";
-dia["00B4"]["005A"]="0179";dia["02D9"]["005A"]="017B";dia["02C7"]["005A"]="017D";
-dia["00B4"]["00C6"]="01FC";
-dia["00B4"]["00D8"]="01FE";
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/dialogue.js b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/dialogue.js
deleted file mode 100644
index 67cab47405..0000000000
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/dialogue.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * 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?"
- *
- * File Name: dialogue.js
- * Scripts for the fck_universalkey.html page.
- *
- * File Authors:
- * Michel Staelens (michel.staelens@wanadoo.fr)
- * Bernadette Cierzniak
- * Abdul-Aziz Al-Oraij (top7up@hotmail.com)
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- */
-
-function afficher(txt)
-{
- document.getElementById( 'uni_area' ).value = txt ;
-}
-
-function rechercher()
-{
- return document.getElementById( 'uni_area' ).value ;
-}
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/fck_universalkey.css b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/fck_universalkey.css
deleted file mode 100644
index 706940d169..0000000000
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/fck_universalkey.css
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * 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?"
- *
- * File Name: fck_universalkey.css
- * CSS styles for the Universal Keyboard.
- *
- * File Authors:
- * Michel Staelens (michel.staelens@wanadoo.fr)
- * Bernadette Cierzniak
- * Abdul-Aziz Al-Oraij (top7up@hotmail.com)
- */
-
-BODY, TEXTAREA, INPUT, TD, SELECT
-{
- font-family: Tahoma,verdana,arial,sans-serif;
-}
-DIV
-{
- position: absolute;
-}
-.simple
-{
- font-size: 11pt;
-}
-.double
-{
- font-size: 9pt;
-}
-.simpledia
-{
- color: red;
- font-size: 11pt;
-}
-.doubledia
-{
- color: red;
- font-size: 9pt;
-}
-.action
-{
- color: white;
- font-size: 7pt;
-}
-.clavier
-{
- color: blue;
- font-size: 7pt;
-}
-.sign
-{
- color: gray;
- font-size: 7pt;
-}
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/keyboard_layout.gif b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/keyboard_layout.gif
deleted file mode 100644
index 2183cc7156..0000000000
Binary files a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/keyboard_layout.gif and /dev/null differ
diff --git a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/multihexa.js b/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/multihexa.js
deleted file mode 100644
index 928b0f2d13..0000000000
--- a/phpgwapi/js/fckeditor/editor/dialog/fck_universalkey/multihexa.js
+++ /dev/null
@@ -1,309 +0,0 @@
-/*
- * 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?"
- *
- * File Name: multihexa.js
- * Scripts for the fck_universalkey.html page.
- * Definition des 104 caracteres en hexa unicode.
- *
- * File Authors:
- * Michel Staelens (michel.staelens@wanadoo.fr)
- * Bernadette Cierzniak
- * Abdul-Aziz Al-Oraij (top7up@hotmail.com)
- */
-
-var caps=0, lock=0, hexchars="0123456789ABCDEF", accent="0000", keydeb=0
-var key=new Array();j=0;for (i in Maj){key[j]=i;j++}
-var ns6=((!document.all)&&(document.getElementById))
-var ie=document.all
-
-var langue=getCk();
-if (langue==""){
- langue=key[keydeb]
-}
-CarMaj=Maj[langue].split("|");CarMin=Min[langue].split("|")
-
-/*unikey*/
-var posUniKeyLeft=0, posUniKeyTop=0
-if (ns6){posUniKeyLeft=0;posUniKeyTop=60}
-else if (ie){posUniKeyLeft=0;posUniKeyTop=60}
-tracer("fond",posUniKeyLeft,posUniKeyTop,' ',"sign")
-/*touches*/
-var posX=new Array(0,28,56,84,112,140,168,196,224,252,280,308,336,42,70,98,126,154,182,210,238,266,294,322,350,50,78,106,134,162,190,218,246,274,302,330,64,92,120,148,176,204,232,260,288,316,28,56,84,294,322,350)
-var posY=new Array(14,14,14,14,14,14,14,14,14,14,14,14,14,42,42,42,42,42,42,42,42,42,42,42,42,70,70,70,70,70,70,70,70,70,70,70,98,98,98,98,98,98,98,98,98,98,126,126,126,126,126,126)
-var nbTouches=52
-for (i=0;i Lock","Enter","Shift","Shift","<|<","Space",">|>")
-var effet=new Array("keyscroll(-3)","keyscroll(3)","faire(\"del\")","RAZ()","faire(\"bck\")","bloq()","faire(\"\\n\")","haut()","haut()","faire(\"ar\")","faire(\" \")","faire(\"av\")")
-var nbActions=12
-for (i=0;i')
-document.write('')
-
-/*fonctions*/
-function ecrire(i){
- txt=rechercher()+"|";subtxt=txt.split("|")
- ceci=(lock==1)?CarMaj[i]:((caps==1)?CarMaj[i]:CarMin[i])
- if (test(ceci)){subtxt[0]+=cardia(ceci);distinguer(false)}
- else if(dia[accent]!=null&&dia[hexa(ceci)]!=null){distinguer(false);accent=hexa(ceci);distinguer(true)}
- else if(dia[accent]!=null){subtxt[0]+=fromhexby4tocar(accent)+ceci;distinguer(false)}
- else if(dia[hexa(ceci)]!=null){accent=hexa(ceci);distinguer(true)}
- else {subtxt[0]+=ceci}
- txt=subtxt[0]+"|"+subtxt[1]
- afficher(txt)
- if (caps==1){caps=0;MinusMajus()}
-}
-function faire(ceci){
- txt=rechercher()+"|";subtxt=txt.split("|")
- l0=subtxt[0].length
- l1=subtxt[1].length
- c1=subtxt[0].substring(0,(l0-2))
- c2=subtxt[0].substring(0,(l0-1))
- c3=subtxt[1].substring(0,1)
- c4=subtxt[1].substring(0,2)
- c5=subtxt[0].substring((l0-2),l0)
- c6=subtxt[0].substring((l0-1),l0)
- c7=subtxt[1].substring(1,l1)
- c8=subtxt[1].substring(2,l1)
- if(dia[accent]!=null){if(ceci==" "){ceci=fromhexby4tocar(accent)}distinguer(false)}
- switch (ceci){
- case("av") :if(escape(c4)!="%0D%0A"){txt=subtxt[0]+c3+"|"+c7}else{txt=subtxt[0]+c4+"|"+c8}break
- case("ar") :if(escape(c5)!="%0D%0A"){txt=c2+"|"+c6+subtxt[1]}else{txt=c1+"|"+c5+subtxt[1]}break
- case("bck"):if(escape(c5)!="%0D%0A"){txt=c2+"|"+subtxt[1]}else{txt=c1+"|"+subtxt[1]}break
- case("del"):if(escape(c4)!="%0D%0A"){txt=subtxt[0]+"|"+c7}else{txt=subtxt[0]+"|"+c8}break
- default:txt=subtxt[0]+ceci+"|"+subtxt[1];break
- }
- afficher(txt)
-}
-function RAZ(){txt="";if(dia[accent]!=null){distinguer(false)}afficher(txt)}
-function haut(){caps=1;MinusMajus()}
-function bloq(){lock=(lock==1)?0:1;MinusMajus()}
-
-/*fonctions de traitement du unikey*/
-function tracer(nom,gauche,haut,ceci,classe){ceci=""+ceci+"";document.write('
'+ceci+'
');if (ns6){document.getElementById(nom).style.left=gauche+"px";document.getElementById(nom).style.top=haut+"px";}else if (ie){document.all(nom).style.left=gauche;document.all(nom).style.top=haut}}
-function retracer(nom,ceci,classe){ceci=""+ceci+"";if (ns6){document.getElementById(nom).innerHTML=ceci}else if (ie){doc=document.all(nom);doc.innerHTML=ceci}}
-function keyscroll(n){
- keydeb+=n
- if (keydeb<0){
- keydeb=0
- }
- if (keydeb>key.length-4){
- keydeb=key.length-4
- }
- for (i=keydeb;i=0;a--){out+=Math.pow(16,inval.length-a-1)*hexchars.indexOf(inval.charAt(a))}return out}
-function fromhexby4tocar(ceci){out4=new String();for (l=0;l-1)|(langue!="Arabic")) return true;
-
- if (!e) var e = window.event;
- if (e.keyCode) keyCode = e.keyCode;
- else if (e.which) keyCode = e.which;
- var character = String.fromCharCode(keyCode);
-
- entry = true;
- cont=e.srcElement || e.currentTarget || e.target;
- if (keyCode>64 && keyCode<91) {
- entry=false;
- source='ش لاؤ ي ث ب ل ا ه ت ن م ة ى خ ح ض ق س ف ع ر ص ء غ ئ ';
- shsource='ِ لآ} ] ُ [ لأأ ÷ ـ ، / آ × ؛ َ ٌ ٍ لإ { ً ْ إ ~';
-
- if (e.shiftKey) cont.value += shsource.substr((keyCode-64)*2-2,2);
- else
- cont.value += source.substr((keyCode-64)*2-2,2);
- if (cont.value.substr(cont.value.length-1,1)==' ') cont.value=cont.value.substr(0,cont.value.length-1);
- }
- if (e.shiftKey) {
- if (keyCode==186) {cont.value += ':';entry=false;}
- if (keyCode==188) {cont.value += ',';entry=false;}
- if (keyCode==190) {cont.value += '.';entry=false;}
- if (keyCode==191) {cont.value += '؟';entry=false;}
- if (keyCode==192) {cont.value += 'ّ';entry=false;}
- if (keyCode==219) {cont.value += '<';entry=false;}
- if (keyCode==221) {cont.value += '>';entry=false;}
- } else {
- if (keyCode==186||keyCode==59) {cont.value += 'ك';entry=false;}
- if (keyCode==188) {cont.value += 'و';entry=false;}
- if (keyCode==190) {cont.value += 'ز';entry=false;}
- if (keyCode==191) {cont.value += 'ظ';entry=false;}
- if (keyCode==192) {cont.value += 'ذ';entry=false;}
- if (keyCode==219) {cont.value += 'ج';entry=false;}
- if (keyCode==221) {cont.value += 'د';entry=false;}
- if (keyCode==222) {cont.value += 'ط';entry=false;}
- }
- return entry;
-}
-function hold_it(e){
- if ((document.layers)|(navigator.userAgent.indexOf("MSIE 4")>-1)|(langue!="Arabic")) return true;
-
- var keyCode;
- if (!e) var e = window.event;
- if (e.keyCode) keyCode = e.keyCode;
- else if (e.which) keyCode = e.which;
- var character = String.fromCharCode(keyCode);
- switch(keyCode){
- case 186:
- case 188:
- case 190:
- case 191:
- case 192:
- case 219:
- case 221:
- case 222:
- case 116:
- case 59:
- case 47:
- case 46:
- case 44:
- case 39:
- return false;
- case 92:
- return true;
- }
- if (keyCode<63) return true;
- return false;
- }
-
-var obj = document.getElementById( 'uni_area' );
-if ( obj && langue=="Arabic"){
- with (navigator) {
- if (appName=="Netscape")
- obj.onkeypress = hold_it;
- }
- obj.onkeydown = arkey;
-}
-// Arabic Keystroke Translator End
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/fckblank.html b/phpgwapi/js/fckeditor/editor/fckblank.html
deleted file mode 100644
index 35558453d5..0000000000
--- a/phpgwapi/js/fckeditor/editor/fckblank.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/fckdebug.html b/phpgwapi/js/fckeditor/editor/fckdebug.html
index 3677ee50ea..4eefbbd15e 100644
--- a/phpgwapi/js/fckeditor/editor/fckdebug.html
+++ b/phpgwapi/js/fckeditor/editor/fckdebug.html
@@ -1,22 +1,26 @@
-
+
@@ -39,15 +43,53 @@ window.onload = function()
oDiv = oWindow.document.getElementById('divMsg') ;
}
-function Output( message, color )
+function Output( message, color, noParse )
{
+ if ( !noParse && message != null && isNaN( message ) )
+ message = message.replace(/' + message + '<\/font>' ;
-
+
window.FCKMessages[ window.FCKMessages.length ] = message ;
StartTimer() ;
}
+function OutputObject( anyObject, color )
+{
+ var message ;
+
+ if ( anyObject != null )
+ {
+ message = 'Properties of: ' + anyObject + '
' ;
+ } else
+ message = 'OutputObject : Object is "null".' ;
+
+ Output( message, color, true ) ;
+}
+
function StartTimer()
{
window.setTimeout( 'CheckMessages()', 100 ) ;
@@ -59,18 +101,18 @@ function CheckMessages()
{
// Get the first item in the queue
var sMessage = window.FCKMessages[0] ;
-
+
// Removes the first item from the queue
var oTempArray = new Array() ;
for ( i = 1 ; i < window.FCKMessages.length ; i++ )
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 ) ;
var oMsgDiv = oWindow.document.createElement( 'div' ) ;
@@ -102,7 +144,7 @@ function Clear()
-
diff --git a/phpgwapi/js/fckeditor/editor/fckdialog.html b/phpgwapi/js/fckeditor/editor/fckdialog.html
index 685be06699..96ad011b6a 100644
--- a/phpgwapi/js/fckeditor/editor/fckdialog.html
+++ b/phpgwapi/js/fckeditor/editor/fckdialog.html
@@ -1,21 +1,25 @@
-
+
@@ -39,9 +43,6 @@ document.write( '' + sTitle + '<\/title>' ) ;
function LoadInnerDialog()
{
- // The following value is set, so the editor can check that the dialog has been correctly opened.
- window.setTimeout( function() { window.returnValue = true ; }, 100 ) ;
-
if ( window.onresize )
window.onresize() ;
@@ -99,7 +100,7 @@ function RefreshSize()
if ( iDiff > 0 )
{
if ( document.all )
- window.dialogHeight = ( parseInt( window.dialogHeight ) + iDiff ) + 'px' ;
+ window.dialogHeight = ( parseInt( window.dialogHeight, 10 ) + iDiff ) + 'px' ;
else
window.resizeBy( 0, iDiff ) ;
}
@@ -167,7 +168,6 @@ function AddTab( tabCode, tabText, startHidden )
}
oTabs[ tabCode ] = oDiv ;
- oTabs[ tabCode ].Index = oTabs.length - 1 ;
}
function SetSelectedTab( tabCode )
@@ -211,7 +211,8 @@ function SetOnKeyDown( targetDocument )
{
case 13 : // ENTER
var oTarget = e.srcElement || e.target ;
- if ( oTarget.tagName == 'TEXTAREA' ) return ;
+ if ( oTarget.tagName == 'TEXTAREA' )
+ return true ;
Ok() ;
return false ;
case 27 : // ESC
@@ -300,7 +301,7 @@ document.write( sTitle ) ;
-
@@ -310,8 +311,9 @@ document.write( sTitle ) ;
-
+
+
+
diff --git a/phpgwapi/js/fckeditor/editor/fckeditor.html b/phpgwapi/js/fckeditor/editor/fckeditor.html
index 4b5513a68d..92beaf4d20 100644
--- a/phpgwapi/js/fckeditor/editor/fckeditor.html
+++ b/phpgwapi/js/fckeditor/editor/fckeditor.html
@@ -1,21 +1,25 @@
-
+
@@ -32,7 +36,7 @@
function LoadScript( url )
{
- document.write( '
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
i=1;
folders = "";
@@ -254,50 +253,50 @@
if( not compareNoCase( qDir.type[i], "FILE" ))
break;
if( not listFind(".,..", qDir.name[i]) )
- folders = folders & '';
+ folders = folders & '';
i=i+1;
}
-
+
xmlContent = xmlContent & '' & folders & '';
-
+
-
-
+
+
-
+
-
-
+
i=1;
folders = "";
files = "";
while( i lte qDir.recordCount ) {
if( not compareNoCase( qDir.type[i], "DIR" ) and not listFind(".,..", qDir.name[i]) ) {
- folders = folders & '';
+ folders = folders & '';
} else if( not compareNoCase( qDir.type[i], "FILE" ) ) {
fileSizeKB = round(qDir.size[i] / 1024);
- files = files & '';
+ files = files & '';
}
i=i+1;
}
-
+
xmlContent = xmlContent & '' & folders & '';
xmlContent = xmlContent & '' & files & '';
-
+
-
-
+
+
-
+
-
+
newFolderName = url.newFolderName;
if( reFind("[^A-Za-z0-9_\-\.]", newFolderName) ) {
@@ -309,46 +308,46 @@
newFolderName = reReplace(newFolderName, "$_([^_]+)$", "\1", "all");
}
-
+
-
+
-
+
-
-
+
'>
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
diff --git a/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/config.lasso b/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/config.lasso
index 8ba64ed198..15d8a51b87 100644
--- a/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/config.lasso
+++ b/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/config.lasso
@@ -1,44 +1,48 @@
-[//lasso
+[//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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: config.lasso
- * Configuration file for the File Manager Connector 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 ==
+ *
+ * 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',
-password='xxxxxxxx'
);
- /*.....................................................................
+ /*.....................................................................
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/',
'Image' = 'Image/',
@@ -52,7 +56,7 @@
'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
),
'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(),
'Media' = array()
diff --git a/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/connector.lasso b/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/connector.lasso
index e7af87f6bd..f9a7f91fa6 100644
--- a/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/connector.lasso
+++ b/phpgwapi/js/fckeditor/editor/filemanager/browser/default/connectors/lasso/connector.lasso
@@ -1,38 +1,42 @@
-[//lasso
+[//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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: connector.lasso
- * This is the File Manager Connector 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 Manager Connector for Lasso.
*/
- /*.....................................................................
- Include global configuration. See config.lasso for details.
- */
+ /*.....................................................................
+ 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'),
'Type' = action_param('Type'),
@@ -52,40 +56,40 @@
);
- /*.....................................................................
- 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')
);
- /*.....................................................................
+ /*.....................................................................
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\n';
-
+
iterate(file_listdirectory($currentFolderURL), local('this'));
#this->endswith('/') ? $commandData += '\t\t\n';
/iterate;
-
+
$commandData += '\t\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'));
if(#this->endswith('/'));
@@ -93,26 +97,26 @@
else;
local('size') = file_getsize($currentFolderURL + #this) / 1024;
$files += '\t\t\n';
- /if;
+ /if;
/iterate;
$folders += '\t\n';
$files += '\t\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);
$errorNumber = 0;
@@ -127,62 +131,62 @@
case;
$errorNumber = 110;
/select;
-
+
$commandData += '\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);
$OrigFilePath != $NewFilePath ? $uploadResult = '201, \'' + $NewFilePath->split('/')->last + '\'';
@@ -193,9 +197,9 @@
/if;
- /*.........................................................
- Set the HTML response.
- */
+ /*.........................................................
+ Set the HTML response.
+ */
$__html_reply__ = '\
@@ -41,12 +45,12 @@
-
+
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");
userFilesPath = replace(userFilesPath, '//', '/', 'ALL');
@@ -56,36 +60,36 @@
if ( left(userFilesPath,1) NEQ "/" ) {
userFilesPath = "/" & userFilesPath;
}
-
+
if (find("/",getBaseTemplatePath())) {
fs = "/";
} else {
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) ) {
serverPath = config.serverPath;
} else {
serverPath = replaceNoCase(getBaseTemplatePath(),replace(cgi.script_name,"/",fs,"all"),"");
}
-
+
// map the user files path to a physical directory
userFilesServerPath = serverPath & replace(userFilesPath,"/",fs,"all");
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
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) ) {
fileName = reReplace(fileName, "[^A-Za-z0-9\-\.]", "_", "ALL");
@@ -115,7 +119,7 @@
fileName = reReplace(fileName, "([^_]+)_+$", "\1", "ALL");
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 ) ) {
counter = 0;
@@ -126,10 +130,10 @@
}
}
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
diff --git a/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/config.lasso b/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/config.lasso
index d6bca2f90e..0c360b6713 100644
--- a/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/config.lasso
+++ b/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/config.lasso
@@ -1,42 +1,48 @@
-[//lasso
+[//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',
-password='xxxxxxxx'
);
- /*.....................................................................
+ /*.....................................................................
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/',
'Image' = 'Image/',
@@ -50,7 +56,7 @@
'Media' = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg')
),
'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(),
'Media' = array()
diff --git a/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/upload.lasso b/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/upload.lasso
index 5b6b173d19..5b1c30d49b 100644
--- a/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/upload.lasso
+++ b/phpgwapi/js/fckeditor/editor/filemanager/upload/lasso/upload.lasso
@@ -1,31 +1,36 @@
-[//lasso
+[//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'),
'CurrentFolder' = action_param('CurrentFolder'),
@@ -41,21 +46,21 @@
$Type == '' ? $Type = 'File';
- /*.....................................................................
- 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')
);
- /*.....................................................................
- Custom tag sets the HTML response.
+ /*.....................................................................
+ Custom tag sets the HTML response.
*/
-
+
define_tag(
'sendresults',
-namespace='fck_',
@@ -72,9 +77,9 @@
);
$__html_reply__ = '\
';
@@ -82,53 +87,53 @@
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);
$OrigFilePath != $NewFilePath ? $errorNumber = 201;
@@ -142,11 +147,11 @@
$errorNumber = 1;
$customMsg = 'This file uploader is disabled. Please check the "editor/filemanager/upload/lasso/config.lasso" file.';
/if;
-
+
fck_sendresults(
-errorNumber=$errorNumber,
-fileUrl=$NewFilePath,
-fileName=$NewFileName,
-customMsg=$customMsg
);
-]
+]
diff --git a/phpgwapi/js/fckeditor/editor/filemanager/upload/php/config.php b/phpgwapi/js/fckeditor/editor/filemanager/upload/php/config.php
index d92a919a5c..766f0387ce 100644
--- a/phpgwapi/js/fckeditor/editor/filemanager/upload/php/config.php
+++ b/phpgwapi/js/fckeditor/editor/filemanager/upload/php/config.php
@@ -1,38 +1,42 @@
- 0 )
$sServerDir = $Config['UserFilesAbsolutePath'] ;
-else
+else
$sServerDir = GetRootPath() . $Config["UserFilesPath"] ;
if ( $Config['UseFileType'] )
@@ -106,7 +110,7 @@ while ( true )
chmod( $sFilePath, 0777 ) ;
umask( $oldumask ) ;
}
-
+
if ( $Config['UseFileType'] )
$sFileUrl = $Config["UserFilesPath"] . $sType . '/' . $sFileName ;
else
diff --git a/phpgwapi/js/fckeditor/editor/filemanager/upload/php/util.php b/phpgwapi/js/fckeditor/editor/filemanager/upload/php/util.php
index 2617a8734a..9d1d4cd1b4 100644
--- a/phpgwapi/js/fckeditor/editor/filemanager/upload/php/util.php
+++ b/phpgwapi/js/fckeditor/editor/filemanager/upload/php/util.php
@@ -1,21 +1,25 @@
-
@@ -24,19 +28,19 @@
function SendFile()
{
var sUploaderUrl = cmbUploaderUrl.value ;
-
+
if ( sUploaderUrl.length == 0 )
sUploaderUrl = txtCustomUrl.value ;
-
+
if ( sUploaderUrl.length == 0 )
{
alert( 'Please provide your custom URL or select a default one' ) ;
return ;
}
-
+
eURL.innerHTML = sUploaderUrl ;
txtUrl.value = '' ;
-
+
frmUpload.action = sUploaderUrl ;
frmUpload.submit() ;
}
@@ -121,7 +125,7 @@ function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg )
-
+
diff --git a/phpgwapi/js/fckeditor/editor/js/fckeditorcode_gecko.js b/phpgwapi/js/fckeditor/editor/js/fckeditorcode_gecko.js
index ca2945530a..51f77abb3d 100644
--- a/phpgwapi/js/fckeditor/editor/js/fckeditorcode_gecko.js
+++ b/phpgwapi/js/fckeditor/editor/js/fckeditorcode_gecko.js
@@ -1,80 +1,98 @@
/*
- * 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
*
- * Licensed under the terms of the GNU Lesser General Public License:
- * http://www.opensource.org/licenses/lgpl-license.php
+ * == BEGIN LICENSE ==
*
- * For further information visit:
- * http://www.fckeditor.net/
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
*
- * "Support Open Source software. What about a donation today?"
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
*
- * This file has been compacted for best loading performance.
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 has been compressed for better performance. The original source
+ * can be found at "editor/_source".
*/
-var FCK_STATUS_NOTLOADED=window.parent.FCK_STATUS_NOTLOADED=0;var FCK_STATUS_ACTIVE=window.parent.FCK_STATUS_ACTIVE=1;var FCK_STATUS_COMPLETE=window.parent.FCK_STATUS_COMPLETE=2;var FCK_TRISTATE_OFF=window.parent.FCK_TRISTATE_OFF=0;var FCK_TRISTATE_ON=window.parent.FCK_TRISTATE_ON=1;var FCK_TRISTATE_DISABLED=window.parent.FCK_TRISTATE_DISABLED=-1;var FCK_UNKNOWN=window.parent.FCK_UNKNOWN=-9;var FCK_TOOLBARITEM_ONLYICON=window.parent.FCK_TOOLBARITEM_ONLYICON=0;var FCK_TOOLBARITEM_ONLYTEXT=window.parent.FCK_TOOLBARITEM_ONLYTEXT=1;var FCK_TOOLBARITEM_ICONTEXT=window.parent.FCK_TOOLBARITEM_ICONTEXT=2;var FCK_EDITMODE_WYSIWYG=window.parent.FCK_EDITMODE_WYSIWYG=0;var FCK_EDITMODE_SOURCE=window.parent.FCK_EDITMODE_SOURCE=1;var FCK_IMAGES_PATH='images/';var FCK_SPACER_PATH='images/spacer.gif';
-String.prototype.Contains=function(A){return (this.indexOf(A)>-1);};String.prototype.Equals=function(){for (var i=0;iC) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B0&&!isNaN(E)) this.PageConfig[D]=parseInt(E);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var oPageConfig=FCKConfig.PageConfig;for (var sKey in oPageConfig) FCKConfig[sKey]=oPageConfig[sKey];};function FCKConfig_PreProcess(){var oConfig=FCKConfig;if (oConfig.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) oConfig.Debug=true;}catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ }};if (!oConfig.PluginsPath.endsWith('/')) oConfig.PluginsPath+='/';if (typeof(oConfig.EditorAreaCSS)=='string') oConfig.EditorAreaCSS=[oConfig.EditorAreaCSS];var sComboPreviewCSS=oConfig.ToolbarComboPreviewCSS;if (!sComboPreviewCSS||sComboPreviewCSS.length==0) oConfig.ToolbarComboPreviewCSS=oConfig.EditorAreaCSS;else if (typeof(sComboPreviewCSS)=='string') oConfig.ToolbarComboPreviewCSS=[sComboPreviewCSS];};FCKConfig.ToolbarSets=new Object();FCKConfig.Plugins=new Object();FCKConfig.Plugins.Items=new Array();FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource=new Object();FCKConfig.ProtectedSource.RegexEntries=[//g,/'+document.getElementById('xToolbarSpace').innerHTML+'');eTargetDocument.close();eTargetDocument.oncontextmenu=FCKTools.CancelEvent;FCKTools.AppendStyleSheet(eTargetDocument,FCKConfig.SkinPath+'fck_editor.css');oToolbarSet=eToolbarTarget.__FCKToolbarSet=new FCKToolbarSet(eTargetDocument);oToolbarSet._IFrame=eToolbarIFrame;if (FCK.IECleanup) FCK.IECleanup.AddItem(eToolbarTarget,FCKToolbarSet_Target_Cleanup);};oToolbarSet.CurrentInstance=FCK;FCK.AttachToOnSelectionChange(oToolbarSet.RefreshItemsState);return oToolbarSet;};function FCK_OnBlur(editorInstance){var eToolbarSet=editorInstance.ToolbarSet;if (eToolbarSet.CurrentInstance==editorInstance) eToolbarSet.Disable();};function FCK_OnFocus(editorInstance){var oToolbarset=editorInstance.ToolbarSet;var oInstance=editorInstance||FCK;oToolbarset.CurrentInstance.FocusManager.RemoveWindow(oToolbarset._IFrame.contentWindow);oToolbarset.CurrentInstance=oInstance;oInstance.FocusManager.AddWindow(oToolbarset._IFrame.contentWindow,true);oToolbarset.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;B.onclick=FCKToolbarSet_Expand_OnClick;C.title=FCKLang.ToolbarCollapse;C.onclick=FCKToolbarSet_Collapse_OnClick;if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=new Array();this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=new Array();this.ItemsWysiwygOnly=new Array();this.ItemsContextSensitive=new Array();this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=new Array();for (var x=0;x0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i0){var A;if (this.AvailableLangs.indexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');}
-var FCKPlugins=FCK.Plugins=new Object();FCKPlugins.ItemsCount=0;FCKPlugins.Items=new Object();FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i-1);};String.prototype.Equals=function(){var A=arguments;if (A.length==1&&A[0].pop) A=A[0];for (var i=0;iC) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.Remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B0?'':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86/*V*/) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45/*INS*/) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=false;FCKListsLib.Setup();this.SetHTML(this.GetLinkedFieldValue(),true);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:if (!FCKListsLib.BlockElements[D.nodeName.toLowerCase()]) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;};if (F){var G=D.parentNode;if (!E) E=G.insertBefore(B.createElement(A),D);E.appendChild(G.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetXHTML:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B;var C=FCK.EditorDocument;if (!C) return null;if (FCKConfig.FullPage){B=FCKXHtml.GetXHTML(C.getElementsByTagName('html')[0],true,A);if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) B=FCK.DocTypeDeclaration+'\n'+B;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) B=FCK.XmlDeclaration+'\n'+B;}else{B=FCKXHtml.GetXHTML(C.body,false,A);if (FCKConfig.IgnoreEmptyParagraphValue&&FCKRegexLib.EmptyOutParagraph.test(B)) B='';};B=FCK.ProtectEventsRestore(B);if (FCKBrowserInfo.IsIE) B=B.replace(FCKRegexLib.ToReplace,'$1');return FCKConfig.ProtectedSource.Revert(B);},UpdateLinkedField:function(){FCK.LinkedField.value=FCK.GetXHTML(FCKConfig.FormatOutput);FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName];if (B) B(A);},RegisterDoubleClickHandler:function(A,B){FCK.RegisteredDoubleClickHandlers[B.toUpperCase()]=A;},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent('OnSelectionChange');FCK.Events.FireEvent('OnAfterSetHTML');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsImg,'$& _fcksavedurl=$1');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?'|ABBR':'ABBR';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\s|>)[\s\S]*?)/?>','gi');A=A.replace(C,'');return A;},SetHTML:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCK.EditMode==0){A=FCKConfig.ProtectedSource.Protect(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1>$2>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCKBrowserInfo.IsGecko){A=A.replace(FCKRegexLib.StrongOpener,'');A=A.replace(FCKRegexLib.EmOpener,'');};this._ForceResetIsDirty=(B===true);var C='';if (FCKConfig.FullPage){if (!FCKRegexLib.HeadOpener.test(A)){if (!FCKRegexLib.HtmlOpener.test(A)) A=''+A+'';A=A.replace(FCKRegexLib.HtmlOpener,'$&');};FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (FCKBrowserInfo.IsIE) C=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C='';C+='';C=A.replace(FCKRegexLib.HeadCloser,C+'$&');if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) C=C.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);}else{C=FCKConfig.DocType+''+_FCK_GetEditorAreaStyleTags()+'';if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+='';C+=FCK.TempBaseTag;var D='0) D+=' id="'+FCKConfig.BodyId+'"';if (FCKConfig.BodyClass&&FCKConfig.BodyClass.length>0) D+=' class="'+FCKConfig.BodyClass+'"';C+=''+D+'>';if (FCKBrowserInfo.IsGecko&&(A.length==0||FCKRegexLib.EmptyParagraph.test(A))) C+=GECKO_BOGUS;else C+=A;C+='';};this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(C);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},HasFocus:false,RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C){FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else return FCK.EditorDocument.queryCommandState(A)?1:0;}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A=FCKConfig.ScreenWidth*0.8;var B=FCKConfig.ScreenHeight*0.7;var C=(FCKConfig.ScreenWidth-A)/2;var D=window.open('',null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+A+',height='+B+',left='+C);var E;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) E=FCK.TempBaseTag+FCK.GetXHTML();else E=FCK.GetXHTML();}else{E=FCKConfig.DocType+''+FCK.TempBaseTag+''+FCKLang.Preview+''+_FCK_GetEditorAreaStyleTags()+''+FCK.GetXHTML()+'';};D.document.write(E);D.document.close();},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetHTML(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},CreateElement:function(A){var e=FCK.EditorDocument.createElement(A);return FCK.InsertElementAndGetIt(e);},InsertElementAndGetIt:function(e){e.setAttribute('FCKTempLabel','true');this.InsertElement(e);var A=FCK.EditorDocument.getElementsByTagName(e.tagName);for (var i=0;i/g,/\r/g,/\n/g],[''',''','"','=','<','>','
','
'])+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return B.ReplaceAll([/'/g,/"/g,/=/g,/</g,/>/g,/
/g,/
/g,/'/g],["'",'"','=','<','>','\r','\n','&']);};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;FCK.InitializeBehaviors();if (!FCKConfig.DisableEnterKeyHandler) FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){var A='';var B=FCKConfig.EditorAreaCSS;for (var i=0;i';return A;};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){if (B=='Paste') return!FCK.Events.FireEvent('OnPaste');}else{if (B.Equals('Paste','Undo','Redo','SelectAll')) return false;};var C=FCK.Commands.GetCommand(B);return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i');A=A.replace(FCKRegexLib.EmOpener,'');var B=FCKSelection.Delete();var C=B.getRangeAt(0);var D=C.createContextualFragment(A);var E=D.lastChild;C.insertNode(D);FCKSelection.SelectNode(E);FCKSelection.Collapse(false);this.Focus();};FCK.InsertElement=function(A){var B=FCKSelection.Delete();var C=B.getRangeAt(0);C.insertNode(A);FCKSelection.SelectNode(A);FCKSelection.Collapse(false);this.Focus();};FCK.PasteAsPlainText=function(){FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.PasteAsText,'dialog/fck_paste.html',400,330,'PlainText']);};FCK.GetClipboardHTML=function(){return '';};FCK.CreateLink=function(A){FCK.ExecuteNamedCommand('Unlink');if (A.length>0){var B='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',B);var C=this.EditorDocument.evaluate("//a[@href='"+B+"']",this.EditorDocument.body,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;if (C){C.href=A;return C;}};return null;};
+var FCKConfig=FCK.Config={};if (document.location.protocol=='file:'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\/gi, '/');FCKConfig.BasePath='file://'+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf('/')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;}else{FCKConfig.BasePath=document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=document.location.protocol+'//'+document.location.host+FCKConfig.BasePath;};FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\/$/,'');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+'___Config');if (!A) return;var B=A.value.split('&');for (var i=0;i0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {/*Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error).*/}};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';if (typeof(A.EditorAreaCSS)=='string') A.EditorAreaCSS=[A.EditorAreaCSS];var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;else if (typeof(B)=='string') A.ToolbarComboPreviewCSS=[B];};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource.RegexEntries=[//g,/'+document.getElementById('xToolbarSpace').innerHTML+'');G.close();G.oncontextmenu=FCKTools.CancelEvent;FCKTools.AppendStyleSheet(G,FCKConfig.SkinPath+'fck_editor.css');B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;B.onclick=FCKToolbarSet_Expand_OnClick;C.title=FCKLang.ToolbarCollapse;C.onclick=FCKToolbarSet_Collapse_OnClick;if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i0&&F.href.length==0);if (G) return;menu.AddSeparator();if (E) menu.AddItem('Link',FCKLang.EditLink,34);menu.AddItem('Unlink',FCKLang.RemoveLink,35);}}};case 'Image':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&!tag.getAttribute('_fckfakelement')){menu.AddSeparator();menu.AddItem('Image',FCKLang.ImageProperties,37);}}};case 'Anchor':return {AddItems:function(menu,tag,tagName){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0);if (G||(tagName=='IMG'&&tag.getAttribute('_fckanchor'))){menu.AddSeparator();menu.AddItem('Anchor',FCKLang.AnchorProp,36);}}};case 'Flash':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckflash')){menu.AddSeparator();menu.AddItem('Flash',FCKLang.FlashProperties,38);}}};case 'Form':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('FORM')){menu.AddSeparator();menu.AddItem('Form',FCKLang.FormProp,48);}}};case 'Checkbox':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='checkbox'){menu.AddSeparator();menu.AddItem('Checkbox',FCKLang.CheckboxProp,49);}}};case 'Radio':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='radio'){menu.AddSeparator();menu.AddItem('Radio',FCKLang.RadioButtonProp,50);}}};case 'TextField':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='text'||tag.type=='password')){menu.AddSeparator();menu.AddItem('TextField',FCKLang.TextFieldProp,51);}}};case 'HiddenField':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckinputhidden')){menu.AddSeparator();menu.AddItem('HiddenField',FCKLang.HiddenFieldProp,56);}}};case 'ImageButton':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='image'){menu.AddSeparator();menu.AddItem('ImageButton',FCKLang.ImageButtonProp,55);}}};case 'Button':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='button'||tag.type=='submit'||tag.type=='reset')){menu.AddSeparator();menu.AddItem('Button',FCKLang.ButtonProp,54);}}};case 'Select':return {AddItems:function(menu,tag,tagName){if (tagName=='SELECT'){menu.AddSeparator();menu.AddItem('Select',FCKLang.SelectionFieldProp,53);}}};case 'Textarea':return {AddItems:function(menu,tag,tagName){if (tagName=='TEXTAREA'){menu.AddSeparator();menu.AddItem('Textarea',FCKLang.TextareaProp,52);}}};case 'BulletedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('UL')){menu.AddSeparator();menu.AddItem('BulletedList',FCKLang.BulletedListProp,27);}}};case 'NumberedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('OL')){menu.AddSeparator();menu.AddItem('NumberedList',FCKLang.NumberedListProp,26);}}};};return null;};function FCK_ContextMenu_OnBeforeOpen(){FCK.Events.FireEvent('OnSelectionChange');var A,sTagName;if ((A=FCKSelection.GetSelectedElement())) sTagName=A.tagName;var B=FCK.ContextMenu._InnerContextMenu;B.RemoveAllItems();var C=FCK.ContextMenu.Listeners;for (var i=0;i0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');}
+var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i-1);};String.prototype.Equals=function(){for (var i=0;iC) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B0&&!isNaN(E)) this.PageConfig[D]=parseInt(E);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var oPageConfig=FCKConfig.PageConfig;for (var sKey in oPageConfig) FCKConfig[sKey]=oPageConfig[sKey];};function FCKConfig_PreProcess(){var oConfig=FCKConfig;if (oConfig.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) oConfig.Debug=true;}catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ }};if (!oConfig.PluginsPath.endsWith('/')) oConfig.PluginsPath+='/';if (typeof(oConfig.EditorAreaCSS)=='string') oConfig.EditorAreaCSS=[oConfig.EditorAreaCSS];var sComboPreviewCSS=oConfig.ToolbarComboPreviewCSS;if (!sComboPreviewCSS||sComboPreviewCSS.length==0) oConfig.ToolbarComboPreviewCSS=oConfig.EditorAreaCSS;else if (typeof(sComboPreviewCSS)=='string') oConfig.ToolbarComboPreviewCSS=[sComboPreviewCSS];};FCKConfig.ToolbarSets=new Object();FCKConfig.Plugins=new Object();FCKConfig.Plugins.Items=new Array();FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource=new Object();FCKConfig.ProtectedSource.RegexEntries=[//g,/'+document.getElementById('xToolbarSpace').innerHTML+'');eTargetDocument.close();eTargetDocument.oncontextmenu=FCKTools.CancelEvent;FCKTools.AppendStyleSheet(eTargetDocument,FCKConfig.SkinPath+'fck_editor.css');oToolbarSet=eToolbarTarget.__FCKToolbarSet=new FCKToolbarSet(eTargetDocument);oToolbarSet._IFrame=eToolbarIFrame;if (FCK.IECleanup) FCK.IECleanup.AddItem(eToolbarTarget,FCKToolbarSet_Target_Cleanup);};oToolbarSet.CurrentInstance=FCK;FCK.AttachToOnSelectionChange(oToolbarSet.RefreshItemsState);return oToolbarSet;};function FCK_OnBlur(editorInstance){var eToolbarSet=editorInstance.ToolbarSet;if (eToolbarSet.CurrentInstance==editorInstance) eToolbarSet.Disable();};function FCK_OnFocus(editorInstance){var oToolbarset=editorInstance.ToolbarSet;var oInstance=editorInstance||FCK;oToolbarset.CurrentInstance.FocusManager.RemoveWindow(oToolbarset._IFrame.contentWindow);oToolbarset.CurrentInstance=oInstance;oInstance.FocusManager.AddWindow(oToolbarset._IFrame.contentWindow,true);oToolbarset.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;B.onclick=FCKToolbarSet_Expand_OnClick;C.title=FCKLang.ToolbarCollapse;C.onclick=FCKToolbarSet_Collapse_OnClick;if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=new Array();this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=new Array();this.ItemsWysiwygOnly=new Array();this.ItemsContextSensitive=new Array();this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=new Array();for (var x=0;x0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i0){var A;if (this.AvailableLangs.indexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');}
-var FCKPlugins=FCK.Plugins=new Object();FCKPlugins.ItemsCount=0;FCKPlugins.Items=new Object();FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i-1);};String.prototype.Equals=function(){var A=arguments;if (A.length==1&&A[0].pop) A=A[0];for (var i=0;iC) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.Remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B0){var B=A.pop();if (B) B[1].call(B[0]);};this._FCKCleanupObj=null;if (CollectGarbage) CollectGarbage();}
+var s=navigator.userAgent.toLowerCase();var FCKBrowserInfo={IsIE:s.Contains('msie'),IsIE7:s.Contains('msie 7'),IsGecko:s.Contains('gecko/'),IsSafari:s.Contains('safari'),IsOpera:s.Contains('opera'),IsMac:s.Contains('macintosh')};(function(A){A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/gecko\/(\d+)/)[1];A.IsGecko10=B<20051111;}else A.IsGecko10=false;})(FCKBrowserInfo);
+var FCKURLParams={};(function(){var A=document.location.search.substr(1).split('&');for (var i=0;i0?'':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86/*V*/) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45/*INS*/) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=false;FCKListsLib.Setup();this.SetHTML(this.GetLinkedFieldValue(),true);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:if (!FCKListsLib.BlockElements[D.nodeName.toLowerCase()]) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;};if (F){var G=D.parentNode;if (!E) E=G.insertBefore(B.createElement(A),D);E.appendChild(G.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetXHTML:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B;var C=FCK.EditorDocument;if (!C) return null;if (FCKConfig.FullPage){B=FCKXHtml.GetXHTML(C.getElementsByTagName('html')[0],true,A);if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) B=FCK.DocTypeDeclaration+'\n'+B;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) B=FCK.XmlDeclaration+'\n'+B;}else{B=FCKXHtml.GetXHTML(C.body,false,A);if (FCKConfig.IgnoreEmptyParagraphValue&&FCKRegexLib.EmptyOutParagraph.test(B)) B='';};B=FCK.ProtectEventsRestore(B);if (FCKBrowserInfo.IsIE) B=B.replace(FCKRegexLib.ToReplace,'$1');return FCKConfig.ProtectedSource.Revert(B);},UpdateLinkedField:function(){FCK.LinkedField.value=FCK.GetXHTML(FCKConfig.FormatOutput);FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName];if (B) B(A);},RegisterDoubleClickHandler:function(A,B){FCK.RegisteredDoubleClickHandlers[B.toUpperCase()]=A;},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent('OnSelectionChange');FCK.Events.FireEvent('OnAfterSetHTML');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsImg,'$& _fcksavedurl=$1');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?'|ABBR':'ABBR';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\s|>)[\s\S]*?)/?>','gi');A=A.replace(C,'');return A;},SetHTML:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCK.EditMode==0){A=FCKConfig.ProtectedSource.Protect(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1>$2>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCKBrowserInfo.IsGecko){A=A.replace(FCKRegexLib.StrongOpener,'');A=A.replace(FCKRegexLib.EmOpener,'');};this._ForceResetIsDirty=(B===true);var C='';if (FCKConfig.FullPage){if (!FCKRegexLib.HeadOpener.test(A)){if (!FCKRegexLib.HtmlOpener.test(A)) A=''+A+'';A=A.replace(FCKRegexLib.HtmlOpener,'$&');};FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (FCKBrowserInfo.IsIE) C=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C='';C+='';C=A.replace(FCKRegexLib.HeadCloser,C+'$&');if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) C=C.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);}else{C=FCKConfig.DocType+''+_FCK_GetEditorAreaStyleTags()+'';if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+='';C+=FCK.TempBaseTag;var D='0) D+=' id="'+FCKConfig.BodyId+'"';if (FCKConfig.BodyClass&&FCKConfig.BodyClass.length>0) D+=' class="'+FCKConfig.BodyClass+'"';C+=''+D+'>';if (FCKBrowserInfo.IsGecko&&(A.length==0||FCKRegexLib.EmptyParagraph.test(A))) C+=GECKO_BOGUS;else C+=A;C+='';};this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(C);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},HasFocus:false,RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C){FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else return FCK.EditorDocument.queryCommandState(A)?1:0;}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A=FCKConfig.ScreenWidth*0.8;var B=FCKConfig.ScreenHeight*0.7;var C=(FCKConfig.ScreenWidth-A)/2;var D=window.open('',null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+A+',height='+B+',left='+C);var E;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) E=FCK.TempBaseTag+FCK.GetXHTML();else E=FCK.GetXHTML();}else{E=FCKConfig.DocType+''+FCK.TempBaseTag+''+FCKLang.Preview+''+_FCK_GetEditorAreaStyleTags()+''+FCK.GetXHTML()+'';};D.document.write(E);D.document.close();},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetHTML(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},CreateElement:function(A){var e=FCK.EditorDocument.createElement(A);return FCK.InsertElementAndGetIt(e);},InsertElementAndGetIt:function(e){e.setAttribute('FCKTempLabel','true');this.InsertElement(e);var A=FCK.EditorDocument.getElementsByTagName(e.tagName);for (var i=0;i/g,/\r/g,/\n/g],[''',''','"','=','<','>','
','
'])+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return B.ReplaceAll([/'/g,/"/g,/=/g,/</g,/>/g,/
/g,/
/g,/'/g],["'",'"','=','<','>','\r','\n','&']);};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;FCK.InitializeBehaviors();if (!FCKConfig.DisableEnterKeyHandler) FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){var A='';var B=FCKConfig.EditorAreaCSS;for (var i=0;i';return A;};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){if (B=='Paste') return!FCK.Events.FireEvent('OnPaste');}else{if (B.Equals('Paste','Undo','Redo','SelectAll')) return false;};var C=FCK.Commands.GetCommand(B);return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i';if (FCKConfig.ShowBorders) B='url('+A+'css/behaviors/showtableborders.htc)';C+='INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden';if (FCKConfig.DisableObjectResizing){C+=',IMG';B+=' url('+A+'css/behaviors/disablehandles.htc)';};C+=' { behavior: url('+A+'css/behaviors/disablehandles.htc) ; }';if (B.length>0) C+='TABLE { behavior: '+B+' ; }';C+='';FCK._BehaviorsStyle=C;};return FCK._BehaviorsStyle;};function Doc_OnMouseUp(){if (FCK.EditorWindow.event.srcElement.tagName=='HTML'){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;}};function Doc_OnPaste(){return (FCK.Status==2&&FCK.Events.FireEvent("OnPaste"));};function Doc_OnKeyDown(){if (FCK.EditorWindow){var e=FCK.EditorWindow.event;if (!(e.keyCode>=16&&e.keyCode<=18)) Doc_OnKeyDownUndo();};return true;};function Doc_OnKeyDownUndo(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}};function Doc_OnDblClick(){FCK.OnDoubleClick(FCK.EditorWindow.event.srcElement);FCK.EditorWindow.event.cancelBubble=true;};function Doc_OnSelectionChange(){FCK.Events.FireEvent("OnSelectionChange");};FCK.InitializeBehaviors=function(A){this.EditorDocument.attachEvent('onmouseup',Doc_OnMouseUp);this.EditorDocument.body.attachEvent('onpaste',Doc_OnPaste);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument.body);if (FCKConfig.TabSpaces>0){window.FCKTabHTML='';for (i=0;i
- 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.
- 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.
- 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:
diff --git a/phpgwapi/js/fckeditor/editor/lang/_translationstatus.txt b/phpgwapi/js/fckeditor/editor/lang/_translationstatus.txt
index e8b16a5ab6..8cbd8b38b4 100644
--- a/phpgwapi/js/fckeditor/editor/lang/_translationstatus.txt
+++ b/phpgwapi/js/fckeditor/editor/lang/_translationstatus.txt
@@ -1,71 +1,76 @@
-/*
- * 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?"
- *
- * File Name: _translationstatus.txt
- * Translations Status.
- *
- * File Authors:
- * 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 ==
+ *
+ * Translations Status.
*/
-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: 388 Missing: 15
-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: 388 Missing: 15
-hi.js Found: 403 Missing: 0
-hr.js Found: 403 Missing: 0
-hu.js Found: 402 Missing: 1
-it.js Found: 388 Missing: 15
-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: 388 Missing: 15
-pl.js Found: 388 Missing: 15
-pt-br.js Found: 384 Missing: 19
-pt.js Found: 388 Missing: 15
-ro.js Found: 388 Missing: 15
-ru.js Found: 403 Missing: 0
-sk.js Found: 383 Missing: 20
-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: 388 Missing: 15
-uk.js Found: 375 Missing: 28
-vi.js Found: 403 Missing: 0
-zh-cn.js Found: 388 Missing: 15
-zh.js Found: 403 Missing: 0
+af.js Found: 401 Missing: 1
+ar.js Found: 401 Missing: 1
+bg.js Found: 378 Missing: 24
+bn.js Found: 386 Missing: 16
+bs.js Found: 230 Missing: 172
+ca.js Found: 401 Missing: 1
+cs.js Found: 386 Missing: 16
+da.js Found: 386 Missing: 16
+de.js Found: 401 Missing: 1
+el.js Found: 401 Missing: 1
+en-au.js Found: 402 Missing: 0
+en-ca.js Found: 402 Missing: 0
+en-uk.js Found: 402 Missing: 0
+eo.js Found: 350 Missing: 52
+es.js Found: 386 Missing: 16
+et.js Found: 386 Missing: 16
+eu.js Found: 386 Missing: 16
+fa.js Found: 401 Missing: 1
+fi.js Found: 386 Missing: 16
+fo.js Found: 401 Missing: 1
+fr.js Found: 401 Missing: 1
+gl.js Found: 386 Missing: 16
+he.js Found: 401 Missing: 1
+hi.js Found: 401 Missing: 1
+hr.js Found: 401 Missing: 1
+hu.js Found: 401 Missing: 1
+it.js Found: 401 Missing: 1
+ja.js Found: 401 Missing: 1
+km.js Found: 376 Missing: 26
+ko.js Found: 373 Missing: 29
+lt.js Found: 381 Missing: 21
+lv.js Found: 386 Missing: 16
+mn.js Found: 230 Missing: 172
+ms.js Found: 356 Missing: 46
+nb.js Found: 400 Missing: 2
+nl.js Found: 401 Missing: 1
+no.js Found: 400 Missing: 2
+pl.js Found: 386 Missing: 16
+pt-br.js Found: 401 Missing: 1
+pt.js Found: 386 Missing: 16
+ro.js Found: 400 Missing: 2
+ru.js Found: 401 Missing: 1
+sk.js Found: 401 Missing: 1
+sl.js Found: 378 Missing: 24
+sr-latn.js Found: 373 Missing: 29
+sr.js Found: 373 Missing: 29
+sv.js Found: 381 Missing: 21
+th.js Found: 398 Missing: 4
+tr.js Found: 401 Missing: 1
+uk.js Found: 401 Missing: 1
+vi.js Found: 401 Missing: 1
+zh-cn.js Found: 401 Missing: 1
+zh.js Found: 401 Missing: 1
diff --git a/phpgwapi/js/fckeditor/editor/lang/af.js b/phpgwapi/js/fckeditor/editor/lang/af.js
new file mode 100644
index 0000000000..857dc3e9d4
--- /dev/null
+++ b/phpgwapi/js/fckeditor/editor/lang/af.js
@@ -0,0 +1,504 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 =
+{
+// Language direction : "ltr" (left to right) or "rtl" (right to left).
+Dir : "ltr",
+
+ToolbarCollapse : "Vou Gereedskaps balk toe",
+ToolbarExpand : "Vou Gereedskaps balk oop",
+
+// Toolbar Items and Context Menu
+Save : "Bewaar",
+NewPage : "Nuwe Bladsy",
+Preview : "Voorskou",
+Cut : "Uitsny ",
+Copy : "Kopieer",
+Paste : "Byvoeg",
+PasteText : "Slegs inhoud byvoeg",
+PasteWord : "Van Word af byvoeg",
+Print : "Druk",
+SelectAll : "Selekteer alles",
+RemoveFormat : "Formaat verweider",
+InsertLinkLbl : "Skakel",
+InsertLink : "Skakel byvoeg/verander",
+RemoveLink : "Skakel verweider",
+Anchor : "Plekhouer byvoeg/verander",
+InsertImageLbl : "Beeld",
+InsertImage : "Beeld byvoeg/verander",
+InsertFlashLbl : "Flash",
+InsertFlash : "Flash byvoeg/verander",
+InsertTableLbl : "Tabel",
+InsertTable : "Tabel byvoeg/verander",
+InsertLineLbl : "Lyn",
+InsertLine : "Horisontale lyn byvoeg",
+InsertSpecialCharLbl: "Spesiaale karakter",
+InsertSpecialChar : "Spesiaale Karakter byvoeg",
+InsertSmileyLbl : "Smiley",
+InsertSmiley : "Smiley byvoeg",
+About : "Meer oor FCKeditor",
+Bold : "Vet",
+Italic : "Skuins",
+Underline : "Onderstreep",
+StrikeThrough : "Gestreik",
+Subscript : "Subscript",
+Superscript : "Superscript",
+LeftJustify : "Links rig",
+CenterJustify : "Rig Middel",
+RightJustify : "Regs rig",
+BlockJustify : "Blok paradeer",
+DecreaseIndent : "Paradeering verkort",
+IncreaseIndent : "Paradeering verleng",
+Undo : "Ont-skep",
+Redo : "Her-skep",
+NumberedListLbl : "Genommerde lys",
+NumberedList : "Genommerde lys byvoeg/verweider",
+BulletedListLbl : "Gepunkte lys",
+BulletedList : "Gepunkte lys byvoeg/verweider",
+ShowTableBorders : "Wys tabel kante",
+ShowDetails : "Wys informasie",
+Style : "Styl",
+FontFormat : "Karakter formaat",
+Font : "Karakters",
+FontSize : "Karakter grote",
+TextColor : "Karakter kleur",
+BGColor : "Agtergrond kleur",
+Source : "Source",
+Find : "Vind",
+Replace : "Vervang",
+SpellCheck : "Spelling nagaan",
+UniversalKeyboard : "Universeele Sleutelbord",
+PageBreakLbl : "Bladsy breek",
+PageBreak : "Bladsy breek byvoeg",
+
+Form : "Form",
+Checkbox : "HakBox",
+RadioButton : "PuntBox",
+TextField : "Byvoegbare karakter strook",
+Textarea : "Byvoegbare karakter area",
+HiddenField : "Blinde strook",
+Button : "Knop",
+SelectionField : "Opklapbare keuse strook",
+ImageButton : "Beeld knop",
+
+FitWindow : "Maksimaliseer venster grote",
+
+// Context Menu
+EditLink : "Verander skakel",
+CellCM : "Cell",
+RowCM : "Ry",
+ColumnCM : "Kolom",
+InsertRow : "Ry byvoeg",
+DeleteRows : "Ry verweider",
+InsertColumn : "Kolom byvoeg",
+DeleteColumns : "Kolom verweider",
+InsertCell : "Cell byvoeg",
+DeleteCells : "Cell verweider",
+MergeCells : "Cell verenig",
+SplitCell : "Cell verdeel",
+TableDelete : "Tabel verweider",
+CellProperties : "Cell eienskappe",
+TableProperties : "Tabel eienskappe",
+ImageProperties : "Beeld eienskappe",
+FlashProperties : "Flash eienskappe",
+
+AnchorProp : "Plekhouer eienskappe",
+ButtonProp : "Knop eienskappe",
+CheckboxProp : "HakBox eienskappe",
+HiddenFieldProp : "Blinde strook eienskappe",
+RadioButtonProp : "PuntBox eienskappe",
+ImageButtonProp : "Beeld knop eienskappe",
+TextFieldProp : "Karakter strook eienskappe",
+SelectionFieldProp : "Opklapbare keuse strook eienskappe",
+TextareaProp : "Karakter area eienskappe",
+FormProp : "Form eienskappe",
+
+FontFormats : "Normaal;Geformateerd;Adres;Opskrif 1;Opskrif 2;Opskrif 3;Opskrif 4;Opskrif 5;Opskrif 6;Normaal (DIV)", //REVIEW : Check _getfontformat.html
+
+// Alerts and Messages
+ProcessingXHTML : "XHTML word verarbeit. U geduld asseblief...",
+Done : "Kompleet",
+PasteWordConfirm : "Die informasie wat U probeer byvoeg is warskynlik van Word. Wil U dit reinig voor die byvoeging?",
+NotCompatiblePaste : "Die instruksie is beskikbaar vir Internet Explorer weergawe 5.5 of hor. Wil U dir byvoeg sonder reiniging?",
+UnknownToolbarItem : "Unbekende gereedskaps balk item \"%1\"",
+UnknownCommand : "Unbekende instruksie naam \"%1\"",
+NotImplemented : "Instruksie is nie geimplementeer nie.",
+UnknownToolbarSet : "Gereedskaps balk \"%1\" bestaan nie",
+NoActiveX : "U browser sekuriteit instellings kan die funksies van die editor behinder. U moet die opsie \"Run ActiveX controls and plug-ins\" aktiveer. U ondervinding mag problematies geskiet of sekere funksionaliteit mag verhinder word.",
+BrowseServerBlocked : "Die vorraad venster word geblok! Verseker asseblief dat U die \"popup blocker\" instelling verander.",
+DialogBlocked : "Die dialoog venster vir verdere informasie word geblok. De-aktiveer asseblief die \"popup blocker\" instellings wat dit behinder.",
+
+// Dialogs
+DlgBtnOK : "OK",
+DlgBtnCancel : "Kanseleer",
+DlgBtnClose : "Sluit",
+DlgBtnBrowseServer : "Server deurblaai",
+DlgAdvancedTag : "Ingewikkeld",
+DlgOpOther : "",
+DlgInfoTab : "Info",
+DlgAlertUrl : "Voeg asseblief die URL in",
+
+// General Dialogs Labels
+DlgGenNotSet : "",
+DlgGenId : "Id",
+DlgGenLangDir : "Taal rigting",
+DlgGenLangDirLtr : "Links na regs (LTR)",
+DlgGenLangDirRtl : "Regs na links (RTL)",
+DlgGenLangCode : "Taal kode",
+DlgGenAccessKey : "Toegang sleutel",
+DlgGenName : "Naam",
+DlgGenTabIndex : "Tab Index",
+DlgGenLongDescr : "Lang beskreiwing URL",
+DlgGenClass : "Skakel Tiepe",
+DlgGenTitle : "Voorbeveelings Titel",
+DlgGenContType : "Voorbeveelings inhoud soort",
+DlgGenLinkCharset : "Geskakelde voorbeeld karakterstel",
+DlgGenStyle : "Styl",
+
+// Image Dialog
+DlgImgTitle : "Beeld eienskappe",
+DlgImgInfoTab : "Beeld informasie",
+DlgImgBtnUpload : "Stuur dit na die Server",
+DlgImgURL : "URL",
+DlgImgUpload : "Uplaai",
+DlgImgAlt : "Alternatiewe beskrywing",
+DlgImgWidth : "Weidte",
+DlgImgHeight : "Hoogde",
+DlgImgLockRatio : "Behou preporsie",
+DlgBtnResetSize : "Herstel groote",
+DlgImgBorder : "Kant",
+DlgImgHSpace : "HSpasie",
+DlgImgVSpace : "VSpasie",
+DlgImgAlign : "Paradeer",
+DlgImgAlignLeft : "Links",
+DlgImgAlignAbsBottom: "Abs Onder",
+DlgImgAlignAbsMiddle: "Abs Middel",
+DlgImgAlignBaseline : "Baseline",
+DlgImgAlignBottom : "Onder",
+DlgImgAlignMiddle : "Middel",
+DlgImgAlignRight : "Regs",
+DlgImgAlignTextTop : "Text Bo",
+DlgImgAlignTop : "Bo",
+DlgImgPreview : "Voorskou",
+DlgImgAlertUrl : "Voeg asseblief Beeld URL in.",
+DlgImgLinkTab : "Skakel",
+
+// Flash Dialog
+DlgFlashTitle : "Flash eienskappe",
+DlgFlashChkPlay : "Automaties Speel",
+DlgFlashChkLoop : "Herhaling",
+DlgFlashChkMenu : "Laat Flash Menu toe",
+DlgFlashScale : "Scale",
+DlgFlashScaleAll : "Wys alles",
+DlgFlashScaleNoBorder : "Geen kante",
+DlgFlashScaleFit : "Presiese pas",
+
+// Link Dialog
+DlgLnkWindowTitle : "Skakel",
+DlgLnkInfoTab : "Skakel informasie",
+DlgLnkTargetTab : "Mikpunt",
+
+DlgLnkType : "Skakel soort",
+DlgLnkTypeURL : "URL",
+DlgLnkTypeAnchor : "Skakel na plekhouers in text",
+DlgLnkTypeEMail : "E-Mail",
+DlgLnkProto : "Protokol",
+DlgLnkProtoOther : "",
+DlgLnkURL : "URL",
+DlgLnkAnchorSel : "Kies 'n plekhouer",
+DlgLnkAnchorByName : "Volgens plekhouer naam",
+DlgLnkAnchorById : "Volgens element Id",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
+DlgLnkEMail : "E-Mail Adres",
+DlgLnkEMailSubject : "Boodskap Opskrif",
+DlgLnkEMailBody : "Boodskap Inhoud",
+DlgLnkUpload : "Oplaai",
+DlgLnkBtnUpload : "Stuur na Server",
+
+DlgLnkTarget : "Mikpunt",
+DlgLnkTargetFrame : "",
+DlgLnkTargetPopup : "",
+DlgLnkTargetBlank : "Nuwe Venster (_blank)",
+DlgLnkTargetParent : "Vorige Venster (_parent)",
+DlgLnkTargetSelf : "Selfde Venster (_self)",
+DlgLnkTargetTop : "Boonste Venster (_top)",
+DlgLnkTargetFrameName : "Mikpunt Venster Naam",
+DlgLnkPopWinName : "Popup Venster Naam",
+DlgLnkPopWinFeat : "Popup Venster Geaartheid",
+DlgLnkPopResize : "Verstelbare Groote",
+DlgLnkPopLocation : "Adres Balk",
+DlgLnkPopMenu : "Menu Balk",
+DlgLnkPopScroll : "Gleibalkstuk",
+DlgLnkPopStatus : "Status Balk",
+DlgLnkPopToolbar : "Gereedskap Balk",
+DlgLnkPopFullScrn : "Voll Skerm (IE)",
+DlgLnkPopDependent : "Afhanklik (Netscape)",
+DlgLnkPopWidth : "Weite",
+DlgLnkPopHeight : "Hoogde",
+DlgLnkPopLeft : "Links Posisie",
+DlgLnkPopTop : "Bo Posisie",
+
+DlnLnkMsgNoUrl : "Voeg asseblief die URL in",
+DlnLnkMsgNoEMail : "Voeg asseblief die e-mail adres in",
+DlnLnkMsgNoAnchor : "Kies asseblief 'n plekhouer",
+DlnLnkMsgInvPopName : "Die popup naam moet begin met alphabetiese karakters sonder spasies.",
+
+// Color Dialog
+DlgColorTitle : "Kies Kleur",
+DlgColorBtnClear : "Maak skoon",
+DlgColorHighlight : "Highlight",
+DlgColorSelected : "Geselekteer",
+
+// Smiley Dialog
+DlgSmileyTitle : "Voeg Smiley by",
+
+// Special Character Dialog
+DlgSpecialCharTitle : "Kies spesiale karakter",
+
+// Table Dialog
+DlgTableTitle : "Tabel eienskappe",
+DlgTableRows : "Reie",
+DlgTableColumns : "Kolome",
+DlgTableBorder : "Kant groote",
+DlgTableAlign : "Parideering",
+DlgTableAlignNotSet : "",
+DlgTableAlignLeft : "Links",
+DlgTableAlignCenter : "Middel",
+DlgTableAlignRight : "Regs",
+DlgTableWidth : "Weite",
+DlgTableWidthPx : "pixels",
+DlgTableWidthPc : "percent",
+DlgTableHeight : "Hoogde",
+DlgTableCellSpace : "Cell spasieering",
+DlgTableCellPad : "Cell buffer",
+DlgTableCaption : "Beskreiwing",
+DlgTableSummary : "Opsomming",
+
+// Table Cell Dialog
+DlgCellTitle : "Cell eienskappe",
+DlgCellWidth : "Weite",
+DlgCellWidthPx : "pixels",
+DlgCellWidthPc : "percent",
+DlgCellHeight : "Hoogde",
+DlgCellWordWrap : "Woord Wrap",
+DlgCellWordWrapNotSet : "",
+DlgCellWordWrapYes : "Ja",
+DlgCellWordWrapNo : "Nee",
+DlgCellHorAlign : "Horisontale rigting",
+DlgCellHorAlignNotSet : "",
+DlgCellHorAlignLeft : "Links",
+DlgCellHorAlignCenter : "Middel",
+DlgCellHorAlignRight: "Regs",
+DlgCellVerAlign : "Vertikale rigting",
+DlgCellVerAlignNotSet : "",
+DlgCellVerAlignTop : "Bo",
+DlgCellVerAlignMiddle : "Middel",
+DlgCellVerAlignBottom : "Onder",
+DlgCellVerAlignBaseline : "Baseline",
+DlgCellRowSpan : "Rei strekking",
+DlgCellCollSpan : "Kolom strekking",
+DlgCellBackColor : "Agtergrond Kleur",
+DlgCellBorderColor : "Kant Kleur",
+DlgCellBtnSelect : "Keuse...",
+
+// Find Dialog
+DlgFindTitle : "Vind",
+DlgFindFindBtn : "Vind",
+DlgFindNotFoundMsg : "Die gespesifiseerde karakters word nie gevind nie.",
+
+// Replace Dialog
+DlgReplaceTitle : "Vervang",
+DlgReplaceFindLbl : "Soek wat:",
+DlgReplaceReplaceLbl : "Vervang met:",
+DlgReplaceCaseChk : "Vergelyk karakter skryfweise",
+DlgReplaceReplaceBtn : "Vervang",
+DlgReplaceReplAllBtn : "Vervang alles",
+DlgReplaceWordChk : "Vergelyk komplete woord",
+
+// Paste Operations / Dialog
+PasteErrorCut : "U browser se sekuriteit instelling behinder die uitsny aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+X).",
+PasteErrorCopy : "U browser se sekuriteit instelling behinder die kopieerings aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+C).",
+
+PasteAsText : "Voeg slegs karakters by",
+PasteFromWord : "Byvoeging uit Word",
+
+DlgPasteMsg2 : "Voeg asseblief die inhoud in die gegewe box by met sleutel kombenasie(Ctrl+V) en druk OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
+DlgPasteIgnoreFont : "Ignoreer karakter soort defenisies",
+DlgPasteRemoveStyles : "Verweider Styl defenisies",
+DlgPasteCleanBox : "Maak Box Skoon",
+
+// Color Picker
+ColorAutomatic : "Automaties",
+ColorMoreColors : "Meer Kleure...",
+
+// Document Properties
+DocProps : "Dokument Eienskappe",
+
+// Anchor Dialog
+DlgAnchorTitle : "Plekhouer Eienskappe",
+DlgAnchorName : "Plekhouer Naam",
+DlgAnchorErrorName : "Voltooi die plekhouer naam asseblief",
+
+// Speller Pages Dialog
+DlgSpellNotInDic : "Nie in woordeboek nie",
+DlgSpellChangeTo : "Verander na",
+DlgSpellBtnIgnore : "Ignoreer",
+DlgSpellBtnIgnoreAll : "Ignoreer na-volgende",
+DlgSpellBtnReplace : "Vervang",
+DlgSpellBtnReplaceAll : "vervang na-volgende",
+DlgSpellBtnUndo : "Ont-skep",
+DlgSpellNoSuggestions : "- Geen voorstel -",
+DlgSpellProgress : "Spelling word beproef...",
+DlgSpellNoMispell : "Spellproef kompleet: Geen foute",
+DlgSpellNoChanges : "Spellproef kompleet: Geen woord veranderings",
+DlgSpellOneChange : "Spellproef kompleet: Een woord verander",
+DlgSpellManyChanges : "Spellproef kompleet: %1 woorde verander",
+
+IeSpellDownload : "Geen Spellproefer geinstaleer nie. Wil U dit aflaai?",
+
+// Button Dialog
+DlgButtonText : "Karakters (Waarde)",
+DlgButtonType : "Soort",
+DlgButtonTypeBtn : "Knop",
+DlgButtonTypeSbm : "Indien",
+DlgButtonTypeRst : "Reset",
+
+// Checkbox and Radio Button Dialogs
+DlgCheckboxName : "Naam",
+DlgCheckboxValue : "Waarde",
+DlgCheckboxSelected : "Uitgekies",
+
+// Form Dialog
+DlgFormName : "Naam",
+DlgFormAction : "Aksie",
+DlgFormMethod : "Metode",
+
+// Select Field Dialog
+DlgSelectName : "Naam",
+DlgSelectValue : "Waarde",
+DlgSelectSize : "Grote",
+DlgSelectLines : "lyne",
+DlgSelectChkMulti : "Laat meerere keuses toe",
+DlgSelectOpAvail : "Beskikbare Opsies",
+DlgSelectOpText : "Karakters",
+DlgSelectOpValue : "Waarde",
+DlgSelectBtnAdd : "Byvoeg",
+DlgSelectBtnModify : "Verander",
+DlgSelectBtnUp : "Op",
+DlgSelectBtnDown : "Af",
+DlgSelectBtnSetValue : "Stel as uitgekiesde waarde",
+DlgSelectBtnDelete : "Verweider",
+
+// Textarea Dialog
+DlgTextareaName : "Naam",
+DlgTextareaCols : "Kolom",
+DlgTextareaRows : "Reie",
+
+// Text Field Dialog
+DlgTextName : "Naam",
+DlgTextValue : "Waarde",
+DlgTextCharWidth : "Karakter weite",
+DlgTextMaxChars : "Maximale karakters",
+DlgTextType : "Soort",
+DlgTextTypeText : "Karakters",
+DlgTextTypePass : "Wagwoord",
+
+// Hidden Field Dialog
+DlgHiddenName : "Naam",
+DlgHiddenValue : "Waarde",
+
+// Bulleted List Dialog
+BulletedListProp : "Gepunkte lys eienskappe",
+NumberedListProp : "Genommerde lys eienskappe",
+DlgLstStart : "Begin",
+DlgLstType : "Soort",
+DlgLstTypeCircle : "Sirkel",
+DlgLstTypeDisc : "Skyf",
+DlgLstTypeSquare : "Vierkant",
+DlgLstTypeNumbers : "Nommer (1, 2, 3)",
+DlgLstTypeLCase : "Klein Letters (a, b, c)",
+DlgLstTypeUCase : "Hoof Letters (A, B, C)",
+DlgLstTypeSRoman : "Klein Romeinse nommers (i, ii, iii)",
+DlgLstTypeLRoman : "Groot Romeinse nommers (I, II, III)",
+
+// Document Properties Dialog
+DlgDocGeneralTab : "Algemeen",
+DlgDocBackTab : "Agtergrond",
+DlgDocColorsTab : "Kleure en Rante",
+DlgDocMetaTab : "Meta Data",
+
+DlgDocPageTitle : "Bladsy Opskrif",
+DlgDocLangDir : "Taal rigting",
+DlgDocLangDirLTR : "Link na Regs (LTR)",
+DlgDocLangDirRTL : "Regs na Links (RTL)",
+DlgDocLangCode : "Taal Kode",
+DlgDocCharSet : "Karakterstel Kodeering",
+DlgDocCharSetCE : "Sentraal Europa",
+DlgDocCharSetCT : "Chinees Traditioneel (Big5)",
+DlgDocCharSetCR : "Cyrillic",
+DlgDocCharSetGR : "Grieks",
+DlgDocCharSetJP : "Japanees",
+DlgDocCharSetKR : "Koreans",
+DlgDocCharSetTR : "Turks",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Western European",
+DlgDocCharSetOther : "Ander Karakterstel Kodeering",
+
+DlgDocDocType : "Dokument Opskrif Soort",
+DlgDocDocTypeOther : "Ander Dokument Opskrif Soort",
+DlgDocIncXHTML : "Voeg XHTML verklaring by",
+DlgDocBgColor : "Agtergrond kleur",
+DlgDocBgImage : "Agtergrond Beeld URL",
+DlgDocBgNoScroll : "Vasgeklemde Agtergrond",
+DlgDocCText : "Karakters",
+DlgDocCLink : "Skakel",
+DlgDocCVisited : "Besoekte Skakel",
+DlgDocCActive : "Aktiewe Skakel",
+DlgDocMargins : "Bladsy Rante",
+DlgDocMaTop : "Bo",
+DlgDocMaLeft : "Links",
+DlgDocMaRight : "Regs",
+DlgDocMaBottom : "Onder",
+DlgDocMeIndex : "Dokument Index Sleutelwoorde(comma verdeelt)",
+DlgDocMeDescr : "Dokument Beskrywing",
+DlgDocMeAuthor : "Skrywer",
+DlgDocMeCopy : "Kopiereg",
+DlgDocPreview : "Voorskou",
+
+// Templates Dialog
+Templates : "Templates",
+DlgTemplatesTitle : "Inhoud Templates",
+DlgTemplatesSelMsg : "Kies die template om te gebruik in die editor (Inhoud word vervang!):",
+DlgTemplatesLoading : "Templates word gelaai. U geduld asseblief...",
+DlgTemplatesNoTpl : "(Geen templates gedefinieerd)",
+DlgTemplatesReplace : "Vervang bestaande inhoud",
+
+// About Dialog
+DlgAboutAboutTab : "Meer oor",
+DlgAboutBrowserInfoTab : "Blaai Informasie deur",
+DlgAboutLicenseTab : "Lesensie",
+DlgAboutVersion : "weergawe",
+DlgAboutInfo : "Vir meer informasie gaan na "
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ar.js b/phpgwapi/js/fckeditor/editor/lang/ar.js
index bae2a37b6d..91d34f11e1 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ar.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ar.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ar.js
- * Arabic language file.
- *
- * File Authors:
- * Abdul-Aziz Abdul-Kareem Al-Oraij (http://aziz.oraij.com)
- * Abu Faisal (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "خصائص القائمة المنسدلة",
TextareaProp : "خصائص ناحية النص",
FormProp : "خصائص النموذج",
-FontFormats : "عادي;منسّق;دوس;العنوان 1;العنوان 2;العنوان 3;العنوان 4;العنوان 5;العنوان 6",
+FontFormats : "عادي;منسّق;دوس;العنوان 1;العنوان 2;العنوان 3;العنوان 4;العنوان 5;العنوان 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "إنتظر قليلاً ريثما تتم معالَجة XHTML. لن يستغرق طويلاً...",
@@ -226,7 +229,7 @@ DlgLnkURL : "الموقع",
DlgLnkAnchorSel : "اختر علامة مرجعية",
DlgLnkAnchorByName : "حسب اسم العلامة",
DlgLnkAnchorById : "حسب تعريف العنصر",
-DlgLnkNoAnchors : "<لا يوجد علامات مرجعية في هذا المستند>",
+DlgLnkNoAnchors : "<لا يوجد علامات مرجعية في هذا المستند>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "عنوان بريد إلكتروني",
DlgLnkEMailSubject : "موضوع الرسالة",
DlgLnkEMailBody : "محتوى الرسالة",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "التمركز للأعلى",
DlnLnkMsgNoUrl : "فضلاً أدخل عنوان الموقع الذي يشير إليه الرابط",
DlnLnkMsgNoEMail : "فضلاً أدخل عنوان البريد الإلكتروني",
DlnLnkMsgNoAnchor : "فضلاً حدد العلامة المرجعية المرغوبة",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "اسم النافذة المنبثقة يجب أن يبدأ بحرف أبجدي دون مسافات",
// Color Dialog
DlgColorTitle : "اختر لوناً",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "إستبدال الكل",
DlgReplaceWordChk : "الكلمة بالكامل فقط",
// Paste Operations / Dialog
-PasteErrorPaste : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع اللصق التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+V).",
PasteErrorCut : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).",
PasteErrorCopy : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "لصق كنص بسيط",
PasteFromWord : "لصق من وورد",
DlgPasteMsg2 : "الصق داخل الصندوق بإستخدام زرّي (Ctrl+V) في لوحة المفاتيح، ثم اضغط زر موافق.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "تجاهل تعريفات أسماء الخطوط",
DlgPasteRemoveStyles : "إزالة تعريفات الأنماط",
DlgPasteCleanBox : "نظّف محتوى الصندوق",
@@ -378,9 +381,9 @@ IeSpellDownload : "المدقق الإملائي (الإنجليزي) غير
// Button Dialog
DlgButtonText : "القيمة/التسمية",
DlgButtonType : "نوع الزر",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "زر",
+DlgButtonTypeSbm : "إرسال",
+DlgButtonTypeRst : "إعادة تعيين",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "الاسم",
@@ -429,7 +432,7 @@ DlgHiddenValue : "القيمة",
// Bulleted List Dialog
BulletedListProp : "خصائص التعداد النقطي",
NumberedListProp : "خصائص التعداد الرقمي",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "البدء عند",
DlgLstType : "النوع",
DlgLstTypeCircle : "دائرة",
DlgLstTypeDisc : "قرص",
@@ -452,16 +455,16 @@ DlgDocLangDirLTR : "اليسار لليمين (LTR)",
DlgDocLangDirRTL : "اليمين لليسار (RTL)",
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 : "ترويسة نوع الصفحة",
DlgDocDocTypeOther : "ترويسة نوع صفحة أخرى",
@@ -490,13 +493,12 @@ DlgTemplatesTitle : "قوالب المحتوى",
DlgTemplatesSelMsg : "اختر القالب الذي تود وضعه في المحرر (سيتم فقدان المحتوى الحالي):",
DlgTemplatesLoading : "جاري تحميل قائمة القوالب، الرجاء الإنتظار...",
DlgTemplatesNoTpl : "(لم يتم تعريف أي قالب)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "استبدال المحتوى",
// About Dialog
DlgAboutAboutTab : "نبذة",
DlgAboutBrowserInfoTab : "معلومات متصفحك",
DlgAboutLicenseTab : "الترخيص",
DlgAboutVersion : "الإصدار",
-DlgAboutLicense : "مرخّص بحسب قانون GNU LGPL",
DlgAboutInfo : "لمزيد من المعلومات تفضل بزيارة"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/bg.js b/phpgwapi/js/fckeditor/editor/lang/bg.js
index b94dbf2022..423bd02d7d 100644
--- a/phpgwapi/js/fckeditor/editor/lang/bg.js
+++ b/phpgwapi/js/fckeditor/editor/lang/bg.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: bg.js
- * Bulgarian language file.
- *
- * File Authors:
- * Miroslav Ivanov (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Параметри на падащото меню с оп
TextareaProp : "Параметри на текстовата област",
FormProp : "Параметри на формуляра",
-FontFormats : "Нормален;Форматиран;Адрес;Заглавие 1;Заглавие 2;Заглавие 3;Заглавие 4;Заглавие 5;Заглавие 6;Параграф (DIV)",
+FontFormats : "Нормален;Форматиран;Адрес;Заглавие 1;Заглавие 2;Заглавие 3;Заглавие 4;Заглавие 5;Заглавие 6;Параграф (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Обработка на XHTML. Моля изчакайте...",
@@ -225,7 +229,7 @@ DlgLnkURL : "Пълен път (URL)",
DlgLnkAnchorSel : "Изберете котва",
DlgLnkAnchorByName : "По име на котвата",
DlgLnkAnchorById : "По идентификатор на елемент",
-DlgLnkNoAnchors : "<Няма котви в текущия документ>",
+DlgLnkNoAnchors : "<Няма котви в текущия документ>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Адрес за е-поща",
DlgLnkEMailSubject : "Тема на писмото",
DlgLnkEMailBody : "Текст на писмото",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Замести всички",
DlgReplaceWordChk : "Търси същата дума",
// Paste Operations / Dialog
-PasteErrorPaste : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни вмъкването. За целта използвайте клавиатурата (Ctrl+V).",
PasteErrorCut : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни изрязването. За целта използвайте клавиатурата (Ctrl+X).",
PasteErrorCopy : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Вмъкни като чист текст",
PasteFromWord : "Вмъкни от MS Word",
DlgPasteMsg2 : "Вмъкнете тук съдъжанието с клавиатуарата (Ctrl+V) и натиснете OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Игнорирай шрифтовите дефиниции",
DlgPasteRemoveStyles : "Изтрий стиловите дефиниции",
DlgPasteCleanBox : "Изчисти",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "За",
DlgAboutBrowserInfoTab : "Информация за браузъра",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "версия",
-DlgAboutLicense : "Лиценз по условията на GNU Lesser General Public License",
DlgAboutInfo : "За повече информация посетете"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/bn.js b/phpgwapi/js/fckeditor/editor/lang/bn.js
index e9ed088000..8f76754ae2 100644
--- a/phpgwapi/js/fckeditor/editor/lang/bn.js
+++ b/phpgwapi/js/fckeditor/editor/lang/bn.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: bn.js
- * Bengali/Bangla language file.
- *
- * File Authors:
- * Richard Walledge (darkdoctrine@hotmail.com)
- * S M Mahbub Murshed (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "বাছাই ফীল্ড প্রোপার্
TextareaProp : "টেক্সট এরিয়া প্রোপার্টি",
FormProp : "ফর্ম প্রোপার্টি",
-FontFormats : "সাধারণ;ফর্মেটেড;ঠিকানা;শীর্ষক ১;শীর্ষক ২;শীর্ষক ৩;শীর্ষক ৪;শীর্ষক ৫;শীর্ষক ৬;শীর্ষক (DIV)",
+FontFormats : "সাধারণ;ফর্মেটেড;ঠিকানা;শীর্ষক ১;শীর্ষক ২;শীর্ষক ৩;শীর্ষক ৪;শীর্ষক ৫;শীর্ষক ৬;শীর্ষক (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML প্রসেস করা হচ্ছে",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "নোঙর বাছাই",
DlgLnkAnchorByName : "নোঙরের নাম দিয়ে",
DlgLnkAnchorById : "নোঙরের আইডি দিয়ে",
-DlgLnkNoAnchors : "<ডকুমেন্টে আর কোন নোঙর নেই>",
+DlgLnkNoAnchors : "<ডকুমেন্টে আর কোন নোঙর নেই>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "ইমেইল ঠিকানা",
DlgLnkEMailSubject : "মেসেজের বিষয়",
DlgLnkEMailBody : "মেসেজের দেহ",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "সব বদলে দাও",
DlgReplaceWordChk : "পুরা শব্দ মেলাও",
// Paste Operations / Dialog
-PasteErrorPaste : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক পেস্ট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+V)।",
PasteErrorCut : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+X)।",
PasteErrorCopy : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কপি করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+C)।",
@@ -342,6 +344,7 @@ PasteAsText : "সাদা টেক্সট হিসেবে পেস্
PasteFromWord : "ওয়ার্ড থেকে পেস্ট কর",
DlgPasteMsg2 : "অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (Ctrl+V) পেস্ট করুন এবং OK চাপ দিন",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "ফন্ট ফেস ডেফিনেশন ইগনোর করুন",
DlgPasteRemoveStyles : "স্টাইল ডেফিনেশন সরিয়ে দিন",
DlgPasteCleanBox : "বাক্স পরিষ্কার করুন",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "কে বানিয়েছে",
DlgAboutBrowserInfoTab : "ব্রাউজারের ব্যাপারে তথ্য",
DlgAboutLicenseTab : "লাইসেন্স",
DlgAboutVersion : "ভার্সন",
-DlgAboutLicense : "লাইসেন্স GNU LGPL এর নীতিমালার অধীনে ",
DlgAboutInfo : "আরও তথ্যের জন্য যান"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/bs.js b/phpgwapi/js/fckeditor/editor/lang/bs.js
index 72c8e1e558..fbaa451916 100644
--- a/phpgwapi/js/fckeditor/editor/lang/bs.js
+++ b/phpgwapi/js/fckeditor/editor/lang/bs.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: bs.js
- * Bosnian language file.
- *
- * File Authors:
- * 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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Selection Field Properties", //MISSING
TextareaProp : "Textarea Properties", //MISSING
FormProp : "Form Properties", //MISSING
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Procesiram XHTML. Molim saèekajte...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Izaberi sidro",
DlgLnkAnchorByName : "Po nazivu sidra",
DlgLnkAnchorById : "Po Id-u elementa",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Adresa",
DlgLnkEMailSubject : "Subjekt poruke",
DlgLnkEMailBody : "Poruka",
@@ -333,14 +337,14 @@ DlgReplaceReplAllBtn : "Zamjeni sve",
DlgReplaceWordChk : "Uporeðuj samo cijelu rijeè",
// Paste Operations / Dialog
-PasteErrorPaste : "Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog lijepljenja. Molimo koristite kraticu na tastaturi (Ctrl+V).",
PasteErrorCut : "Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl+X).",
PasteErrorCopy : "Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl+C).",
PasteAsText : "Zalijepi kao obièan tekst",
PasteFromWord : "Zalijepi iz Word-a",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING
DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING
DlgPasteCleanBox : "Clean Up Box", //MISSING
@@ -486,7 +490,7 @@ DlgDocPreview : "Preview", //MISSING
// Templates Dialog
Templates : "Templates", //MISSING
DlgTemplatesTitle : "Content Templates", //MISSING
-DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
+DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING
DlgTemplatesNoTpl : "(No templates defined)", //MISSING
DlgTemplatesReplace : "Replace actual contents", //MISSING
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "About", //MISSING
DlgAboutBrowserInfoTab : "Browser Info", //MISSING
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "verzija",
-DlgAboutLicense : "Licencirano pod uslovima GNU Lesser General Public License",
DlgAboutInfo : "Za više informacija posjetite"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ca.js b/phpgwapi/js/fckeditor/editor/lang/ca.js
index b7d2041d7a..1ae32f8400 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ca.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ca.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ca.js
- * Catalan language file.
- *
- * File Authors:
- * Jordi Cerdan (nan@myp.ad)
- * Marc Folch (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Propietats del camp de selecció",
TextareaProp : "Propietats de l'àrea de text",
FormProp : "Propietats del formulari",
-FontFormats : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6",
+FontFormats : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Processant XHTML. Si us plau esperi...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Selecciona una àncora",
DlgLnkAnchorByName : "Per nom d'àncora",
DlgLnkAnchorById : "Per Id d'element",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Adreça d'E-Mail",
DlgLnkEMailSubject : "Assumpte del missatge",
DlgLnkEMailBody : "Cos del missatge",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Reemplaça'ls tots",
DlgReplaceWordChk : "Cerca paraula completa",
// Paste Operations / Dialog
-PasteErrorPaste : "La seguretat del vostre navegador no permet executar automàticament les operacions d'enganxat. Si us plau, utilitzeu el teclat (Ctrl+V).",
PasteErrorCut : "La seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl+X).",
PasteErrorCopy : "La seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Enganxa com a text sense format",
PasteFromWord : "Enganxa com a Word",
DlgPasteMsg2 : "Si us plau, enganxeu dins del següent camp utilitzant el teclat (Ctrl+V) i premeu OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignora definicions de font",
DlgPasteRemoveStyles : "Elimina definicions d'estil",
DlgPasteCleanBox : "Neteja camp",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Quant a",
DlgAboutBrowserInfoTab : "Informació del navegador",
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"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/cs.js b/phpgwapi/js/fckeditor/editor/lang/cs.js
index 03b607b5d9..e6f3c2068d 100644
--- a/phpgwapi/js/fckeditor/editor/lang/cs.js
+++ b/phpgwapi/js/fckeditor/editor/lang/cs.js
@@ -1,22 +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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: cs.js
- * Czech language file.
- *
- * File Authors:
- * David Horák (david.horak@email.cz)
- * Petr Plavjaník (plavjanik@gmail.com)
- * Dave MacBlack (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 =
@@ -132,7 +134,7 @@ SelectionFieldProp : "Vlastnosti seznamu",
TextareaProp : "Vlastnosti textové oblasti",
FormProp : "Vlastnosti formuláře",
-FontFormats : "Normální;Formátovaný;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6",
+FontFormats : "Normální;Formátovaný;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Probíhá zpracování XHTML. Prosím čekejte...",
@@ -227,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Vybrat kotvu",
DlgLnkAnchorByName : "Podle jména kotvy",
DlgLnkAnchorById : "Podle Id objektu",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mailová adresa",
DlgLnkEMailSubject : "Předmět zprávy",
DlgLnkEMailBody : "Tělo zprávy",
@@ -335,7 +337,6 @@ DlgReplaceReplAllBtn : "Nahradit vše",
DlgReplaceWordChk : "Pouze celá slova",
// Paste Operations / Dialog
-PasteErrorPaste : "Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro vložení textu ze schránky. Prosím vložte text ze schránky pomocí klávesnice (Ctrl+V).",
PasteErrorCut : "Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl+X).",
PasteErrorCopy : "Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl+C).",
@@ -343,6 +344,7 @@ PasteAsText : "Vložit jako čistý text",
PasteFromWord : "Vložit text z Wordu",
DlgPasteMsg2 : "Do následujícího pole vložte požadovaný obsah pomocí klávesnice (Ctrl+V) a stiskněte OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorovat písmo",
DlgPasteRemoveStyles : "Odstranit styly",
DlgPasteCleanBox : "Vyčistit",
@@ -498,6 +500,5 @@ DlgAboutAboutTab : "O aplikaci",
DlgAboutBrowserInfoTab : "Informace o prohlížeči",
DlgAboutLicenseTab : "Licence",
DlgAboutVersion : "verze",
-DlgAboutLicense : "Licencováno pod GNU Lesser General Public License",
DlgAboutInfo : "Více informací získáte na"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/da.js b/phpgwapi/js/fckeditor/editor/lang/da.js
index bc2cecf225..8143241164 100644
--- a/phpgwapi/js/fckeditor/editor/lang/da.js
+++ b/phpgwapi/js/fckeditor/editor/lang/da.js
@@ -1,22 +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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: da.js
- * Danish language file.
- *
- * File Authors:
- * Jørgen Nordstrøm (jn@FirstWeb.dk)
- * Jesper Michelsen (jm@i-deVision.dk)
- * Bo Brandt (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 =
@@ -132,7 +134,7 @@ SelectionFieldProp : "Egenskaber for liste",
TextareaProp : "Egenskaber for tekstboks",
FormProp : "Egenskaber for formular",
-FontFormats : "Normal;Formateret;Adresse;Overskrift 1;Overskrift 2;Overskrift 3;Overskrift 4;Overskrift 5;Overskrift 6;Normal (DIV)",
+FontFormats : "Normal;Formateret;Adresse;Overskrift 1;Overskrift 2;Overskrift 3;Overskrift 4;Overskrift 5;Overskrift 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Behandler XHTML...",
@@ -227,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Vælg et anker",
DlgLnkAnchorByName : "Efter anker navn",
DlgLnkAnchorById : "Efter element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-mailadresse",
DlgLnkEMailSubject : "Emne",
DlgLnkEMailBody : "Brødtekst",
@@ -335,7 +337,6 @@ DlgReplaceReplAllBtn : "Erstat alle",
DlgReplaceWordChk : "Kun hele ord",
// Paste Operations / Dialog
-PasteErrorPaste : "Din browsers sikkerhedsindstillinger tillader ikke editoren at indsætte tekst automatisk! Brug i stedet tastaturet til at indsætte teksten (Ctrl+V).",
PasteErrorCut : "Din browsers sikkerhedsindstillinger tillader ikke editoren at klippe tekst automatisk! Brug i stedet tastaturet til at klippe teksten (Ctrl+X).",
PasteErrorCopy : "Din browsers sikkerhedsindstillinger tillader ikke editoren at kopiere tekst automatisk! Brug i stedet tastaturet til at kopiere teksten (Ctrl+C).",
@@ -343,6 +344,7 @@ PasteAsText : "Indsæt som ikke-formateret tekst",
PasteFromWord : "Indsæt fra Word",
DlgPasteMsg2 : "Indsæt i feltet herunder (Ctrl+V) og klik OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorer font definitioner",
DlgPasteRemoveStyles : "Ignorer typografi",
DlgPasteCleanBox : "Slet indhold",
@@ -498,6 +500,5 @@ DlgAboutAboutTab : "Om",
DlgAboutBrowserInfoTab : "Generelt",
DlgAboutLicenseTab : "Licens",
DlgAboutVersion : "version",
-DlgAboutLicense : "Licens under vilkår for GNU Lesser General Public License",
DlgAboutInfo : "For yderlig information gå til"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/de.js b/phpgwapi/js/fckeditor/editor/lang/de.js
index 2c82d504fd..2848d3462f 100644
--- a/phpgwapi/js/fckeditor/editor/lang/de.js
+++ b/phpgwapi/js/fckeditor/editor/lang/de.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: de.js
- * German language file.
- *
- * File Authors:
- * Maik Unruh (m.unruh@mm-concept.de)
- * Hendrik Kramer (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 =
@@ -75,10 +78,10 @@ BulletedListLbl : "Liste",
BulletedList : "Liste einfügen/entfernen",
ShowTableBorders : "Zeige Tabellenrahmen",
ShowDetails : "Zeige Details",
-Style : "Style",
+Style : "Stil",
FontFormat : "Format",
Font : "Schriftart",
-FontSize : "Size",
+FontSize : "Größe",
TextColor : "Textfarbe",
BGColor : "Hintergrundfarbe",
Source : "Quellcode",
@@ -131,7 +134,7 @@ SelectionFieldProp : "Auswahlfeld Eigenschaften",
TextareaProp : "Textfeld (mehrzeilig) Eigenschaften",
FormProp : "Formular Eigenschaften",
-FontFormats : "Normal;Formatiert;Addresse;Überschrift 1;Überschrift 2;Überschrift 3;Überschrift 4;Überschrift 5;Überschrift 6;Normal (DIV)",
+FontFormats : "Normal;Formatiert;Addresse;Überschrift 1;Überschrift 2;Überschrift 3;Überschrift 4;Überschrift 5;Überschrift 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Bearbeite XHTML. Bitte warten...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Anker auswählen",
DlgLnkAnchorByName : "nach Anker Name",
DlgLnkAnchorById : "nach Element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Addresse",
DlgLnkEMailSubject : "Betreffzeile",
DlgLnkEMailBody : "Nachrichtentext",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Alle Ersetzen",
DlgReplaceWordChk : "Nur ganze Worte suchen",
// Paste Operations / Dialog
-PasteErrorPaste : "Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch einzufügen. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren) und STRG-V (einfügen).",
PasteErrorCut : "Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).",
PasteErrorCopy : "Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).",
@@ -342,6 +344,7 @@ PasteAsText : "Als Text einfügen",
PasteFromWord : "Aus Word einfügen",
DlgPasteMsg2 : "Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit Ctrl+V) ein und bestätigen Sie mit OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignoriere Schriftart-Definitionen",
DlgPasteRemoveStyles : "Entferne Style-Definitionen",
DlgPasteCleanBox : "Inhalt aufräumen",
@@ -449,7 +452,7 @@ DlgDocMetaTab : "Metadaten",
DlgDocPageTitle : "Seitentitel",
DlgDocLangDir : "Schriftrichtung",
DlgDocLangDirLTR : "Links nach Rechts",
-DlgDocLangDirRTL : "rechts nach Links",
+DlgDocLangDirRTL : "Rechts nach Links",
DlgDocLangCode : "Sprachkürzel",
DlgDocCharSet : "Zeichenkodierung",
DlgDocCharSetCE : "Zentraleuropäisch",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Über",
DlgAboutBrowserInfoTab : "Browser-Info",
DlgAboutLicenseTab : "Lizenz",
DlgAboutVersion : "Version",
-DlgAboutLicense : "Lizensiert unter den Richtlinien der GNU Lesser General Public License",
DlgAboutInfo : "Für weitere Informationen siehe"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/el.js b/phpgwapi/js/fckeditor/editor/lang/el.js
index 91424195c4..90fefc48f2 100644
--- a/phpgwapi/js/fckeditor/editor/lang/el.js
+++ b/phpgwapi/js/fckeditor/editor/lang/el.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: el.js
- * Greek language file.
- *
- * File Authors:
- * Vangelis Bibakis (bibakisv[-a-t-]yahoo.com)
- * Spyros Barbatos (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Ιδιότητες πεδίου επιλογής",
TextareaProp : "Ιδιότητες περιοχής κειμένου",
FormProp : "Ιδιότητες φόρμας",
-FontFormats : "Κανονικό;Μορφοποιημένο;Διεύθυνση;Επικεφαλίδα 1;Επικεφαλίδα 2;Επικεφαλίδα 3;Επικεφαλίδα 4;Επικεφαλίδα 5;Επικεφαλίδα 6",
+FontFormats : "Κανονικό;Μορφοποιημένο;Διεύθυνση;Επικεφαλίδα 1;Επικεφαλίδα 2;Επικεφαλίδα 3;Επικεφαλίδα 4;Επικεφαλίδα 5;Επικεφαλίδα 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Επεξεργασία XHTML. Παρακαλώ περιμένετε...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Επιλέξτε μια άγκυρα",
DlgLnkAnchorByName : "Βάσει του Ονόματος (Name) της άγκυρας",
DlgLnkAnchorById : "Βάσει του Element Id",
-DlgLnkNoAnchors : "<Δεν υπάρχουν άγκυρες στο κείμενο>",
+DlgLnkNoAnchors : "<Δεν υπάρχουν άγκυρες στο κείμενο>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Διεύθυνση Ηλεκτρονικού Ταχυδρομείου",
DlgLnkEMailSubject : "Θέμα Μηνύματος",
DlgLnkEMailBody : "Κείμενο Μηνύματος",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Αντικατάσταση Όλων",
DlgReplaceWordChk : "Εύρεση πλήρους λέξης",
// Paste Operations / Dialog
-PasteErrorPaste : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία επικόλλησης. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+V).",
PasteErrorCut : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+X).",
PasteErrorCopy : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Επικόλληση ως Απλό Κείμενο",
PasteFromWord : "Επικόλληση από το Word",
DlgPasteMsg2 : "Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (Ctrl+V) και πατήστε OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Αγνόηση προδιαγραφών γραμματοσειράς",
DlgPasteRemoveStyles : "Αφαίρεση προδιαγραφών στύλ",
DlgPasteCleanBox : "Κουτί εκαθάρισης",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Σχετικά",
DlgAboutBrowserInfoTab : "Πληροφορίες Browser",
DlgAboutLicenseTab : "Άδεια",
DlgAboutVersion : "έκδοση",
-DlgAboutLicense : "Άδεια χρήσης υπό τους όρους της GNU Lesser General Public License",
DlgAboutInfo : "Για περισσότερες πληροφορίες"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/en-au.js b/phpgwapi/js/fckeditor/editor/lang/en-au.js
index 20767ead46..b6960b6b3a 100644
--- a/phpgwapi/js/fckeditor/editor/lang/en-au.js
+++ b/phpgwapi/js/fckeditor/editor/lang/en-au.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: en-au.js
- * English (Australia) language file.
- *
- * File Authors:
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- * Christopher Dawes (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Selection Field Properties",
TextareaProp : "Textarea Properties",
FormProp : "Form Properties",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Processing XHTML. Please wait...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Select an Anchor",
DlgLnkAnchorByName : "By Anchor Name",
DlgLnkAnchorById : "By Element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "(No anchors available in the document)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Address",
DlgLnkEMailSubject : "Message Subject",
DlgLnkEMailBody : "Message Body",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Replace All",
DlgReplaceWordChk : "Match whole word",
// Paste Operations / Dialog
-PasteErrorPaste : "Your browser security settings don't permit the editor to automatically execute pasting operations. Please use the keyboard for that (Ctrl+V).",
PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).",
PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Paste as Plain Text",
PasteFromWord : "Paste from Word",
DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.",
DlgPasteIgnoreFont : "Ignore Font Face definitions",
DlgPasteRemoveStyles : "Remove Styles definitions",
DlgPasteCleanBox : "Clean Up Box",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "About",
DlgAboutBrowserInfoTab : "Browser Info",
DlgAboutLicenseTab : "License",
DlgAboutVersion : "version",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "For further information go to"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/en-ca.js b/phpgwapi/js/fckeditor/editor/lang/en-ca.js
index c944ae9834..2900a9d356 100644
--- a/phpgwapi/js/fckeditor/editor/lang/en-ca.js
+++ b/phpgwapi/js/fckeditor/editor/lang/en-ca.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: en-ca.js
- * English (Canadian) language file.
- *
- * File Authors:
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- * 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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Selection Field Properties",
TextareaProp : "Textarea Properties",
FormProp : "Form Properties",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Processing XHTML. Please wait...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Select an Anchor",
DlgLnkAnchorByName : "By Anchor Name",
DlgLnkAnchorById : "By Element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "(No anchors available in the document)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Address",
DlgLnkEMailSubject : "Message Subject",
DlgLnkEMailBody : "Message Body",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Replace All",
DlgReplaceWordChk : "Match whole word",
// Paste Operations / Dialog
-PasteErrorPaste : "Your browser security settings don't permit the editor to automatically execute pasting operations. Please use the keyboard for that (Ctrl+V).",
PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).",
PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Paste as Plain Text",
PasteFromWord : "Paste from Word",
DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.",
DlgPasteIgnoreFont : "Ignore Font Face definitions",
DlgPasteRemoveStyles : "Remove Styles definitions",
DlgPasteCleanBox : "Clean Up Box",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "About",
DlgAboutBrowserInfoTab : "Browser Info",
DlgAboutLicenseTab : "License",
DlgAboutVersion : "version",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "For further information go to"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/en-uk.js b/phpgwapi/js/fckeditor/editor/lang/en-uk.js
index 182fd1e917..eaaf3e4c1a 100644
--- a/phpgwapi/js/fckeditor/editor/lang/en-uk.js
+++ b/phpgwapi/js/fckeditor/editor/lang/en-uk.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: en-uk.js
- * English (United Kingdom) language file.
- *
- * File Authors:
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- * Christopher Dawes (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Selection Field Properties",
TextareaProp : "Textarea Properties",
FormProp : "Form Properties",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Processing XHTML. Please wait...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Select an Anchor",
DlgLnkAnchorByName : "By Anchor Name",
DlgLnkAnchorById : "By Element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "(No anchors available in the document)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Address",
DlgLnkEMailSubject : "Message Subject",
DlgLnkEMailBody : "Message Body",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Replace All",
DlgReplaceWordChk : "Match whole word",
// Paste Operations / Dialog
-PasteErrorPaste : "Your browser security settings don't permit the editor to automatically execute pasting operations. Please use the keyboard for that (Ctrl+V).",
PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).",
PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Paste as Plain Text",
PasteFromWord : "Paste from Word",
DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.",
DlgPasteIgnoreFont : "Ignore Font Face definitions",
DlgPasteRemoveStyles : "Remove Styles definitions",
DlgPasteCleanBox : "Clean Up Box",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "About",
DlgAboutBrowserInfoTab : "Browser Info",
DlgAboutLicenseTab : "License",
DlgAboutVersion : "version",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "For further information go to"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/en.js b/phpgwapi/js/fckeditor/editor/lang/en.js
index 9ddff06550..c579fc9e3d 100644
--- a/phpgwapi/js/fckeditor/editor/lang/en.js
+++ b/phpgwapi/js/fckeditor/editor/lang/en.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: en.js
- * English language file.
- *
- * File Authors:
- * 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 ==
+ *
+ * English language file.
*/
var FCKLang =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Selection Field Properties",
TextareaProp : "Textarea Properties",
FormProp : "Form Properties",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Processing XHTML. Please wait...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Select an Anchor",
DlgLnkAnchorByName : "By Anchor Name",
DlgLnkAnchorById : "By Element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "(No anchors available in the document)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Address",
DlgLnkEMailSubject : "Message Subject",
DlgLnkEMailBody : "Message Body",
@@ -333,14 +337,14 @@ DlgReplaceReplAllBtn : "Replace All",
DlgReplaceWordChk : "Match whole word",
// Paste Operations / Dialog
-PasteErrorPaste : "Your browser security settings don't permit the editor to automatically execute pasting operations. Please use the keyboard for that (Ctrl+V).",
PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).",
PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).",
PasteAsText : "Paste as Plain Text",
PasteFromWord : "Paste from Word",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.",
+DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.",
DlgPasteIgnoreFont : "Ignore Font Face definitions",
DlgPasteRemoveStyles : "Remove Styles definitions",
DlgPasteCleanBox : "Clean Up Box",
@@ -486,7 +490,7 @@ DlgDocPreview : "Preview",
// Templates Dialog
Templates : "Templates",
DlgTemplatesTitle : "Content Templates",
-DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):",
+DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):",
DlgTemplatesLoading : "Loading templates list. Please wait...",
DlgTemplatesNoTpl : "(No templates defined)",
DlgTemplatesReplace : "Replace actual contents",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "About",
DlgAboutBrowserInfoTab : "Browser Info",
DlgAboutLicenseTab : "License",
DlgAboutVersion : "version",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "For further information go to"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/eo.js b/phpgwapi/js/fckeditor/editor/lang/eo.js
index b70c3e9a15..04f7364f0f 100644
--- a/phpgwapi/js/fckeditor/editor/lang/eo.js
+++ b/phpgwapi/js/fckeditor/editor/lang/eo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: eo.js
- * Esperanto language file.
- *
- * File Authors:
- * Tim Morley (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Atributoj de Elekta Kampo",
TextareaProp : "Atributoj de Teksta Areo",
FormProp : "Formularaj Atributoj",
-FontFormats : "Normala;Formatita;Adreso;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)",
+FontFormats : "Normala;Formatita;Adreso;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Traktado de XHTML. Bonvolu pacienci...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Elekti Ankron",
DlgLnkAnchorByName : "Per Ankronomo",
DlgLnkAnchorById : "Per Elementidentigilo",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Retadreso",
DlgLnkEMailSubject : "Temlinio",
DlgLnkEMailBody : "Mesaĝa korpo",
@@ -333,14 +337,14 @@ DlgReplaceReplAllBtn : "Anstataŭigi Ĉiun",
DlgReplaceWordChk : "Tuta Vorto",
// Paste Operations / Dialog
-PasteErrorPaste : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras intergluajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-V).",
PasteErrorCut : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-X).",
PasteErrorCopy : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-C).",
PasteAsText : "Interglui kiel Tekston",
PasteFromWord : "Interglui el Word",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING
DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING
DlgPasteCleanBox : "Clean Up Box", //MISSING
@@ -486,7 +490,7 @@ DlgDocPreview : "Aspekto",
// Templates Dialog
Templates : "Templates", //MISSING
DlgTemplatesTitle : "Content Templates", //MISSING
-DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
+DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING
DlgTemplatesNoTpl : "(No templates defined)", //MISSING
DlgTemplatesReplace : "Replace actual contents", //MISSING
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Pri",
DlgAboutBrowserInfoTab : "Informoj pri TTT-legilo",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "versio",
-DlgAboutLicense : "Disdonata laŭ la GNU Lesser General Public License",
DlgAboutInfo : "Por pli da informoj, vizitu"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/es.js b/phpgwapi/js/fckeditor/editor/lang/es.js
index 7adef7d482..cfed8085cb 100644
--- a/phpgwapi/js/fckeditor/editor/lang/es.js
+++ b/phpgwapi/js/fckeditor/editor/lang/es.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: es.js
- * Spanish language file.
- *
- * File Authors:
- * Gabriel Schillaci (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Propiedades de Campo de Selección",
TextareaProp : "Propiedades de Area de Texto",
FormProp : "Propiedades de Formulario",
-FontFormats : "Normal;Con formato;Dirección;Encabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Normal (DIV)",
+FontFormats : "Normal;Con formato;Dirección;Encabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Procesando XHTML. Por favor, espere...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Seleccionar una referencia",
DlgLnkAnchorByName : "Por Nombre de Referencia",
DlgLnkAnchorById : "Por ID de elemento",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Dirección de E-Mail",
DlgLnkEMailSubject : "Título del Mensaje",
DlgLnkEMailBody : "Cuerpo del Mensaje",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Reemplazar Todo",
DlgReplaceWordChk : "Coincidir toda la palabra",
// Paste Operations / Dialog
-PasteErrorPaste : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de pegado. Por favor use el teclado (Ctrl+V).",
PasteErrorCut : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado. Por favor use el teclado (Ctrl+X).",
PasteErrorCopy : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado. Por favor use el teclado (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Pegar como Texto Plano",
PasteFromWord : "Pegar desde Word",
DlgPasteMsg2 : "Por favor pegue dentro del cuadro utilizando el teclado (Ctrl+V); luego presione OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorar definiciones de fuentes",
DlgPasteRemoveStyles : "Remover definiciones de estilo",
DlgPasteCleanBox : "Borrar el contenido del cuadro",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Acerca de",
DlgAboutBrowserInfoTab : "Información de Navegador",
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"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/et.js b/phpgwapi/js/fckeditor/editor/lang/et.js
index a8936c8f78..8073cb73b6 100644
--- a/phpgwapi/js/fckeditor/editor/lang/et.js
+++ b/phpgwapi/js/fckeditor/editor/lang/et.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: et.js
- * Estonian language file.
- *
- * File Authors:
- * Kristjan Kivikangur (kristjan@ttrk.ee)
- * 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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Valiklahtri omadused",
TextareaProp : "Tekstiala omadused",
FormProp : "Vormi omadused",
-FontFormats : "Tavaline;Vormindatud;Aadress;Pealkiri 1;Pealkiri 2;Pealkiri 3;Pealkiri 4;Pealkiri 5;Pealkiri 6",
+FontFormats : "Tavaline;Vormindatud;Aadress;Pealkiri 1;Pealkiri 2;Pealkiri 3;Pealkiri 4;Pealkiri 5;Pealkiri 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Töötlen XHTML. Palun oota...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Vali ankur",
DlgLnkAnchorByName : "Ankru nime järgi",
DlgLnkAnchorById : "Elemendi id järgi",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-posti aadress",
DlgLnkEMailSubject : "Sõnumi teema",
DlgLnkEMailBody : "Sõnumi tekst",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Asenda kõik",
DlgReplaceWordChk : "Otsi terviklike sõnu",
// Paste Operations / Dialog
-PasteErrorPaste : "Sinu interneti sirvija turvaseaded ei luba redaktoril automaatselt kleepida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+V).",
PasteErrorCut : "Sinu interneti sirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+X).",
PasteErrorCopy : "Sinu interneti sirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Kleebi tavalise tekstina",
PasteFromWord : "Kleebi Wordist",
DlgPasteMsg2 : "Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (Ctrl+V) ja vajuta seejärel OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignoreeri kirja definitsioone",
DlgPasteRemoveStyles : "Eemalda stiilide definitsioonid",
DlgPasteCleanBox : "Puhasta ära kast",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Teave",
DlgAboutBrowserInfoTab : "Interneti sirvija info",
DlgAboutLicenseTab : "Litsents",
DlgAboutVersion : "versioon",
-DlgAboutLicense : "Litsenseeritud GNU Lesser General Public License litsentsiga",
DlgAboutInfo : "Täpsema info saamiseks mine"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/eu.js b/phpgwapi/js/fckeditor/editor/lang/eu.js
index 4d73dd2fa8..266d427b8e 100644
--- a/phpgwapi/js/fckeditor/editor/lang/eu.js
+++ b/phpgwapi/js/fckeditor/editor/lang/eu.js
@@ -1,21 +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?"
- *
- * File Name: eu.js
- * Basque language file.
- * Euskara hizkuntza fitxategia.
- *
- * File Authors:
- * Ibon Igartua (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 =
@@ -131,7 +135,7 @@ SelectionFieldProp : "Hautespen Eremuaren Ezaugarriak",
TextareaProp : "Testu-arearen Ezaugarriak",
FormProp : "Formularioaren Ezaugarriak",
-FontFormats : "Arrunta;Formateatua;Helbidea;Izenburua 1;Izenburua 2;Izenburua 3;Izenburua 4;Izenburua 5;Izenburua 6;Paragrafoa (DIV)",
+FontFormats : "Arrunta;Formateatua;Helbidea;Izenburua 1;Izenburua 2;Izenburua 3;Izenburua 4;Izenburua 5;Izenburua 6;Paragrafoa (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML Prozesatzen. Itxaron mesedez...",
@@ -226,7 +230,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Aingura bat hautatu",
DlgLnkAnchorByName : "Aingura izenagatik",
DlgLnkAnchorById : "Elementuaren ID-gatik",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "ePosta Helbidea",
DlgLnkEMailSubject : "Mezuaren Gaia",
DlgLnkEMailBody : "Mezuaren Gorputza",
@@ -334,7 +338,6 @@ DlgReplaceReplAllBtn : "Ordeztu Guztiak",
DlgReplaceWordChk : "Esaldi osoa bilatu",
// Paste Operations / Dialog
-PasteErrorPaste : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki itsastea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+V).",
PasteErrorCut : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki moztea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+X).",
PasteErrorCopy : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki kopiatzea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+C).",
@@ -342,6 +345,7 @@ PasteAsText : "Testu Arrunta bezala Itsatsi",
PasteFromWord : "Word-etik itsatsi",
DlgPasteMsg2 : "Mesedez teklatua erabilita (Ctrl+V) ondorego eremuan testua itsatsi eta OK sakatu.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Letra Motaren definizioa ezikusi",
DlgPasteRemoveStyles : "Estilo definizioak kendu",
DlgPasteCleanBox : "Testu-eremua Garbitu",
@@ -497,6 +501,5 @@ DlgAboutAboutTab : "Honi buruz",
DlgAboutBrowserInfoTab : "Nabigatzailearen Informazioa",
DlgAboutLicenseTab : "Lizentzia",
DlgAboutVersion : "bertsioa",
-DlgAboutLicense : "GNU Lesser General Public License Lizentziapean",
DlgAboutInfo : "Informazio gehiago eskuratzeko hona joan"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/fa.js b/phpgwapi/js/fckeditor/editor/lang/fa.js
index f249c5dcd6..588a52015f 100644
--- a/phpgwapi/js/fckeditor/editor/lang/fa.js
+++ b/phpgwapi/js/fckeditor/editor/lang/fa.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fa.js
- * Persian language file.
- *
- * File Authors:
- * Hamed Taj-Abadi (hamed@ranginkaman.com)
- * Pooyan Mahdavi (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "ویژگیهای فیلد چندگزینهای",
TextareaProp : "ویژگیهای ناحیهٴ متنی",
FormProp : "ویژگیهای فرم",
-FontFormats : "نرمال;فرمتشده;آدرس;سرنویس 1;سرنویس 2;سرنویس 3;سرنویس 4;سرنویس 5;سرنویس 6;بند;(DIV)",
+FontFormats : "نرمال;فرمتشده;آدرس;سرنویس 1;سرنویس 2;سرنویس 3;سرنویس 4;سرنویس 5;سرنویس 6;بند;(DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "پردازش XHTML. لطفا صبر کنید...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "یک لنگر برگزینید",
DlgLnkAnchorByName : "با نام لنگر",
DlgLnkAnchorById : "با شناسهٴ المان",
-DlgLnkNoAnchors : "<در این سند لنگری دردسترس نیست>",
+DlgLnkNoAnchors : "<در این سند لنگری دردسترس نیست>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "نشانی پست الکترونیکی",
DlgLnkEMailSubject : "موضوع پیام",
DlgLnkEMailBody : "متن پیام",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "موقعیت ِبالا",
DlnLnkMsgNoUrl : "لطفا URL پیوند را بنویسید",
DlnLnkMsgNoEMail : "لطفا نشانی پست الکترونیکی را بنویسید",
DlnLnkMsgNoAnchor : "لطفا لنگری را برگزینید",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "نام پنجرهٴ پاپاپ باید با یک نویسهٴ الفبایی آغاز گردد و نباید فاصلههای خالی در آن باشند",
// Color Dialog
DlgColorTitle : "گزینش رنگ",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "جایگزینی همهٴ یافتهها",
DlgReplaceWordChk : "همسانی با واژهٴ کامل",
// Paste Operations / Dialog
-PasteErrorPaste : "تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای چسباندن را انجام دهد. لطفا با دکمههای صفحهکلید این کار را انجام دهید (Ctrl+V).",
PasteErrorCut : "تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحهکلید این کار را انجام دهید (Ctrl+X).",
PasteErrorCopy : "تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپیکردن را انجام دهد. لطفا با دکمههای صفحهکلید این کار را انجام دهید (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "چسباندن به عنوان متن ِساده",
PasteFromWord : "چسباندن از Word",
DlgPasteMsg2 : "لطفا متن را با کلیدهای (Ctrl+V) در این جعبهٴ متنی بچسبانید و پذیرش را بزنید.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "چشمپوشی از تعاریف نوع قلم",
DlgPasteRemoveStyles : "چشمپوشی از تعاریف سبک (style)",
DlgPasteCleanBox : "پاککردن ناحیه",
@@ -378,9 +381,9 @@ IeSpellDownload : "بررسیکنندهٴ املا نصب نشده است.
// Button Dialog
DlgButtonText : "متن (مقدار)",
DlgButtonType : "نوع",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "دکمه",
+DlgButtonTypeSbm : "Submit",
+DlgButtonTypeRst : "بازنشانی (Reset)",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "نام",
@@ -429,7 +432,7 @@ DlgHiddenValue : "مقدار",
// Bulleted List Dialog
BulletedListProp : "ویژگیهای فهرست نقطهای",
NumberedListProp : "ویژگیهای فهرست شمارهدار",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "آغاز",
DlgLstType : "نوع",
DlgLstTypeCircle : "دایره",
DlgLstTypeDisc : "قرص",
@@ -452,15 +455,15 @@ DlgDocLangDirLTR : "چپ به راست (LTR(",
DlgDocLangDirRTL : "راست به چپ (RTL(",
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
+DlgDocCharSetCE : "اروپای مرکزی",
+DlgDocCharSetCT : "چینی رسمی (Big5)",
+DlgDocCharSetCR : "سیریلیک",
+DlgDocCharSetGR : "یونانی",
+DlgDocCharSetJP : "ژاپنی",
+DlgDocCharSetKR : "کرهای",
+DlgDocCharSetTR : "ترکی",
+DlgDocCharSetUN : "یونیکُد (UTF-8)",
+DlgDocCharSetWE : "اروپای غربی",
DlgDocCharSetOther : "رمزگذاری نویسهگان دیگر",
DlgDocDocType : "عنوان نوع سند",
@@ -487,16 +490,15 @@ DlgDocPreview : "پیشنمایش",
// Templates Dialog
Templates : "الگوها",
DlgTemplatesTitle : "الگوهای محتویات",
-DlgTemplatesSelMsg : "لطفا الگوی موردنظر را برای بازکردن در ویرایشگر برگزینید (محتویات اصلی از دست خواهند رفت):",
+DlgTemplatesSelMsg : "لطفا الگوی موردنظر را برای بازکردن در ویرایشگر برگزینید (محتویات کنونی از دست خواهند رفت):",
DlgTemplatesLoading : "بارگذاری فهرست الگوها. لطفا صبر کنید...",
DlgTemplatesNoTpl : "(الگوئی تعریف نشده است)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "محتویات کنونی جایگزین شوند",
// About Dialog
DlgAboutAboutTab : "درباره",
DlgAboutBrowserInfoTab : "اطلاعات مرورگر",
DlgAboutLicenseTab : "گواهینامه",
DlgAboutVersion : "نگارش",
-DlgAboutLicense : "لیسانس برپایهٴبندهای آییننامهٴ GNU Lesser General Public License",
DlgAboutInfo : "برای آگاهی بیشتر به این نشانی بروید"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/fi.js b/phpgwapi/js/fckeditor/editor/lang/fi.js
index 175c6e2241..282cfaf839 100644
--- a/phpgwapi/js/fckeditor/editor/lang/fi.js
+++ b/phpgwapi/js/fckeditor/editor/lang/fi.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fi.js
- * Finnish language file.
- *
- * File Authors:
- * Marko Korhonen (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Valintakentän ominaisuudet",
TextareaProp : "Tekstilaatikon ominaisuudet",
FormProp : "Lomakkeen ominaisuudet",
-FontFormats : "Normaali;Muotoiltu;Osoite;Otsikko 1;Otsikko 2;Otsikko 3;Otsikko 4;Otsikko 5;Otsikko 6",
+FontFormats : "Normaali;Muotoiltu;Osoite;Otsikko 1;Otsikko 2;Otsikko 3;Otsikko 4;Otsikko 5;Otsikko 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Prosessoidaan XHTML:ää. Odota hetki...",
@@ -225,7 +229,7 @@ DlgLnkURL : "Osoite",
DlgLnkAnchorSel : "Valitse ankkuri",
DlgLnkAnchorByName : "Ankkurin nimen mukaan",
DlgLnkAnchorById : "Ankkurin ID:n mukaan",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Sähköpostiosoite",
DlgLnkEMailSubject : "Aihe",
DlgLnkEMailBody : "Viesti",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Korvaa kaikki",
DlgReplaceWordChk : "Koko sana",
// Paste Operations / Dialog
-PasteErrorPaste : "Selaimesi turva-asetukset eivät salli editorin toteuttaa liittämistä. Käytä näppäimistöä liittämiseen (Ctrl+V).",
PasteErrorCut : "Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).",
PasteErrorCopy : "Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Liitä tekstinä",
PasteFromWord : "Liitä Wordista",
DlgPasteMsg2 : "Liitä painamalla (Ctrl+V) ja painamalla OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Jätä huomioimatta fonttimääritykset",
DlgPasteRemoveStyles : "Poista tyylimääritykset",
DlgPasteCleanBox : "Tyhjennä",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Editorista",
DlgAboutBrowserInfoTab : "Selaimen tiedot",
DlgAboutLicenseTab : "Lisenssi",
DlgAboutVersion : "versio",
-DlgAboutLicense : "Lisenssi: GNU Lesser General Public License",
DlgAboutInfo : "Lisää tietoa osoitteesta"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/fo.js b/phpgwapi/js/fckeditor/editor/lang/fo.js
index fd493d315c..830c43eea1 100644
--- a/phpgwapi/js/fckeditor/editor/lang/fo.js
+++ b/phpgwapi/js/fckeditor/editor/lang/fo.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fo.js
- * Faroese language file.
- *
- * File Authors:
- * Símin Lassaberg
- * 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 =
@@ -23,417 +26,417 @@ var FCKLang =
// Language direction : "ltr" (left to right) or "rtl" (right to left).
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
+Replace : "Yvirskriva",
+SpellCheck : "Kanna stavseting",
+UniversalKeyboard : "Knappaborð",
+PageBreakLbl : "Síðuskift",
+PageBreak : "Ger síðuskift",
-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",
+Form : "Formur",
+Checkbox : "Flugubein",
+RadioButton : "Radioknøttur",
+TextField : "Tekstteigur",
+Textarea : "Tekstumráði",
+HiddenField : "Fjaldur teigur",
+Button : "Knøttur",
+SelectionField : "Valskrá",
+ImageButton : "Myndaknøttur",
-FitWindow : "Maximize the editor size", //MISSING
+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
+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 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",
+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 : "Normalt;Sniðgevið;Adressa;Yvirskrift 1;Yvirskrift 2;Yvirskrift 3;Yvirskrift 4;Yvirskrift 5;Yvirskrift 6",
+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 : "",
-DlgInfoTab : "Info", //MISSING
-DlgAlertUrl : "Please insert the URL", //MISSING
+DlgInfoTab : "Upplýsingar",
+DlgAlertUrl : "Vinarliga veit ein URL",
// General Dialogs Labels
DlgGenNotSet : "",
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 : "",
+DlgLnkProtoOther : "",
DlgLnkURL : "URL",
-DlgLnkAnchorSel : "VEl eitt akker",
-DlgLnkAnchorByName : "Eftir akker navni",
+DlgLnkAnchorSel : "Vel ein marknastein",
+DlgLnkAnchorByName : "Eftir navni á marknasteini",
DlgLnkAnchorById : "Eftir element Id",
-DlgLnkNoAnchors : " 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 : "",
DlgLnkTargetPopup : "",
-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",
+DlgLnkPopLeft : "Frástøða frá vinstru",
+DlgLnkPopTop : "Frástøða frá íerva",
-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
+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 : "",
-DlgTableAlignLeft : "Vinstrastilla",
-DlgTableAlignCenter : "Miðseta",
-DlgTableAlignRight : "Høgrastilla",
+DlgTableAlignNotSet : "",
+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 : "",
+DlgCellWordWrap : "Orðkloyving",
+DlgCellWordWrapNotSet : "",
DlgCellWordWrapYes : "Ja",
-DlgCellWordWrapNo : "Nej",
-DlgCellHorAlign : "Horisontal justering",
-DlgCellHorAlignNotSet : "",
-DlgCellHorAlignLeft : "Vinstrastilla",
+DlgCellWordWrapNo : "Nei",
+DlgCellHorAlign : "Vatnrøtt justering",
+DlgCellHorAlignNotSet : "",
+DlgCellHorAlignLeft : "Vinstrasett",
DlgCellHorAlignCenter : "Miðsett",
-DlgCellHorAlignRight: "Høgrastilla",
-DlgCellVerAlign : "Lodrøtt Justering",
+DlgCellHorAlignRight: "Høgrasett",
+DlgCellVerAlign : "Lodrøtt justering",
DlgCellVerAlignNotSet : "",
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...",
// Find Dialog
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).",
+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 : "Seta inn som reinur tekstur",
-PasteFromWord : "Seta inn fra Word",
+PasteAsText : "Innrita som reinan tekst",
+PasteFromWord : "Innrita fra Word",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
-DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING
-DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING
-DlgPasteCleanBox : "Clean Up Box", //MISSING
+DlgPasteMsg2 : "Vinarliga koyr tekstin í hendan rútin við knappaborðinum (CTRL+V) og klikk á Góðtak.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
+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",
+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 : "Stavarin ikki lagdur inn. vilt tú heinta hann nú?",
+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",
// Select Field Dialog
DlgSelectName : "Navn",
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",
DlgSelectBtnAdd : "Legg afturat",
DlgSelectBtnModify : "Broyt",
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
DlgHiddenName : "Navn",
DlgHiddenValue : "Virði",
// 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)",
DlgLstTypeUCase : "Stórir bókstavir (A, B, C)",
@@ -443,60 +446,59 @@ DlgLstTypeLRoman : "Stór rómaratøl (I, II, III)",
// Document Properties Dialog
DlgDocGeneralTab : "Generelt",
DlgDocBackTab : "Bakgrund",
-DlgDocColorsTab : "Farva og Breddin",
-DlgDocMetaTab : "Meta Information",
+DlgDocColorsTab : "Litir og breddar",
+DlgDocMetaTab : "META-upplýsingar",
-DlgDocPageTitle : "Síðu heiti",
-DlgDocLangDir : "Mál",
+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",
+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 : "Dokument slag kategori",
-DlgDocDocTypeOther : "Annað dokument slag kategori",
-DlgDocIncXHTML : "Inkludere XHTML deklartion",
-DlgDocBgColor : "Bakgrundsfarva",
-DlgDocBgImage : "Bakgrundsmynd URL",
-DlgDocBgNoScroll : "Ikki scrollbar bakgrund",
+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 (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 (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"
-}
\ No newline at end of file
+DlgAboutBrowserInfoTab : "Upplýsingar um alnótskagan",
+DlgAboutLicenseTab : "License",
+DlgAboutVersion : "version",
+DlgAboutInfo : "Fyri fleiri upplýsingar, far til"
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/fr.js b/phpgwapi/js/fckeditor/editor/lang/fr.js
index a6509455a5..6d46fa0fc0 100644
--- a/phpgwapi/js/fckeditor/editor/lang/fr.js
+++ b/phpgwapi/js/fckeditor/editor/lang/fr.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fr.js
- * French language file.
- *
- * File Authors:
- * Hubert Garrido (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Propriétés de la liste/du menu",
TextareaProp : "Propriétés de la zone de texte",
FormProp : "Propriétés du formulaire",
-FontFormats : "Normal;Formaté;Adresse;En-tête 1;En-tête 2;En-tête 3;En-tête 4;En-tête 5;En-tête 6;Normal (DIV)",
+FontFormats : "Normal;Formaté;Adresse;En-tête 1;En-tête 2;En-tête 3;En-tête 4;En-tête 5;En-tête 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Calcul XHTML. Veuillez patienter...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Sélectionner une ancre",
DlgLnkAnchorByName : "Par nom",
DlgLnkAnchorById : "Par id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Adresse E-Mail",
DlgLnkEMailSubject : "Sujet du message",
DlgLnkEMailBody : "Corps du message",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Tout remplacer",
DlgReplaceWordChk : "Mot entier",
// Paste Operations / Dialog
-PasteErrorPaste : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de coller automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+V).",
PasteErrorCut : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+X).",
PasteErrorCopy : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Coller comme texte",
PasteFromWord : "Coller à partir de Word",
DlgPasteMsg2 : "Veuillez coller dans la zone ci-dessous en utilisant le clavier (Ctrl+V) et cliquez sur OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorer les polices de caractères",
DlgPasteRemoveStyles : "Supprimer les styles",
DlgPasteCleanBox : "Effacer le contenu",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "A propos de",
DlgAboutBrowserInfoTab : "Navigateur",
DlgAboutLicenseTab : "License",
DlgAboutVersion : "version",
-DlgAboutLicense : "License selon les termes de GNU Lesser General Public License",
DlgAboutInfo : "Pour plus d'informations, aller à"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/gl.js b/phpgwapi/js/fckeditor/editor/lang/gl.js
index daa654bb50..238d108a01 100644
--- a/phpgwapi/js/fckeditor/editor/lang/gl.js
+++ b/phpgwapi/js/fckeditor/editor/lang/gl.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: gl.js
- * Galician language file.
- *
- * File Authors:
- * Fernando Riveiro Lopez
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Propriedades do Campo de Selección",
TextareaProp : "Propriedades da Área de Texto",
FormProp : "Propriedades do Formulario",
-FontFormats : "Normal;Formateado;Enderezo;Enacabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Paragraph (DIV)",
+FontFormats : "Normal;Formateado;Enderezo;Enacabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Paragraph (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Procesando XHTML. Por facor, agarde...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Seleccionar unha Referencia",
DlgLnkAnchorByName : "Por Nome de Referencia",
DlgLnkAnchorById : "Por Element Id",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Enderezo de E-Mail",
DlgLnkEMailSubject : "Asunto do Mensaxe",
DlgLnkEMailBody : "Corpo do Mensaxe",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Substitiur Todo",
DlgReplaceWordChk : "Coincidir con toda a palabra",
// Paste Operations / Dialog
-PasteErrorPaste : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de pegado. Por favor, use o teclado para iso (Ctrl+V).",
PasteErrorCut : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de corte. Por favor, use o teclado para iso (Ctrl+X).",
PasteErrorCopy : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de copia. Por favor, use o teclado para iso (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Pegar como texto plano",
PasteFromWord : "Pegar dende Word",
DlgPasteMsg2 : "Por favor, pegue dentro do seguinte cadro usando o teclado (Ctrl+V) e pulse OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorar as definicións de Tipografía",
DlgPasteRemoveStyles : "Eliminar as definicións de Estilos",
DlgPasteCleanBox : "Limpar o Cadro",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Acerca de",
DlgAboutBrowserInfoTab : "Información do Navegador",
DlgAboutLicenseTab : "Licencia",
DlgAboutVersion : "versión",
-DlgAboutLicense : "Licencia concedida baixo os termos da GNU Lesser General Public License",
DlgAboutInfo : "Para máis información visitar:"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/he.js b/phpgwapi/js/fckeditor/editor/lang/he.js
index c91f4e7b00..d4514e1796 100644
--- a/phpgwapi/js/fckeditor/editor/lang/he.js
+++ b/phpgwapi/js/fckeditor/editor/lang/he.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: he.js
- * Hebrew language file.
- *
- * File Authors:
- * Tamir Mordo (tamir@tetitu.co.il)
- * Ophir Radnitz (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "מאפייני שדה בחירה",
TextareaProp : "מאפיני איזור טקסט",
FormProp : "מאפיני טופס",
-FontFormats : "נורמלי;קוד;כתובת;כותרת;כותרת 2;כותרת 3;כותרת 4;כותרת 5;כותרת 6",
+FontFormats : "נורמלי;קוד;כתובת;כותרת;כותרת 2;כותרת 3;כותרת 4;כותרת 5;כותרת 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "מעבד XHTML, נא להמתין...",
@@ -226,7 +229,7 @@ DlgLnkURL : "כתובת (URL)",
DlgLnkAnchorSel : "בחירת עוגן",
DlgLnkAnchorByName : "עפ''י שם העוגן",
DlgLnkAnchorById : "עפ''י זיהוי (Id) הרכיב",
-DlgLnkNoAnchors : "<אין עוגנים זמינים בדף>",
+DlgLnkNoAnchors : "<אין עוגנים זמינים בדף>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "כתובת הדוא''ל",
DlgLnkEMailSubject : "נושא ההודעה",
DlgLnkEMailBody : "גוף ההודעה",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "מיקום צד עליון",
DlnLnkMsgNoUrl : "נא להקליד את כתובת הקישור (URL)",
DlnLnkMsgNoEMail : "נא להקליד את כתובת הדוא''ל",
DlnLnkMsgNoAnchor : "נא לבחור עוגן במסמך",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "שם החלון הקופץ חייב להתחיל באותיות ואסור לכלול רווחים",
// Color Dialog
DlgColorTitle : "בחירת צבע",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "החלפה בכל העמוד",
DlgReplaceWordChk : "התאמה למילה המלאה",
// Paste Operations / Dialog
-PasteErrorPaste : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות הדבקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+V).",
PasteErrorCut : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+X).",
PasteErrorCopy : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "הדבקה כטקסט פשוט",
PasteFromWord : "הדבקה מ-וורד",
DlgPasteMsg2 : "אנא הדבק בתוך הקופסה באמצעות (Ctrl+V) ולחץ על אישור.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "התעלם מהגדרות סוג פונט",
DlgPasteRemoveStyles : "הסר הגדרות סגנון",
DlgPasteCleanBox : "ניקוי קופסה",
@@ -378,9 +381,9 @@ IeSpellDownload : "בודק האיות לא מותקן, האם אתה מעונ
// Button Dialog
DlgButtonText : "טקסט (ערך)",
DlgButtonType : "סוג",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "כפתור",
+DlgButtonTypeSbm : "שלח",
+DlgButtonTypeRst : "אפס",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "שם",
@@ -429,7 +432,7 @@ DlgHiddenValue : "ערך",
// Bulleted List Dialog
BulletedListProp : "מאפייני רשימה",
NumberedListProp : "מאפייני רשימה ממוספרת",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "התחלה",
DlgLstType : "סוג",
DlgLstTypeCircle : "עיגול",
DlgLstTypeDisc : "דיסק",
@@ -452,15 +455,15 @@ DlgDocLangDirLTR : "שמאל לימין (LTR)",
DlgDocLangDirRTL : "ימין לשמאל (RTL)",
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
+DlgDocCharSetCE : "מרכז אירופה",
+DlgDocCharSetCT : "סיני מסורתי (Big5)",
+DlgDocCharSetCR : "קירילי",
+DlgDocCharSetGR : "יוונית",
+DlgDocCharSetJP : "יפנית",
+DlgDocCharSetKR : "קוראנית",
+DlgDocCharSetTR : "טורקית",
+DlgDocCharSetUN : "יוני קוד (UTF-8)",
+DlgDocCharSetWE : "מערב אירופה",
DlgDocCharSetOther : "קידוד אותיות אחר",
DlgDocDocType : "הגדרות סוג מסמך",
@@ -490,13 +493,12 @@ DlgTemplatesTitle : "תביות תוכן",
DlgTemplatesSelMsg : "אנא בחר תבנית לפתיחה בעורך התוכן המקורי ימחק:",
DlgTemplatesLoading : "מעלה רשימת תבניות אנא המתן",
DlgTemplatesNoTpl : "(לא הוגדרו תבניות)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "החלפת תוכן ממשי",
// About Dialog
DlgAboutAboutTab : "אודות",
DlgAboutBrowserInfoTab : "גירסת דפדפן",
DlgAboutLicenseTab : "רשיון",
DlgAboutVersion : "גירסא",
-DlgAboutLicense : "ברשיון תחת תנאי GNU Lesser General Public License",
DlgAboutInfo : "מידע נוסף ניתן למצוא כאן:"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/hi.js b/phpgwapi/js/fckeditor/editor/lang/hi.js
index cb2d7555c3..fdc5e39e57 100644
--- a/phpgwapi/js/fckeditor/editor/lang/hi.js
+++ b/phpgwapi/js/fckeditor/editor/lang/hi.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: hi.js
- * Hindi language file.
- *
- * File Authors:
- * Utkarshraj Atmaram (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "चुनाव फ़ील्ड प्रॉपर्ट
TextareaProp : "टेक्स्त एरिया प्रॉपर्टीज़",
FormProp : "फ़ॉर्म प्रॉपर्टीज़",
-FontFormats : "साधारण;फ़ॉर्मैटॅड;पता;शीर्षक 1;शीर्षक 2;शीर्षक 3;शीर्षक 4;शीर्षक 5;शीर्षक 6;शीर्षक (DIV)",
+FontFormats : "साधारण;फ़ॉर्मैटॅड;पता;शीर्षक 1;शीर्षक 2;शीर्षक 3;शीर्षक 4;शीर्षक 5;शीर्षक 6;शीर्षक (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML प्रोसॅस हो रहा है। ज़रा ठहरें...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "ऐंकर चुनें",
DlgLnkAnchorByName : "ऐंकर नाम से",
DlgLnkAnchorById : "ऍलीमॅन्ट Id से",
-DlgLnkNoAnchors : "<डॉक्यूमॅन्ट में ऐंकर्स की संख्या>",
+DlgLnkNoAnchors : "<डॉक्यूमॅन्ट में ऐंकर्स की संख्या>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "ई-मेल पता",
DlgLnkEMailSubject : "संदेश विषय",
DlgLnkEMailBody : "संदेश",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "सभी रिप्लेस करें",
DlgReplaceWordChk : "पूरा शब्द मिलायें",
// Paste Operations / Dialog
-PasteErrorPaste : "आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने पेस्ट करने की अनुमति नहीं प्रदान की है। (Ctrl+V) का प्रयोग करें।",
PasteErrorCut : "आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl+X) का प्रयोग करें।",
PasteErrorCopy : "आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl+C) का प्रयोग करें।",
@@ -341,6 +344,7 @@ PasteAsText : "पेस्ट (सादा टॅक्स्ट)",
PasteFromWord : "पेस्ट (वर्ड से)",
DlgPasteMsg2 : "Ctrl+V का प्रयोग करके पेस्ट करें और ठीक है करें.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "फ़ॉन्ट परिभाषा निकालें",
DlgPasteRemoveStyles : "स्टाइल परिभाषा निकालें",
DlgPasteCleanBox : "बॉक्स साफ़ करें",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "FCKEditor के बारे में",
DlgAboutBrowserInfoTab : "ब्राउज़र के बारे में",
DlgAboutLicenseTab : "लाइसैन्स",
DlgAboutVersion : "वर्ज़न",
-DlgAboutLicense : "लाइसेंस :GNU LGPL",
DlgAboutInfo : "अधिक जानकारी के लिये यहाँ जायें:"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/hr.js b/phpgwapi/js/fckeditor/editor/lang/hr.js
index e24368e55a..f088b1063c 100644
--- a/phpgwapi/js/fckeditor/editor/lang/hr.js
+++ b/phpgwapi/js/fckeditor/editor/lang/hr.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: hr.js
- * Croatian language file.
- *
- * File Authors:
- * Alex Varga (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Selection svojstva",
TextareaProp : "Textarea svojstva",
FormProp : "Form svojstva",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Obrađujem XHTML. Molimo pričekajte...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Odaberi sidro",
DlgLnkAnchorByName : "Po nazivu sidra",
DlgLnkAnchorById : "Po Id elementa",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail adresa",
DlgLnkEMailSubject : "Naslov",
DlgLnkEMailBody : "Sadržaj poruke",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Zamijeni sve",
DlgReplaceWordChk : "Usporedi cijele riječi",
// Paste Operations / Dialog
-PasteErrorPaste : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog ljepljenja. Molimo koristite kraticu na tipkovnici (Ctrl+V).",
PasteErrorCut : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl+X).",
PasteErrorCopy : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Zalijepi kao čisti tekst",
PasteFromWord : "Zalijepi iz Worda",
DlgPasteMsg2 : "Molimo zaljepite unutar doljnjeg okvira koristeći tipkovnicu (Ctrl+V) i kliknite OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Zanemari definiciju vrste fonta",
DlgPasteRemoveStyles : "Ukloni definicije stilova",
DlgPasteCleanBox : "Očisti okvir",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "O FCKEditoru",
DlgAboutBrowserInfoTab : "Podaci o pretraživaču",
DlgAboutLicenseTab : "Licenca",
DlgAboutVersion : "inačica",
-DlgAboutLicense : "Licencirano pod uvjetima GNU Lesser General Public License",
DlgAboutInfo : "Za više informacija posjetite"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/hu.js b/phpgwapi/js/fckeditor/editor/lang/hu.js
index d3f1e1a140..73b912c82a 100644
--- a/phpgwapi/js/fckeditor/editor/lang/hu.js
+++ b/phpgwapi/js/fckeditor/editor/lang/hu.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: hu.js
- * Hungarian language file.
- *
- * File Authors:
- * Varga Zsolt (meridian@netteszt.hu)
- * Géza Szűcs (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Legördülő lista tulajdonságai",
TextareaProp : "Szövegterület tulajdonságai",
FormProp : "Űrlap tulajdonságai",
-FontFormats : "Normál;Formázott;Címsor;Fejléc 1;Fejléc 2;Fejléc 3;Fejléc 4;Fejléc 5;Fejléc 6;Bekezdés (DIV)",
+FontFormats : "Normál;Formázott;Címsor;Fejléc 1;Fejléc 2;Fejléc 3;Fejléc 4;Fejléc 5;Fejléc 6;Bekezdés (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML feldolgozása. Kérem várjon...",
@@ -226,7 +229,7 @@ DlgLnkURL : "Webcím",
DlgLnkAnchorSel : "Horgony választása",
DlgLnkAnchorByName : "Horgony név szerint",
DlgLnkAnchorById : "Azonosító szerint",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail cím",
DlgLnkEMailSubject : "Üzenet tárgya",
DlgLnkEMailBody : "Üzenet",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "Felső pozíció",
DlnLnkMsgNoUrl : "Adja meg a hivatkozás webcímét",
DlnLnkMsgNoEMail : "Adja meg az E-Mail címet",
DlnLnkMsgNoAnchor : "Válasszon egy horgonyt",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "A felbukkanó ablak neve alfanumerikus karakterrel kezdôdjön, valamint ne tartalmazzon szóközt",
// Color Dialog
DlgColorTitle : "Színválasztás",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Az összes cseréje",
DlgReplaceWordChk : "csak ha ez a teljes szó",
// Paste Operations / Dialog
-PasteErrorPaste : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a beillesztés műveletet. Használja az alábbi billentyűkombinációt (Ctrl+V).",
PasteErrorCut : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).",
PasteErrorCopy : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).",
@@ -342,6 +344,7 @@ PasteAsText : "Beillesztés formázatlan szövegként",
PasteFromWord : "Beillesztés Word-ből",
DlgPasteMsg2 : "Másolja be az alábbi mezőbe a Ctrl+V billentyűk lenyomásával, majd nyomjon Rendben-t.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Betű formázások megszüntetése",
DlgPasteRemoveStyles : "Stílusok eltávolítása",
DlgPasteCleanBox : "Törlés",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Névjegy",
DlgAboutBrowserInfoTab : "Böngésző információ",
DlgAboutLicenseTab : "Licensz",
DlgAboutVersion : "verzió",
-DlgAboutLicense : "GNU Lesser General Public License szabadalom alá tartozik",
DlgAboutInfo : "További információkért látogasson el ide:"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/it.js b/phpgwapi/js/fckeditor/editor/lang/it.js
index d8058fd40a..a3dee1ba56 100644
--- a/phpgwapi/js/fckeditor/editor/lang/it.js
+++ b/phpgwapi/js/fckeditor/editor/lang/it.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: it.js
- * Italian language file.
- *
- * File Authors:
- * Simone Chiaretta (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Proprietà menu di selezione",
TextareaProp : "Proprietà area di testo",
FormProp : "Proprietà modulo",
-FontFormats : "Normale;Formattato;Indirizzo;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)",
+FontFormats : "Normale;Formattato;Indirizzo;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Elaborazione XHTML in corso. Attendere prego...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Scegli Ancora",
DlgLnkAnchorByName : "Per Nome",
DlgLnkAnchorById : "Per id elemento",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Indirizzo E-Mail",
DlgLnkEMailSubject : "Oggetto del messaggio",
DlgLnkEMailBody : "Corpo del messaggio",
@@ -258,7 +262,7 @@ DlgLnkPopTop : "Posizione dall'alto",
DlnLnkMsgNoUrl : "Devi inserire l'URL del collegamento",
DlnLnkMsgNoEMail : "Devi inserire un'indirizzo e-mail",
DlnLnkMsgNoAnchor : "Devi selezionare un'ancora",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "Il nome del popup deve iniziare con una lettera, e non può contenere spazi",
// Color Dialog
DlgColorTitle : "Seleziona colore",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Sostituisci tutto",
DlgReplaceWordChk : "Solo parole intere",
// Paste Operations / Dialog
-PasteErrorPaste : "Le impostazioni di sicurezza del browser non permettono di incollare automaticamente il testo. Usa la tastiera (Ctrl+V).",
PasteErrorCut : "Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl+X).",
PasteErrorCopy : "Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Incolla come testo semplice",
PasteFromWord : "Incolla da Word",
DlgPasteMsg2 : "Incolla il testo all'interno dell'area sottostante usando la scorciatoia di tastiere (Ctrl+V) e premi OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignora le definizioni di Font",
DlgPasteRemoveStyles : "Rimuovi le definizioni di Stile",
DlgPasteCleanBox : "Svuota area di testo",
@@ -377,9 +381,9 @@ IeSpellDownload : "Contollo ortografico non installato. Lo vuoi scaricare ora?
// Button Dialog
DlgButtonText : "Testo (Value)",
DlgButtonType : "Tipo",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Bottone",
+DlgButtonTypeSbm : "Invio",
+DlgButtonTypeRst : "Annulla",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Nome",
@@ -428,7 +432,7 @@ DlgHiddenValue : "Valore",
// Bulleted List Dialog
BulletedListProp : "Proprietà lista puntata",
NumberedListProp : "Proprietà lista numerata",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Inizio",
DlgLstType : "Tipo",
DlgLstTypeCircle : "Tondo",
DlgLstTypeDisc : "Disco",
@@ -451,15 +455,15 @@ DlgDocLangDirLTR : "Da Sinistra a Destra (LTR)",
DlgDocLangDirRTL : "Da Destra a Sinistra (RTL)",
DlgDocLangCode : "Codice Lingua",
DlgDocCharSet : "Set di caretteri",
-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 : "Europa Centrale",
+DlgDocCharSetCT : "Cinese Tradizionale (Big5)",
+DlgDocCharSetCR : "Cirillico",
+DlgDocCharSetGR : "Greco",
+DlgDocCharSetJP : "Giapponese",
+DlgDocCharSetKR : "Coreano",
+DlgDocCharSetTR : "Turco",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Europa Occidentale",
DlgDocCharSetOther : "Altro set di caretteri",
DlgDocDocType : "Intestazione DocType",
@@ -489,13 +493,12 @@ DlgTemplatesTitle : "Contenuto dei modelli",
DlgTemplatesSelMsg : "Seleziona il modello da aprire nell'editor (il contenuto attuale verrà eliminato):",
DlgTemplatesLoading : "Caricamento modelli in corso. Attendere prego...",
DlgTemplatesNoTpl : "(Nessun modello definito)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Cancella il contenuto corrente",
// About Dialog
DlgAboutAboutTab : "Informazioni",
DlgAboutBrowserInfoTab : "Informazioni Browser",
DlgAboutLicenseTab : "Licenza",
DlgAboutVersion : "versione",
-DlgAboutLicense : "Rilasciato sotto la licensa GNU Lesser General Public License",
-DlgAboutInfo : "Localizzazione in Italiano realizzata da Simone Chiaretta www.piyosailing.com
Per maggiori informazioni visitare"
-}
\ No newline at end of file
+DlgAboutInfo : "Per maggiori informazioni visitare"
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ja.js b/phpgwapi/js/fckeditor/editor/lang/ja.js
index 03e3a5cf47..c567d21872 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ja.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ja.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ja.js
- * Japanese language file.
- *
- * File Authors:
- * Takashi Yamaguchi (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "選択フィールド プロパティ",
TextareaProp : "テキストエリア プロパティ",
FormProp : "フォーム プロパティ",
-FontFormats : "標準;書式付き;アドレス;見出し 1;見出し 2;見出し 3;見出し 4;見出し 5;見出し 6;標準 (DIV)",
+FontFormats : "標準;書式付き;アドレス;見出し 1;見出し 2;見出し 3;見出し 4;見出し 5;見出し 6;標準 (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML処理中. しばらくお待ちください...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "アンカーを選択",
DlgLnkAnchorByName : "アンカー名",
DlgLnkAnchorById : "エレメントID",
-DlgLnkNoAnchors : "<ドキュメントにおいて利用可能なアンカーはありません。>",
+DlgLnkNoAnchors : "<ドキュメントにおいて利用可能なアンカーはありません。>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail アドレス",
DlgLnkEMailSubject : "件名",
DlgLnkEMailBody : "本文",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "すべて置換え",
DlgReplaceWordChk : "単語単位で一致",
// Paste Operations / Dialog
-PasteErrorPaste : "ブラウザーのセキュリティ設定によりエディタの貼り付け操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+V)を使用してください。",
PasteErrorCut : "ブラウザーのセキュリティ設定によりエディタの切り取り操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+X)を使用してください。",
PasteErrorCopy : "ブラウザーのセキュリティ設定によりエディタのコピー操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+C)を使用してください。",
@@ -341,6 +344,7 @@ PasteAsText : "プレーンテキスト貼り付け",
PasteFromWord : "ワード文章から貼り付け",
DlgPasteMsg2 : "キーボード(Ctrl+V)を使用して、次の入力エリア内で貼って、OKを押してください。",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "FontタグのFace属性を無視します。",
DlgPasteRemoveStyles : "スタイル定義を削除します。",
DlgPasteCleanBox : "入力エリアクリア",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "バージョン情報",
DlgAboutBrowserInfoTab : "ブラウザ情報",
DlgAboutLicenseTab : "ライセンス",
DlgAboutVersion : "バージョン",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "より詳しい情報はこちらで"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/km.js b/phpgwapi/js/fckeditor/editor/lang/km.js
index f60a81d714..e90291f714 100644
--- a/phpgwapi/js/fckeditor/editor/lang/km.js
+++ b/phpgwapi/js/fckeditor/editor/lang/km.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: km.js
- * Khmer language file.
- *
- * File Authors:
- * Chay Sengtha (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "ការកំណត់ជួរជ្រើសរើស"
TextareaProp : "ការកំណត់កន្លែងសរសេរអត្ថបទ",
FormProp : "ការកំណត់បែបបទ",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "កំពុងដំណើរការ XHTML ។ សូមរងចាំ...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "ជ្រើសរើសយុថ្កា",
DlgLnkAnchorByName : "តាមឈ្មោះរបស់យុថ្កា",
DlgLnkAnchorById : "តាម Id",
-DlgLnkNoAnchors : "<ពុំមានយុថ្កានៅក្នុងឯកសារនេះទេ>",
+DlgLnkNoAnchors : "<ពុំមានយុថ្កានៅក្នុងឯកសារនេះទេ>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "អ៊ីមែល",
DlgLnkEMailSubject : "ចំណងជើងអត្ថបទ",
DlgLnkEMailBody : "អត្ថបទ",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "ជំនួសទាំងអស់",
DlgReplaceWordChk : "ត្រូវពាក្យទាំងអស់",
// Paste Operations / Dialog
-PasteErrorPaste : "Your browser security settings don't permit the editor to automatically execute pasting operations. Please use the keyboard for that (Ctrl+V).", //MISSING
PasteErrorCut : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+X) ។",
PasteErrorCopy : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+C)។",
@@ -341,6 +344,7 @@ PasteAsText : "ចំលងដាក់អត្ថបទធម្មតា",
PasteFromWord : "ចំលងពាក្យពីកម្មវិធី Word",
DlgPasteMsg2 : "សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី (Ctrl+V) ហើយចុច OK ។",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "មិនគិតអំពីប្រភេទពុម្ភអក្សរ",
DlgPasteRemoveStyles : "លប់ម៉ូត",
DlgPasteCleanBox : "លប់អត្ថបទចេញពីប្រអប់",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "អំពី",
DlgAboutBrowserInfoTab : "ព៌តមានកម្មវិធីរុករក",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "ជំនាន់",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "សំរាប់ព៌តមានផ្សេងទៀត សូមទាក់ទង"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ko.js b/phpgwapi/js/fckeditor/editor/lang/ko.js
index acc5501800..0a2efa6eb5 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ko.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ko.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ko.js
- * Korean language file.
- *
- * File Authors:
- * Taehwan Kwag (thkwag@nate.com)
- * Hyung-chae, Kim (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "펼침목록 속성",
TextareaProp : "입력영역 속성",
FormProp : "폼 속성",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML 처리중. 잠시만 기다려주십시요.",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "책갈피 선택",
DlgLnkAnchorByName : "책갈피 이름",
DlgLnkAnchorById : "책갈피 ID",
-DlgLnkNoAnchors : "<문서에 책갈피가 없습니다.>",
+DlgLnkNoAnchors : "<문서에 책갈피가 없습니다.>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "이메일 주소",
DlgLnkEMailSubject : "제목",
DlgLnkEMailBody : "내용",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "모두 바꾸기",
DlgReplaceWordChk : "온전한 단어",
// Paste Operations / Dialog
-PasteErrorPaste : "브라우저의 보안설정때문에 붙여넣기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+V).",
PasteErrorCut : "브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+X).",
PasteErrorCopy : "브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "텍스트로 붙여넣기",
PasteFromWord : "MS Word 형식에서 붙여넣기",
DlgPasteMsg2 : "키보드의 (Ctrl+V) 를 이용해서 상자안에 붙여넣고 OK 를 누르세요.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "폰트 설정 무시",
DlgPasteRemoveStyles : "스타일 정의 제거",
DlgPasteCleanBox : "글상자 제거",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "About",
DlgAboutBrowserInfoTab : "브라우저 정보",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "버전",
-DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License",
DlgAboutInfo : "For further information go to"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/lt.js b/phpgwapi/js/fckeditor/editor/lang/lt.js
index e3c4d3b77d..db994d0b9d 100644
--- a/phpgwapi/js/fckeditor/editor/lang/lt.js
+++ b/phpgwapi/js/fckeditor/editor/lang/lt.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: lt.js
- * Lithuanian language file.
- *
- * File Authors:
- * Tauras Paliulis (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Atrankos lauko savybės",
TextareaProp : "Teksto srities savybės",
FormProp : "Formos savybės",
-FontFormats : "Normalus;Formuotas;Kreipinio;Antraštinis 1;Antraštinis 2;Antraštinis 3;Antraštinis 4;Antraštinis 5;Antraštinis 6",
+FontFormats : "Normalus;Formuotas;Kreipinio;Antraštinis 1;Antraštinis 2;Antraštinis 3;Antraštinis 4;Antraštinis 5;Antraštinis 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Apdorojamas XHTML. Prašome palaukti...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Pasirinkite žymę",
DlgLnkAnchorByName : "Pagal žymės vardą",
DlgLnkAnchorById : "Pagal žymės Id",
-DlgLnkNoAnchors : "<Šiame dokumente žymių nėra>",
+DlgLnkNoAnchors : "<Šiame dokumente žymių nėra>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "El.pašto adresas",
DlgLnkEMailSubject : "Žinutės tema",
DlgLnkEMailBody : "Žinutės turinys",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Pakeisti viską",
DlgReplaceWordChk : "Atitikti pilną žodį",
// Paste Operations / Dialog
-PasteErrorPaste : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti įdėjimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+V).",
PasteErrorCut : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti iškirpimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+X).",
PasteErrorCopy : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti kopijavimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Įdėti kaip gryną tekstą",
PasteFromWord : "Įdėti iš Word",
DlgPasteMsg2 : "Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (Ctrl+V) ir spūstelkite mygtuką OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignoruoti šriftų nustatymus",
DlgPasteRemoveStyles : "Pašalinti stilių nustatymus",
DlgPasteCleanBox : "Trinti įvedimo lauką",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Apie",
DlgAboutBrowserInfoTab : "Naršyklės informacija",
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"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/lv.js b/phpgwapi/js/fckeditor/editor/lang/lv.js
index 637d7cb387..680942675d 100644
--- a/phpgwapi/js/fckeditor/editor/lang/lv.js
+++ b/phpgwapi/js/fckeditor/editor/lang/lv.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: lv.js
- * Latvian language file.
- *
- * File Authors:
- * Jānis Kļaviņš (janis@4id.lv)
- * Slowmo (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Iezīmēšanas lauka īpašības",
TextareaProp : "Teksta laukuma īpašības",
FormProp : "Formas īpašības",
-FontFormats : "Normāls teksts;Formatēts teksts;Adrese;Virsraksts 1;Virsraksts 2;Virsraksts 3;Virsraksts 4;Virsraksts 5;Virsraksts 6;Rindkopa (DIV)",
+FontFormats : "Normāls teksts;Formatēts teksts;Adrese;Virsraksts 1;Virsraksts 2;Virsraksts 3;Virsraksts 4;Virsraksts 5;Virsraksts 6;Rindkopa (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Tiek apstrādāts XHTML. Lūdzu uzgaidiet...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Izvēlēties iezīmi",
DlgLnkAnchorByName : "Pēc iezīmes nosaukuma",
DlgLnkAnchorById : "Pēc elementa ID",
-DlgLnkNoAnchors : "<Šajā dokumentā nav iezīmju>",
+DlgLnkNoAnchors : "<Šajā dokumentā nav iezīmju>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-pasta adrese",
DlgLnkEMailSubject : "Ziņas tēma",
DlgLnkEMailBody : "Ziņas saturs",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Aizvietot visu",
DlgReplaceWordChk : "Jāsakrīt pilnībā",
// Paste Operations / Dialog
-PasteErrorPaste : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt ievietošanas darbību. Lūdzu, izmantojiet (Ctrl+V), lai veiktu šo darbību.",
PasteErrorCut : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt izgriešanas darbību. Lūdzu, izmantojiet (Ctrl+X, lai veiktu šo darbību.",
PasteErrorCopy : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt kopēšanas darbību. Lūdzu, izmantojiet (Ctrl+C), lai veiktu šo darbību.",
@@ -342,6 +344,7 @@ PasteAsText : "Ievietot kā vienkāršu tekstu",
PasteFromWord : "Ievietot no Worda",
DlgPasteMsg2 : "Lūdzu, ievietojiet tekstu šajā laukumā, izmantojot klaviatūru (Ctrl+V) un apstipriniet ar Darīts!.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorēt iepriekš norādītos fontus",
DlgPasteRemoveStyles : "Noņemt norādītos stilus",
DlgPasteCleanBox : "Apstrādāt laukuma saturu",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Par",
DlgAboutBrowserInfoTab : "Informācija par pārlūkprogrammu",
DlgAboutLicenseTab : "Licence",
DlgAboutVersion : "versija",
-DlgAboutLicense : "Programmatūra lietojama saskaņā ar GNU Lesser General Public License",
DlgAboutInfo : "Papildus informācija ir pieejama"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/mn.js b/phpgwapi/js/fckeditor/editor/lang/mn.js
index 040fe0bb02..ba8f798e66 100644
--- a/phpgwapi/js/fckeditor/editor/lang/mn.js
+++ b/phpgwapi/js/fckeditor/editor/lang/mn.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: mn.js
- * Mongolian language file.
- *
- * File Authors:
- * Lkamtseren ODONBAATAR (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Selection Field Properties", //MISSING
TextareaProp : "Textarea Properties", //MISSING
FormProp : "Form Properties", //MISSING
-FontFormats : "Хэвийн;Formatted;Хаяг;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)",
+FontFormats : "Хэвийн;Formatted;Хаяг;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML үйл явц явагдаж байна. Хүлээнэ үү...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Холбоос сонгох",
DlgLnkAnchorByName : "Холбоосын нэрээр",
DlgLnkAnchorById : "Элемэнт Id-гаар",
-DlgLnkNoAnchors : "<Баримт бичиг холбоосгүй байна>",
+DlgLnkNoAnchors : "<Баримт бичиг холбоосгүй байна>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail Хаяг",
DlgLnkEMailSubject : "Message Subject",
DlgLnkEMailBody : "Message-ийн агуулга",
@@ -333,14 +337,14 @@ DlgReplaceReplAllBtn : "Бүгдийг нь Солих",
DlgReplaceWordChk : "Тэнцэх бүтэн үг",
// Paste Operations / Dialog
-PasteErrorPaste : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар буулгах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+V) товчны хослолыг ашиглана уу.",
PasteErrorCut : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+X) товчны хослолыг ашиглана уу.",
PasteErrorCopy : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+C) товчны хослолыг ашиглана уу.",
PasteAsText : "Plain Text-ээс буулгах",
PasteFromWord : "Word-оос буулгах",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING
DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING
DlgPasteCleanBox : "Clean Up Box", //MISSING
@@ -486,7 +490,7 @@ DlgDocPreview : "Preview", //MISSING
// Templates Dialog
Templates : "Templates", //MISSING
DlgTemplatesTitle : "Content Templates", //MISSING
-DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
+DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING
DlgTemplatesNoTpl : "(No templates defined)", //MISSING
DlgTemplatesReplace : "Replace actual contents", //MISSING
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "About", //MISSING
DlgAboutBrowserInfoTab : "Browser Info", //MISSING
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "Хувилбар",
-DlgAboutLicense : "GNU цөөн ерөнхий нийтийн лицензийн ангилалд багтсан зөвшөөрөлтэй",
DlgAboutInfo : "Мэдээллээр туслах"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ms.js b/phpgwapi/js/fckeditor/editor/lang/ms.js
index 9c1f2ec8d3..efe05299f2 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ms.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ms.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ms.js
- * Malay language file.
- *
- * File Authors:
- * Fairul Izham Mohd Mokhlas (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Ciri-ciri Selection Field",
TextareaProp : "Ciri-ciri Textarea",
FormProp : "Ciri-ciri Borang",
-FontFormats : "Normal;Telah Diformat;Alamat;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Perenggan (DIV)",
+FontFormats : "Normal;Telah Diformat;Alamat;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Perenggan (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Memproses XHTML. Sila tunggu...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Sila pilih pautan",
DlgLnkAnchorByName : "dengan menggunakan nama pautan",
DlgLnkAnchorById : "dengan menggunakan ID elemen",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Alamat E-Mail",
DlgLnkEMailSubject : "Subjek Mesej",
DlgLnkEMailBody : "Isi Kandungan Mesej",
@@ -333,14 +337,14 @@ DlgReplaceReplAllBtn : "Ganti semua",
DlgReplaceWordChk : "Padana Keseluruhan perkataan",
// Paste Operations / Dialog
-PasteErrorPaste : "Keselamatan perisian browser anda tidak membenarkan operasi tampalan text/imej. Sila gunakan papan kekunci (Ctrl+V).",
PasteErrorCut : "Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl+X).",
PasteErrorCopy : "Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl+C).",
PasteAsText : "Tampal sebagai text biasa",
PasteFromWord : "Tampal dari perisian \"Word\"",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING
DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING
DlgPasteCleanBox : "Clean Up Box", //MISSING
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Tentang",
DlgAboutBrowserInfoTab : "Maklumat Perisian Browser",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "versi",
-DlgAboutLicense : "Perlesenan dibawah terma GNU Lesser General Public License",
DlgAboutInfo : "Untuk maklumat lanjut sila pergi ke"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/nb.js b/phpgwapi/js/fckeditor/editor/lang/nb.js
index 46f4acc2f8..1a283b8509 100644
--- a/phpgwapi/js/fckeditor/editor/lang/nb.js
+++ b/phpgwapi/js/fckeditor/editor/lang/nb.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: nb.js
- * Norwegian Bokmål language file.
- *
- * File Authors:
- * Martin Kronstad (www.siteman.no) (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Dropdown menyegenskaper",
TextareaProp : "Tekstfeltegenskaper",
FormProp : "Skjemaegenskaper",
-FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6",
+FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Lager XHTML. Vennligst vent...",
@@ -217,7 +221,7 @@ DlgLnkTargetTab : "Mål",
DlgLnkType : "Lenketype",
DlgLnkTypeURL : "URL",
-DlgLnkTypeAnchor : "Bokmerk denne siden",
+DlgLnkTypeAnchor : "Lenke til bokmerke i teksten",
DlgLnkTypeEMail : "E-Post",
DlgLnkProto : "Protokoll",
DlgLnkProtoOther : "",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Velg ett anker",
DlgLnkAnchorByName : "Anker etter navn",
DlgLnkAnchorById : "Element etter ID",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Post Addresse",
DlgLnkEMailSubject : "Meldingsemne",
DlgLnkEMailBody : "Melding",
@@ -258,7 +262,7 @@ DlgLnkPopTop : "Topp posisjon",
DlnLnkMsgNoUrl : "Vennligst skriv inn lenkens url",
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
DlgColorTitle : "Velg farge",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Erstatt alle",
DlgReplaceWordChk : "Finn hele ordet",
// Paste Operations / Dialog
-PasteErrorPaste : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk innliming av tekst. Vennligst brukt snareveien (Ctrl+V).",
PasteErrorCut : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst brukt snareveien (Ctrl+X).",
PasteErrorCopy : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst brukt snareveien (Ctrl+C).",
@@ -341,7 +344,8 @@ PasteAsText : "Lim inn som ren tekst",
PasteFromWord : "Lim inn fra word",
DlgPasteMsg2 : "Vennligst lim inn i den følgende boksen med tastaturet (Ctrl+V) og trykk OK.",
-DlgPasteIgnoreFont : "Ignorer fonter",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
+DlgPasteIgnoreFont : "Fjern skrifttyper",
DlgPasteRemoveStyles : "Fjern stildefinisjoner",
DlgPasteCleanBox : "Tøm boksen",
@@ -377,9 +381,9 @@ IeSpellDownload : "Stavekontroll ikke installert, vil du laste den ned nå?",
// Button Dialog
DlgButtonText : "Tekst",
DlgButtonType : "Type",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Knapp",
+DlgButtonTypeSbm : "Send",
+DlgButtonTypeRst : "Nullstill",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Navn",
@@ -428,7 +432,7 @@ DlgHiddenValue : "Verdi",
// Bulleted List Dialog
BulletedListProp : "Uordnet listeegenskaper",
NumberedListProp : "Ordnet listeegenskaper",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Start",
DlgLstType : "Type",
DlgLstTypeCircle : "Sirkel",
DlgLstTypeDisc : "Hel sirkel",
@@ -451,15 +455,15 @@ DlgDocLangDirLTR : "Venstre til høyre (LTR)",
DlgDocLangDirRTL : "Høyre til venstre (RTL)",
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",
DlgDocDocType : "Dokumenttype header",
@@ -489,13 +493,12 @@ DlgTemplatesTitle : "Innholdsmaler",
DlgTemplatesSelMsg : "Velg malen du vil åpne (innholdet du har skrevet blir tapt!):",
DlgTemplatesLoading : "Laster malliste. Vennligst vent...",
DlgTemplatesNoTpl : "(Ingen maler definert)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Erstatt faktisk innold",
// About Dialog
DlgAboutAboutTab : "Om",
DlgAboutBrowserInfoTab : "Nettleserinfo",
DlgAboutLicenseTab : "Lisens",
DlgAboutVersion : "versjon",
-DlgAboutLicense : "Lisensiert under GNU Lesser General Public License",
-DlgAboutInfo : "Oversatt av Siteman AS www.siteman.no
For mer informasjon gå til"
-}
\ No newline at end of file
+DlgAboutInfo : "For further information go to" //MISSING
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/nl.js b/phpgwapi/js/fckeditor/editor/lang/nl.js
index 99eaf0091d..f6b26b4112 100644
--- a/phpgwapi/js/fckeditor/editor/lang/nl.js
+++ b/phpgwapi/js/fckeditor/editor/lang/nl.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: nl.js
- * Dutch language file.
- *
- * File Authors:
- * Bram Crins (bcrins@realdesign.nl)
- * Aaron van Geffen (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 =
@@ -39,15 +42,15 @@ Print : "Printen",
SelectAll : "Alles selecteren",
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",
InsertSpecialCharLbl: "Speciale tekens",
@@ -65,14 +68,14 @@ LeftJustify : "Links uitlijnen",
CenterJustify : "Centreren",
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",
Style : "Stijl",
@@ -131,10 +134,10 @@ SelectionFieldProp : "Eigenschappen selectieveld",
TextareaProp : "Eigenschappen tekstvak",
FormProp : "Eigenschappen formulier",
-FontFormats : "Normaal;Met opmaak;Adres;Kop 1;Kop 2;Kop 3;Kop 4;Kop 5;Kop 6;Normaal (DIV)",
+FontFormats : "Normaal;Met opmaak;Adres;Kop 1;Kop 2;Kop 3;Kop 4;Kop 5;Kop 6;Normaal (DIV)", //REVIEW : Check _getfontformat.html
// 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?",
NotCompatiblePaste : "Deze opdracht is beschikbaar voor Internet Explorer versie 5.5 of hoger. Wil je plakken zonder op te schonen?",
@@ -162,7 +165,7 @@ DlgGenId : "Kenmerk",
DlgGenLangDir : "Schrijfrichting",
DlgGenLangDirLtr : "Links naar rechts (LTR)",
DlgGenLangDirRtl : "Rechts naar links (RTL)",
-DlgGenLangCode : "Codetaal",
+DlgGenLangCode : "Taalcode",
DlgGenAccessKey : "Toegangstoets",
DlgGenName : "Naam",
DlgGenTabIndex : "Tabvolgorde",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Kies een interne link",
DlgLnkAnchorByName : "Op naam interne link",
DlgLnkAnchorById : "Op kenmerk interne link",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "(Geen interne links in document gevonden)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-mailadres",
DlgLnkEMailSubject : "Onderwerp bericht",
DlgLnkEMailBody : "Inhoud bericht",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Alles vervangen",
DlgReplaceWordChk : "Hele woord moet voorkomen",
// Paste Operations / Dialog
-PasteErrorPaste : "De beveiligingsinstelling van de browser verhinderen het automatisch plakken. Gebruik de sneltoets Ctrl+V van het toetsenbord.",
PasteErrorCut : "De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl+X van het toetsenbord.",
PasteErrorCopy : "De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl+C van het toetsenbord.",
@@ -342,6 +344,7 @@ PasteAsText : "Plakken als platte tekst",
PasteFromWord : "Plakken als Word-gegevens",
DlgPasteMsg2 : "Plak de tekst in het volgende vak gebruik makend van je toetstenbord (Ctrl+V) en klik op OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Negeer \"Font Face\"-definities",
DlgPasteRemoveStyles : "Verwijder \"Style\"-definities",
DlgPasteCleanBox : "Vak opschonen",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Over",
DlgAboutBrowserInfoTab : "Browserinformatie",
DlgAboutLicenseTab : "Licentie",
DlgAboutVersion : "Versie",
-DlgAboutLicense : "Gelicenceerd onder de condities van het GNU Lesser General Public License",
DlgAboutInfo : "Voor meer informatie ga naar "
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/no.js b/phpgwapi/js/fckeditor/editor/lang/no.js
index 52cfc68350..64833b8cf1 100644
--- a/phpgwapi/js/fckeditor/editor/lang/no.js
+++ b/phpgwapi/js/fckeditor/editor/lang/no.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: no.js
- * Norwegian language file.
- *
- * File Authors:
- * Martin Kronstad (www.siteman.no) (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Dropdown menyegenskaper",
TextareaProp : "Tekstfeltegenskaper",
FormProp : "Skjemaegenskaper",
-FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6",
+FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Lager XHTML. Vennligst vent...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Velg ett anker",
DlgLnkAnchorByName : "Anker etter navn",
DlgLnkAnchorById : "Element etter ID",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Post Addresse",
DlgLnkEMailSubject : "Meldingsemne",
DlgLnkEMailBody : "Melding",
@@ -258,7 +262,7 @@ DlgLnkPopTop : "Topp posisjon",
DlnLnkMsgNoUrl : "Vennligst skriv inn lenkens url",
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
DlgColorTitle : "Velg farge",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Erstatt alle",
DlgReplaceWordChk : "Finn hele ordet",
// Paste Operations / Dialog
-PasteErrorPaste : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk innliming av tekst. Vennligst brukt snareveien (Ctrl+V).",
PasteErrorCut : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst brukt snareveien (Ctrl+X).",
PasteErrorCopy : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst brukt snareveien (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Lim inn som ren tekst",
PasteFromWord : "Lim inn fra word",
DlgPasteMsg2 : "Vennligst lim inn i den følgende boksen med tastaturet (Ctrl+V) og trykk OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Fjern skrifttyper",
DlgPasteRemoveStyles : "Fjern stildefinisjoner",
DlgPasteCleanBox : "Tøm boksen",
@@ -377,9 +381,9 @@ IeSpellDownload : "Stavekontroll ikke installert, vil du laste den ned nå?",
// Button Dialog
DlgButtonText : "Tekst",
DlgButtonType : "Type",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Knapp",
+DlgButtonTypeSbm : "Send",
+DlgButtonTypeRst : "Nullstill",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Navn",
@@ -428,7 +432,7 @@ DlgHiddenValue : "Verdi",
// Bulleted List Dialog
BulletedListProp : "Uordnet listeegenskaper",
NumberedListProp : "Ordnet listeegenskaper",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Start",
DlgLstType : "Type",
DlgLstTypeCircle : "Sirkel",
DlgLstTypeDisc : "Hel sirkel",
@@ -451,15 +455,15 @@ DlgDocLangDirLTR : "Venstre til høyre (LTR)",
DlgDocLangDirRTL : "Høyre til venstre (RTL)",
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",
DlgDocDocType : "Dokumenttype header",
@@ -489,13 +493,12 @@ DlgTemplatesTitle : "Innholdsmaler",
DlgTemplatesSelMsg : "Velg malen du vil åpne (innholdet du har skrevet blir tapt!):",
DlgTemplatesLoading : "Laster malliste. Vennligst vent...",
DlgTemplatesNoTpl : "(Ingen maler definert)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Erstatt faktisk innold",
// About Dialog
DlgAboutAboutTab : "Om",
DlgAboutBrowserInfoTab : "Nettleserinfo",
DlgAboutLicenseTab : "Lisens",
DlgAboutVersion : "versjon",
-DlgAboutLicense : "Lisensiert under GNU Lesser General Public License",
-DlgAboutInfo : "Oversatt av Siteman AS www.siteman.no
For mer informasjon gå til"
-}
\ No newline at end of file
+DlgAboutInfo : "For further information go to" //MISSING
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/pl.js b/phpgwapi/js/fckeditor/editor/lang/pl.js
index 0a1d4887b1..f01994dcdc 100644
--- a/phpgwapi/js/fckeditor/editor/lang/pl.js
+++ b/phpgwapi/js/fckeditor/editor/lang/pl.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: pl.js
- * Polish language file.
- *
- * File Authors:
- * Jakub Boesche (jboesche@gazeta.pl)
- * Maciej Bochynski (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Właściwości listy wyboru",
TextareaProp : "Właściwości obszaru tekstowego",
FormProp : "Właściwości formularza",
-FontFormats : "Normalny;Tekst sformatowany;Adres;Nagłówek 1;Nagłówek 2;Nagłówek 3;Nagłówek 4;Nagłówek 5;Nagłówek 6",
+FontFormats : "Normalny;Tekst sformatowany;Adres;Nagłówek 1;Nagłówek 2;Nagłówek 3;Nagłówek 4;Nagłówek 5;Nagłówek 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Przetwarzanie XHTML. Proszę czekać...",
@@ -226,7 +229,7 @@ DlgLnkURL : "Adres URL",
DlgLnkAnchorSel : "Wybierz etykietę",
DlgLnkAnchorByName : "Wg etykiety",
DlgLnkAnchorById : "Wg identyfikatora elementu",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Adres e-mail",
DlgLnkEMailSubject : "Temat",
DlgLnkEMailBody : "Treść",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Zastąp wszystko",
DlgReplaceWordChk : "Całe słowa",
// Paste Operations / Dialog
-PasteErrorPaste : "Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wklejanie tekstu. Użyj skrótu klawiszowego Ctrl+V.",
PasteErrorCut : "Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl+X.",
PasteErrorCopy : "Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl+C.",
@@ -342,6 +344,7 @@ PasteAsText : "Wklej jako czysty tekst",
PasteFromWord : "Wklej z Worda",
DlgPasteMsg2 : "Proszę wkleić w poniższym polu używając klawiaturowego skrótu (Ctrl+V) i kliknąć OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignoruj definicje 'Font Face'",
DlgPasteRemoveStyles : "Usuń definicje Stylów",
DlgPasteCleanBox : "Wyczyść",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "O ...",
DlgAboutBrowserInfoTab : "O przeglądarce",
DlgAboutLicenseTab : "Licencja",
DlgAboutVersion : "wersja",
-DlgAboutLicense : "na licencji GNU Lesser General Public License",
DlgAboutInfo : "Więcej informacji uzyskasz pod adresem"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/pt-br.js b/phpgwapi/js/fckeditor/editor/lang/pt-br.js
index bed15db8bc..53a2b5ddd0 100644
--- a/phpgwapi/js/fckeditor/editor/lang/pt-br.js
+++ b/phpgwapi/js/fckeditor/editor/lang/pt-br.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: pt-br.js
- * Brazilian Portuguese language file.
- *
- * File Authors:
- * Carlos Alberto Tomatis Loth (carlos.loth@conectait.com.br)
- * GibaPhp (http://www.xoopstotal.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 =
@@ -99,13 +102,13 @@ Button : "Botão",
SelectionField : "Caixa de Listagem",
ImageButton : "Botão de Imagem",
-FitWindow : "Maximize the editor size", //MISSING
+FitWindow : "Maximizar o tamanho do editor",
// Context Menu
EditLink : "Editar Hiperlink",
-CellCM : "Cell", //MISSING
-RowCM : "Row", //MISSING
-ColumnCM : "Column", //MISSING
+CellCM : "Célula",
+RowCM : "Linha",
+ColumnCM : "Coluna",
InsertRow : "Inserir Linha",
DeleteRows : "Remover Linhas",
InsertColumn : "Inserir Coluna",
@@ -131,7 +134,7 @@ SelectionFieldProp : "Formatar Caixa de Listagem",
TextareaProp : "Formatar Área de Texto",
FormProp : "Formatar Formulário",
-FontFormats : "Normal;Formatado;Endereço;Título 1;Título 2;Título 3;Título 4;Título 5;Título 6",
+FontFormats : "Normal;Formatado;Endereço;Título 1;Título 2;Título 3;Título 4;Título 5;Título 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Processando XHTML. Por favor, aguarde...",
@@ -213,8 +216,8 @@ DlgFlashScaleFit : "Escala Exata",
// Link Dialog
DlgLnkWindowTitle : "Hiperlink",
-DlgLnkInfoTab : "Informações do hiperlink",
-DlgLnkTargetTab : "Informações de destino",
+DlgLnkInfoTab : "Informações",
+DlgLnkTargetTab : "Destino",
DlgLnkType : "Tipo de hiperlink",
DlgLnkTypeURL : "URL",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL do hiperlink",
DlgLnkAnchorSel : "Selecione uma âncora",
DlgLnkAnchorByName : "Pelo Nome da âncora",
DlgLnkAnchorById : "Pelo Id do Elemento",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "(Não há âncoras disponíveis neste documento)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Endereço E-Mail",
DlgLnkEMailSubject : "Assunto da Mensagem",
DlgLnkEMailBody : "Corpo da Mensagem",
@@ -234,7 +237,7 @@ DlgLnkUpload : "Enviar ao Servidor",
DlgLnkBtnUpload : "Enviar ao Servidor",
DlgLnkTarget : "Destino",
-DlgLnkTargetFrame : "",
+DlgLnkTargetFrame : "",
DlgLnkTargetPopup : "",
DlgLnkTargetBlank : "Nova Janela (_blank)",
DlgLnkTargetParent : "Janela Pai (_parent)",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "Superior",
DlnLnkMsgNoUrl : "Por favor, digite o endereço do Hiperlink",
DlnLnkMsgNoEMail : "Por favor, digite o endereço de e-mail",
DlnLnkMsgNoAnchor : "Por favor, selecione uma âncora",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "O nome da janela popup deve começar com uma letra ou sublinhado (_) e não pode conter espaços",
// Color Dialog
DlgColorTitle : "Selecione uma Cor",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Substituir Tudo",
DlgReplaceWordChk : "Coincidir a palavra inteira",
// Paste Operations / Dialog
-PasteErrorPaste : "As configurações de segurança do seu navegador não permitem que o editor execute operações de colar automaticamente. Por favor, utilize o teclado para colar (Ctrl+V).",
PasteErrorCut : "As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl+X).",
PasteErrorCopy : "As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Colar como Texto sem Formatação",
PasteFromWord : "Colar do Word",
DlgPasteMsg2 : "Transfira o link usado no box usando o teclado com (Ctrl+V) e OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorar definições de fonte",
DlgPasteRemoveStyles : "Remove definições de estilo",
DlgPasteCleanBox : "Limpar Box",
@@ -378,9 +381,9 @@ IeSpellDownload : "A verificação ortográfica não foi instalada. Você gost
// Button Dialog
DlgButtonText : "Texto (Valor)",
DlgButtonType : "Tipo",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Botão",
+DlgButtonTypeSbm : "Enviar",
+DlgButtonTypeRst : "Limpar",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Nome",
@@ -429,7 +432,7 @@ DlgHiddenValue : "Valor",
// Bulleted List Dialog
BulletedListProp : "Formatar Marcadores",
NumberedListProp : "Formatar Numeração",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Iniciar",
DlgLstType : "Tipo",
DlgLstTypeCircle : "Círculo",
DlgLstTypeDisc : "Disco",
@@ -452,15 +455,15 @@ DlgDocLangDirLTR : "Esquerda para Direita (LTR)",
DlgDocLangDirRTL : "Direita para Esquerda (RTL)",
DlgDocLangCode : "Código do Idioma",
DlgDocCharSet : "Codificação de Caracteres",
-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 : "Europa Central",
+DlgDocCharSetCT : "Chinês Tradicional (Big5)",
+DlgDocCharSetCR : "Cirílico",
+DlgDocCharSetGR : "Grego",
+DlgDocCharSetJP : "Japonês",
+DlgDocCharSetKR : "Coreano",
+DlgDocCharSetTR : "Turco",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Europa Ocidental",
DlgDocCharSetOther : "Outra Codificação de Caracteres",
DlgDocDocType : "Cabeçalho Tipo de Documento",
@@ -490,13 +493,12 @@ DlgTemplatesTitle : "Modelo de layout do conteúdo",
DlgTemplatesSelMsg : "Selecione um modelo de layout para ser aberto no editor (o conteúdo atual será perdido):",
DlgTemplatesLoading : "Carregando a lista de modelos de layout. Aguarde...",
DlgTemplatesNoTpl : "(Não foram definidos modelos de layout)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Substituir o conteúdo atual",
// About Dialog
DlgAboutAboutTab : "Sobre",
DlgAboutBrowserInfoTab : "Informações do Navegador",
DlgAboutLicenseTab : "Licença",
DlgAboutVersion : "versão",
-DlgAboutLicense : "Licenciado sob os termos da GNU Lesser General Public License",
DlgAboutInfo : "Para maiores informações visite"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/pt.js b/phpgwapi/js/fckeditor/editor/lang/pt.js
index b2829a1636..23bab35d96 100644
--- a/phpgwapi/js/fckeditor/editor/lang/pt.js
+++ b/phpgwapi/js/fckeditor/editor/lang/pt.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: pt.js
- * Portuguese language file.
- *
- * File Authors:
- * Francisco Pereira (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Propriedades da Caixa de Combinação",
TextareaProp : "Propriedades da Área de Texto",
FormProp : "Propriedades do Formulário",
-FontFormats : "Normal;Formatado;Endereço;Título 1;Título 2;Título 3;Título 4;Título 5;Título 6",
+FontFormats : "Normal;Formatado;Endereço;Título 1;Título 2;Título 3;Título 4;Título 5;Título 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "A Processar XHTML. Por favor, espere...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Seleccionar una referência",
DlgLnkAnchorByName : "Por Nome de Referência",
DlgLnkAnchorById : "Por ID de elemento",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Endereço de E-Mail",
DlgLnkEMailSubject : "Título de Mensagem",
DlgLnkEMailBody : "Corpo da Mensagem",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Substituir Tudo",
DlgReplaceWordChk : "Coincidir com toda a palavra",
// Paste Operations / Dialog
-PasteErrorPaste : "A configuração de segurança do navegador não permite a execução automática de operações de colar. Por favor use o teclado (Ctrl+V).",
PasteErrorCut : "A configuração de segurança do navegador não permite a execução automática de operações de cortar. Por favor use o teclado (Ctrl+X).",
PasteErrorCopy : "A configuração de segurança do navegador não permite a execução automática de operações de copiar. Por favor use o teclado (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Colar como Texto Simples",
PasteFromWord : "Colar do Word",
DlgPasteMsg2 : "Por favor, cole dentro da seguinte caixa usando o teclado (Ctrl+V) e prima OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorar da definições do Tipo de Letra ",
DlgPasteRemoveStyles : "Remover as definições de Estilos",
DlgPasteCleanBox : "Caixa de Limpeza",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Acerca",
DlgAboutBrowserInfoTab : "Informação do Nevegador",
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"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ro.js b/phpgwapi/js/fckeditor/editor/lang/ro.js
index 20c5d671e1..1f36961cf6 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ro.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ro.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ro.js
- * Romanian language file.
- *
- * File Authors:
- * Adrian Nicoara
- * Ionut Traian Popa
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Proprietăţi câmp selecţie (Selection Field)",
TextareaProp : "Proprietăţi suprafaţă text (Textarea)",
FormProp : "Proprietăţi formular (Form)",
-FontFormats : "Normal;Formatat;Adresa;Titlu 1;Titlu 2;Titlu 3;Titlu 4;Titlu 5;Titlu 6;Paragraf (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html //MISSING
// Alerts and Messages
ProcessingXHTML : "Procesăm XHTML. Vă rugăm aşteptaţi...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Selectaţi o ancoră",
DlgLnkAnchorByName : "după numele ancorei",
DlgLnkAnchorById : "după Id-ul elementului",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Adresă de e-mail",
DlgLnkEMailSubject : "Subiectul mesajului",
DlgLnkEMailBody : "Conţinutul mesajului",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "Poziţia la dreapta",
DlnLnkMsgNoUrl : "Vă rugăm să scrieţi URL-ul",
DlnLnkMsgNoEMail : "Vă rugăm să scrieţi adresa de e-mail",
DlnLnkMsgNoAnchor : "Vă rugăm să selectaţi o ancoră",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "Numele 'popup'-ului trebuie să înceapă cu un caracter alfabetic şi trebuie să nu conţină spaţii",
// Color Dialog
DlgColorTitle : "Selectează culoare",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Înlocuieşte tot",
DlgReplaceWordChk : "Doar cuvintele întregi",
// Paste Operations / Dialog
-PasteErrorPaste : "Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de adăugare. Vă rugăm folosiţi tastatura (Ctrl+V).",
PasteErrorCut : "Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de tăiere. Vă rugăm folosiţi tastatura (Ctrl+X).",
PasteErrorCopy : "Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de copiere. Vă rugăm folosiţi tastatura (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Adaugă ca text simplu (Plain Text)",
PasteFromWord : "Adaugă din Word",
DlgPasteMsg2 : "Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (Ctrl+V) şi apăsaţi OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignoră definiţiile Font Face",
DlgPasteRemoveStyles : "Şterge definiţiile stilurilor",
DlgPasteCleanBox : "Şterge căsuţa",
@@ -378,9 +381,9 @@ IeSpellDownload : "Unealta pentru verificat textul (Spell checker) neinstalat
// Button Dialog
DlgButtonText : "Text (Valoare)",
DlgButtonType : "Tip",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Button",
+DlgButtonTypeSbm : "Submit",
+DlgButtonTypeRst : "Reset",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Nume",
@@ -429,7 +432,7 @@ DlgHiddenValue : "Valoare",
// Bulleted List Dialog
BulletedListProp : "Proprietăţile listei punctate (Bulleted List)",
NumberedListProp : "Proprietăţile listei numerotate (Numbered List)",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Start",
DlgLstType : "Tip",
DlgLstTypeCircle : "Cerc",
DlgLstTypeDisc : "Disc",
@@ -452,15 +455,15 @@ DlgDocLangDirLTR : "stânga-dreapta (LTR)",
DlgDocLangDirRTL : "dreapta-stânga (RTL)",
DlgDocLangCode : "Codul limbii",
DlgDocCharSet : "Encoding setului de caractere",
-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 : "Central european",
+DlgDocCharSetCT : "Chinezesc tradiţional (Big5)",
+DlgDocCharSetCR : "Chirilic",
+DlgDocCharSetGR : "Grecesc",
+DlgDocCharSetJP : "Japonez",
+DlgDocCharSetKR : "Corean",
+DlgDocCharSetTR : "Turcesc",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Vest european",
DlgDocCharSetOther : "Alt encoding al setului de caractere",
DlgDocDocType : "Document Type Heading",
@@ -490,13 +493,12 @@ DlgTemplatesTitle : "Template-uri (şabloane) de conţinut",
DlgTemplatesSelMsg : "Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor (conţinutul actual va fi pierdut):",
DlgTemplatesLoading : "Se încarcă lista cu template-uri (şabloane). Vă rugăm aşteptaţi...",
DlgTemplatesNoTpl : "(Niciun template (şablon) definit)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Înlocuieşte cuprinsul actual",
// About Dialog
DlgAboutAboutTab : "Despre",
DlgAboutBrowserInfoTab : "Informaţii browser",
DlgAboutLicenseTab : "Licenţă",
DlgAboutVersion : "versiune",
-DlgAboutLicense : "Licenţiat sub termenii GNU Lesser General Public License",
DlgAboutInfo : "Pentru informaţii amănunţite, vizitaţi"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/ru.js b/phpgwapi/js/fckeditor/editor/lang/ru.js
index b55119a9e6..fdf151b901 100644
--- a/phpgwapi/js/fckeditor/editor/lang/ru.js
+++ b/phpgwapi/js/fckeditor/editor/lang/ru.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: ru.js
- * Russian language file.
- *
- * File Authors:
- * Andrey Grebnev (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Свойства списка",
TextareaProp : "Свойства текстовой области",
FormProp : "Свойства формы",
-FontFormats : "Нормальный;Форматированный;Адрес;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6;Нормальный (DIV)",
+FontFormats : "Нормальный;Форматированный;Адрес;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6;Нормальный (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Обработка XHTML. Пожалуйста подождите...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Выберите якорь",
DlgLnkAnchorByName : "По имени якоря",
DlgLnkAnchorById : "По идентификатору элемента",
-DlgLnkNoAnchors : "<Нет якорей доступных в этом документе>",
+DlgLnkNoAnchors : "<Нет якорей доступных в этом документе>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Адрес эл. почты",
DlgLnkEMailSubject : "Заголовок сообщения",
DlgLnkEMailBody : "Тело сообщения",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Заменить все",
DlgReplaceWordChk : "Совпадение целых слов",
// Paste Operations / Dialog
-PasteErrorPaste : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции вставки. Пожалуйста используйте клавиатуру для этого (Ctrl+V).",
PasteErrorCut : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции вырезания. Пожалуйста используйте клавиатуру для этого (Ctrl+X).",
PasteErrorCopy : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции копирования. Пожалуйста используйте клавиатуру для этого (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Вставить только текст",
PasteFromWord : "Вставить из Word",
DlgPasteMsg2 : "Пожалуйста вставьте текст в прямоугольник используя сочетание клавиш (Ctrl+V) и нажмите OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Игнорировать определения гарнитуры",
DlgPasteRemoveStyles : "Убрать определения стилей",
DlgPasteCleanBox : "Очистить",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "О программе",
DlgAboutBrowserInfoTab : "Информация браузера",
DlgAboutLicenseTab : "Лицензия",
DlgAboutVersion : "Версия",
-DlgAboutLicense : "Лицензировано в соответствии с условиями GNU Lesser General Public License",
DlgAboutInfo : "Для большей информации, посетите"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/sk.js b/phpgwapi/js/fckeditor/editor/lang/sk.js
index b41d3edfc7..83d00bac34 100644
--- a/phpgwapi/js/fckeditor/editor/lang/sk.js
+++ b/phpgwapi/js/fckeditor/editor/lang/sk.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: sk.js
- * Slovak language file.
- *
- * File Authors:
- * Samuel Szabo (samuel@nanete.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 =
@@ -42,14 +46,14 @@ InsertLink : "Vložiť/zmeniť odkaz",
RemoveLink : "Odstrániť odkaz",
Anchor : "Vložiť/zmeniť kotvu",
InsertImageLbl : "Obrázok",
-InsertImage : "Vložiť/zmeniť obrazok",
+InsertImage : "Vložiť/zmeniť obrázok",
InsertFlashLbl : "Flash",
InsertFlash : "Vložiť/zmeniť Flash",
InsertTableLbl : "Tabuľka",
InsertTable : "Vložiť/zmeniť tabuľku",
InsertLineLbl : "Čiara",
-InsertLine : "Vložiť vodorovnú čiara",
-InsertSpecialCharLbl: "Speciálne znaky",
+InsertLine : "Vložiť vodorovnú čiaru",
+InsertSpecialCharLbl: "Špeciálne znaky",
InsertSpecialChar : "Vložiť špeciálne znaky",
InsertSmileyLbl : "Smajlíky",
InsertSmiley : "Vložiť smajlíka",
@@ -77,7 +81,7 @@ ShowDetails : "Zobraziť podrobnosti",
Style : "Štýl",
FontFormat : "Formát",
Font : "Písmo",
-FontSize : "Veľkost",
+FontSize : "Veľkosť",
TextColor : "Farba textu",
BGColor : "Farba pozadia",
Source : "Zdroj",
@@ -94,46 +98,46 @@ RadioButton : "Prepínač",
TextField : "Textové pole",
Textarea : "Textová oblasť",
HiddenField : "Skryté pole",
-Button : "Tlačítko",
+Button : "Tlačíidlo",
SelectionField : "Rozbaľovací zoznam",
-ImageButton : "Obrázkové tlačítko",
+ImageButton : "Obrázkové tlačidlo",
-FitWindow : "Maximize the editor size", //MISSING
+FitWindow : "Maximalizovať veľkosť okna editora",
// Context Menu
EditLink : "Zmeniť odkaz",
-CellCM : "Cell", //MISSING
-RowCM : "Row", //MISSING
-ColumnCM : "Column", //MISSING
+CellCM : "Bunka",
+RowCM : "Riadok",
+ColumnCM : "Stĺpec",
InsertRow : "Vložiť riadok",
-DeleteRows : "Zmazať riadok",
+DeleteRows : "Vymazať riadok",
InsertColumn : "Vložiť stĺpec",
DeleteColumns : "Zmazať stĺpec",
InsertCell : "Vložiť bunku",
-DeleteCells : "Zmazať bunky",
+DeleteCells : "Vymazať bunky",
MergeCells : "Zlúčiť bunky",
SplitCell : "Rozdeliť bunku",
-TableDelete : "Zmazať tabuľku",
+TableDelete : "Vymazať tabuľku",
CellProperties : "Vlastnosti bunky",
TableProperties : "Vlastnosti tabuľky",
ImageProperties : "Vlastnosti obrázku",
FlashProperties : "Vlastnosti Flashu",
AnchorProp : "Vlastnosti kotvy",
-ButtonProp : "Vlastnosti tlačítka",
+ButtonProp : "Vlastnosti tlačidla",
CheckboxProp : "Vlastnosti zaškrtávacieho políčka",
HiddenFieldProp : "Vlastnosti skrytého poľa",
RadioButtonProp : "Vlastnosti prepínača",
-ImageButtonProp : "Vlastnosti obrázkového tlačítka",
-TextFieldProp : "Vlastnosti textového pola",
+ImageButtonProp : "Vlastnosti obrázkového tlačidla",
+TextFieldProp : "Vlastnosti textového poľa",
SelectionFieldProp : "Vlastnosti rozbaľovacieho zoznamu",
-TextareaProp : "Vlastnosti textové oblasti",
+TextareaProp : "Vlastnosti textovej oblasti",
FormProp : "Vlastnosti formulára",
-FontFormats : "Normálny;Formátovaný;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6;Odsek (DIV)",
+FontFormats : "Normálny;Formátovaný;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6;Odsek (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
-ProcessingXHTML : "Prebieha spracovanie XHTML. Čakejte prosím...",
+ProcessingXHTML : "Prebieha spracovanie XHTML. Čakajte prosím...",
Done : "Dokončené.",
PasteWordConfirm : "Vyzerá to tak, že vkladaný text je kopírovaný z Wordu. Chcete ho pred vložením vyčistiť?",
NotCompatiblePaste : "Tento príkaz je dostupný len v prehliadači Internet Explorer verzie 5.5 alebo vyššej. Chcete vložiť text bez vyčistenia?",
@@ -141,7 +145,7 @@ UnknownToolbarItem : "Neznáma položka panela nástrojov \"%1\"",
UnknownCommand : "Neznámy príkaz \"%1\"",
NotImplemented : "Príkaz nie je implementovaný",
UnknownToolbarSet : "Panel nástrojov \"%1\" neexistuje",
-NoActiveX : "Bezpečnostné nastavenia Vašeho prehliadača môžu obmedzovať niektoré funkcie editora. Pre ich plnú funkčnosť musíte zapnúť voľbu \"Spúšťať ActiveX moduly a zásuvné moduly\", inak sa môžete stretnúť s chybami a nefunkčnosťou niektorých funkcií.",
+NoActiveX : "Bezpečnostné nastavenia vášho prehliadača môžu obmedzovať niektoré funkcie editora. Pre ich plnú funkčnosť musíte zapnúť voľbu \"Spúšťať ActiveX moduly a zásuvné moduly\", inak sa môžete stretnúť s chybami a nefunkčnosťou niektorých funkcií.",
BrowseServerBlocked : "Prehliadač zdrojových prvkov nebolo možné otvoriť. Uistite sa, že máte vypnuté všetky blokovače vyskakujúcich okien.",
DialogBlocked : "Dialógové okno nebolo možné otvoriť. Uistite sa, že máte vypnuté všetky blokovače vyskakujúcich okien.",
@@ -160,7 +164,7 @@ DlgGenNotSet : "",
DlgGenId : "Id",
DlgGenLangDir : "Orientácia jazyka",
DlgGenLangDirLtr : "Zľava doprava (LTR)",
-DlgGenLangDirRtl : "Zprava doľava (RTL)",
+DlgGenLangDirRtl : "Sprava doľava (RTL)",
DlgGenLangCode : "Kód jazyka",
DlgGenAccessKey : "Prístupový kľúč",
DlgGenName : "Meno",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Vybrať kotvu",
DlgLnkAnchorByName : "Podľa mena kotvy",
DlgLnkAnchorById : "Podľa Id objektu",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mailová adresa",
DlgLnkEMailSubject : "Predmet správy",
DlgLnkEMailBody : "Telo správy",
@@ -258,7 +262,7 @@ DlgLnkPopTop : "Horný okraj",
DlnLnkMsgNoUrl : "Zadajte prosím URL odkazu",
DlnLnkMsgNoEMail : "Zadajte prosím e-mailovú adresu",
DlnLnkMsgNoAnchor : "Vyberte prosím kotvu",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "Názov vyskakovacieho okna sa musá začínať písmenom a nemôže obsahovať medzery",
// Color Dialog
DlgColorTitle : "Výber farby",
@@ -270,7 +274,7 @@ DlgColorSelected : "Vybraná",
DlgSmileyTitle : "Vkladanie smajlíkov",
// Special Character Dialog
-DlgSpecialCharTitle : "Výber speciálneho znaku",
+DlgSpecialCharTitle : "Výber špeciálneho znaku",
// Table Dialog
DlgTableTitle : "Vlastnosti tabuľky",
@@ -306,7 +310,7 @@ DlgCellHorAlignNotSet : "",
DlgCellHorAlignLeft : "Vľavo",
DlgCellHorAlignCenter : "Na stred",
DlgCellHorAlignRight: "Vpravo",
-DlgCellVerAlign : "Zvyslé zarovnanie",
+DlgCellVerAlign : "Zvislé zarovnanie",
DlgCellVerAlignNotSet : "",
DlgCellVerAlignTop : "Nahor",
DlgCellVerAlignMiddle : "Doprostred",
@@ -333,14 +337,14 @@ DlgReplaceReplAllBtn : "Nahradiť všetko",
DlgReplaceWordChk : "Len celé slová",
// Paste Operations / Dialog
-PasteErrorPaste : "Bezpečnostné nastavenie Vášho prohehliadača nedovoľujú editoru spustiť funkciu pre vloženie textu zo schránky. Prosím vložte text zo schránky pomocou klávesnice (Ctrl+V).",
-PasteErrorCut : "Bezpečnostné nastavenie Vášho prohehliadača nedovoľujú editoru spustiť funkciu pre vystrihnutie zvoleného textu do schránky. Prosím vystrihnite zvolený text do schránky pomocou klávesnice (Ctrl+X).",
-PasteErrorCopy : "Bezpečnostné nastavenie Vášho prohehliadača nedovoľujú editoru spustiť funkciu pre kopírovánie zvoleného textu do schránky. Prosím skopírujte zvolený text do schránky pomocou klávesnice (Ctrl+C).",
+PasteErrorCut : "Bezpečnostné nastavenie Vášho prehliadača nedovoľujú editoru spustiť funkciu pre vystrihnutie zvoleného textu do schránky. Prosím vystrihnite zvolený text do schránky pomocou klávesnice (Ctrl+X).",
+PasteErrorCopy : "Bezpečnostné nastavenie Vášho prehliadača nedovoľujú editoru spustiť funkciu pre kopírovanie zvoleného textu do schránky. Prosím skopírujte zvolený text do schránky pomocou klávesnice (Ctrl+C).",
PasteAsText : "Vložiť ako čistý text",
PasteFromWord : "Vložiť text z Wordu",
-DlgPasteMsg2 : "Do nasledujúceho boxu vložte obsah schránky použitím klávesnice (Ctrl+V) a stlačte OK.",
+DlgPasteMsg2 : "Prosím vložte nasledovný rámček použitím klávesnice (Ctrl+V) a stlačte OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorovať nastavenia typu písma",
DlgPasteRemoveStyles : "Odstrániť formátovanie",
DlgPasteCleanBox : "Vyčistiť schránku",
@@ -367,7 +371,7 @@ DlgSpellBtnReplaceAll : "Prepísat všetko",
DlgSpellBtnUndo : "Späť",
DlgSpellNoSuggestions : "- Žiadny návrh -",
DlgSpellProgress : "Prebieha kontrola pravopisu...",
-DlgSpellNoMispell : "Kontrola pravopisu dokončená: bez chyb",
+DlgSpellNoMispell : "Kontrola pravopisu dokončená: bez chýb",
DlgSpellNoChanges : "Kontrola pravopisu dokončená: žiadne slová nezmenené",
DlgSpellOneChange : "Kontrola pravopisu dokončená: zmenené jedno slovo",
DlgSpellManyChanges : "Kontrola pravopisu dokončená: zmenených %1 slov",
@@ -377,9 +381,9 @@ IeSpellDownload : "Kontrola pravopisu nie je naištalovaná. Chcete ju hneď s
// Button Dialog
DlgButtonText : "Text",
DlgButtonType : "Typ",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Tlačidlo",
+DlgButtonTypeSbm : "Odoslať",
+DlgButtonTypeRst : "Vymazať",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Názov",
@@ -402,8 +406,8 @@ DlgSelectOpText : "Text",
DlgSelectOpValue : "Hodnota",
DlgSelectBtnAdd : "Pridať",
DlgSelectBtnModify : "Zmeniť",
-DlgSelectBtnUp : "Nahor",
-DlgSelectBtnDown : "Dolu",
+DlgSelectBtnUp : "Hore",
+DlgSelectBtnDown : "Dole",
DlgSelectBtnSetValue : "Nastaviť ako vybranú hodnotu",
DlgSelectBtnDelete : "Zmazať",
@@ -428,7 +432,7 @@ DlgHiddenValue : "Hodnota",
// Bulleted List Dialog
BulletedListProp : "Vlastnosti odrážok",
NumberedListProp : "Vlastnosti číslovania",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Štart",
DlgLstType : "Typ",
DlgLstTypeCircle : "Krúžok",
DlgLstTypeDisc : "Disk",
@@ -448,18 +452,18 @@ DlgDocMetaTab : "Meta Data",
DlgDocPageTitle : "Titulok",
DlgDocLangDir : "Orientácie jazyka",
DlgDocLangDirLTR : "Zľava doprava (LTR)",
-DlgDocLangDirRTL : "Zprava doľava (RTL)",
+DlgDocLangDirRTL : "Sprava doľava (RTL)",
DlgDocLangCode : "Kód jazyka",
DlgDocCharSet : "Kódová stránka",
-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 : "Stredoeurópske",
+DlgDocCharSetCT : "Čínština tradičná (Big5)",
+DlgDocCharSetCR : "Cyrillika",
+DlgDocCharSetGR : "Gréčtina",
+DlgDocCharSetJP : "Japončina",
+DlgDocCharSetKR : "Korejčina",
+DlgDocCharSetTR : "Turečtina",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Západná európa",
DlgDocCharSetOther : "Iná kódová stránka",
DlgDocDocType : "Typ záhlavia dokumentu",
@@ -486,16 +490,15 @@ DlgDocPreview : "Náhľad",
// Templates Dialog
Templates : "Šablóny",
DlgTemplatesTitle : "Šablóny obsahu",
-DlgTemplatesSelMsg : "Prosím vyberte šablóny ma otvorenie v editore (terajší obsah bude stratený):",
+DlgTemplatesSelMsg : "Prosím vyberte šablóny na otvorenie v editore (súšasný obsah bude stratený):",
DlgTemplatesLoading : "Nahrávam zoznam šablón. Čakajte prosím...",
DlgTemplatesNoTpl : "(žiadne šablóny nenájdené)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Nahradiť aktuálny obsah",
// About Dialog
DlgAboutAboutTab : "O aplikáci",
DlgAboutBrowserInfoTab : "Informácie o prehliadači",
-DlgAboutLicenseTab : "License", //MISSING
-DlgAboutVersion : "verzie",
-DlgAboutLicense : "Licencované pod pravidlami GNU Lesser General Public License",
+DlgAboutLicenseTab : "Licencia",
+DlgAboutVersion : "verzia",
DlgAboutInfo : "Viac informácií získate na"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/sl.js b/phpgwapi/js/fckeditor/editor/lang/sl.js
index ba9cfc72f5..95cde15f0c 100644
--- a/phpgwapi/js/fckeditor/editor/lang/sl.js
+++ b/phpgwapi/js/fckeditor/editor/lang/sl.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: sl.js
- * Slovenian language file.
- *
- * File Authors:
- * Boris Volarič (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Lastnosti spustnega seznama",
TextareaProp : "Lastnosti vnosnega območja",
FormProp : "Lastnosti obrazca",
-FontFormats : "Navaden;Oblikovan;Napis;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6",
+FontFormats : "Navaden;Oblikovan;Napis;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Obdelujem XHTML. Prosim počakajte...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Izberi zaznamek",
DlgLnkAnchorByName : "Po imenu zaznamka",
DlgLnkAnchorById : "Po ID-ju elementa",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Elektronski naslov",
DlgLnkEMailSubject : "Predmet sporočila",
DlgLnkEMailBody : "Vsebina sporočila",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Zamenjaj vse",
DlgReplaceWordChk : "Samo cele besede",
// Paste Operations / Dialog
-PasteErrorPaste : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega lepljenja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+V).",
PasteErrorCut : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+X).",
PasteErrorCopy : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Prilepi kot golo besedilo",
PasteFromWord : "Prilepi iz Worda",
DlgPasteMsg2 : "Prosim prilepite v sleči okvir s pomočjo tipkovnice (Ctrl+V) in pritisnite V redu.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Prezri obliko pisave",
DlgPasteRemoveStyles : "Odstrani nastavitve stila",
DlgPasteCleanBox : "Počisti okvir",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Vizitka",
DlgAboutBrowserInfoTab : "Informacije o brskalniku",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "različica",
-DlgAboutLicense : "Pravica za uporabo pod pogoji GNU Lesser General Public License",
DlgAboutInfo : "Za več informacij obiščite"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/sr-latn.js b/phpgwapi/js/fckeditor/editor/lang/sr-latn.js
index 659c65a97d..5fa8154e10 100644
--- a/phpgwapi/js/fckeditor/editor/lang/sr-latn.js
+++ b/phpgwapi/js/fckeditor/editor/lang/sr-latn.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: sr-latn.js
- * Serbian (Latin) language file.
- *
- * File Authors:
- * Zoran Subic (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Osobine izbornog polja",
TextareaProp : "Osobine zone teksta",
FormProp : "Osobine forme",
-FontFormats : "Normal;Formatirano;Adresa;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6",
+FontFormats : "Normal;Formatirano;Adresa;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Obradujem XHTML. Malo strpljenja...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Odaberi sidro",
DlgLnkAnchorByName : "Po nazivu sidra",
DlgLnkAnchorById : "Po Id-ju elementa",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Mail adresa",
DlgLnkEMailSubject : "Naslov",
DlgLnkEMailBody : "Sadržaj poruke",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Zameni sve",
DlgReplaceWordChk : "Uporedi cele reci",
// Paste Operations / Dialog
-PasteErrorPaste : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog lepljenja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+V).",
PasteErrorCut : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+X).",
PasteErrorCopy : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Zalepi kao čist tekst",
PasteFromWord : "Zalepi iz Worda",
DlgPasteMsg2 : "Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (Ctrl+V) i da pritisnete OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignoriši definicije fontova",
DlgPasteRemoveStyles : "Ukloni definicije stilova",
DlgPasteCleanBox : "Obriši sve",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "O editoru",
DlgAboutBrowserInfoTab : "Informacije o pretraživacu",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "verzija",
-DlgAboutLicense : "Licencirano pod uslovima GNU Lesser General Public License",
DlgAboutInfo : "Za više informacija posetite"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/sr.js b/phpgwapi/js/fckeditor/editor/lang/sr.js
index 59f9166bac..e7aac2311e 100644
--- a/phpgwapi/js/fckeditor/editor/lang/sr.js
+++ b/phpgwapi/js/fckeditor/editor/lang/sr.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: sr.js
- * Serbian (Cyrillic) language file.
- *
- * File Authors:
- * Zoran Subić (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Особине изборног поља",
TextareaProp : "Особине зоне текста",
FormProp : "Особине форме",
-FontFormats : "Normal;Formatirano;Adresa;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6",
+FontFormats : "Normal;Formatirano;Adresa;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Обрађујем XHTML. Maлo стрпљења...",
@@ -225,7 +229,7 @@ DlgLnkURL : "УРЛ",
DlgLnkAnchorSel : "Одабери сидро",
DlgLnkAnchorByName : "По називу сидра",
DlgLnkAnchorById : "Пo Ид-jу елемента",
-DlgLnkNoAnchors : "<Нема доступних сидра>",
+DlgLnkNoAnchors : "<Нема доступних сидра>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Адреса електронске поште",
DlgLnkEMailSubject : "Наслов",
DlgLnkEMailBody : "Садржај поруке",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Замени све",
DlgReplaceWordChk : "Упореди целе речи",
// Paste Operations / Dialog
-PasteErrorPaste : "Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског лепљења текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+V).",
PasteErrorCut : "Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+X).",
PasteErrorCopy : "Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Залепи као чист текст",
PasteFromWord : "Залепи из Worda",
DlgPasteMsg2 : "Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (Ctrl+V) и да притиснете OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Игнориши Font Face дефиниције",
DlgPasteRemoveStyles : "Уклони дефиниције стилова",
DlgPasteCleanBox : "Обриши све",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "О едитору",
DlgAboutBrowserInfoTab : "Информације о претраживачу",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "верзија",
-DlgAboutLicense : "Лиценцирано под условима GNU Lesser General Public License",
DlgAboutInfo : "За више информација посетите"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/sv.js b/phpgwapi/js/fckeditor/editor/lang/sv.js
index 87bb0e02ff..3965029756 100644
--- a/phpgwapi/js/fckeditor/editor/lang/sv.js
+++ b/phpgwapi/js/fckeditor/editor/lang/sv.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: sv.js
- * Swedish language file.
- *
- * File Authors:
- * Kristoffer Malvefors (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "Egenskaper för flervalslista",
TextareaProp : "Egenskaper för textruta",
FormProp : "Egenskaper för formulär",
-FontFormats : "Normal;Formaterad;Adress;Rubrik 1;Rubrik 2;Rubrik 3;Rubrik 4;Rubrik 5;Rubrik 6",
+FontFormats : "Normal;Formaterad;Adress;Rubrik 1;Rubrik 2;Rubrik 3;Rubrik 4;Rubrik 5;Rubrik 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Bearbetar XHTML. Var god vänta...",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Välj ett ankare",
DlgLnkAnchorByName : "efter ankarnamn",
DlgLnkAnchorById : "efter objektid",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-postadress",
DlgLnkEMailSubject : "Ämne",
DlgLnkEMailBody : "Innehåll",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Ersätt alla",
DlgReplaceWordChk : "Inkludera hela ord",
// Paste Operations / Dialog
-PasteErrorPaste : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klistra in. Använd (Ctrl+V) istället.",
PasteErrorCut : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klipp ut. Använd (Ctrl+X) istället.",
PasteErrorCopy : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl+C) istället",
@@ -341,6 +344,7 @@ PasteAsText : "Klistra in som vanlig text",
PasteFromWord : "Klistra in från Word",
DlgPasteMsg2 : "Var god och klistra in Er text i rutan nedan genom att använda (Ctrl+V) klicka sen på OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ignorera typsnittsdefinitioner",
DlgPasteRemoveStyles : "Radera Stildefinitioner",
DlgPasteCleanBox : "Töm rutans innehåll",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "Om",
DlgAboutBrowserInfoTab : "Webläsare",
DlgAboutLicenseTab : "License", //MISSING
DlgAboutVersion : "version",
-DlgAboutLicense : "Licensierad under villkoren av GNU Lesser General Public License",
DlgAboutInfo : "För mer information se"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/th.js b/phpgwapi/js/fckeditor/editor/lang/th.js
index 8923b96568..8c4319a157 100644
--- a/phpgwapi/js/fckeditor/editor/lang/th.js
+++ b/phpgwapi/js/fckeditor/editor/lang/th.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: th.js
- * Thai language file.
- *
- * File Authors:
- * Audy Charin Arsakit (arsakit@gmail.com)
- * Joy Piyanoot Promnuan (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 =
@@ -44,8 +47,8 @@ RemoveLink : "ลบ ลิงค์",
Anchor : "แทรก/แก้ไข Anchor",
InsertImageLbl : "รูปภาพ",
InsertImage : "แทรก/แก้ไข รูปภาพ",
-InsertFlashLbl : "Flash", //MISSING
-InsertFlash : "Insert/Edit Flash", //MISSING
+InsertFlashLbl : "ไฟล์ Flash",
+InsertFlash : "แทรก/แก้ไข ไฟล์ Flash",
InsertTableLbl : "ตาราง",
InsertTable : "แทรก/แก้ไข ตาราง",
InsertLineLbl : "เส้นคั่นบรรทัด",
@@ -86,8 +89,8 @@ Find : "ค้นหา",
Replace : "ค้นหาและแทนที่",
SpellCheck : "ตรวจการสะกดคำ",
UniversalKeyboard : "คีย์บอร์ดหลากภาษา",
-PageBreakLbl : "Page Break", //MISSING
-PageBreak : "Insert Page Break", //MISSING
+PageBreakLbl : "ใส่ตัวแบ่งหน้า Page Break",
+PageBreak : "แทรกตัวแบ่งหน้า Page Break",
Form : "แบบฟอร์ม",
Checkbox : "เช็คบ๊อก",
@@ -99,13 +102,13 @@ Button : "ปุ่ม",
SelectionField : "แถบตัวเลือก",
ImageButton : "ปุ่มแบบรูปภาพ",
-FitWindow : "Maximize the editor size", //MISSING
+FitWindow : "ขยายขนาดตัวอีดิตเตอร์",
// Context Menu
EditLink : "แก้ไข ลิงค์",
-CellCM : "Cell", //MISSING
-RowCM : "Row", //MISSING
-ColumnCM : "Column", //MISSING
+CellCM : "ช่องตาราง",
+RowCM : "แถว",
+ColumnCM : "คอลัมน์",
InsertRow : "แทรกแถว",
DeleteRows : "ลบแถว",
InsertColumn : "แทรกสดมน์",
@@ -114,11 +117,11 @@ InsertCell : "แทรกช่อง",
DeleteCells : "ลบช่อง",
MergeCells : "ผสานช่อง",
SplitCell : "แยกช่อง",
-TableDelete : "Delete Table", //MISSING
+TableDelete : "ลบตาราง",
CellProperties : "คุณสมบัติของช่อง",
TableProperties : "คุณสมบัติของตาราง",
ImageProperties : "คุณสมบัติของรูปภาพ",
-FlashProperties : "Flash Properties", //MISSING
+FlashProperties : "คุณสมบัติของไฟล์ Flash",
AnchorProp : "รายละเอียด Anchor",
ButtonProp : "รายละเอียดของ ปุ่ม",
@@ -131,7 +134,7 @@ SelectionFieldProp : "คุณสมบัติของ แถบตัวเ
TextareaProp : "คุณสมบัติของ เท็กแอเรีย",
FormProp : "คุณสมบัติของ แบบฟอร์ม",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "โปรแกรมกำลังทำงานด้วยเทคโนโลยี XHTML กรุณารอสักครู่...",
@@ -142,9 +145,9 @@ UnknownToolbarItem : "ไม่สามารถระบุปุ่มเค
UnknownCommand : "ไม่สามารถระบุชื่อคำสั่งได้ \"%1\"",
NotImplemented : "ไม่สามารถใช้งานคำสั่งได้",
UnknownToolbarSet : "ไม่มีการติดตั้งชุดคำสั่งในแถบเครื่องมือ \"%1\" กรุณาติดต่อผู้ดูแลระบบ",
-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
+NoActiveX : "โปรแกรมท่องอินเตอร์เน็ตของท่านไม่อนุญาติให้อีดิตเตอร์ทำงาน \"Run ActiveX controls and plug-ins\". หากไม่อนุญาติให้ใช้งาน ActiveX controls ท่านจะไม่สามารถใช้งานได้อย่างเต็มประสิทธิภาพ.",
+BrowseServerBlocked : "เปิดหน้าต่างป๊อบอัพเพื่อทำงานต่อไม่ได้ กรุณาปิดเครื่องมือป้องกันป๊อบอัพในโปรแกรมท่องอินเตอร์เน็ตของท่านด้วย",
+DialogBlocked : "เปิดหน้าต่างป๊อบอัพเพื่อทำงานต่อไม่ได้ กรุณาปิดเครื่องมือป้องกันป๊อบอัพในโปรแกรมท่องอินเตอร์เน็ตของท่านด้วย",
// Dialogs
DlgBtnOK : "ตกลง",
@@ -153,8 +156,8 @@ DlgBtnClose : "ปิด",
DlgBtnBrowseServer : "เปิดหน้าต่างจัดการไฟล์อัพโหลด",
DlgAdvancedTag : "ขั้นสูง",
DlgOpOther : "<อื่นๆ>",
-DlgInfoTab : "Info", //MISSING
-DlgAlertUrl : "Please insert the URL", //MISSING
+DlgInfoTab : "อินโฟ",
+DlgAlertUrl : "กรุณาระบุ URL",
// General Dialogs Labels
DlgGenNotSet : "<ไม่ระบุ>",
@@ -199,17 +202,17 @@ DlgImgAlignTextTop : "ใต้ตัวอักษร",
DlgImgAlignTop : "บนสุด",
DlgImgPreview : "หน้าเอกสารตัวอย่าง",
DlgImgAlertUrl : "กรุณาระบุที่อยู่อ้างอิงออนไลน์ของไฟล์รูปภาพ (URL)",
-DlgImgLinkTab : "Link", //MISSING
+DlgImgLinkTab : "ลิ้งค์",
// 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",
+DlgFlashChkPlay : "เล่นอัตโนมัติ Auto Play",
+DlgFlashChkLoop : "เล่นวนรอบ Loop",
+DlgFlashChkMenu : "ให้ใช้งานเมนูของ Flash",
+DlgFlashScale : "อัตราส่วน Scale",
+DlgFlashScaleAll : "แสดงให้เห็นทั้งหมด Show all",
+DlgFlashScaleNoBorder : "ไม่แสดงเส้นขอบ No Border",
+DlgFlashScaleFit : "แสดงให้พอดีกับพื้นที่ Exact Fit",
// Link Dialog
DlgLnkWindowTitle : "ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ",
@@ -226,7 +229,7 @@ DlgLnkURL : "ที่อยู่อ้างอิงออนไลน์ (
DlgLnkAnchorSel : "ระบุข้อมูลของจุดเชื่อมโยง (Anchor)",
DlgLnkAnchorByName : "ชื่อ",
DlgLnkAnchorById : "ไอดี",
-DlgLnkNoAnchors : "<ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้>",
+DlgLnkNoAnchors : "(ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้)", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "อีเมล์ (E-Mail)",
DlgLnkEMailSubject : "หัวเรื่อง",
DlgLnkEMailBody : "ข้อความ",
@@ -259,7 +262,7 @@ DlgLnkPopTop : "พิกัดบน (Top Position)",
DlnLnkMsgNoUrl : "กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)",
DlnLnkMsgNoEMail : "กรุณาระบุอีเมล์ (E-mail)",
DlnLnkMsgNoAnchor : "กรุณาระบุจุดเชื่อมโยง (Anchor)",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "ชื่อของหน้าต่างป๊อบอัพ จะต้องขึ้นต้นด้วยตัวอักษรเท่านั้น และต้องไม่มีช่องว่างในชื่อ",
// Color Dialog
DlgColorTitle : "เลือกสี",
@@ -268,7 +271,7 @@ DlgColorHighlight : "ตัวอย่างสี",
DlgColorSelected : "สีที่เลือก",
// Smiley Dialog
-DlgSmileyTitle : "แทรกสัญักษณ์สื่ออารมณ์",
+DlgSmileyTitle : "แทรกสัญลักษณ์สื่ออารมณ์",
// Special Character Dialog
DlgSpecialCharTitle : "แทรกตัวอักษรพิเศษ",
@@ -290,7 +293,7 @@ DlgTableHeight : "สูง",
DlgTableCellSpace : "ระยะแนวนอนน",
DlgTableCellPad : "ระยะแนวตั้ง",
DlgTableCaption : "หัวเรื่องของตาราง",
-DlgTableSummary : "Summary", //MISSING
+DlgTableSummary : "สรุปความ",
// Table Cell Dialog
DlgCellTitle : "คุณสมบัติของ ช่อง",
@@ -334,17 +337,17 @@ DlgReplaceReplAllBtn : "แทนที่ทั้งหมดที่พบ",
DlgReplaceWordChk : "ต้องตรงกันทุกคำ",
// Paste Operations / Dialog
-PasteErrorPaste : "ไม่สามารถวางข้อความที่สำเนามาได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว V พร้อมกัน).",
PasteErrorCut : "ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว X พร้อมกัน).",
PasteErrorCopy : "ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว C พร้อมกัน).",
PasteAsText : "วางแบบตัวอักษรธรรมดา",
PasteFromWord : "วางแบบตัวอักษรจากโปรแกรมเวิร์ด",
-DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING
-DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING
-DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING
-DlgPasteCleanBox : "Clean Up Box", //MISSING
+DlgPasteMsg2 : "กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (Ctrl และ V)พร้อมๆกัน และกด OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
+DlgPasteIgnoreFont : "ไม่สนใจ Font Face definitions",
+DlgPasteRemoveStyles : "ลบ Styles definitions",
+DlgPasteCleanBox : "ล้างข้อมูลใน Box",
// Color Picker
ColorAutomatic : "สีอัตโนมัติ",
@@ -378,9 +381,9 @@ IeSpellDownload : "ไม่ได้ติดตั้งระบบตร
// Button Dialog
DlgButtonText : "ข้อความ (ค่าตัวแปร)",
DlgButtonType : "ข้อความ",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Button",
+DlgButtonTypeSbm : "Submit",
+DlgButtonTypeRst : "Reset",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "ชื่อ",
@@ -452,15 +455,15 @@ DlgDocLangDirLTR : "จากซ้ายไปขวา (LTR)",
DlgDocLangDirRTL : "จากขวาไปซ้าย (RTL)",
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
+DlgDocCharSetCE : "Central European",
+DlgDocCharSetCT : "Chinese Traditional (Big5)",
+DlgDocCharSetCR : "Cyrillic",
+DlgDocCharSetGR : "Greek",
+DlgDocCharSetJP : "Japanese",
+DlgDocCharSetKR : "Korean",
+DlgDocCharSetTR : "Turkish",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Western European",
DlgDocCharSetOther : "ชุดตัวอักษรอื่นๆ",
DlgDocDocType : "ประเภทของเอกสาร",
@@ -485,18 +488,17 @@ DlgDocMeCopy : "สงวนลิขสิทธิ์",
DlgDocPreview : "ตัวอย่างหน้าเอกสาร",
// Templates Dialog
-Templates : "Templates", //MISSING
-DlgTemplatesTitle : "Content Templates", //MISSING
-DlgTemplatesSelMsg : "Please select the template to open in the editor (the actual contents will be lost):", //MISSING
-DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING
-DlgTemplatesNoTpl : "(No templates defined)", //MISSING
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+Templates : "เทมเพลต",
+DlgTemplatesTitle : "เทมเพลตของส่วนเนื้อหาเว็บไซต์",
+DlgTemplatesSelMsg : "กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์ (เนื้อหาส่วนนี้จะหายไป):",
+DlgTemplatesLoading : "กำลังโหลดรายการเทมเพลตทั้งหมด...",
+DlgTemplatesNoTpl : "(ยังไม่มีการกำหนดเทมเพลต)",
+DlgTemplatesReplace : "แทนที่เนื้อหาเว็บไซต์ที่เลือก",
// About Dialog
DlgAboutAboutTab : "เกี่ยวกับโปรแกรม",
DlgAboutBrowserInfoTab : "โปรแกรมท่องเว็บที่ท่านใช้",
-DlgAboutLicenseTab : "License", //MISSING
+DlgAboutLicenseTab : "ลิขสิทธิ์",
DlgAboutVersion : "รุ่น",
-DlgAboutLicense : "สงวนลิขสิทธิ์ โดยนโยบายลิขสิทธิ์แบบ GNU Lesser General Public License",
-DlgAboutInfo : "ข้อมูลเพิ่มเติมภาษาไทยติดต่อนาย ชรินทร์ อาษากิจ (อู้ด)arsakit@gmail.com tel. (+66) 06-9241924หรือดาวน์โหลดรุ่นภาษาไทยได้ที่เว็บไซต์www.Thaimall4u.comข้อมูลเพิ่มเติมภาษาอังกฤษ กรุณาไปที่นี่"
-}
\ No newline at end of file
+DlgAboutInfo : "For further information go to" //MISSING
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/tr.js b/phpgwapi/js/fckeditor/editor/lang/tr.js
index e973fc30a6..53b371ec71 100644
--- a/phpgwapi/js/fckeditor/editor/lang/tr.js
+++ b/phpgwapi/js/fckeditor/editor/lang/tr.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: tr.js
- * Turkish language file.
- *
- * File Authors:
- * Bogac Guven (bogacmx@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 ==
+ *
+ * Turkish language file.
*/
var FCKLang =
@@ -22,8 +26,8 @@ var FCKLang =
// Language direction : "ltr" (left to right) or "rtl" (right to left).
Dir : "ltr",
-ToolbarCollapse : "Araç Çubugunu Kapat",
-ToolbarExpand : "Araç Çubugunu Aç",
+ToolbarCollapse : "Araç Çubuğunu Kapat",
+ToolbarExpand : "Araç Çubuğunu Aç",
// Toolbar Items and Context Menu
Save : "Kaydet",
@@ -74,9 +78,9 @@ BulletedListLbl : "Simgeli Liste",
BulletedList : "Simgeli Liste Ekle/Kaldır",
ShowTableBorders : "Tablo Kenarlarını Göster",
ShowDetails : "Detayları Göster",
-Style : "Stil",
+Style : "Biçem",
FontFormat : "Biçim",
-Font : "Yazı Tipi",
+Font : "Yazı Türü",
FontSize : "Boyut",
TextColor : "Yazı Rengi",
BGColor : "Arka Renk",
@@ -95,10 +99,10 @@ TextField : "Metin Girişi",
Textarea : "Çok Satırlı Metin",
HiddenField : "Gizli Veri",
Button : "Düğme",
-SelectionField : "Seçim Mönüsü",
+SelectionField : "Seçim Menüsü",
ImageButton : "Resimli Düğme",
-FitWindow : "Editör boyutunu büyüt",
+FitWindow : "Düzenleyici boyutunu büyüt",
// Context Menu
EditLink : "Köprü Düzenle",
@@ -126,11 +130,11 @@ HiddenFieldProp : "Gizli Veri Özellikleri",
RadioButtonProp : "Seçenek Düğmesi Özellikleri",
ImageButtonProp : "Resimli Düğme Özellikleri",
TextFieldProp : "Metin Girişi Özellikleri",
-SelectionFieldProp : "Seçim Mönüsü Özellikleri",
+SelectionFieldProp : "Seçim Menüsü Özellikleri",
TextareaProp : "Çok Satırlı Metin Özellikleri",
FormProp : "Form Özellikleri",
-FontFormats : "Normal;Biçimli;Adres;Başlık 1;Başlık 2;Başlık 3;Başlık 4;Başlık 5;Başlık 6;Paragraf (DIV)",
+FontFormats : "Normal;Biçimli;Adres;Başlık 1;Başlık 2;Başlık 3;Başlık 4;Başlık 5;Başlık 6;Paragraf (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "XHTML işleniyor. Lütfen bekleyin...",
@@ -143,7 +147,7 @@ NotImplemented : "Komut uyarlanamadı",
UnknownToolbarSet : "\"%1\" araç çubuğu öğesi mevcut değil",
NoActiveX : "Kullandığınız tarayıcının güvenlik ayarları bazı özelliklerin kullanılmasını engelliyor. Bu özelliklerin çalışması için \"Run ActiveX controls and plug-ins (Activex ve eklentileri çalıştır)\" seçeneğinin aktif yapılması gerekiyor. Kullanılamayan eklentiler ve hatalar konusunda daha fazla bilgi sahibi olun.",
BrowseServerBlocked : "Kaynak tarayıcısı açılamadı. Tüm \"popup blocker\" programlarının devre dışı olduğundan emin olun. (Yahoo toolbar, Msn toolbar, Google toolbar gibi)",
-DialogBlocked : "diyalog açmak mümkün olmadı. Tüm \"Popup Blocker\" programlarının devre dışı olduğundan emin olun.",
+DialogBlocked : "Diyalog açmak mümkün olmadı. Tüm \"Popup Blocker\" programlarının devre dışı olduğundan emin olun.",
// Dialogs
DlgBtnOK : "Tamam",
@@ -158,26 +162,26 @@ DlgAlertUrl : "Lütfen URL girin",
// General Dialogs Labels
DlgGenNotSet : "",
DlgGenId : "Kimlik",
-DlgGenLangDir : "Lisan Yönü",
+DlgGenLangDir : "Dil Yönü",
DlgGenLangDirLtr : "Soldan Sağa (LTR)",
DlgGenLangDirRtl : "Sağdan Sola (RTL)",
-DlgGenLangCode : "Lisan Kodlaması",
+DlgGenLangCode : "Dil Kodlaması",
DlgGenAccessKey : "Erişim Tuşu",
-DlgGenName : "İsim",
+DlgGenName : "Ad",
DlgGenTabIndex : "Sekme İndeksi",
DlgGenLongDescr : "Uzun Tanımlı URL",
-DlgGenClass : "Stil Klasları",
-DlgGenTitle : "Danışma Baslığı",
+DlgGenClass : "Biçem Sayfası Sınıfları",
+DlgGenTitle : "Danışma Başlığı",
DlgGenContType : "Danışma İçerik Türü",
DlgGenLinkCharset : "Bağlı Kaynak Karakter Gurubu",
-DlgGenStyle : "Stil",
+DlgGenStyle : "Biçem",
// Image Dialog
DlgImgTitle : "Resim Özellikleri",
DlgImgInfoTab : "Resim Bilgisi",
DlgImgBtnUpload : "Sunucuya Yolla",
DlgImgURL : "URL",
-DlgImgUpload : "Karsıya Yükle",
+DlgImgUpload : "Karşıya Yükle",
DlgImgAlt : "Alternatif Yazı",
DlgImgWidth : "Genişlik",
DlgImgHeight : "Yükseklik",
@@ -204,7 +208,7 @@ DlgImgLinkTab : "Köprü",
DlgFlashTitle : "Flash Özellikleri",
DlgFlashChkPlay : "Otomatik Oynat",
DlgFlashChkLoop : "Döngü",
-DlgFlashChkMenu : "Flash Mönüsünü Kullan",
+DlgFlashChkMenu : "Flash Menüsünü Kullan",
DlgFlashScale : "Boyutlandır",
DlgFlashScaleAll : "Hepsini Göster",
DlgFlashScaleNoBorder : "Kenar Yok",
@@ -223,12 +227,12 @@ DlgLnkProto : "Protokol",
DlgLnkProtoOther : "",
DlgLnkURL : "URL",
DlgLnkAnchorSel : "Çapa Seç",
-DlgLnkAnchorByName : "Çapa İsmi ile",
-DlgLnkAnchorById : "Eleman Id ile",
-DlgLnkNoAnchors : "",
+DlgLnkAnchorByName : "Çapa Adı ile",
+DlgLnkAnchorById : "Eleman Kimlik Numarası ile",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "E-Posta Adresi",
-DlgLnkEMailSubject : "Mesaj Konusu",
-DlgLnkEMailBody : "Mesaj Vücudu",
+DlgLnkEMailSubject : "İleti Konusu",
+DlgLnkEMailBody : "İleti Gövdesi",
DlgLnkUpload : "Karşıya Yükle",
DlgLnkBtnUpload : "Sunucuya Gönder",
@@ -239,31 +243,31 @@ DlgLnkTargetBlank : "Yeni Pencere(_blank)",
DlgLnkTargetParent : "Anne Pencere (_parent)",
DlgLnkTargetSelf : "Kendi Penceresi (_self)",
DlgLnkTargetTop : "En Üst Pencere (_top)",
-DlgLnkTargetFrameName : "Hedef Çerçeve İsmi",
-DlgLnkPopWinName : "Yeni Açılan Pencere İsmi",
+DlgLnkTargetFrameName : "Hedef Çerçeve Adı",
+DlgLnkPopWinName : "Yeni Açılan Pencere Adı",
DlgLnkPopWinFeat : "Yeni Açılan Pencere Özellikleri",
DlgLnkPopResize : "Boyutlandırılabilir",
DlgLnkPopLocation : "Yer Çubuğu",
-DlgLnkPopMenu : "Mönü Çubuğu",
+DlgLnkPopMenu : "Menü Çubuğu",
DlgLnkPopScroll : "Kaydırma Çubukları",
-DlgLnkPopStatus : "Statü Çubuğu",
+DlgLnkPopStatus : "Durum Çubuğu",
DlgLnkPopToolbar : "Araç Çubuğu",
DlgLnkPopFullScrn : "Tam Ekran (IE)",
-DlgLnkPopDependent : "Bağlı-Dependent- (Netscape)",
+DlgLnkPopDependent : "Bağımlı (Netscape)",
DlgLnkPopWidth : "Genişlik",
DlgLnkPopHeight : "Yükseklik",
-DlgLnkPopLeft : "Sola Göre Pozisyon",
-DlgLnkPopTop : "Yukarıya Göre Pozisyon",
+DlgLnkPopLeft : "Sola Göre Konum",
+DlgLnkPopTop : "Yukarıya Göre Konum",
DlnLnkMsgNoUrl : "Lütfen köprü URL'sini yazın",
DlnLnkMsgNoEMail : "Lütfen E-posta adresini yazın",
DlnLnkMsgNoAnchor : "Lütfen bir çapa seçin",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "Açılır pencere adı abecesel bir karakterle başlamalı ve boşluk içermemelidir",
// Color Dialog
DlgColorTitle : "Renk Seç",
DlgColorBtnClear : "Temizle",
-DlgColorHighlight : "Belirle",
+DlgColorHighlight : "Vurgula",
DlgColorSelected : "Seçilmiş",
// Smiley Dialog
@@ -333,16 +337,16 @@ DlgReplaceReplAllBtn : "Tümünü Değiştir",
DlgReplaceWordChk : "Kelimenin tamamı uysun",
// Paste Operations / Dialog
-PasteErrorPaste : "Gezgin yazılımınızın güvenlik ayarları editörün otomatik yapıştırma işlemine izin vermiyor. İşlem için (Ctrl+V) tuşlarını kullanın.",
-PasteErrorCut : "Gezgin yazılımınızın güvenlik ayarları editörün otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl+X) tuşlarını kullanın.",
-PasteErrorCopy : "Gezgin yazılımınızın güvenlik ayarları editörün otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl+C) tuşlarını kullanın.",
+PasteErrorCut : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl+X) tuşlarını kullanın.",
+PasteErrorCopy : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl+C) tuşlarını kullanın.",
PasteAsText : "Düz Metin Olarak Yapıştır",
PasteFromWord : "Word'den yapıştır",
DlgPasteMsg2 : "Lütfen aşağıdaki kutunun içine yapıştırın. (Ctrl+V) ve Tamam butonunu tıklayın.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Yazı Tipi tanımlarını yoksay",
-DlgPasteRemoveStyles : "Sitil Tanımlarını çıkar",
+DlgPasteRemoveStyles : "Biçem Tanımlarını çıkar",
DlgPasteCleanBox : "Temizlik Kutusu",
// Color Picker
@@ -350,12 +354,12 @@ ColorAutomatic : "Otomatik",
ColorMoreColors : "Diğer renkler...",
// Document Properties
-DocProps : "Doküman Özellikleri",
+DocProps : "Belge Özellikleri",
// Anchor Dialog
DlgAnchorTitle : "Çapa Özellikleri",
-DlgAnchorName : "Çapa İsmi",
-DlgAnchorErrorName : "Lütfen çapa için isim giriniz",
+DlgAnchorName : "Çapa Adı",
+DlgAnchorErrorName : "Lütfen çapa için ad giriniz",
// Speller Pages Dialog
DlgSpellNotInDic : "Sözlükte Yok",
@@ -377,22 +381,22 @@ IeSpellDownload : "Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misin
// Button Dialog
DlgButtonText : "Metin (Değer)",
DlgButtonType : "Tip",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Düğme",
+DlgButtonTypeSbm : "Gönder",
+DlgButtonTypeRst : "Sıfırla",
// Checkbox and Radio Button Dialogs
-DlgCheckboxName : "İsim",
+DlgCheckboxName : "Ad",
DlgCheckboxValue : "Değer",
DlgCheckboxSelected : "Seçili",
// Form Dialog
-DlgFormName : "İsim",
+DlgFormName : "Ad",
DlgFormAction : "İşlem",
-DlgFormMethod : "Metod",
+DlgFormMethod : "Yöntem",
// Select Field Dialog
-DlgSelectName : "İsim",
+DlgSelectName : "Ad",
DlgSelectValue : "Değer",
DlgSelectSize : "Boyut",
DlgSelectLines : "satır",
@@ -402,33 +406,33 @@ DlgSelectOpText : "Metin",
DlgSelectOpValue : "Değer",
DlgSelectBtnAdd : "Ekle",
DlgSelectBtnModify : "Düzenle",
-DlgSelectBtnUp : "Yukari",
+DlgSelectBtnUp : "Yukarı",
DlgSelectBtnDown : "Aşağı",
DlgSelectBtnSetValue : "Seçili değer olarak ata",
DlgSelectBtnDelete : "Sil",
// Textarea Dialog
-DlgTextareaName : "İsim",
+DlgTextareaName : "Ad",
DlgTextareaCols : "Sütunlar",
DlgTextareaRows : "Satırlar",
// Text Field Dialog
-DlgTextName : "İsim",
+DlgTextName : "Ad",
DlgTextValue : "Değer",
DlgTextCharWidth : "Karakter Genişliği",
DlgTextMaxChars : "En Fazla Karakter",
-DlgTextType : "Tip",
+DlgTextType : "Tür",
DlgTextTypeText : "Metin",
-DlgTextTypePass : "Şifre",
+DlgTextTypePass : "Parola",
// Hidden Field Dialog
-DlgHiddenName : "İsim",
+DlgHiddenName : "Ad",
DlgHiddenValue : "Değer",
// Bulleted List Dialog
BulletedListProp : "Simgeli Liste Özellikleri",
NumberedListProp : "Numaralı Liste Özellikleri",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Başlangıç",
DlgLstType : "Tip",
DlgLstTypeCircle : "Çember",
DlgLstTypeDisc : "Disk",
@@ -442,60 +446,59 @@ DlgLstTypeLRoman : "Büyük Romen Rakamları (I, II, III)",
// Document Properties Dialog
DlgDocGeneralTab : "Genel",
DlgDocBackTab : "Arka Plan",
-DlgDocColorsTab : "Renkler ve Mesafeler",
+DlgDocColorsTab : "Renkler ve Kenar Boşlukları",
DlgDocMetaTab : "Tanım Bilgisi (Meta)",
DlgDocPageTitle : "Sayfa Başlığı",
-DlgDocLangDir : "Lisan Yönü",
+DlgDocLangDir : "Dil Yönü",
DlgDocLangDirLTR : "Soldan Sağa (LTR)",
DlgDocLangDirRTL : "Sağdan Sola (RTL)",
-DlgDocLangCode : "Lisan Kodu",
+DlgDocLangCode : "Dil Kodu",
DlgDocCharSet : "Karakter Kümesi Kodlaması",
-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 : "Orta Avrupa",
+DlgDocCharSetCT : "Geleneksel Çince (Big5)",
+DlgDocCharSetCR : "Kiril",
+DlgDocCharSetGR : "Yunanca",
+DlgDocCharSetJP : "Japonca",
+DlgDocCharSetKR : "Korece",
+DlgDocCharSetTR : "Türkçe",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "Batı Avrupa",
DlgDocCharSetOther : "Diğer Karakter Kümesi Kodlaması",
-DlgDocDocType : "Doküman Türü Başlığı",
-DlgDocDocTypeOther : "Diğer Doküman Türü Başlığı",
+DlgDocDocType : "Belge Türü Başlığı",
+DlgDocDocTypeOther : "Diğer Belge Türü Başlığı",
DlgDocIncXHTML : "XHTML Bildirimlerini Dahil Et",
DlgDocBgColor : "Arka Plan Rengi",
DlgDocBgImage : "Arka Plan Resim URLsi",
DlgDocBgNoScroll : "Sabit Arka Plan",
DlgDocCText : "Metin",
DlgDocCLink : "Köprü",
-DlgDocCVisited : "Görülmüs Köprü",
-DlgDocCActive : "Aktif Köprü",
+DlgDocCVisited : "Ziyaret Edilmiş Köprü",
+DlgDocCActive : "Etkin Köprü",
DlgDocMargins : "Kenar Boşlukları",
DlgDocMaTop : "Tepe",
DlgDocMaLeft : "Sol",
DlgDocMaRight : "Sağ",
DlgDocMaBottom : "Alt",
-DlgDocMeIndex : "Doküman İndeksleme Anahtar Kelimeleri (virgülle ayrılmış)",
-DlgDocMeDescr : "Doküman Tanımı",
+DlgDocMeIndex : "Belge Dizinleme Anahtar Kelimeleri (virgülle ayrılmış)",
+DlgDocMeDescr : "Belge Tanımı",
DlgDocMeAuthor : "Yazar",
DlgDocMeCopy : "Telif",
DlgDocPreview : "Ön İzleme",
// Templates Dialog
-Templates : "Düzenler",
-DlgTemplatesTitle : "İçerik Düzenleri",
-DlgTemplatesSelMsg : "Editörde açmak için lütfen bir düzen seçin. (hali hazırdaki içerik kaybolacaktır.):",
-DlgTemplatesLoading : "Düzenler listesi yüklenmekte. Lütfen bekleyiniz...",
-DlgTemplatesNoTpl : "(Belirli bir düzen seçilmedi)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+Templates : "Şablonlar",
+DlgTemplatesTitle : "İçerik Şablonları",
+DlgTemplatesSelMsg : "Düzenleyicide açmak için lütfen bir şablon seçin. (hali hazırdaki içerik kaybolacaktır.):",
+DlgTemplatesLoading : "Şablon listesi yüklenmekte. Lütfen bekleyiniz...",
+DlgTemplatesNoTpl : "(Belirli bir şablon seçilmedi)",
+DlgTemplatesReplace : "Mevcut içerik ile değiştir",
// About Dialog
DlgAboutAboutTab : "Hakkında",
DlgAboutBrowserInfoTab : "Gezgin Bilgisi",
DlgAboutLicenseTab : "Lisans",
-DlgAboutVersion : "versiyon",
-DlgAboutLicense : "GNU Kısıtlı Kamu Lisansı (LGPL) koşulları altında lisanslanmıştır",
+DlgAboutVersion : "sürüm",
DlgAboutInfo : "Daha fazla bilgi için:"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/uk.js b/phpgwapi/js/fckeditor/editor/lang/uk.js
index 7b7bae6a8f..cbaea5df82 100644
--- a/phpgwapi/js/fckeditor/editor/lang/uk.js
+++ b/phpgwapi/js/fckeditor/editor/lang/uk.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: uk.js
- * Ukrainian language file.
- *
- * File Authors:
- * Alexander Pervak (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 =
@@ -85,8 +89,8 @@ Find : "Пошук",
Replace : "Заміна",
SpellCheck : "Перевірити орфографію",
UniversalKeyboard : "Універсальна клавіатура",
-PageBreakLbl : "Page Break", //MISSING
-PageBreak : "Insert Page Break", //MISSING
+PageBreakLbl : "Розривши сторінки",
+PageBreak : "Вставити розривши сторінки",
Form : "Форма",
Checkbox : "Флагова кнопка",
@@ -98,13 +102,13 @@ Button : "Кнопка",
SelectionField : "Список",
ImageButton : "Кнопка із зображенням",
-FitWindow : "Maximize the editor size", //MISSING
+FitWindow : "Розвернути вікно редактора",
// Context Menu
EditLink : "Вставити посилання",
-CellCM : "Cell", //MISSING
-RowCM : "Row", //MISSING
-ColumnCM : "Column", //MISSING
+CellCM : "Осередок",
+RowCM : "Рядок",
+ColumnCM : "Колонка",
InsertRow : "Вставити строку",
DeleteRows : "Видалити строки",
InsertColumn : "Вставити колонку",
@@ -113,7 +117,7 @@ InsertCell : "Вставити комірку",
DeleteCells : "Видалити комірки",
MergeCells : "Об'єднати комірки",
SplitCell : "Роз'єднати комірку",
-TableDelete : "Delete Table", //MISSING
+TableDelete : "Видалити таблицю",
CellProperties : "Властивості комірки",
TableProperties : "Властивості таблиці",
ImageProperties : "Властивості зображення",
@@ -130,7 +134,7 @@ SelectionFieldProp : "Властивості списку",
TextareaProp : "Властивості текстової області",
FormProp : "Властивості форми",
-FontFormats : "Нормальний;Форматований;Адреса;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6",
+FontFormats : "Нормальний;Форматований;Адреса;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Обробка XHTML. Зачекайте, будь ласка...",
@@ -141,9 +145,9 @@ UnknownToolbarItem : "Невідомий елемент панелі інстр
UnknownCommand : "Невідоме ім'я команди \"%1\"",
NotImplemented : "Команда не реалізована",
UnknownToolbarSet : "Панель інструментів \"%1\" не існує",
-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
+NoActiveX : "Настройки безпеки вашого браузера можуть обмежувати деякі властивості редактора. Ви повинні включити опцію \"Запускати елементи управління ACTIVEX і плугіни\". Ви можете бачити помилки і помічати відсутність можливостей.",
+BrowseServerBlocked : "Ресурси браузера не можуть бути відкриті. Перевірте що блокування спливаючих вікон вимкнені.",
+DialogBlocked : "Не можливо відкрити вікно діалогу. Перевірте що блокування спливаючих вікон вимкнені.",
// Dialogs
DlgBtnOK : "ОК",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Оберіть якір",
DlgLnkAnchorByName : "За ім'ям якоря",
DlgLnkAnchorById : "За ідентифікатором елемента",
-DlgLnkNoAnchors : "<Немає якорів доступних в цьому документі>",
+DlgLnkNoAnchors : "<Немає якорів доступних в цьому документі>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Адреса ел. пошти",
DlgLnkEMailSubject : "Тема листа",
DlgLnkEMailBody : "Тіло повідомлення",
@@ -258,7 +262,7 @@ DlgLnkPopTop : "Позиція зверху",
DlnLnkMsgNoUrl : "Будь ласка, занесіть URL посилання",
DlnLnkMsgNoEMail : "Будь ласка, занесіть адрес эл. почты",
DlnLnkMsgNoAnchor : "Будь ласка, оберіть якір",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "Назва спливаючого вікна повинна починатися букви і не може містити пропусків",
// Color Dialog
DlgColorTitle : "Оберіть колір",
@@ -288,8 +292,8 @@ DlgTableWidthPc : "відсотків",
DlgTableHeight : "Висота",
DlgTableCellSpace : "Проміжок (spacing)",
DlgTableCellPad : "Відступ (padding)",
-DlgTableCaption : "Заголовок (Caption)",
-DlgTableSummary : "Summary", //MISSING
+DlgTableCaption : "Заголовок",
+DlgTableSummary : "Резюме",
// Table Cell Dialog
DlgCellTitle : "Властивості комірки",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "Замінити все",
DlgReplaceWordChk : "Збіг цілих слів",
// Paste Operations / Dialog
-PasteErrorPaste : "Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції вставки. Будь ласка, використовуйте клавіатуру для цього (Ctrl+V).",
PasteErrorCut : "Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl+X).",
PasteErrorCopy : "Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl+C).",
@@ -341,6 +344,7 @@ PasteAsText : "Вставити тільки текст",
PasteFromWord : "Вставити з Word",
DlgPasteMsg2 : "Будь-ласка, вставте з буфера обміну в цю область, користуючись комбінацією клавіш (Ctrl+V) та натисніть OK.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Ігнорувати налаштування шрифтів",
DlgPasteRemoveStyles : "Видалити налаштування стилів",
DlgPasteCleanBox : "Очистити область",
@@ -377,9 +381,9 @@ IeSpellDownload : "Модуль перевірки орфографії не
// Button Dialog
DlgButtonText : "Текст (Значення)",
DlgButtonType : "Тип",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "Кнопка",
+DlgButtonTypeSbm : "Відправити",
+DlgButtonTypeRst : "Скинути",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "Ім'я",
@@ -428,14 +432,14 @@ DlgHiddenValue : "Значення",
// Bulleted List Dialog
BulletedListProp : "Властивості маркованого списка",
NumberedListProp : "Властивості нумерованного списка",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "Початок",
DlgLstType : "Тип",
DlgLstTypeCircle : "Коло",
-DlgLstTypeDisc : "Disc", //MISSING
+DlgLstTypeDisc : "Диск",
DlgLstTypeSquare : "Квадрат",
DlgLstTypeNumbers : "Номери (1, 2, 3)",
DlgLstTypeLCase : "Літери нижнього регістра(a, b, c)",
-DlgLstTypeUCase : "Літери ВЕРХНЬОГО РЕГІСТРА (A, B, C)",
+DlgLstTypeUCase : "Букви верхнього регістра (A, B, C)",
DlgLstTypeSRoman : "Малі римські літери (i, ii, iii)",
DlgLstTypeLRoman : "Великі римські літери (I, II, III)",
@@ -451,15 +455,15 @@ DlgDocLangDirLTR : "Зліва на право (LTR)",
DlgDocLangDirRTL : "Зправа на лево (RTL)",
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
+DlgDocCharSetCE : "Центрально-європейська",
+DlgDocCharSetCT : "Китайська традиційна (Big5)",
+DlgDocCharSetCR : "Кирилиця",
+DlgDocCharSetGR : "Грецька",
+DlgDocCharSetJP : "Японська",
+DlgDocCharSetKR : "Корейська",
+DlgDocCharSetTR : "Турецька",
+DlgDocCharSetUN : "Юнікод (UTF-8)",
+DlgDocCharSetWE : "Західно-европейская",
DlgDocCharSetOther : "Інше кодування набору символів",
DlgDocDocType : "Заголовок типу документу",
@@ -489,13 +493,12 @@ DlgTemplatesTitle : "Шаблони змісту",
DlgTemplatesSelMsg : "Оберіть, будь ласка, шаблон для відкриття в редакторі (поточний зміст буде втрачено):",
DlgTemplatesLoading : "Завантаження списку шаблонів. Зачекайте, будь ласка...",
DlgTemplatesNoTpl : "(Не визначено жодного шаблону)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "Замінити поточний вміст",
// About Dialog
DlgAboutAboutTab : "Про програму",
DlgAboutBrowserInfoTab : "Інформація браузера",
-DlgAboutLicenseTab : "License", //MISSING
+DlgAboutLicenseTab : "Ліцензія",
DlgAboutVersion : "Версія",
-DlgAboutLicense : "Ліцензовано згідно умовам GNU Lesser General Public License",
DlgAboutInfo : "Додаткову інформацію дивіться на "
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/vi.js b/phpgwapi/js/fckeditor/editor/lang/vi.js
index a8f9471118..5c2c608ec4 100644
--- a/phpgwapi/js/fckeditor/editor/lang/vi.js
+++ b/phpgwapi/js/fckeditor/editor/lang/vi.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: vi.js
- * Vietnamese language file.
- *
- * File Authors:
- * Phan Binh Giang (bbbgiang@yahoo.com)
- * Hà Thanh Hải (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 =
@@ -131,7 +134,7 @@ SelectionFieldProp : "Thuộc tính Ô chọn",
TextareaProp : "Thuộc tính Vùng văn bản",
FormProp : "Thuộc tính Biểu mẫu",
-FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)",
+FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "Đang xử lý XHTML. Vui lòng đợi trong giây lát...",
@@ -226,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "Chọn một Neo",
DlgLnkAnchorByName : "Theo Tên Neo",
DlgLnkAnchorById : "Theo Định danh Element",
-DlgLnkNoAnchors : "",
+DlgLnkNoAnchors : "", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "Thư điện tử",
DlgLnkEMailSubject : "Tiêu đề Thông điệp",
DlgLnkEMailBody : "Nội dung Thông điệp",
@@ -334,7 +337,6 @@ DlgReplaceReplAllBtn : "Thay thế Tất cả",
DlgReplaceWordChk : "Đúng toàn bộ từ",
// Paste Operations / Dialog
-PasteErrorPaste : "Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh dán. Hãy sử dụng bàn phím cho lệnh này (Ctrl+V).",
PasteErrorCut : "Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh cắt. Hãy sử dụng bàn phím cho lệnh này (Ctrl+X).",
PasteErrorCopy : "Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh sao chép. Hãy sử dụng bàn phím cho lệnh này (Ctrl+C).",
@@ -342,6 +344,7 @@ PasteAsText : "Dán theo định dạng văn bản thuần",
PasteFromWord : "Dán với định dạng Word",
DlgPasteMsg2 : "Hãy dán nội dung vào trong khung bên dưới, sử dụng tổ hợp phím (Ctrl+V) và nhấn vào nút Đồng ý.",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "Chấp nhận các định dạng phông",
DlgPasteRemoveStyles : "Gỡ bỏ các định dạng Styles",
DlgPasteCleanBox : "Xóa nội dung",
@@ -497,6 +500,5 @@ DlgAboutAboutTab : "Giới thiệu",
DlgAboutBrowserInfoTab : "Thông tin trình duyệt",
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"
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/zh-cn.js b/phpgwapi/js/fckeditor/editor/lang/zh-cn.js
index 9b05923dae..6d6f4f4117 100644
--- a/phpgwapi/js/fckeditor/editor/lang/zh-cn.js
+++ b/phpgwapi/js/fckeditor/editor/lang/zh-cn.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: zh-cn.js
- * Chinese Simplified language file.
- *
- * File Authors:
- * NetRube (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "菜单/列表属性",
TextareaProp : "多行文本属性",
FormProp : "表单属性",
-FontFormats : "普通;已编排格式;地址;标题 1;标题 2;标题 3;标题 4;标题 5;标题 6;段落(DIV)",
+FontFormats : "普通;已编排格式;地址;标题 1;标题 2;标题 3;标题 4;标题 5;标题 6;段落(DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "正在处理 XHTML,请稍等...",
@@ -225,7 +229,7 @@ DlgLnkURL : "地址",
DlgLnkAnchorSel : "选择一个锚点",
DlgLnkAnchorByName : "按锚点名称",
DlgLnkAnchorById : "按锚点 ID",
-DlgLnkNoAnchors : "<此文档没有可用的锚点>",
+DlgLnkNoAnchors : "<此文档没有可用的锚点>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "地址",
DlgLnkEMailSubject : "主题",
DlgLnkEMailBody : "内容",
@@ -258,7 +262,7 @@ DlgLnkPopTop : "右",
DlnLnkMsgNoUrl : "请输入超链接地址",
DlnLnkMsgNoEMail : "请输入电子邮件地址",
DlnLnkMsgNoAnchor : "请选择一个锚点",
-DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING
+DlnLnkMsgInvPopName : "弹出窗口名称必须以字母开头,并且不能含有空格。",
// Color Dialog
DlgColorTitle : "选择颜色",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "全部替换",
DlgReplaceWordChk : "全字匹配",
// Paste Operations / Dialog
-PasteErrorPaste : "您的浏览器安全设置不允许编辑器自动执行粘贴操作,请使用键盘快捷键(Ctrl+V)来完成。",
PasteErrorCut : "您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl+X)来完成。",
PasteErrorCopy : "您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl+C)来完成。",
@@ -341,6 +344,7 @@ PasteAsText : "粘贴为无格式文本",
PasteFromWord : "从 MS Word 粘贴",
DlgPasteMsg2 : "请使用键盘快捷键(Ctrl+V)把内容粘贴到下面的方框里,再按 确定。",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "忽略 Font 标签",
DlgPasteRemoveStyles : "清理 CSS 样式",
DlgPasteCleanBox : "清空上面内容",
@@ -377,9 +381,9 @@ IeSpellDownload : "拼写检查插件还没安装,你是否想现在就下
// Button Dialog
DlgButtonText : "标签(值)",
DlgButtonType : "类型",
-DlgButtonTypeBtn : "Button", //MISSING
-DlgButtonTypeSbm : "Submit", //MISSING
-DlgButtonTypeRst : "Reset", //MISSING
+DlgButtonTypeBtn : "按钮",
+DlgButtonTypeSbm : "提交",
+DlgButtonTypeRst : "重设",
// Checkbox and Radio Button Dialogs
DlgCheckboxName : "名称",
@@ -428,7 +432,7 @@ DlgHiddenValue : "初始值",
// Bulleted List Dialog
BulletedListProp : "项目列表属性",
NumberedListProp : "编号列表属性",
-DlgLstStart : "Start", //MISSING
+DlgLstStart : "开始序号",
DlgLstType : "列表类型",
DlgLstTypeCircle : "圆圈",
DlgLstTypeDisc : "圆点",
@@ -451,15 +455,15 @@ DlgDocLangDirLTR : "从左到右 (LTR)",
DlgDocLangDirRTL : "从右到左 (RTL)",
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
+DlgDocCharSetCE : "中欧",
+DlgDocCharSetCT : "繁体中文 (Big5)",
+DlgDocCharSetCR : "西里尔文",
+DlgDocCharSetGR : "希腊文",
+DlgDocCharSetJP : "日文",
+DlgDocCharSetKR : "韩文",
+DlgDocCharSetTR : "土耳其文",
+DlgDocCharSetUN : "Unicode (UTF-8)",
+DlgDocCharSetWE : "西欧",
DlgDocCharSetOther : "其它字符编码",
DlgDocDocType : "文档类型",
@@ -489,13 +493,12 @@ DlgTemplatesTitle : "内容模板",
DlgTemplatesSelMsg : "请选择编辑器内容模板 (当前内容将会被清除替换):",
DlgTemplatesLoading : "正在加载模板列表,请稍等...",
DlgTemplatesNoTpl : "(没有模板)",
-DlgTemplatesReplace : "Replace actual contents", //MISSING
+DlgTemplatesReplace : "替换当前内容",
// About Dialog
DlgAboutAboutTab : "关于",
DlgAboutBrowserInfoTab : "浏览器信息",
DlgAboutLicenseTab : "许可证",
DlgAboutVersion : "版本",
-DlgAboutLicense : "基于 GNU 通用公共许可证授权发布 ",
DlgAboutInfo : "要获得更多信息请访问 "
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/lang/zh.js b/phpgwapi/js/fckeditor/editor/lang/zh.js
index eb8a022540..b5cd2397ef 100644
--- a/phpgwapi/js/fckeditor/editor/lang/zh.js
+++ b/phpgwapi/js/fckeditor/editor/lang/zh.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: zh.js
- * Chinese Traditional language file.
- *
- * File Authors:
- * Zak Fong (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 =
@@ -130,7 +134,7 @@ SelectionFieldProp : "清單/選單屬性",
TextareaProp : "文字區域屬性",
FormProp : "表單屬性",
-FontFormats : "本文;已格式化;位址;標題 1;標題 2;標題 3;標題 4;標題 5;標題 6;本文 (DIV)",
+FontFormats : "本文;已格式化;位址;標題 1;標題 2;標題 3;標題 4;標題 5;標題 6;本文 (DIV)", //REVIEW : Check _getfontformat.html
// Alerts and Messages
ProcessingXHTML : "處理 XHTML 中,請稍候…",
@@ -225,7 +229,7 @@ DlgLnkURL : "URL",
DlgLnkAnchorSel : "請選擇錨點",
DlgLnkAnchorByName : "依錨點名稱",
DlgLnkAnchorById : "依元件 ID",
-DlgLnkNoAnchors : "<本文件尚無可用之錨點>",
+DlgLnkNoAnchors : "<本文件尚無可用之錨點>", //REVIEW : Change < and > with ( and )
DlgLnkEMail : "電子郵件",
DlgLnkEMailSubject : "郵件主旨",
DlgLnkEMailBody : "郵件內容",
@@ -333,7 +337,6 @@ DlgReplaceReplAllBtn : "全部取代",
DlgReplaceWordChk : "全字相符",
// Paste Operations / Dialog
-PasteErrorPaste : "瀏覽器的安全性設定不允許編輯器自動執行貼上動作。請使用快捷鍵 (Ctrl+V) 貼上。",
PasteErrorCut : "瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl+X) 剪下。",
PasteErrorCopy : "瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl+C) 複製。",
@@ -341,6 +344,7 @@ PasteAsText : "貼為純文字格式",
PasteFromWord : "自 Word 貼上",
DlgPasteMsg2 : "請使用快捷鍵 (Ctrl+V) 貼到下方區域中並按下 確定",
+DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING
DlgPasteIgnoreFont : "移除字型設定",
DlgPasteRemoveStyles : "移除樣式設定",
DlgPasteCleanBox : "清除文字區域",
@@ -496,6 +500,5 @@ DlgAboutAboutTab : "關於",
DlgAboutBrowserInfoTab : "瀏覽器資訊",
DlgAboutLicenseTab : "許可證",
DlgAboutVersion : "版本",
-DlgAboutLicense : "依據 GNU 較寬鬆公共許可證(LGPL)發佈",
DlgAboutInfo : "想獲得更多資訊請至 "
-}
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/editor/plugins/autogrow/fckplugin.js b/phpgwapi/js/fckeditor/editor/plugins/autogrow/fckplugin.js
index 2a6bbb73b4..7ce1c1cc23 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/autogrow/fckplugin.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/autogrow/fckplugin.js
@@ -1,21 +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?"
- *
- * File Name: fckplugin.js
- * Plugin: automatically resizes the editor until a configurable maximun
- * height (FCKConfig.AutoGrowMax), based on its contents.
- *
- * File Authors:
- * 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 ==
+ *
+ * Plugin: automatically resizes the editor until a configurable maximun
+ * height (FCKConfig.AutoGrowMax), based on its contents.
*/
var FCKAutoGrow_Min = window.frameElement.offsetHeight ;
@@ -25,7 +29,7 @@ function FCKAutoGrow_Check()
var oInnerDoc = FCK.EditorDocument ;
var iFrameHeight, iInnerHeight ;
-
+
if ( FCKBrowserInfo.IsIE )
{
iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ;
@@ -42,7 +46,7 @@ function FCKAutoGrow_Check()
if ( iDiff != 0 )
{
var iMainFrameSize = window.frameElement.offsetHeight ;
-
+
if ( iDiff > 0 && iMainFrameSize < FCKConfig.AutoGrowMax )
{
iMainFrameSize += iDiff ;
@@ -57,7 +61,7 @@ function FCKAutoGrow_Check()
}
else
return ;
-
+
window.frameElement.height = iMainFrameSize ;
}
}
@@ -66,6 +70,9 @@ FCK.AttachToOnSelectionChange( FCKAutoGrow_Check ) ;
function FCKAutoGrow_SetListeners()
{
+ if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
+ return ;
+
FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow_Check ) ;
FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow_Check ) ;
}
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/fck_placeholder.html b/phpgwapi/js/fckeditor/editor/plugins/placeholder/fck_placeholder.html
index 8700b42ac7..63b24175c1 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/fck_placeholder.html
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/fck_placeholder.html
@@ -1,21 +1,25 @@
-
+
@@ -32,11 +36,11 @@ window.onload = function ()
{
// 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 ) ;
}
var eSelected = oEditor.FCKSelection.GetSelectedElement() ;
@@ -55,7 +59,7 @@ function LoadSelected()
function Ok()
{
var sValue = document.getElementById('txtName').value ;
-
+
if ( eSelected && eSelected._fckplaceholder == sValue )
return true ;
@@ -64,7 +68,7 @@ function Ok()
alert( FCKLang.PlaceholderErrNoName ) ;
return false ;
}
-
+
if ( FCKPlaceholders.Exist( sValue ) )
{
alert( FCKLang.PlaceholderErrNameInUse ) ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/fckplugin.js b/phpgwapi/js/fckeditor/editor/plugins/placeholder/fckplugin.js
index 27f64b370e..26489b8728 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/fckplugin.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/fckplugin.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fckplugin.js
- * Plugin to insert "Placeholders" in the editor.
- *
- * File Authors:
- * 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 ==
+ *
+ * Plugin to insert "Placeholders" in the editor.
*/
// Register the related command.
@@ -82,19 +86,24 @@ FCK.RegisterDoubleClickHandler( FCKPlaceholders.OnDoubleClick, 'SPAN' ) ;
// Check if a Placholder name is already in use.
FCKPlaceholders.Exist = function( name )
{
- var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' )
+ var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' ) ;
for ( var i = 0 ; i < aSpans.length ; i++ )
{
if ( aSpans[i]._fckplaceholder == name )
return true ;
}
+
+ return false ;
}
if ( FCKBrowserInfo.IsIE )
{
FCKPlaceholders.Redraw = function()
{
+ if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
+ return ;
+
var aPlaholders = FCK.EditorDocument.body.innerText.match( /\[\[[^\[\]]+\]\]/g ) ;
if ( !aPlaholders )
return ;
@@ -115,11 +124,14 @@ else
{
FCKPlaceholders.Redraw = function()
{
+ if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
+ return ;
+
var oInteractor = FCK.EditorDocument.createTreeWalker( FCK.EditorDocument.body, NodeFilter.SHOW_TEXT, FCKPlaceholders._AcceptNode, true ) ;
var aNodes = new Array() ;
- while ( oNode = oInteractor.nextNode() )
+ while ( ( oNode = oInteractor.nextNode() ) )
{
aNodes[ aNodes.length ] = oNode ;
}
@@ -148,7 +160,7 @@ else
aNodes[n].parentNode.removeChild( aNodes[n] ) ;
}
-
+
FCKPlaceholders._SetupClickListener() ;
}
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/de.js b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/de.js
index 13e6cd6355..a666f8b6af 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/de.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/de.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: de.js
- * Placholder German language file.
- *
- * File Authors:
- * 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' ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/en.js b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/en.js
index 1f849c303b..290a3fb3c5 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/en.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/en.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: en.js
- * Placholder English language file.
- *
- * File Authors:
- * 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 ==
+ *
+ * Placholder English language file.
*/
FCKLang.PlaceholderBtn = 'Insert/Edit Placeholder' ;
FCKLang.PlaceholderDlgTitle = 'Placeholder Properties' ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/fr.js b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/fr.js
index fe6d28a470..ea2caaca94 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/fr.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/fr.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fr.js
- * Placholder Italian language file.
- *
- * File Authors:
- * Hubert Garrido (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' ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/it.js b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/it.js
index 7e78ccbb09..51d75c034b 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/it.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/it.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: it.js
- * Placholder Italian language file.
- *
- * File Authors:
- * 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 ==
+ *
+ * Placholder Italian language file.
*/
FCKLang.PlaceholderBtn = 'Aggiungi/Modifica Placeholder' ;
FCKLang.PlaceholderDlgTitle = 'Proprietà del Placeholder' ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/pl.js b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/pl.js
index be8f3746c2..bc55b38012 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/pl.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/placeholder/lang/pl.js
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: pl.js
- * Placholder Polish language file.
- *
- * File Authors:
- * Marcin Pietrzak (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' ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/simplecommands/fckplugin.js b/phpgwapi/js/fckeditor/editor/plugins/simplecommands/fckplugin.js
index 0de5aa28ad..cd25b6a268 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/simplecommands/fckplugin.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/simplecommands/fckplugin.js
@@ -1,21 +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?"
- *
- * File Name: fckplugin.js
- * This plugin register Toolbar items for the combos modifying the style to
- * not show the box.
- *
- * File Authors:
- * 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 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 ) ) ;
diff --git a/phpgwapi/js/fckeditor/editor/plugins/tablecommands/fckplugin.js b/phpgwapi/js/fckeditor/editor/plugins/tablecommands/fckplugin.js
index dc2f4c8f1e..88dac9cdd4 100644
--- a/phpgwapi/js/fckeditor/editor/plugins/tablecommands/fckplugin.js
+++ b/phpgwapi/js/fckeditor/editor/plugins/tablecommands/fckplugin.js
@@ -1,21 +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?"
- *
- * File Name: fckplugin.js
- * This plugin register the required Toolbar items to be able to insert the
- * toolbar commands in the toolbar.
- *
- * File Authors:
- * 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 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 ) ) ;
diff --git a/phpgwapi/js/fckeditor/editor/skins/_fckviewstrips.html b/phpgwapi/js/fckeditor/editor/skins/_fckviewstrips.html
index 8f17a159bc..d592f0e02d 100644
--- a/phpgwapi/js/fckeditor/editor/skins/_fckviewstrips.html
+++ b/phpgwapi/js/fckeditor/editor/skins/_fckviewstrips.html
@@ -1,21 +1,25 @@
-
+
@@ -40,58 +44,57 @@
window.onload = function()
{
var eImg1 = document.createElement( 'img' ) ;
- eImg1.onreadystatechange = Img_OnReadyStateChange ;
+ eImg1.onload = Img_OnLoad ;
eImg1.src = 'default/fck_strip.gif' ;
var eImg2 = document.createElement( 'img' ) ;
- eImg2.onreadystatechange = Img_OnReadyStateChange ;
+ eImg2.onload = Img_OnLoad ;
eImg2.src = 'office2003/fck_strip.gif' ;
var eImg3 = document.createElement( 'img' ) ;
- eImg3.onreadystatechange = Img_OnReadyStateChange ;
+ eImg3.onload = Img_OnLoad ;
eImg3.src = 'silver/fck_strip.gif' ;
}
var iTotalStrips = 3 ;
var iMaxHeight = 0 ;
-function Img_OnReadyStateChange()
+function Img_OnLoad()
{
- if ( this.readyState == 'complete' )
- {
- if ( iMaxHeight < this.height )
- iMaxHeight = this.height ;
-
- iTotalStrips-- ;
-
- if ( iTotalStrips == 0 )
- LoadIcons( iMaxHeight / 16 ) ;
- }
+ if ( iMaxHeight < this.height )
+ iMaxHeight = this.height ;
+
+ iTotalStrips-- ;
+
+ if ( iTotalStrips == 0 )
+ LoadIcons( iMaxHeight / 16 ) ;
}
function LoadIcons( total )
{
+ var xIconsTable = document.getElementById( 'xIconsTable' ) ;
+
for ( var i = 0 ; i < total ; i++ )
{
var eRow = xIconsTable.insertRow(-1) ;
-
+
var eCell = eRow.insertCell(-1) ;
eCell.innerHTML = i + 1 ;
-
- eCell = eRow.insertCell(-1) ;
- eCell.align = 'center' ;
- eCell.style.border = '#dcdcdc 1px solid' ;
- eCell.innerHTML = '' ;
eCell = eRow.insertCell(-1) ;
eCell.align = 'center' ;
eCell.style.border = '#dcdcdc 1px solid' ;
- eCell.innerHTML = '' ;
+ eCell.innerHTML = '
<\/div>' ;
}
}
diff --git a/phpgwapi/js/fckeditor/editor/skins/default/fck_dialog.css b/phpgwapi/js/fckeditor/editor/skins/default/fck_dialog.css
index c21aa505a4..ba07cc8efc 100644
--- a/phpgwapi/js/fckeditor/editor/skins/default/fck_dialog.css
+++ b/phpgwapi/js/fckeditor/editor/skins/default/fck_dialog.css
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_dialog.css
- * Styles used by the dialog boxes.
- *
- * File Authors:
- * 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 ==
+ *
+ * Styles used by the dialog boxes.
*/
body
@@ -58,14 +62,16 @@ body, .BackColor
.Button
{
- border-right: #737357 1px solid;
- border-top: #737357 1px solid;
- border-left: #737357 1px solid;
+ border: #737357 1px solid;
color: #3b3b1f;
- border-bottom: #737357 1px solid;
background-color: #c7c78f;
}
+#btnOk
+{
+ width: 100px;
+}
+
.DarkBackground
{
background-color: #d7d79f;
diff --git a/phpgwapi/js/fckeditor/editor/skins/default/fck_editor.css b/phpgwapi/js/fckeditor/editor/skins/default/fck_editor.css
index 236eef79fc..d2d9ba24f5 100644
--- a/phpgwapi/js/fckeditor/editor/skins/default/fck_editor.css
+++ b/phpgwapi/js/fckeditor/editor/skins/default/fck_editor.css
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_editor.css
- * Styles used by the editor IFRAME and Toolbar.
- *
- * File Authors:
- * 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 ==
+ *
+ * Styles used by the editor IFRAME and Toolbar.
*/
/*
@@ -63,6 +67,7 @@ body
.TB_Toolbar
{
+ height: 24px;
display: inline-table; /* inline = Opera jumping buttons bug */
}
diff --git a/phpgwapi/js/fckeditor/editor/skins/office2003/fck_dialog.css b/phpgwapi/js/fckeditor/editor/skins/office2003/fck_dialog.css
index b9988b9e82..f11b3c608f 100644
--- a/phpgwapi/js/fckeditor/editor/skins/office2003/fck_dialog.css
+++ b/phpgwapi/js/fckeditor/editor/skins/office2003/fck_dialog.css
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_dialog.css
- * Styles used by the dialog boxes.
- *
- * File Authors:
- * 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 ==
+ *
+ * Styles used by the dialog boxes.
*/
body
@@ -64,6 +68,11 @@ body, .BackColor
background-color: #7096d3;
}
+#btnOk
+{
+ width: 100px;
+}
+
.DarkBackground
{
background-color: #d7d79f;
diff --git a/phpgwapi/js/fckeditor/editor/skins/office2003/fck_editor.css b/phpgwapi/js/fckeditor/editor/skins/office2003/fck_editor.css
index c0b3c219a9..6981c6a897 100644
--- a/phpgwapi/js/fckeditor/editor/skins/office2003/fck_editor.css
+++ b/phpgwapi/js/fckeditor/editor/skins/office2003/fck_editor.css
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_editor.css
- * Styles used by the editor IFRAME and Toolbar.
- *
- * File Authors:
- * 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 ==
+ *
+ * Styles used by the editor IFRAME and Toolbar.
*/
/*
@@ -93,7 +97,7 @@ body
background-repeat: no-repeat;
background-position: center left;
height: 24px;
- width: 12px;
+ width: 4px;
}
.TB_ExpandImg
diff --git a/phpgwapi/js/fckeditor/editor/skins/office2003/fck_strip.gif b/phpgwapi/js/fckeditor/editor/skins/office2003/fck_strip.gif
index 062b026403..a7282f2026 100644
Binary files a/phpgwapi/js/fckeditor/editor/skins/office2003/fck_strip.gif and b/phpgwapi/js/fckeditor/editor/skins/office2003/fck_strip.gif differ
diff --git a/phpgwapi/js/fckeditor/editor/skins/office2003/images/toolbar.end.gif b/phpgwapi/js/fckeditor/editor/skins/office2003/images/toolbar.end.gif
index 16e3b6fc15..7ff599deee 100644
Binary files a/phpgwapi/js/fckeditor/editor/skins/office2003/images/toolbar.end.gif and b/phpgwapi/js/fckeditor/editor/skins/office2003/images/toolbar.end.gif differ
diff --git a/phpgwapi/js/fckeditor/editor/skins/silver/fck_dialog.css b/phpgwapi/js/fckeditor/editor/skins/silver/fck_dialog.css
index e641223ecc..cdd537c706 100644
--- a/phpgwapi/js/fckeditor/editor/skins/silver/fck_dialog.css
+++ b/phpgwapi/js/fckeditor/editor/skins/silver/fck_dialog.css
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_dialog.css
- * Styles used by the dialog boxes.
- *
- * File Authors:
- * 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 ==
+ *
+ * Styles used by the dialog boxes.
*/
body
@@ -67,6 +71,11 @@ body, .BackColor
background-color: #cec6b5;
}
+#btnOk
+{
+ width: 100px;
+}
+
.DarkBackground
{
background-color: #d7d79f;
diff --git a/phpgwapi/js/fckeditor/editor/skins/silver/fck_editor.css b/phpgwapi/js/fckeditor/editor/skins/silver/fck_editor.css
index 3fbaec6151..fcdfc654ea 100644
--- a/phpgwapi/js/fckeditor/editor/skins/silver/fck_editor.css
+++ b/phpgwapi/js/fckeditor/editor/skins/silver/fck_editor.css
@@ -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/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: fck_editor.css
- * Styles used by the editor IFRAME and Toolbar.
- *
- * File Authors:
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- * 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.
*/
/*
@@ -191,8 +194,8 @@ body
}
/* 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,
.TB_Button_Disabled TABLE .TB_Button_Image
diff --git a/phpgwapi/js/fckeditor/fckconfig.js b/phpgwapi/js/fckeditor/fckconfig.js
index ce36a2e5c5..004c8b6ba7 100644
--- a/phpgwapi/js/fckeditor/fckconfig.js
+++ b/phpgwapi/js/fckeditor/fckconfig.js
@@ -1,25 +1,32 @@
/*
- * 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?"
- *
- * File Name: fckconfig.js
- * Editor configuration settings.
- *
- * Follow this link for more information:
- * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
- *
- * File Authors:
- * 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 ==
+ *
+ * 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.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
@@ -73,7 +80,6 @@ FCKConfig.ForceSimpleAmpersand = false ;
FCKConfig.TabSpaces = 0 ;
FCKConfig.ShowBorders = true ;
FCKConfig.SourcePopup = false ;
-FCKConfig.UseBROnCarriageReturn = false ; // IE only.
FCKConfig.ToolbarStartExpanded = true ;
FCKConfig.ToolbarCanCollapse = true ;
FCKConfig.IgnoreEmptyParagraphValue = true ;
@@ -95,7 +101,7 @@ FCKConfig.ToolbarSets["Default"] = [
['OrderedList','UnorderedList','-','Outdent','Indent'],
['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'],
['TextColor','BGColor'],
@@ -130,11 +136,34 @@ FCKConfig.ToolbarSets["egw_advanced"] = [
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['TextColor','BGColor','About'],
- ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
+ ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], //,'UniversalKey'
'/',
['FitWindow','Style','FontFormat','FontName','FontSize']
] ;
+FCKConfig.EnterMode = 'p' ; // p | div | br
+FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
+
+FCKConfig.Keystrokes = [
+ [ CTRL + 65 /*A*/, true ],
+ [ CTRL + 67 /*C*/, true ],
+ [ CTRL + 70 /*F*/, true ],
+ [ CTRL + 83 /*S*/, true ],
+ [ CTRL + 88 /*X*/, true ],
+ [ CTRL + 86 /*V*/, 'Paste' ],
+ [ SHIFT + 45 /*INS*/, 'Paste' ],
+ [ CTRL + 90 /*Z*/, 'Undo' ],
+ [ CTRL + 89 /*Y*/, 'Redo' ],
+ [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
+ [ CTRL + 76 /*L*/, 'Link' ],
+ [ CTRL + 66 /*B*/, 'Bold' ],
+ [ CTRL + 73 /*I*/, 'Italic' ],
+ [ CTRL + 85 /*U*/, 'Underline' ],
+ [ CTRL + SHIFT + 83 /*S*/, 'Save' ],
+ [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
+ [ CTRL + 9 /*TAB*/, 'Source' ]
+] ;
+
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
@@ -147,7 +176,8 @@ FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
FCKConfig.SpellChecker = 'SpellerPages' ; // '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 ;
@@ -162,17 +192,27 @@ FCKConfig.ImageDlgHideAdvanced = false ;
FCKConfig.FlashDlgHideAdvanced = false ;
-// The following value defines which File Browser connector and Quick Upload
+FCKConfig.ProtectedTags = '' ;
+
+// This will be applied to the body element of the editor
+FCKConfig.BodyId = '' ;
+FCKConfig.BodyClass = '' ;
+
+// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
+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
-// 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 ;
@@ -194,11 +234,11 @@ FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
FCKConfig.LinkUpload = true ;
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
FCKConfig.FlashUpload = true ;
@@ -210,4 +250,4 @@ FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
FCKConfig.SmileyColumns = 8 ;
FCKConfig.SmileyWindowWidth = 320 ;
-FCKConfig.SmileyWindowHeight = 240 ;
\ No newline at end of file
+FCKConfig.SmileyWindowHeight = 240 ;
diff --git a/phpgwapi/js/fckeditor/fckeditor.afp b/phpgwapi/js/fckeditor/fckeditor.afp
index 2b132ab705..67ffa09b85 100644
--- a/phpgwapi/js/fckeditor/fckeditor.afp
+++ b/phpgwapi/js/fckeditor/fckeditor.afp
@@ -1,21 +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/
- *
- * File Name: sampleposteddata.afp
- * This page lists the data posted by a form.
- *
- * Version: 1.0
- * Modified: 2005-07-01
- *
- * 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
@@ -62,8 +66,8 @@ DEFINE CLASS goFckeditor AS CONTAINER OLEPUBLIC
IF THIS.IsCompatible()
lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName
- IF ( THIS.ToolbarSet # '' )
- lcLink = lcLink + [Toolbar=]+THIS.ToolbarSet
+ IF ( !THIS.ToolbarSet == '' )
+ lcLink = lcLink + [&Toolbar=]+THIS.ToolbarSet
ENDIF
&& Render the LINKED HIDDEN FIELD.
diff --git a/phpgwapi/js/fckeditor/fckeditor.asp b/phpgwapi/js/fckeditor/fckeditor.asp
index 5a31c789ee..17663693c2 100644
--- a/phpgwapi/js/fckeditor/fckeditor.asp
+++ b/phpgwapi/js/fckeditor/fckeditor.asp
@@ -1,23 +1,27 @@
<%
Class FCKeditor
@@ -181,7 +185,7 @@ Class FCKeditor
GetConfigFieldString = sParams
End Function
-
+
Private Function EncodeConfig( valueToEncode )
EncodeConfig = Replace( valueToEncode, "&", "%26" )
EncodeConfig = Replace( EncodeConfig , "=", "%3D" )
diff --git a/phpgwapi/js/fckeditor/fckeditor.cfc b/phpgwapi/js/fckeditor/fckeditor.cfc
index 934261b1f0..0032534853 100644
--- a/phpgwapi/js/fckeditor/fckeditor.cfc
+++ b/phpgwapi/js/fckeditor/fckeditor.cfc
@@ -1,48 +1,52 @@
-
+
-
@@ -142,10 +146,10 @@
returnType="void"
hint="Create the html editor instance for compatible browsers."
>
-
+
var sURL = "";
-
+
// try to fix the basePath, if ending slash is missing
if( len( this.basePath) and right( this.basePath, 1 ) is not "/" )
this.basePath = this.basePath & "/";
@@ -183,7 +187,7 @@
var fieldLabel = "";
var lConfigKeys = "";
var iPos = "";
-
+
/**
* 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.
@@ -196,7 +200,7 @@
lConfigKeys = lConfigKeys & ",LinkBrowser,LinkBrowserURL,LinkBrowserWindowWidth,LinkBrowserWindowHeight";
lConfigKeys = lConfigKeys & ",LinkUpload,LinkUploadURL,LinkUploadWindowWidth,LinkUploadWindowHeight,LinkUploadAllowedExtensions,LinkUploadDeniedExtensions";
lConfigKeys = lConfigKeys & ",ImageBrowser,ImageBrowserURL,ImageBrowserWindowWidth,ImageBrowserWindowHeight,SmileyPath,SmileyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight";
-
+
for( key in this.config )
{
iPos = listFindNoCase( lConfigKeys, key );
@@ -207,13 +211,13 @@
fieldValue = this.config[key];
fieldName = listGetAt( lConfigKeys, iPos );
-
+
// set all boolean possibilities in CFML to true/false values
if( isBoolean( fieldValue) and fieldValue )
fieldValue = "true";
else if( isBoolean( fieldValue) )
fieldValue = "false";
-
+
sParams = sParams & HTMLEditFormat( fieldName ) & '=' & HTMLEditFormat( fieldValue );
}
}
diff --git a/phpgwapi/js/fckeditor/fckeditor.cfm b/phpgwapi/js/fckeditor/fckeditor.cfm
index ea7269981f..8dff8aeab2 100644
--- a/phpgwapi/js/fckeditor/fckeditor.cfm
+++ b/phpgwapi/js/fckeditor/fckeditor.cfm
@@ -1,35 +1,38 @@
-
+
-
+
if( attributes.checkBrowser )
{
@@ -108,7 +111,7 @@ else
// create configuration string: Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)
/**
- * 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.
* changed 20041206 hk@lwd.de (improvements are welcome!)
@@ -120,9 +123,9 @@ else
lConfigKeys = lConfigKeys & ",LinkBrowser,LinkBrowserURL,LinkBrowserWindowWidth,LinkBrowserWindowHeight";
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 )
{
iPos = listFindNoCase( lConfigKeys, key );
@@ -130,10 +133,10 @@ else
{
if( len( sConfig ) )
sConfig = sConfig & "&";
-
+
fieldValue = attributes.config[key];
fieldName = listGetAt( lConfigKeys, iPos );
-
+
sConfig = sConfig & urlEncodedFormat( fieldName ) & '=' & urlEncodedFormat( fieldValue );
}
}
@@ -166,7 +169,7 @@ else
-
+
diff --git a/phpgwapi/js/fckeditor/fckeditor.js b/phpgwapi/js/fckeditor/fckeditor.js
index 5ebc2fadcc..23481c45d2 100644
--- a/phpgwapi/js/fckeditor/fckeditor.js
+++ b/phpgwapi/js/fckeditor/fckeditor.js
@@ -1,24 +1,28 @@
-/*
- * 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?"
- *
- * File Name: fckeditor.js
- * 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.
- *
- * File Authors:
- * 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 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
@@ -42,8 +46,8 @@ var FCKeditor = function( instanceName, width, height, toolbarSet, value )
this.OnError = null ; // function( source, errorNumber, errorDescription )
}
-FCKeditor.prototype.Version = '2.3.2' ;
-FCKeditor.prototype.VersionBuild = '1082' ;
+FCKeditor.prototype.Version = '2.4.1' ;
+FCKeditor.prototype.VersionBuild = '14797' ;
FCKeditor.prototype.Create = function()
{
@@ -56,12 +60,12 @@ FCKeditor.prototype.CreateHtml = function()
if ( !this.InstanceName || this.InstanceName.length == 0 )
{
this._ThrowError( 701, 'You must specify an instance name.' ) ;
- return ;
+ return '' ;
}
var sHtml = '
' ;
-
- return $Html ;
- }
-
- function IsCompatible()
- {
- global $HTTP_USER_AGENT ;
-
- if ( isset( $HTTP_USER_AGENT ) )
- $sAgent = $HTTP_USER_AGENT ;
- else
- $sAgent = $_SERVER['HTTP_USER_AGENT'] ;
-
- if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false )
- {
- $iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ;
- return ($iVersion >= 5.5) ;
- }
- else if ( strpos($sAgent, 'Gecko/') !== false )
- {
- $iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ;
- return ($iVersion >= 20030210) ;
- }
- else
- return false ;
- }
-
- function GetConfigFieldString()
- {
- $sParams = '' ;
- $bFirst = true ;
-
- foreach ( $this->Config as $sKey => $sValue )
- {
- if ( $bFirst == false )
- $sParams .= '&' ;
- else
- $bFirst = false ;
-
- if ( $sValue === true )
- $sParams .= $this->EncodeConfig( $sKey ) . '=true' ;
- else if ( $sValue === false )
- $sParams .= $this->EncodeConfig( $sKey ) . '=false' ;
- else
- $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ;
- }
-
- return $sParams ;
- }
-
- function EncodeConfig( $valueToEncode )
- {
- $chars = array(
- '&' => '%26',
- '=' => '%3D',
- '"' => '%22' ) ;
-
- return strtr( $valueToEncode, $chars ) ;
- }
-}
+if ( version_compare( phpversion(), '5', '<' ) )
+ include_once( 'fckeditor_php4.php' ) ;
+else
+ include_once( 'fckeditor_php5.php' ) ;
?>
\ No newline at end of file
diff --git a/phpgwapi/js/fckeditor/fckeditor.pl b/phpgwapi/js/fckeditor/fckeditor.pl
index 8b171e970e..fd150684fd 100644
--- a/phpgwapi/js/fckeditor/fckeditor.pl
+++ b/phpgwapi/js/fckeditor/fckeditor.pl
@@ -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/
-#
-# "Support Open Source software. What about a donation today?"
-#
-# File Name: fckeditor.pl
-# This is the integration file for Perl.
-#
-# File Authors:
-# Takashi Yamaguchi (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.
#####
#my $InstanceName;
diff --git a/phpgwapi/js/fckeditor/fckeditor.py b/phpgwapi/js/fckeditor/fckeditor.py
index b497220a30..18baf2dae6 100644
--- a/phpgwapi/js/fckeditor/fckeditor.py
+++ b/phpgwapi/js/fckeditor/fckeditor.py
@@ -1,20 +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
-Licensed under the terms of the GNU Lesser General Public License:
- http://www.opensource.org/licenses/lgpl-license.php
+== BEGIN LICENSE ==
-For further information visit:
- http://www.fckeditor.net/
+Licensed under the terms of any of the following licenses at your
+choice:
-"Support Open Source software. What about a donation today?"
+ - GNU General Public License Version 2 or later (the "GPL")
+ http://www.gnu.org/licenses/gpl.html
-File Name: fckeditor.py
- This is the integration file for Python.
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ http://www.gnu.org/licenses/lgpl.html
-File Authors:
- Andrew Liu (andrew@liuholdings.com)
+ - 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.
"""
import cgi
@@ -102,7 +106,7 @@ class FCKeditor(object):
)
Html += "