diff --git a/phpgwapi/js/fckeditor/_documentation.html b/phpgwapi/js/fckeditor/_documentation.html index 3eb8398dc7..4e453bf23b 100644 --- a/phpgwapi/js/fckeditor/_documentation.html +++ b/phpgwapi/js/fckeditor/_documentation.html @@ -1,15 +1,23 @@ - + 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() -