Index: lams_central/web/fckeditor/fckconfig.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/Attic/fckconfig.js,v diff -u -r1.13 -r1.14 --- lams_central/web/fckeditor/fckconfig.js 31 Jul 2006 05:21:46 -0000 1.13 +++ lams_central/web/fckeditor/fckconfig.js 16 Aug 2006 06:05:58 -0000 1.14 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -16,15 +16,13 @@ * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) - * - * Version: 2.2 */ -FCKConfig.CustomConfigurationsPath = '' ; +FCKConfig.CustomConfigurationsPath = '../../includes/javascript/fckconfig_custom.js' ; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; -FCKConfig.DocType = '' ; +FCKConfig.DocType = '' ; FCKConfig.BaseHref = '' ; @@ -34,23 +32,22 @@ FCKConfig.AllowQueryStringDebug = true ; FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; +FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; -// FCKConfig.Plugins.Add( 'placeholder', 'de,en,fr,it,pl' ) ; +// FCKConfig.Plugins.Add( 'autogrow' ) ; +FCKConfig.AutoGrowMax = 400 ; -FCKConfig.ProtectedSource.Add( //gi ) ; // - - - - - - - - - -
- - - - - -
FCKeditor Debug Window
-
- -
- - \ No newline at end of file + + + + + + + + + + +
+ + + + + +
+ FCKeditor Debug Window +
+
+ +
+ + Index: lams_central/web/fckeditor/editor/fckdialog.html =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/Attic/fckdialog.html,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/fckdialog.html 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/fckdialog.html 16 Aug 2006 06:05:53 -0000 1.4 @@ -1,6 +1,7 @@ + - - + @@ -39,6 +39,9 @@ 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() ; @@ -111,6 +114,9 @@ function Cancel() { + // All dialog windows will fire the "OnSelectionChange" event, not matter + // the Ok or Cancel button have being pressed. + window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ; window.close() ; } @@ -260,6 +266,14 @@ window.attachEvent( "onbeforeunload", Window_OnBeforeUnload ) ; } +function Window_OnClose() +{ + window.dialogArguments.Editor.FCKFocusManager.Unlock() ; +} + +if ( window.addEventListener ) + window.addEventListener( 'unload', Window_OnClose, false ) ; + Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/fckdocument.html'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/fckeditor.html =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/Attic/fckeditor.html,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/fckeditor.html 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/fckeditor.html 16 Aug 2006 06:05:53 -0000 1.4 @@ -1,6 +1,7 @@ + - - - - FCKeditor - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
-
- -
- + + + FCKeditor + + + + + + + + + + + + + + + + + + +
+ Index: lams_central/web/fckeditor/editor/fckeditor.original.html =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/Attic/fckeditor.original.html,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/fckeditor.original.html 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/fckeditor.original.html 16 Aug 2006 06:05:53 -0000 1.4 @@ -1,6 +1,7 @@ + - - - - FCKeditor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
-
- -
- + + + FCKeditor + + + + + + + + + + + + + + + + + + +
+ Index: lams_central/web/fckeditor/editor/_source/fckconstants.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/Attic/fckconstants.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/fckconstants.js 16 Aug 2006 06:05:58 -0000 1.1 @@ -0,0 +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: 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) + */ + +// Editor Instance Status. +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 ; + +// Tristate Operations. +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 ; + +// For unknown values. +var FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -9 ; + +// Toolbar Items Style. +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 ; + +// Edit Mode +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 Index: lams_central/web/fckeditor/editor/_source/fckeditorapi.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/Attic/fckeditorapi.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/fckeditorapi.js 16 Aug 2006 06:05:58 -0000 1.1 @@ -0,0 +1,94 @@ +/* + * 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) + */ + +var FCKeditorAPI ; + +function InitializeAPI() +{ + if ( !( FCKeditorAPI = window.parent.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 + // available if the editor instance is removed ("Can't execute code + // from a freed script" error). + var sScript = '\ + var FCKeditorAPI = {\ + Version : \'2.3.1\',\ + VersionBuild : \'1062\',\ + __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() ;\ + }\ + }\ + }' ; + + // 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' ) ; + else + window.parent.eval( sScript ) ; + + FCKeditorAPI = window.parent.FCKeditorAPI ; + } + + // Add the current instance to the FCKeditorAPI's instances collection. + FCKeditorAPI.__Instances[ FCK.Name ] = FCK ; +} + +function FCKeditorAPI_Cleanup() +{ + FCKeditorAPI.__Instances[ FCK.Name ] = null ; +} +FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ; \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/fckjscoreextensions.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/Attic/fckjscoreextensions.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/fckjscoreextensions.js 16 Aug 2006 06:05:58 -0000 1.1 @@ -0,0 +1,108 @@ +/* + * 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) + */ + +String.prototype.Contains = function( textToCheck ) +{ + return ( this.indexOf( textToCheck ) > -1 ) ; +} + +String.prototype.Equals = function() +{ + for ( var i = 0 ; i < arguments.length ; i++ ) + if ( this == arguments[i] ) + return true ; + + return false ; +} + +Array.prototype.AddItem = function( item ) +{ + var i = this.length ; + this[ i ] = item ; + return i ; +} + +Array.prototype.indexOf = function( value ) +{ + for ( var i = 0 ; i < this.length ; i++ ) + { + if ( this[i] == value ) + return i ; + } + return -1 ; +} + +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 ) +{ + var L1 = this.length ; + var L2 = value.length ; + + if ( L2 > L1 ) + return false ; + + if ( ignoreCase ) + { + var oRegex = new RegExp( value + '$' , 'i' ) ; + return oRegex.test( this ) ; + } + else + return ( L2 == 0 || this.substr( L1 - L2, L2 ) == value ) ; +} + +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() +{ + return this.replace( /(^\s*)|(\s*$)/g, '' ) ; +} + +String.prototype.ltrim = function() +{ + return this.replace( /^\s*/g, '' ) ; +} + +String.prototype.rtrim = function() +{ + return this.replace( /\s*$/g, '' ) ; +} + +String.prototype.replaceNewLineChars = function( replacement ) +{ + return this.replace( /\n/g, replacement ) ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckcontextmenu.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckcontextmenu.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckcontextmenu.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,120 @@ +/* + * 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) + */ + +var FCKContextMenu = function( parentWindow, mouseClickWindow, langDir ) +{ + var oPanel = this._Panel = new FCKPanel( parentWindow, true ) ; + oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ; + oPanel.IsContextMenu = true ; + + var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ; + oMenuBlock.Panel = oPanel ; + oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ; + + this._Redraw = true ; + + this.SetMouseClickWindow( mouseClickWindow || parentWindow ) ; +} + + +FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow ) +{ + if ( !FCKBrowserInfo.IsIE ) + { + this._Document = mouseClickWindow.document ; + this._Document.addEventListener( 'contextmenu', FCKContextMenu_Document_OnContextMenu, false ) ; + } +} + +FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled ) +{ + var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled) ; + this._Redraw = true ; + return oItem ; +} + +FCKContextMenu.prototype.AddSeparator = function() +{ + this._MenuBlock.AddSeparator() ; + this._Redraw = true ; +} + +FCKContextMenu.prototype.RemoveAllItems = function() +{ + this._MenuBlock.RemoveAllItems() ; + this._Redraw = true ; +} + +FCKContextMenu.prototype.AttachToElement = function( element ) +{ + if ( FCKBrowserInfo.IsIE ) + FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu, this ) ; + else + element._FCKContextMenu = this ; + +// element.onmouseup = FCKContextMenu_AttachedElement_OnMouseUp ; +} + +function FCKContextMenu_Document_OnContextMenu( e ) +{ + var el = e.target ; + + while ( el ) + { + if ( el._FCKContextMenu ) + { + FCKTools.CancelEvent( e ) ; + FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ; + } + el = el.parentNode ; + } +} + +function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el ) +{ +// var iButton = e ? e.which - 1 : event.button ; + +// if ( iButton != 2 ) +// return ; + + var eTarget = el || this ; + + if ( fckContextMenu.OnBeforeOpen ) + fckContextMenu.OnBeforeOpen.call( fckContextMenu, eTarget ) ; + + if ( fckContextMenu._Redraw ) + { + fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ; + fckContextMenu._Redraw = false ; + } + + fckContextMenu._Panel.Show( + ev.pageX || ev.screenX, + ev.pageY || ev.screenY, + ev.currentTarget || null + ) ; + + return false ; +} + +function FCKContextMenu_MenuBlock_OnClick( menuItem, contextMenu ) +{ + contextMenu._Panel.Hide() ; + FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ; +} \ No newline at end of file Fisheye: Tag 1.3 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/classes/fckcontextmenugroup.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuitem.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuseparator.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/_source/classes/fckeditingarea.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckeditingarea.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckeditingarea.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,190 @@ +/* + * 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) + */ + +/** + * @constructor + * @param {String} targetElement The element that will hold the editing area. Any child element present in the target will be deleted. + */ +var FCKEditingArea = function( targetElement ) +{ + this.TargetElement = targetElement ; + this.Mode = FCK_EDITMODE_WYSIWYG ; + + if ( FCK.IECleanup ) + FCK.IECleanup.AddItem( this, FCKEditingArea_Cleanup ) ; +} + + +/** + * @param {String} html The complete HTML for the page, including DOCTYPE and the tag. + */ +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>' ) ; + + // 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 ) + { + 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 + // back to design. + if ( FCKBrowserInfo.IsGecko10 ) + this.Window.setTimeout( FCKEditingArea_CompleteStart, 500 ) ; + else + FCKEditingArea_CompleteStart.call( this.Window ) ; + } + else + { + var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ; + eTextarea.className = 'SourceField' ; + eTextarea.dir = 'ltr' ; + eTextarea.style.width = eTextarea.style.height = '100%' ; + eTextarea.style.border = 'none' ; + eTargetElement.appendChild( eTextarea ) ; + + eTextarea.value = html ; + + // Fire the "OnLoad" event. + FCKTools.RunFunction( this.OnLoad ) ; + } +} + +// "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. + if ( !this.document.body ) + { + this.setTimeout( FCKEditingArea_CompleteStart, 50 ) ; + return ; + } + + var oEditorArea = this._FCKEditingArea ; + oEditorArea.MakeEditable() ; + + // Fire the "OnLoad" event. + FCKTools.RunFunction( oEditorArea.OnLoad ) ; +} + +FCKEditingArea.prototype.MakeEditable = function() +{ + var oDoc = this.Document ; + + if ( FCKBrowserInfo.IsIE ) + oDoc.body.contentEditable = true ; + else + { + try + { + oDoc.designMode = 'on' ; + + // Tell Gecko to use or not the tag for the bold, italic and underline. + 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 + // 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 ) ; + } + catch (e) {} + } +} + +FCKEditingArea.prototype.Focus = function() +{ + try + { + if ( this.Mode == FCK_EDITMODE_WYSIWYG ) + { + if ( FCKBrowserInfo.IsSafari ) + this.IFrame.focus() ; + else + this.Window.focus() ; + } + else + this.Textarea.focus() ; + } + catch(e) {} +} + +function FCKEditingArea_Cleanup() +{ + this.TargetElement = null ; + 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 Index: lams_central/web/fckeditor/editor/_source/classes/fckevents.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckevents.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckevents.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckevents.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,32 +19,33 @@ var FCKEvents ; -if ( !( FCKEvents = NS.FCKEvents ) ) +FCKEvents = function( eventsOwner ) { - FCKEvents = NS.FCKEvents = function( eventsOwner ) - { - this.Owner = eventsOwner ; - this.RegisteredEvents = new Object() ; - } + this.Owner = eventsOwner ; + this.RegisteredEvents = new Object() ; +} - FCKEvents.prototype.AttachEvent = function( eventName, functionPointer ) - { - if ( ! this.RegisteredEvents[ eventName ] ) this.RegisteredEvents[ eventName ] = new Array() ; +FCKEvents.prototype.AttachEvent = function( eventName, functionPointer ) +{ + var aTargets ; - this.RegisteredEvents[ eventName ][ this.RegisteredEvents[ eventName ].length ] = functionPointer ; - } + if ( !( aTargets = this.RegisteredEvents[ eventName ] ) ) + this.RegisteredEvents[ eventName ] = [ functionPointer ] ; + else + aTargets.push( functionPointer ) ; +} - FCKEvents.prototype.FireEvent = function( eventName, params ) - { - var bReturnValue = true ; +FCKEvents.prototype.FireEvent = function( eventName, params ) +{ + var bReturnValue = true ; - var oCalls = this.RegisteredEvents[ eventName ] ; - if ( oCalls ) - { - for ( var i = 0 ; i < oCalls.length ; i++ ) - bReturnValue = ( oCalls[ i ]( this.Owner, params ) && bReturnValue ) ; - } + var oCalls = this.RegisteredEvents[ eventName ] ; - return bReturnValue ; + if ( oCalls ) + { + for ( var i = 0 ; i < oCalls.length ; i++ ) + bReturnValue = ( oCalls[ i ]( this.Owner, params ) && bReturnValue ) ; } + + return bReturnValue ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckicon.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckicon.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckicon.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,86 @@ +/* + * 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) + */ + +var FCKIcon = function( iconPathOrStripInfoArray ) +{ + var sTypeOf = iconPathOrStripInfoArray ? typeof( iconPathOrStripInfoArray ) : 'undefined' ; + switch ( sTypeOf ) + { + case 'number' : + this.Path = FCKConfig.SkinPath + 'fck_strip.gif' ; + 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] ; + this.Size = iconPathOrStripInfoArray[1] ; + this.Position = iconPathOrStripInfoArray[2] ; + } +} + +FCKIcon.prototype.CreateIconElement = function( document ) +{ + var eIcon ; + + 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.src = this.Path ; + eIconImage.style.top = sPos ; + } + else + { + // + + eIcon = document.createElement( 'IMG' ) ; + eIcon.src = FCK_SPACER_PATH ; + eIcon.style.backgroundPosition = '0px ' + sPos ; + eIcon.style.backgroundImage = 'url(' + this.Path + ')' ; + } + } + else // It is using a single icon image. + { + // + eIcon = document.createElement( 'IMG' ) ; + eIcon.src = this.Path ? this.Path : FCK_SPACER_PATH ; + } + + eIcon.className = 'TB_Button_Image' ; + + return eIcon ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckiecleanup.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckiecleanup.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckiecleanup.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,51 @@ +/* + * 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) + */ + + +var FCKIECleanup = function( attachWindow ) +{ + + this.Items = new Array() ; + + attachWindow._FCKCleanupObj = this ; + 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 ; + + for ( var i = 0 ; i < iLenght ; i++ ) + { + var oItem = aItems[i] ; + oItem[1].call( oItem[0] ) ; + aItems[i] = null ; + } + + this._FCKCleanupObj = null ; + + if ( CollectGarbage ) + CollectGarbage() ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckmenublock.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckmenublock.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckmenublock.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,135 @@ +/* + * 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) + */ + + +var FCKMenuBlock = function() +{ + this._Items = new Array() ; +} + + +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 ; +} + +FCKMenuBlock.prototype.AddSeparator = function() +{ + this._Items.push( new FCKMenuSeparator() ) ; +} + +FCKMenuBlock.prototype.RemoveAllItems = function() +{ + this._Items = new Array() ; + + var eItemsTable = this._ItemsTable ; + if ( eItemsTable ) + { + while ( eItemsTable.rows.length > 0 ) + eItemsTable.deleteRow( 0 ) ; + } +} + +FCKMenuBlock.prototype.Create = function( parentElement ) +{ + if ( !this._ItemsTable ) + { + if ( FCK.IECleanup ) + FCK.IECleanup.AddItem( this, FCKMenuBlock_Cleanup ) ; + + this._Window = FCKTools.GetElementWindow( parentElement ) ; + + var oDoc = FCKTools.GetElementDocument( parentElement ) ; + + var eTable = parentElement.appendChild( oDoc.createElement( 'table' ) ) ; + eTable.cellPadding = 0 ; + 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 ; + } + + for ( var i = 0 ; i < this._Items.length ; i++ ) + this._Items[i].Create( this._ItemsTable ) ; +} + +/* Events */ + +function FCKMenuBlock_Item_OnClick( clickedItem, menuBlock ) +{ + FCKTools.RunFunction( menuBlock.OnClick, menuBlock, [ clickedItem ] ) ; +} + +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() ; + } + + menuBlock._ActiveItem = this ; +} + +function FCKMenuBlock_Cleanup() +{ + this._Window = null ; + this._ItemsTable = null ; +} + +// ################# // + +var FCKMenuSeparator = function() +{} + +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' ; + + eCell = r.insertCell(-1) ; + eCell.className = 'MN_Separator' ; + eCell.appendChild( oDoc.createElement( 'DIV' ) ).className = 'MN_Separator_Line' ; + + eCell = r.insertCell(-1) ; + eCell.className = 'MN_Separator' ; + eCell.appendChild( oDoc.createElement( 'DIV' ) ).className = 'MN_Separator_Line' ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckmenublockpanel.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckmenublockpanel.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckmenublockpanel.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,51 @@ +/* + * 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) + */ + + +var FCKMenuBlockPanel = function() +{ + // Call the "base" constructor. + FCKMenuBlock.call( this ) ; +} + +FCKMenuBlockPanel.prototype = new FCKMenuBlock() ; + + +// Override the create method. +FCKMenuBlockPanel.prototype.Create = function() +{ + var oPanel = this.Panel = ( this.Parent && this.Parent.Panel ? this.Parent.Panel.CreateChildPanel() : new FCKPanel() ) ; + oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ; + + // Call the "base" implementation. + FCKMenuBlock.prototype.Create.call( this, oPanel.MainNode ) ; +} + +FCKMenuBlockPanel.prototype.Show = function( x, y, relElement ) +{ + if ( !this.Panel.CheckIsOpened() ) + this.Panel.Show( x, y, relElement ) ; +} + +FCKMenuBlockPanel.prototype.Hide = function() +{ + if ( this.Panel.CheckIsOpened() ) + this.Panel.Hide() ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckmenuitem.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckmenuitem.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckmenuitem.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,157 @@ +/* + * 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) + */ + + +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 ) ; + + if ( FCK.IECleanup ) + FCK.IECleanup.AddItem( this, FCKMenuItem_Cleanup ) ; +} + + +FCKMenuItem.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled ) +{ + this.HasSubMenu = true ; + return this.SubMenu.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled ) ; +} + +FCKMenuItem.prototype.AddSeparator = function() +{ + this.SubMenu.AddSeparator() ; +} + +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. + var r = this.MainElement = parentTable.insertRow(-1) ; + r.className = this.IsDisabled ? 'MN_Item_Disabled' : 'MN_Item' ; + + // Set the row behavior. + if ( !this.IsDisabled ) + { + FCKTools.AddEventListenerEx( r, 'mouseover', FCKMenuItem_OnMouseOver, [ this ] ) ; + FCKTools.AddEventListenerEx( r, 'click', FCKMenuItem_OnClick, [ this ] ) ; + + if ( !bHasSubMenu ) + FCKTools.AddEventListenerEx( r, 'mouseout', FCKMenuItem_OnMouseOut, [ this ] ) ; + } + + // Create the icon cell. + var eCell = r.insertCell(-1) ; + eCell.className = 'MN_Icon' ; + eCell.appendChild( this.Icon.CreateIconElement( oDoc ) ) ; + + // Create the label cell. + eCell = r.insertCell(-1) ; + 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 ) + { + eCell.className = 'MN_Arrow' ; + + // The arrow is a fixed size image. + var eArrowImg = eCell.appendChild( oDoc.createElement( 'IMG' ) ) ; + 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 ) ; + } +} + +FCKMenuItem.prototype.Activate = function() +{ + this.MainElement.className = 'MN_Item_Over' ; + + if ( this.HasSubMenu ) + { + // Show the child menu block. The ( +2, -2 ) correction is done because + // of the padding in the skin. It is not a good solution because one + // could change the skin and so the final result would not be accurate. + // For now it is ok because we are controlling the skin. + this.SubMenu.Show( this.MainElement.offsetWidth + 2, -2, this.MainElement ) ; + } + + FCKTools.RunFunction( this.OnActivate, this ) ; +} + +FCKMenuItem.prototype.Deactivate = function() +{ + this.MainElement.className = 'MN_Item' ; + + if ( this.HasSubMenu ) + this.SubMenu.Hide() ; +} + +/* Events */ + +function FCKMenuItem_SubMenu_OnClick( clickedItem, listeningItem ) +{ + FCKTools.RunFunction( listeningItem.OnClick, listeningItem, [ clickedItem ] ) ; +} + +function FCKMenuItem_SubMenu_OnHide( menuItem ) +{ + menuItem.Deactivate() ; +} + +function FCKMenuItem_OnClick( ev, menuItem ) +{ + if ( menuItem.HasSubMenu ) + menuItem.Activate() ; + else + { + menuItem.Deactivate() ; + FCKTools.RunFunction( menuItem.OnClick, menuItem, [ menuItem ] ) ; + } +} + +function FCKMenuItem_OnMouseOver( ev, menuItem ) +{ + menuItem.Activate() ; +} + +function FCKMenuItem_OnMouseOut( ev, menuItem ) +{ + menuItem.Deactivate() ; +} + +function FCKMenuItem_Cleanup() +{ + this.MainElement = null ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckpanel.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckpanel.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fckpanel.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,293 @@ +/* + * 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) + */ + + +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 ; + } + else + { + var oIFrame = this._IFrame = this._Window.document.createElement('iframe') ; + oIFrame.src = 'javascript:void(0)' ; + oIFrame.allowTransparency = true ; + oIFrame.frameBorder = '0' ; + oIFrame.scrolling = 'no' ; + oIFrame.style.position = 'absolute'; + oIFrame.style.zIndex = FCKConfig.FloatingPanelsZIndex ; + oIFrame.width = oIFrame.height = 0 ; + + if ( this._Window == window.parent ) + window.frameElement.parentNode.insertBefore( oIFrame, window.frameElement ) ; + else + this._Window.document.body.appendChild( oIFrame ) ; + + var oIFrameWindow = oIFrame.contentWindow ; + + oDocument = this.Document = oIFrameWindow.document ; + + // Initialize the IFRAME document body. + oDocument.open() ; + oDocument.write( '<\/body><\/html>' ) ; + oDocument.close() ; + + FCKTools.AddEventListenerEx( oIFrameWindow, 'focus', FCKPanel_Window_OnFocus, this ) ; + FCKTools.AddEventListenerEx( oIFrameWindow, 'blur', FCKPanel_Window_OnBlur, this ) ; + } + + oDocument.dir = FCKLang.Dir ; + + oDocument.oncontextmenu = FCKTools.CancelEvent ; + + + // Create the main DIV that is used as the panel base. + this.MainNode = oDocument.body.appendChild( oDocument.createElement('DIV') ) ; + + // 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 ) ; +} + + +FCKPanel.prototype.AppendStyleSheet = function( styleSheet ) +{ + FCKTools.AppendStyleSheet( this.Document, styleSheet ) ; +} + +FCKPanel.prototype.Preload = function( x, y, relElement ) +{ + // 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 ) + this._Popup.show( x, y, 0, 0, relElement ) ; +} + +FCKPanel.prototype.Show = function( x, y, relElement, width, height ) +{ + if ( this._Popup ) + { + // 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 + // 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 ; + + if ( this.IsRTL ) + { + if ( this.IsContextMenu ) + x = x - iMainWidth + 1 ; + 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 ) + CheckPopupOnHide.call( this, true ) ; + + this._Timer = FCKTools.SetInterval( CheckPopupOnHide, 100, this ) ; + } + } + else + { + // Do not fire OnBlur while the panel is opened. + FCKFocusManager.Lock() ; + + if ( this.ParentPanel ) + this.ParentPanel.Lock() ; + + this.MainNode.style.width = width ? width + 'px' : '' ; + this.MainNode.style.height = height ? height + 'px' : '' ; + + var iMainWidth = this.MainNode.offsetWidth ; + + if ( !width ) this._IFrame.width = 1 ; + if ( !height ) this._IFrame.height = 1 ; + + // This is weird... but with Firefox, we must get the offsetWidth before + // setting the _IFrame size (which returns "0"), and then after that, + // to return the correct width. Remove the first step and it will not + // work when the editor is in RTL. + iMainWidth = this.MainNode.offsetWidth ; + + var oPos = FCKTools.GetElementPosition( ( relElement.nodeType == 9 ? relElement.body : relElement), this._Window ) ; + + if ( this.IsRTL && !this.IsContextMenu ) + x = ( x * -1 ) ; + + x += oPos.X ; + y += oPos.Y ; + + if ( this.IsRTL ) + { + if ( this.IsContextMenu ) + x = x - iMainWidth + 1 ; + else if ( relElement ) + x = x + relElement.offsetWidth - iMainWidth ; + } + else + { + var oViewPaneSize = FCKTools.GetViewPaneSize( this._Window ) ; + var oScrollPosition = FCKTools.GetScrollPosition( this._Window ) ; + + var iViewPaneHeight = oViewPaneSize.Height + oScrollPosition.Y ; + var iViewPaneWidth = oViewPaneSize.Width + oScrollPosition.X ; + + if ( ( x + iMainWidth ) > iViewPaneWidth ) + x -= x + iMainWidth - iViewPaneWidth ; + + 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 ; + + // Move the focus to the IFRAME so we catch the "onblur". + this._IFrame.contentWindow.focus() ; + } + + this._IsOpened = true ; + + FCKTools.RunFunction( this.OnShow, this ) ; +} + +FCKPanel.prototype.Hide = function( ignoreOnHide ) +{ + if ( this._Popup ) + this._Popup.hide() ; + else + { + if ( !this._IsOpened ) + return ; + + // Enable the editor to fire the "OnBlur". + FCKFocusManager.Unlock() ; + + // 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() ; + + if ( !ignoreOnHide ) + FCKTools.RunFunction( this.OnHide, this ) ; + } +} + +FCKPanel.prototype.CheckIsOpened = function() +{ + if ( this._Popup ) + return this._Popup.isOpen ; + else + return this._IsOpened ; +} + +FCKPanel.prototype.CreateChildPanel = function() +{ + var oWindow = this._Popup ? FCKTools.GetParentWindow( this.Document ) : this._Window ; + + var oChildPanel = new FCKPanel( oWindow, true ) ; + oChildPanel.ParentPanel = this ; + + return oChildPanel ; +} + +FCKPanel.prototype.Lock = function() +{ + this._LockCounter++ ; +} + +FCKPanel.prototype.Unlock = function() +{ + if ( --this._LockCounter == 0 && !this.HasFocus ) + this.Hide() ; +} + +/* Events */ + +function FCKPanel_Window_OnFocus( e, panel ) +{ + panel.HasFocus = true ; +} + +function FCKPanel_Window_OnBlur( e, panel ) +{ + panel.HasFocus = false ; + + if ( panel._LockCounter == 0 ) + FCKTools.RunFunction( panel.Hide, panel ) ; +} + +function CheckPopupOnHide( forceHide ) +{ + if ( forceHide || !this._Popup.isOpen ) + { + window.clearInterval( this._Timer ) ; + this._Timer = null ; + + FCKTools.RunFunction( this.OnHide, this ) ; + } +} + +function FCKPanel_Cleanup() +{ + this._Popup = null ; + this._Window = null ; + this.Document = null ; + this.MainNode = null ; +} \ No newline at end of file Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/classes/fckpanel_gecko.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/classes/fckpanel_ie.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/_source/classes/fckplugin.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckplugin.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckplugin.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckplugin.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -17,10 +17,6 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -// Certifies that the "PluginsPath" configuration ends with a slash. -if ( !FCKConfig.PluginsPath.endsWith('/') ) - FCKConfig.PluginsPath += '/' ; - var FCKPlugin = function( name, availableLangs, basePath ) { this.Name = name ; @@ -48,9 +44,9 @@ sLang = this.AvailableLangs[0] ; // Add the main plugin script. - FCKScriptLoader.AddScript( this.Path + 'lang/' + sLang + '.js' ) ; + LoadScript( this.Path + 'lang/' + sLang + '.js' ) ; } // Add the main plugin script. - FCKScriptLoader.AddScript( this.Path + 'fckplugin.js' ) ; + LoadScript( this.Path + 'fckplugin.js' ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckspecialcombo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckspecialcombo.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fckspecialcombo.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fckspecialcombo.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -32,16 +32,19 @@ this.Items = new Object() ; - this._Panel = new FCKPanel( parentWindow ) ; - this._Panel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_contextmenu.css' ) ; - this._PanelBox = this._Panel.PanelDiv.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; + 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' ) ) ; this._PanelBox.className = 'SC_Panel' ; this._PanelBox.style.width = this.PanelWidth + 'px' ; this._PanelBox.innerHTML = '
' ; this._ItemsHolderEl = this._PanelBox.getElementsByTagName('TD')[0] ; - + + if ( FCK.IECleanup ) + FCK.IECleanup.AddItem( this, FCKSpecialCombo_Cleanup ) ; + // this._Panel.StyleSheet = FCKConfig.SkinPath + 'fck_contextmenu.css' ; // this._Panel.Create() ; // this._Panel.PanelDiv.className += ' SC_Panel' ; @@ -61,6 +64,8 @@ function FCKSpecialCombo_ItemOnClick() { + this.className = this.originalClass ; + this.FCKSpecialCombo._Panel.Hide() ; this.FCKSpecialCombo.SetLabel( this.FCKItemLabel ) ; @@ -69,17 +74,24 @@ this.FCKSpecialCombo.OnSelect( this.FCKItemID, this ) ; } -FCKSpecialCombo.prototype.AddItem = function( id, html, label ) +FCKSpecialCombo.prototype.AddItem = function( id, html, label, bgColor ) { //
Bold 1
var oDiv = this._ItemsHolderEl.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; oDiv.className = oDiv.originalClass = 'SC_Item' ; oDiv.innerHTML = html ; oDiv.FCKItemID = id ; - oDiv.FCKItemLabel = label ? label : id ; + oDiv.FCKItemLabel = label || id ; oDiv.FCKSpecialCombo = this ; oDiv.Selected = false ; + // 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 ; @@ -155,11 +167,12 @@ FCKSpecialCombo.prototype.Create = function( targetElement ) { - this._OuterTable = targetElement.appendChild( document.createElement( 'TABLE' ) ) ; - this._OuterTable.cellPadding = 0 ; - this._OuterTable.cellSpacing = 0 ; + var oDoc = FCKTools.GetElementDocument( targetElement ) ; + var eOuterTable = this._OuterTable = targetElement.appendChild( oDoc.createElement( 'TABLE' ) ) ; + eOuterTable.cellPadding = 0 ; + eOuterTable.cellSpacing = 0 ; - this._OuterTable.insertRow(-1) ; + eOuterTable.insertRow(-1) ; var sClass ; var bShowLabel ; @@ -181,34 +194,37 @@ if ( this.Caption && this.Caption.length > 0 && bShowLabel ) { - var oCaptionCell = this._OuterTable.rows[0].insertCell(-1) ; + var oCaptionCell = eOuterTable.rows[0].insertCell(-1) ; oCaptionCell.innerHTML = this.Caption ; oCaptionCell.className = 'SC_FieldCaption' ; } // Create the main DIV element. - var oField = this._OuterTable.rows[0].insertCell(-1).appendChild( document.createElement( 'DIV' ) ) ; + var oField = FCKTools.AppendElement( eOuterTable.rows[0].insertCell(-1), 'div' ) ; if ( bShowLabel ) { oField.className = 'SC_Field' ; oField.style.width = this.FieldWidth + 'px' ; oField.innerHTML = '
 
' ; - this._LabelEl = oField.getElementsByTagName('label')[0] ; + this._LabelEl = oField.getElementsByTagName('label')[0] ; // Memory Leak this._LabelEl.innerHTML = this.Label ; } else { oField.className = 'TB_Button_Off' ; //oField.innerHTML = '' + this.Caption + '
 
' ; - oField.innerHTML = '
 
' ; + //oField.innerHTML = '
 
' ; // Gets the correct CSS class to use for the specified style (param). - oField.innerHTML ='' + + oField.innerHTML = '
' + '' + //'' + + '' + '' + + '' + '' + + '' + '' + '
' + this.Caption + '
' ; } @@ -225,17 +241,31 @@ FCKTools.DisableSelection( this._Panel.Document.body ) ; } +function FCKSpecialCombo_Cleanup() +{ + this._LabelEl = null ; + 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() { if ( this.SpecialCombo.Enabled ) { switch ( this.SpecialCombo.Style ) { case FCK_TOOLBARITEM_ONLYICON : - this.className = 'TB_Button_On'; + this.className = 'TB_Button_On_Over'; break ; case FCK_TOOLBARITEM_ONLYTEXT : - this.className = 'TB_Button_On'; + this.className = 'TB_Button_On_Over'; break ; case FCK_TOOLBARITEM_ICONTEXT : this.className = 'SC_Field SC_FieldOver' ; @@ -283,23 +313,26 @@ oSpecialCombo.OnBeforeClick( oSpecialCombo ) ; // This is a tricky thing. We must call the "Load" function, otherwise - // it will not be possible to retrieve "oItemsHolder.offsetHeight". - oPanel.Load( 0, this.offsetHeight, this ) ; + // it will not be possible to retrieve "oItemsHolder.offsetHeight" (IE only). + if ( FCKBrowserInfo.IsIE ) + oPanel.Preload( 0, this.offsetHeight, this ) ; if ( oItemsHolder.offsetHeight > iMaxHeight ) +// { oPanelBox.style.height = iMaxHeight + 'px' ; + +// if ( FCKBrowserInfo.IsGecko ) +// oPanelBox.style.overflow = '-moz-scrollbars-vertical' ; +// } else - oPanelBox.style.height = oItemsHolder.offsetHeight + 'px' ; + oPanelBox.style.height = '' ; // oPanel.PanelDiv.style.width = oSpecialCombo.PanelWidth + 'px' ; - - if ( FCKBrowserInfo.IsGecko ) - oPanelBox.style.overflow = '-moz-scrollbars-vertical' ; oPanel.Show( 0, this.offsetHeight, this ) ; } - return false ; +// return false ; } /* Index: lams_central/web/fckeditor/editor/_source/classes/fckstyledef.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckstyledef.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckstyledef.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckstyledef.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -11,7 +11,7 @@ * "Support Open Source software. What about a donation today?" * * File Name: fckstyledef.js - * FCKStyleDef Class: represents a single stylke definition. + * FCKStyleDef Class: represents a single style definition. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) @@ -49,7 +49,7 @@ FCKStyleDef.prototype.RemoveFromSelection = function() { if ( FCKSelection.GetType() == 'Control' ) - this._RemoveMe( FCKSelection.GetSelectedElement() ) ; + this._RemoveMe( FCK.ToolbarSet.CurrentInstance.Selection.GetSelectedElement() ) ; else - this._RemoveMe( FCKSelection.GetParentElement() ) ; + this._RemoveMe( FCK.ToolbarSet.CurrentInstance.Selection.GetParentElement() ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckstyledef_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckstyledef_gecko.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckstyledef_gecko.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckstyledef_gecko.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -21,10 +21,10 @@ { if ( FCKSelection.GetType() == 'Text' && !this.IsObjectElement ) { - var oSelection = FCK.EditorWindow.getSelection() ; + var oSelection = FCK.ToolbarSet.CurrentInstance.EditorWindow.getSelection() ; // Create the main element. - var e = FCK.EditorDocument.createElement( this.Element ) ; + var e = FCK.ToolbarSet.CurrentInstance.EditorDocument.createElement( this.Element ) ; for ( var i = 0 ; i < oSelection.rangeCount ; i++ ) { @@ -42,7 +42,7 @@ } else { - var oControl = FCKSelection.GetSelectedElement() ; + var oControl = FCK.ToolbarSet.CurrentInstance.Selection.GetSelectedElement() ; if ( oControl.tagName == this.Element ) this._AddAttributes( oControl ) ; } @@ -51,7 +51,16 @@ FCKStyleDef.prototype._AddAttributes = function( targetElement ) { for ( var a in this.Attributes ) - targetElement.setAttribute( a, this.Attributes[a], 0 ) ; + { + switch ( a.toLowerCase() ) + { + case 'src' : + targetElement.setAttribute( '_fcksavedurl', this.Attributes[a], 0 ) ; + + default : + targetElement.setAttribute( a, this.Attributes[a], 0 ) ; + } + } } FCKStyleDef.prototype._RemoveDuplicates = function( parent ) Index: lams_central/web/fckeditor/editor/_source/classes/fckstyledef_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckstyledef_ie.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fckstyledef_ie.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fckstyledef_ie.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,7 +19,7 @@ FCKStyleDef.prototype.ApplyToSelection = function() { - var oSelection = FCK.EditorDocument.selection ; + var oSelection = FCK.ToolbarSet.CurrentInstance.EditorDocument.selection ; if ( oSelection.type == 'Text' ) { @@ -40,7 +40,7 @@ } else if ( oSelection.type == 'Control' ) { - var oControl = FCKSelection.GetSelectedElement() ; + var oControl = FCK.ToolbarSet.CurrentInstance.Selection.GetSelectedElement() ; if ( oControl.tagName == this.Element ) this._AddAttributes( oControl ) ; } @@ -55,11 +55,14 @@ case 'style' : targetElement.style.cssText = this.Attributes[a] ; break ; - + case 'class' : targetElement.setAttribute( 'className', this.Attributes[a], 0 ) ; break ; - + + case 'src' : + targetElement.setAttribute( '_fcksavedurl', this.Attributes[a], 0 ) ; + default : targetElement.setAttribute( a, this.Attributes[a], 0 ) ; } Index: lams_central/web/fckeditor/editor/_source/classes/fckstylesloader.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckstylesloader.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckstylesloader.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckstylesloader.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbar.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbar.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbar.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbar.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -11,8 +11,8 @@ * "Support Open Source software. What about a donation today?" * * File Name: fcktoolbar.js - * FCKToolbar Class: represents a toolbar. A toolbar is not the complete - * toolbar set visible, but just a strip on it... a group of items. + * FCKToolbar Class: represents a toolbar in the toolbarset. It is a group of + * toolbar items. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) @@ -21,41 +21,96 @@ var FCKToolbar = function() { this.Items = new Array() ; - - var e = this.DOMTable = document.createElement( 'table' ) ; - e.className = 'TB_Toolbar' ; - // Sets the toolbar direction. IE uses "styleFloat" and Gecko uses "cssFloat". - e.style.styleFloat = e.style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ; + if ( FCK.IECleanup ) + FCK.IECleanup.AddItem( this, FCKToolbar_Cleanup ) ; +} - e.cellPadding = 0 ; - e.cellSpacing = 0 ; - e.border = 0 ; +FCKToolbar.prototype.AddItem = function( item ) +{ + return this.Items[ this.Items.length ] = item ; +} - this.DOMRow = e.insertRow(-1) ; +FCKToolbar.prototype.AddButton = function( name, label, tooltip, iconPathOrStripInfoArrayOrIndex, style, state ) +{ + if ( typeof( iconPathOrStripInfoArrayOrIndex ) == 'number' ) + iconPathOrStripInfoArrayOrIndex = [ this.DefaultIconsStrip, this.DefaultIconSize, iconPathOrStripInfoArrayOrIndex ] ; - var oCell = this.DOMRow.insertCell(-1) ; - oCell.className = 'TB_Start' ; - oCell.innerHTML = '' ; - - FCKToolbarSet.DOMElement.appendChild( e ) ; + var oButton = new FCKToolbarButtonUI( name, label, tooltip, iconPathOrStripInfoArrayOrIndex, style, state ) ; + oButton._FCKToolbar = this ; + oButton.OnClick = FCKToolbar_OnItemClick ; + + return this.AddItem( oButton ) ; } -FCKToolbar.prototype.AddItem = function( toolbarItem ) +function FCKToolbar_OnItemClick( item ) { - this.Items[ this.Items.length ] = toolbarItem ; - toolbarItem.CreateInstance( this ) ; + var oToolbar = item._FCKToolbar ; + + if ( oToolbar.OnItemClick ) + oToolbar.OnItemClick( oToolbar, item ) ; } FCKToolbar.prototype.AddSeparator = function() { - var oCell = this.DOMRow.insertCell(-1) ; - oCell.innerHTML = '' ; + this.AddItem( new FCKToolbarSeparator() ) ; } -FCKToolbar.prototype.AddTerminator = function() +FCKToolbar.prototype.Create = function( parentElement ) { - var oCell = this.DOMRow.insertCell(-1) ; - oCell.className = 'TB_End' ; - oCell.innerHTML = '' ; + if ( this.MainElement ) + { +// this._Cleanup() ; + if ( this.MainElement.parentNode ) + this.MainElement.parentNode.removeChild( this.MainElement ) ; + this.MainElement = null ; + } + + var oDoc = FCKTools.GetElementDocument( parentElement ) ; + + var e = this.MainElement = oDoc.createElement( 'table' ) ; + e.className = 'TB_Toolbar' ; + e.style.styleFloat = e.style.cssFloat = ( FCKLang.Dir == 'ltr' ? 'left' : 'right' ) ; + 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 ) + { + eCell = this.RowElement.insertCell(-1) ; + eCell.appendChild( oDoc.createElement( 'div' ) ).className = 'TB_End' ; + } + + parentElement.appendChild( e ) ; } + +function FCKToolbar_Cleanup() +{ + this.MainElement = null ; + this.RowElement = null ; +} + +var FCKToolbarSeparator = function() +{} + +FCKToolbarSeparator.prototype.Create = function( parentElement ) +{ + FCKTools.AppendElement( parentElement, 'div' ).className = 'TB_Separator' ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarbreak_gecko.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -12,18 +12,21 @@ * * File Name: fcktoolbarbreak_gecko.js * FCKToolbarBreak Class: breaks the toolbars. - * It makes it possible to force the toolbar to brak to a new line. + * 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) */ var FCKToolbarBreak = function() +{} + +FCKToolbarBreak.prototype.Create = function( targetElement ) { - var oBreakDiv = document.createElement( 'div' ) ; + var oBreakDiv = targetElement.ownerDocument.createElement( 'div' ) ; oBreakDiv.style.clear = oBreakDiv.style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ; - FCKToolbarSet.DOMElement.appendChild( oBreakDiv ) ; + targetElement.appendChild( oBreakDiv ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarbreak_ie.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -20,12 +20,15 @@ */ var FCKToolbarBreak = function() +{} + +FCKToolbarBreak.prototype.Create = function( targetElement ) { - var oBreakDiv = document.createElement( 'div' ) ; + var oBreakDiv = FCKTools.GetElementDocument( targetElement ).createElement( 'div' ) ; oBreakDiv.className = 'TB_Break' ; oBreakDiv.style.clear = FCKLang.Dir == 'rtl' ? 'left' : 'right' ; - FCKToolbarSet.DOMElement.appendChild( oBreakDiv ) ; + targetElement.appendChild( oBreakDiv ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbutton.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarbutton.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbutton.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbutton.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -17,120 +17,45 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView, contextSensitive ) +var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView, contextSensitive, icon ) { - this.Command = FCKCommands.GetCommand( commandName ) ; - this.Label = label ? label : commandName ; - this.Tooltip = tooltip ? tooltip : ( label ? label : commandName) ; - this.Style = style ? style : FCK_TOOLBARITEM_ONLYICON ; + this.CommandName = commandName ; + this.Label = label ; + this.Tooltip = tooltip ; + this.Style = style ; this.SourceView = sourceView ? true : false ; - this.ContextSensitive = contextSensitive ? true : false ; - this.IconPath = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ; - this.State = FCK_UNKNOWN ; + this.ContextSensitive = contextSensitive ? true : false ; + + if ( icon == null ) + this.IconPath = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ; + else if ( typeof( icon ) == 'number' ) + this.IconPath = [ FCKConfig.SkinPath + 'fck_strip.gif', 16, icon ] ; } -FCKToolbarButton.prototype.CreateInstance = function( parentToolbar ) +FCKToolbarButton.prototype.Create = function( targetElement ) { - this.DOMDiv = document.createElement( 'div' ) ; - this.DOMDiv.className = 'TB_Button_Off' ; - - this.DOMDiv.FCKToolbarButton = this ; - - var sHtml = - '' + - '' ; - - if ( this.Style != FCK_TOOLBARITEM_ONLYTEXT ) - sHtml += '' ; - - if ( this.Style != FCK_TOOLBARITEM_ONLYICON ) - sHtml += '' ; - - sHtml += - '' + - '
' + this.Label + '
' ; - - this.DOMDiv.innerHTML = sHtml ; - - var oCell = parentToolbar.DOMRow.insertCell(-1) ; - oCell.appendChild( this.DOMDiv ) ; - - this.RefreshState() ; + 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.Create( targetElement ) ; } FCKToolbarButton.prototype.RefreshState = function() { -/* - TODO: Delete this comment block on stable version. // Gets the actual state. -// var eState ; - -// if ( FCK.EditMode == FCK_EDITMODE_SOURCE && ! this.SourceView ) -// eState = FCK_TRISTATE_DISABLED ; -// else -*/ - // Gets the actual state. - var eState = this.Command.GetState() ; + var eState = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetState() ; // If there are no state changes than do nothing and return. - if ( eState == this.State ) return ; + if ( eState == this._UIButton.State ) return ; // Sets the actual state. - this.State = eState ; - - switch ( this.State ) - { - case FCK_TRISTATE_ON : - this.DOMDiv.className = 'TB_Button_On' ; - - this.DOMDiv.onmouseover = FCKToolbarButton_OnMouseOnOver ; - this.DOMDiv.onmouseout = FCKToolbarButton_OnMouseOnOut ; - this.DOMDiv.onclick = FCKToolbarButton_OnClick ; - - break ; - case FCK_TRISTATE_OFF : - this.DOMDiv.className = 'TB_Button_Off' ; - - this.DOMDiv.onmouseover = FCKToolbarButton_OnMouseOffOver ; - this.DOMDiv.onmouseout = FCKToolbarButton_OnMouseOffOut ; - this.DOMDiv.onclick = FCKToolbarButton_OnClick ; - - break ; - default : - this.Disable() ; - break ; - } + this._UIButton.ChangeState( eState ) ; } -function FCKToolbarButton_OnMouseOnOver() -{ - this.className = 'TB_Button_On TB_Button_On_Over' ; -} - -function FCKToolbarButton_OnMouseOnOut() -{ - this.className = 'TB_Button_On' ; -} - -function FCKToolbarButton_OnMouseOffOver() -{ - this.className = 'TB_Button_On TB_Button_Off_Over' ; -} - -function FCKToolbarButton_OnMouseOffOut() -{ - this.className = 'TB_Button_Off' ; -} - -function FCKToolbarButton_OnClick(e) -{ - this.FCKToolbarButton.Click(e) ; - return false ; -} - FCKToolbarButton.prototype.Click = function() { - this.Command.Execute() ; + var oToolbarButton = this._ToolbarButton || this ; + FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( oToolbarButton.CommandName ).Execute() ; } FCKToolbarButton.prototype.Enable = function() @@ -140,9 +65,6 @@ FCKToolbarButton.prototype.Disable = function() { - this.State = FCK_TRISTATE_DISABLED ; - this.DOMDiv.className = 'TB_Button_Disabled' ; - this.DOMDiv.onmouseover = null ; - this.DOMDiv.onmouseout = null ; - this.DOMDiv.onclick = null ; + // Sets the actual state. + this._UIButton.ChangeState( FCK_TRISTATE_DISABLED ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarbuttonui.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js 16 Aug 2006 06:05:52 -0000 1.1 @@ -0,0 +1,218 @@ +/* + * 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) + */ + +var FCKToolbarButtonUI = function( name, label, tooltip, iconPathOrStripInfoArray, style, state ) +{ + this.Name = name ; + this.Label = label || name ; + 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 ) + FCK.IECleanup.AddItem( this, FCKToolbarButtonUI_Cleanup ) ; +} + + +FCKToolbarButtonUI.prototype._CreatePaddingElement = function( document ) +{ + var oImg = document.createElement( 'IMG' ) ; + oImg.className = 'TB_Button_Padding' ; + oImg.src = FCK_SPACER_PATH ; + return oImg ; +} + +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). + oMainElement.title = this.Tooltip ; + + // The following will prevent the button from catching the focus. + if ( FCKBrowserInfo.IsGecko ) + oMainElement.onmousedown = FCKTools.CancelEvent ; + + this.ChangeState( this.State, true ) ; + + if ( this.Style == FCK_TOOLBARITEM_ONLYICON && !this.ShowArrow ) + { + //
{Image}
+ + oMainElement.appendChild( this.Icon.CreateIconElement( oDoc ) ) ; + } + else + { + //
{Image}Toolbar Button
+ //
Toolbar Button
+ + 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. + oCell = oRow.insertCell(-1) ; + oCell.className = 'TB_Button_Text' ; + 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' ; + eImg.width = 5 ; + eImg.height = 3 ; + } + + // The last padding cell. + oCell = oRow.insertCell(-1) ; + oCell.appendChild( this._CreatePaddingElement( oDoc ) ) ; + } + + parentElement.appendChild( oMainElement ) ; +} + +FCKToolbarButtonUI.prototype.ChangeState = function( newState, force ) +{ + if ( !force && this.State == newState ) + return ; + + var e = this.MainElement ; + + switch ( parseInt( newState ) ) + { + 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 : + e.className = 'TB_Button_Disabled' ; + e.onmouseover = null ; + e.onmouseout = null ; + e.onclick = null ; + bEnableEvents = false ; + break ; + } + + this.State = newState ; +} + +function FCKToolbarButtonUI_Cleanup() +{ + if ( this.MainElement ) + { + this.MainElement._FCKButton = null ; + this.MainElement = null ; + } +} + +// Event Handlers. + +function FCKToolbarButton_OnMouseOverOn() +{ + this.className = 'TB_Button_On_Over' ; +} + +function FCKToolbarButton_OnMouseOutOn() +{ + this.className = 'TB_Button_On' ; +} + +function FCKToolbarButton_OnMouseOverOff() +{ + this.className = 'TB_Button_Off_Over' ; +} + +function FCKToolbarButton_OnMouseOutOff() +{ + this.className = 'TB_Button_Off' ; +} + +function FCKToolbarButton_OnClick( e ) +{ + if ( this._FCKButton.OnClick ) + this._FCKButton.OnClick( this._FCKButton ) ; +} + +/* + Sample outputs: + + This is the base structure. The variation is the image that is marked as {Image}: +
{Image}
+
{Image}Toolbar Button
+
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 Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarfontformatcombo.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,7 +19,7 @@ var FCKToolbarFontFormatCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'FontFormat' ) ; + this.CommandName = 'FontFormat' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; @@ -32,6 +32,7 @@ // Inherit from FCKToolbarSpecialCombo. FCKToolbarFontFormatCombo.prototype = new FCKToolbarSpecialCombo ; + FCKToolbarFontFormatCombo.prototype.GetLabel = function() { return FCKLang.FontFormat ; Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarfontscombo.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,7 +19,7 @@ var FCKToolbarFontsCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'FontName' ) ; + this.CommandName = 'FontName' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; @@ -28,6 +28,7 @@ // Inherit from FCKToolbarSpecialCombo. FCKToolbarFontsCombo.prototype = new FCKToolbarSpecialCombo ; + FCKToolbarFontsCombo.prototype.GetLabel = function() { return FCKLang.Font ; Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarfontsizecombo.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,7 +19,7 @@ var FCKToolbarFontSizeCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'FontSize' ) ; + this.CommandName = 'FontSize' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; @@ -28,6 +28,7 @@ // Inherit from FCKToolbarSpecialCombo. FCKToolbarFontSizeCombo.prototype = new FCKToolbarSpecialCombo ; + FCKToolbarFontSizeCombo.prototype.GetLabel = function() { return FCKLang.FontSize ; Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarpanelbutton.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -18,67 +18,70 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarPanelButton = function( commandName, label, tooltip, style ) +var FCKToolbarPanelButton = function( commandName, label, tooltip, style, icon ) { - this.Command = FCKCommands.GetCommand( commandName ) ; - this.Label = label ? label : commandName ; - this.Tooltip = tooltip ? tooltip : ( label ? label : commandName) ; - this.Style = style ? style : FCK_TOOLBARITEM_ONLYICON ; - this.State = FCK_UNKNOWN ; - this.IconPath = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ; -} + this.CommandName = commandName ; -FCKToolbarPanelButton.prototype.Click = function(e) -{ - // 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 ) ; -// } - - if ( this.State != FCK_TRISTATE_DISABLED ) - { - this.Command.Execute(0, this.DOMDiv.offsetHeight, this.DOMDiv) ; -// this.FCKToolbarButton.HandleOnClick( this, e ) ; - } - - return false ; + 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 ; + oUIButton.OnClick = FCKToolbarPanelButton_OnButtonClick ; } -FCKToolbarPanelButton.prototype.CreateInstance = function( parentToolbar ) +FCKToolbarPanelButton.prototype.TypeName = 'FCKToolbarPanelButton' ; + +FCKToolbarPanelButton.prototype.Create = function( parentElement ) { - this.DOMDiv = document.createElement( 'div' ) ; - this.DOMDiv.className = 'TB_Button_Off' ; + parentElement.className += 'Menu' ; - this.DOMDiv.FCKToolbarButton = this ; + this._UIButton.Create( parentElement ) ; - var sHtml = - '' + - '' ; - - if ( this.Style != FCK_TOOLBARITEM_ONLYTEXT ) - sHtml += '' ; - - if ( this.Style != FCK_TOOLBARITEM_ONLYICON ) - sHtml += '' ; + var oPanel = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName )._Panel ; + oPanel._FCKToolbarPanelButton = this ; - sHtml += - '' + - '' + - '
' + this.Label + '
' ; + var eLineDiv = oPanel.Document.body.appendChild( oPanel.Document.createElement( 'div' ) ) ; + eLineDiv.style.position = 'absolute' ; + eLineDiv.style.top = '0px' ; - this.DOMDiv.innerHTML = sHtml ; + var eLine = this.LineImg = eLineDiv.appendChild( oPanel.Document.createElement( 'IMG' ) ) ; + eLine.className = 'TB_ConnectionLine' ; +// eLine.style.backgroundColor = 'Red' ; + eLine.src = FCK_SPACER_PATH ; - var oCell = parentToolbar.DOMRow.insertCell(-1) ; - oCell.appendChild( this.DOMDiv ) ; + oPanel.OnHide = FCKToolbarPanelButton_OnPanelHide ; +} + +/* + Events +*/ + +function FCKToolbarPanelButton_OnButtonClick( toolbarButton ) +{ + var oButton = this._FCKToolbarPanelButton ; + var e = oButton._UIButton.MainElement ; - this.RefreshState() ; + 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 } +function FCKToolbarPanelButton_OnPanelHide() +{ + var oMenuButton = this._FCKToolbarPanelButton ; + oMenuButton._UIButton.ChangeState( FCK_TRISTATE_OFF ) ; +} + // The Panel Button works like a normal button so the refresh state functions // defined for the normal button can be reused here. FCKToolbarPanelButton.prototype.RefreshState = FCKToolbarButton.prototype.RefreshState ; FCKToolbarPanelButton.prototype.Enable = FCKToolbarButton.prototype.Enable ; -FCKToolbarPanelButton.prototype.Disable = FCKToolbarButton.prototype.Disable ; \ No newline at end of file +FCKToolbarPanelButton.prototype.Disable = FCKToolbarButton.prototype.Disable ; Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarspecialcombo.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -16,7 +16,7 @@ * * The following properties and methods must be implemented when inheriting from * this class: - * - Property: Command [ The command to be executed ] + * - Property: CommandName [ The command name to be executed ] * - Method: GetLabel() [ Returns the label ] * - CreateItems( targetSpecialCombo ) [ Add all items in the special combo ] * @@ -30,14 +30,15 @@ this.ContextSensitive = true ; } + function FCKToolbarSpecialCombo_OnSelect( itemId, item ) { - this.Command.Execute( itemId, item ) ; + FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).Execute( itemId, item ) ; } -FCKToolbarSpecialCombo.prototype.CreateInstance = function( parentToolbar ) +FCKToolbarSpecialCombo.prototype.Create = function( targetElement ) { - this._Combo = new FCKSpecialCombo( this.GetLabel(), this.FieldWidth, this.PanelWidth, this.PanelMaxHeight ) ; + 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 ; @@ -52,9 +53,9 @@ this.CreateItems( this._Combo ) ; - this._Combo.Create( parentToolbar.DOMRow.insertCell(-1) ) ; + this._Combo.Create( targetElement ) ; - this._Combo.Command = this.Command ; + this._Combo.CommandName = this.CommandName ; this._Combo.OnSelect = FCKToolbarSpecialCombo_OnSelect ; } @@ -75,8 +76,10 @@ // eState = FCK_TRISTATE_DISABLED ; // else // { - var sValue = this.Command.GetState() ; + var sValue = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetState() ; +// FCKDebug.Output( 'RefreshState of Special Combo "' + this.TypeOf + '" - State: ' + sValue ) ; + if ( sValue != FCK_TRISTATE_DISABLED ) { eState = FCK_TRISTATE_ON ; @@ -85,12 +88,11 @@ this.RefreshActiveItems( this._Combo, sValue ) ; else { - if ( this._LastValue == sValue ) - return ; - - this._LastValue = sValue ; - - FCKToolbarSpecialCombo_RefreshActiveItems( this._Combo, sValue ) ; + if ( this._LastValue != sValue ) + { + this._LastValue = sValue ; + FCKToolbarSpecialCombo_RefreshActiveItems( this._Combo, sValue ) ; + } } } else Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fcktoolbarstylecombo.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js 16 Aug 2006 06:05:52 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,7 +19,7 @@ var FCKToolbarStyleCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'Style' ) ; + this.CommandName = 'Style' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; @@ -28,26 +28,32 @@ // Inherit from FCKToolbarSpecialCombo. FCKToolbarStyleCombo.prototype = new FCKToolbarSpecialCombo ; + FCKToolbarStyleCombo.prototype.GetLabel = function() { return FCKLang.Style ; } FCKToolbarStyleCombo.prototype.CreateItems = function( targetSpecialCombo ) { + var oTargetDoc = targetSpecialCombo._Panel.Document ; + // Add the Editor Area CSS to the Styles panel so the style classes are previewed correctly. - FCKTools.AppendStyleSheet( targetSpecialCombo._Panel.Document, FCKConfig.EditorAreaCSS ) ; + var aCSSs = FCKConfig.EditorAreaCSS ; + for ( var i = 0 ; i < aCSSs.length ; i++ ) + FCKTools.AppendStyleSheet( oTargetDoc, aCSSs[i] ) ; - targetSpecialCombo._Panel.Document.body.className += ' ForceBaseFont' ; + oTargetDoc.body.className += ' ForceBaseFont' ; // For some reason Gecko is blocking inside the "RefreshVisibleItems" function. if ( ! FCKBrowserInfo.IsGecko ) targetSpecialCombo.OnBeforeClick = this.RefreshVisibleItems ; // Add the styles to the special combo. - for ( var s in this.Command.Styles ) + var aCommandStyles = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).Styles ; + for ( var s in aCommandStyles ) { - var oStyle = this.Command.Styles[s] ; + var oStyle = aCommandStyles[s] ; var oItem ; if ( oStyle.IsObjectElement ) @@ -65,7 +71,7 @@ targetSpecialCombo.DeselectAll() ; // Get the active styles. - var aStyles = this.Command.GetActiveStyles() ; + var aStyles = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetActiveStyles() ; if ( aStyles.length > 0 ) { Index: lams_central/web/fckeditor/editor/_source/classes/fckxml_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckxml_gecko.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckxml_gecko.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckxml_gecko.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -17,55 +17,50 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKXml ; +var FCKXml = function() +{} -if ( !( FCKXml = NS.FCKXml ) ) +FCKXml.prototype.LoadUrl = function( urlToCall ) { - FCKXml = NS.FCKXml = function() - {} + var oFCKXml = this ; - FCKXml.prototype.LoadUrl = function( urlToCall ) - { - 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 + '"' ) ; +} - 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 + '"' ) ; - } +FCKXml.prototype.SelectNodes = function( xpath, contextNode ) +{ + var aNodeArray = new Array(); - FCKXml.prototype.SelectNodes = function( xpath, contextNode ) + var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument, + this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ; + if ( xPathResult ) { - var aNodeArray = new Array(); - - var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument, - this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ; - if ( xPathResult ) + var oNode = xPathResult.iterateNext() ; + while( oNode ) { - var oNode = xPathResult.iterateNext() ; - while( oNode ) - { - aNodeArray[aNodeArray.length] = oNode ; - oNode = xPathResult.iterateNext(); - } - } - return aNodeArray ; - } + aNodeArray[aNodeArray.length] = oNode ; + oNode = xPathResult.iterateNext(); + } + } + return aNodeArray ; +} - FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) - { - var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument, - this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), 9, null); +FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) +{ + 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 - return null ; - } + if ( xPathResult && xPathResult.singleNodeValue ) + return xPathResult.singleNodeValue ; + else + return null ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/classes/fckxml_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/classes/Attic/fckxml_ie.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/classes/fckxml_ie.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/classes/fckxml_ie.js 16 Aug 2006 06:05:52 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -18,66 +18,61 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKXml ; +var FCKXml = function() +{ + this.Error = false ; +} -if ( !( FCKXml = NS.FCKXml ) ) +FCKXml.prototype.LoadUrl = function( urlToCall ) { - FCKXml = NS.FCKXml = function() - { - this.Error = false ; - } + this.Error = false ; - FCKXml.prototype.LoadUrl = function( urlToCall ) - { - this.Error = false ; + var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ; - var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ; - - if ( !oXmlHttp ) - { - this.Error = true ; - return ; - } - - 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 = FCKTools.CreateXmlObject( 'DOMDocument' ) ; - this.DOMDocument.async = false ; - this.DOMDocument.resolveExternals = false ; - this.DOMDocument.loadXML( oXmlHttp.responseText ) ; - } - else - { - this.Error = true ; - alert( 'Error loading "' + urlToCall + '"' ) ; - } + if ( !oXmlHttp ) + { + this.Error = true ; + return ; } - FCKXml.prototype.SelectNodes = function( xpath, contextNode ) + 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 ) { - if ( this.Error ) - return new Array() ; - - if ( contextNode ) - return contextNode.selectNodes( xpath ) ; - else - return this.DOMDocument.selectNodes( xpath ) ; + this.DOMDocument = FCKTools.CreateXmlObject( 'DOMDocument' ) ; + this.DOMDocument.async = false ; + this.DOMDocument.resolveExternals = false ; + this.DOMDocument.loadXML( oXmlHttp.responseText ) ; } - - FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) + else { - if ( this.Error ) - return ; - - if ( contextNode ) - return contextNode.selectSingleNode( xpath ) ; - else - return this.DOMDocument.selectSingleNode( xpath ) ; + this.Error = true ; + alert( 'Error loading "' + urlToCall + '"' ) ; } +} + +FCKXml.prototype.SelectNodes = function( xpath, contextNode ) +{ + if ( this.Error ) + return new Array() ; + + if ( contextNode ) + return contextNode.selectNodes( xpath ) ; + else + return this.DOMDocument.selectNodes( xpath ) ; +} + +FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) +{ + if ( this.Error ) + return ; + + if ( contextNode ) + return contextNode.selectSingleNode( xpath ) ; + else + return this.DOMDocument.selectSingleNode( xpath ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/commandclasses/fck_othercommands.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fck_othercommands.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/commandclasses/fck_othercommands.js 5 Jan 2006 00:02:24 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fck_othercommands.js 16 Aug 2006 06:05:49 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -197,7 +197,7 @@ FCKSourceCommand.prototype.Execute = function() { - if ( FCKBrowserInfo.IsGecko ) + if ( FCKConfig.SourcePopup ) // Until v2.2, it was mandatory for FCKBrowserInfo.IsGecko. { var iWidth = FCKConfig.ScreenWidth * 0.65 ; var iHeight = FCKConfig.ScreenHeight * 0.65 ; @@ -273,11 +273,37 @@ e.style.pageBreakAfter = 'always' ; e.innerHTML = ' ' ; - var oFakeImage = FCKDocumentProcessors_CreateFakeImage( 'FCK__PageBreak', e ) ; + var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', e ) ; oFakeImage = FCK.InsertElement( oFakeImage ) ; } FCKPageBreakCommand.prototype.GetState = function() { return 0 ; // FCK_TRISTATE_OFF +} + +// FCKUnlinkCommand - by Johnny Egeland (johnny@coretrek.com) +var FCKUnlinkCommand = function() +{ + this.Name = 'Unlink' ; +} + +FCKUnlinkCommand.prototype.Execute = function() +{ + if ( FCKBrowserInfo.IsGecko ) + { + var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ; + if ( oLink ) + FCK.Selection.SelectNode( oLink ) ; + } + + FCK.ExecuteNamedCommand( this.Name ) ; + + if ( FCKBrowserInfo.IsGecko ) + FCK.Selection.Collapse( true ) ; +} + +FCKUnlinkCommand.prototype.GetState = function() +{ + return FCK.GetNamedCommandState( this.Name ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckfitwindow.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fckfitwindow.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckfitwindow.js 16 Aug 2006 06:05:51 -0000 1.1 @@ -0,0 +1,164 @@ +/* + * 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) + */ + +var FCKFitWindow = function() +{ + this.Name = 'FitWindow' ; +} + +FCKFitWindow.prototype.Execute = function() +{ + var eEditorFrame = window.frameElement ; + var eEditorFrameStyle = eEditorFrame.style ; + + var eMainWindow = parent ; + var eDocEl = eMainWindow.document.documentElement ; + var eBody = eMainWindow.document.body ; + var eBodyStyle = eBody.style ; + + // No original style properties known? Go fullscreen. + if ( !this.IsMaximized ) + { + // Registering an event handler when the window gets resized. + if( FCKBrowserInfo.IsIE ) + eMainWindow.attachEvent( 'onresize', FCKFitWindow_Resize ) ; + else + eMainWindow.addEventListener( 'resize', FCKFitWindow_Resize, true ) ; + + // 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 ) + { + if ( eParent.nodeType == 1 ) + eParent._fckSavedStyles = FCKTools.SaveStyles( eParent ) ; + } + + // Hide IE scrollbars (in strict mode). + if ( FCKBrowserInfo.IsIE ) + { + this.documentElementOverflow = eDocEl.style.overflow ; + eDocEl.style.overflow = 'hidden' ; + eBodyStyle.overflow = 'hidden' ; + } + else + { + // Hide the scroolbars in Firefox. + eBodyStyle.overflow = 'hidden' ; + eBodyStyle.width = '0px' ; + eBodyStyle.height = '0px' ; + } + + // Save the IFRAME styles. + this._EditorFrameStyles = FCKTools.SaveStyles( eEditorFrame ) ; + + // Resize. + var oViewPaneSize = FCKTools.GetViewPaneSize( eMainWindow ) ; + + eEditorFrameStyle.position = "absolute"; + eEditorFrameStyle.zIndex = FCKConfig.FloatingPanelsZIndex - 1; + eEditorFrameStyle.left = "0px"; + 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, + // 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. + if ( !FCKBrowserInfo.IsIE ) + { + eEditorFrameStyle.borderRight = eEditorFrameStyle.borderBottom = "9999px solid white" ; + eEditorFrameStyle.backgroundColor = "white"; + } + + // Scroll to top left. + eMainWindow.scrollTo(0, 0); + + this.IsMaximized = true ; + } + else // Resize to original size. + { + // Remove the event handler of window resizing. + if( FCKBrowserInfo.IsIE ) + eMainWindow.detachEvent( "onresize", FCKFitWindow_Resize ) ; + else + eMainWindow.removeEventListener( "resize", FCKFitWindow_Resize, true ) ; + + // Restore the CSS position for the entire node tree. + var eParent = eEditorFrame ; + while( eParent = eParent.parentNode ) + { + if ( eParent._fckSavedStyles ) + { + FCKTools.RestoreStyles( eParent, eParent._fckSavedStyles ) ; + 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 + //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() ; +} + +FCKFitWindow.prototype.GetState = function() +{ + if ( FCKConfig.ToolbarLocation != 'In' ) + return FCK_TRISTATE_DISABLED ; + else + return ( this.IsMaximized ? FCK_TRISTATE_ON : FCK_TRISTATE_OFF ); +} + +function FCKFitWindow_Resize() +{ + var oViewPaneSize = FCKTools.GetViewPaneSize( parent ) ; + + var eEditorFrameStyle = window.frameElement.style ; + + eEditorFrameStyle.width = oViewPaneSize.Width + 'px' ; + eEditorFrameStyle.height = oViewPaneSize.Height + 'px' ; +} Index: lams_central/web/fckeditor/editor/_source/commandclasses/fcknamedcommand.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fcknamedcommand.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/commandclasses/fcknamedcommand.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fcknamedcommand.js 16 Aug 2006 06:05:49 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fckpasteplaintextcommand.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js 16 Aug 2006 06:05:51 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fckpastewordcommand.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js 12 Dec 2005 05:18:53 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js 16 Aug 2006 06:05:51 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fckspellcheckcommand_gecko.js,v diff -u -r1.1 -r1.2 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js 11 Aug 2005 06:26:02 -0000 1.1 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js 16 Aug 2006 06:05:49 -0000 1.2 @@ -1,4 +1,24 @@ -var FCKSpellCheckCommand = function() +/* + * 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) + */ + +var FCKSpellCheckCommand = function() { this.Name = 'SpellCheck' ; this.IsEnabled = ( FCKConfig.SpellChecker == 'SpellerPages' ) ; Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fckspellcheckcommand_ie.js,v diff -u -r1.1 -r1.2 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js 11 Aug 2005 06:26:02 -0000 1.1 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js 16 Aug 2006 06:05:49 -0000 1.2 @@ -1,4 +1,24 @@ -var FCKSpellCheckCommand = function() +/* + * 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) + */ + +var FCKSpellCheckCommand = function() { this.Name = 'SpellCheck' ; this.IsEnabled = ( FCKConfig.SpellChecker == 'ieSpell' || FCKConfig.SpellChecker == 'SpellerPages' ) ; Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckstylecommand.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fckstylecommand.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckstylecommand.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckstylecommand.js 16 Aug 2006 06:05:51 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -45,6 +45,9 @@ FCKStyleCommand.prototype.GetState = function() { + if ( !FCK.EditorDocument ) + return FCK_TRISTATE_DISABLED ; + var oSelection = FCK.EditorDocument.selection ; if ( FCKSelection.GetType() == 'Control' ) Index: lams_central/web/fckeditor/editor/_source/commandclasses/fcktablecommand.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fcktablecommand.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/commandclasses/fcktablecommand.js 5 Jan 2006 00:02:24 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fcktablecommand.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/commandclasses/Attic/fcktextcolorcommand.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js 5 Jan 2006 00:02:24 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js 16 Aug 2006 06:05:51 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -25,43 +25,25 @@ this.Name = type == 'ForeColor' ? 'TextColor' : 'BGColor' ; this.Type = type ; - /* BEGIN ### - The panel should be created in the "Execute" method for best - memory use, but it not works in Gecko in that way. - */ + var oWindow ; + + if ( FCKBrowserInfo.IsIE ) + oWindow = window ; + else if ( FCK.ToolbarSet._IFrame ) + oWindow = FCKTools.GetElementWindow( FCK.ToolbarSet._IFrame ) ; + else + oWindow = window.parent ; - this._Panel = new FCKPanel() ; - this._Panel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_contextmenu.css' ) ; -// this._Panel.StyleSheet = FCKConfig.SkinPath + 'fck_contextmenu.css' ; -// this._Panel.Create() ; - - this._CreatePanelBody( this._Panel.Document, this._Panel.PanelDiv ) ; + this._Panel = new FCKPanel( oWindow, true ) ; + 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 ) ; - - // END ### } FCKTextColorCommand.prototype.Execute = function( panelX, panelY, relElement ) { - /* - BEGIN ### - This is the right code to create the panel, but it is not - working well with Gecko, so it has been moved to the - class contructor. - - // Create the Color Panel if needed. - if ( ! this._Panel ) - { - this._Panel = new FCKPanel() ; - this._Panel.StyleSheet = FCKConfig.SkinPath + 'fck_contextmenu.css' ; - this._Panel.Create() ; - - this._CreatePanelBody( this._Panel.Document, this._Panel.PanelDiv ) ; - } - END ### - */ - // We must "cache" the actual panel type to be used in the SetColor method. FCK._ActiveColorPanelType = this.Type ; @@ -73,8 +55,16 @@ { if ( FCK._ActiveColorPanelType == 'ForeColor' ) FCK.ExecuteNamedCommand( 'ForeColor', color ) ; - else if ( FCKBrowserInfo.IsGecko ) + else if ( FCKBrowserInfo.IsGeckoLike ) + { + if ( FCKBrowserInfo.IsGecko && !FCKConfig.GeckoUseSPAN ) + FCK.EditorDocument.execCommand( 'useCSS', false, false ) ; + FCK.ExecuteNamedCommand( 'hilitecolor', color ) ; + + if ( FCKBrowserInfo.IsGecko && !FCKConfig.GeckoUseSPAN ) + FCK.EditorDocument.execCommand( 'useCSS', false, true ) ; + } else FCK.ExecuteNamedCommand( 'BackColor', color ) ; Fisheye: Tag 1.3 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/globals/fck_constants.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.5 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/globals/fckeditorapi.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/_source/internals/fck.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fck.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fck.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -56,22 +56,22 @@ FCKTempBin.AddElement = function( element ) { - var iIndex = FCKTempBin.Elements.length ; - FCKTempBin.Elements[ iIndex ] = element ; + var iIndex = this.Elements.length ; + this.Elements[ iIndex ] = element ; return iIndex ; } FCKTempBin.RemoveElement = function( index ) { - var e = FCKTempBin.Elements[ index ] ; - FCKTempBin.Elements[ index ] = null ; + var e = this.Elements[ index ] ; + this.Elements[ index ] = null ; return e ; } FCKTempBin.Reset = function() { var i = 0 ; - while ( i < FCKTempBin.Elements.length ) - FCKTempBin.Elements[ i++ ] == null ; - FCKTempBin.Elements.length = 0 ; + while ( i < this.Elements.length ) + this.Elements[ i++ ] == null ; + this.Elements.length = 0 ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fck_1.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck_1.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fck_1.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fck_1.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -22,159 +22,50 @@ FCK.Events = new FCKEvents( FCK ) ; FCK.Toolbar = null ; +FCK.HasFocus = false ; -FCK.TempBaseTag = FCKConfig.BaseHref.length > 0 ? '' : '' ; - FCK.StartEditor = function() { - // Get the editor's window and document (DOM) - this.EditorWindow = window.frames[ 'eEditorArea' ] ; - this.EditorDocument = this.EditorWindow.document ; + FCK.TempBaseTag = FCKConfig.BaseHref.length > 0 ? '' : '' ; - // TODO: Wait stable version and remove the following commented lines. - // The Base Path of the editor is saved to rebuild relative URL (IE issue). -// this.BaseUrl = this.EditorDocument.location.protocol + '//' + this.EditorDocument.location.host ; + FCK.EditingArea = new FCKEditingArea( document.getElementById( 'xEditingArea' ) ) ; -// if ( FCKBrowserInfo.IsGecko ) -// this.MakeEditable() ; - // Set the editor's startup contents this.SetHTML( FCKTools.GetLinkedFieldValue() ) ; - - // Save the startup value for the "IsDirty()" check. - this.ResetIsDirty() ; - - // Attach the editor to the form onsubmit event - FCKTools.AttachToLinkedFieldFormSubmit( this.UpdateLinkedField ) ; - - FCKUndo.SaveUndoStep() ; - - this.SetStatus( FCK_STATUS_ACTIVE ) ; } -function Window_OnFocus() +FCK.Focus = function() { - FCK.Focus() ; - FCK.Events.FireEvent( "OnFocus" ) ; + FCK.EditingArea.Focus() ; } -function Window_OnBlur() -{ - if ( !FCKDialog.IsOpened ) - return FCK.Events.FireEvent( "OnBlur" ) ; -} - FCK.SetStatus = function( newStatus ) { this.Status = newStatus ; if ( newStatus == FCK_STATUS_ACTIVE ) { - // Force the focus in the window to go to the editor. - window.frameElement.onfocus = window.document.body.onfocus = Window_OnFocus ; - window.frameElement.onblur = Window_OnBlur ; + FCKFocusManager.AddWindow( window, true ) ; + + if ( FCKBrowserInfo.IsIE ) + FCKFocusManager.AddWindow( window.frameElement, true ) ; // Force the focus in the editor. if ( FCKConfig.StartupFocus ) FCK.Focus() ; - - // @Packager.Compactor.Remove.Start - var sBrowserSuffix = FCKBrowserInfo.IsIE ? "ie" : "gecko" ; - - FCKScriptLoader.AddScript( '_source/internals/fck_2.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fck_2_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fckselection.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fckselection_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckpanel_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fcktablehandler.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fcktablehandler_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckxml_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckstyledef.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckstyledef_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckstylesloader.js' ) ; - - FCKScriptLoader.AddScript( '_source/commandclasses/fcknamedcommand.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fck_othercommands.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fckspellcheckcommand_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fcktextcolorcommand.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fckpasteplaintextcommand.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fckpastewordcommand.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fcktablecommand.js' ) ; - FCKScriptLoader.AddScript( '_source/commandclasses/fckstylecommand.js' ) ; - - FCKScriptLoader.AddScript( '_source/internals/fckcommands.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarbutton.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckspecialcombo.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarspecialcombo.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarfontscombo.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarfontsizecombo.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarfontformatcombo.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarstylecombo.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarpanelbutton.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fcktoolbaritems.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbar.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fcktoolbarbreak_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fcktoolbarset.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fckdialog.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fckdialog_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckcontextmenuitem.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckcontextmenuseparator.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckcontextmenugroup.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fckcontextmenu.js' ) ; -// FCKScriptLoader.AddScript( '_source/internals/fckcontextmenu_' + sBrowserSuffix + '.js' ) ; - FCKScriptLoader.AddScript( '_source/classes/fckplugin.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fckplugins.js' ) ; - FCKScriptLoader.AddScript( '_source/internals/fck_last.js' ) ; - // @Packager.Compactor.Remove.End - - /* @Packager.Compactor.RemoveLine - - if ( FCKBrowserInfo.IsIE ) - FCKScriptLoader.AddScript( 'js/fckeditorcode_ie_2.js' ) ; - else - FCKScriptLoader.AddScript( 'js/fckeditorcode_gecko_2.js' ) ; - - @Packager.Compactor.RemoveLine */ } this.Events.FireEvent( 'OnStatusChange', newStatus ) ; } -// Deprecated : returns the same value as GetXHTML. -FCK.GetHTML = function( format ) +// GetHTML is Deprecated : returns the same value as GetXHTML. +FCK.GetHTML = FCK.GetXHTML = function( format ) { - FCK.GetXHTML( format ) ; -/* - var sHTML ; + // We assume that if the user is in source editing, the editor value must + // represent the exact contents of the source, as the user wanted it to be. + if ( FCK.EditMode == FCK_EDITMODE_SOURCE ) + return FCK.EditingArea.Textarea.value ; - if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) - { - // TODO: Wait stable version and remove the following commented lines. -// if ( FCKBrowserInfo.IsIE ) -// FCK.CheckRelativeLinks() ; - - if ( FCKBrowserInfo.IsIE ) - sHTML = this.EditorDocument.body.innerHTML.replace( FCKRegexLib.ToReplace, '$1' ) ; - else - sHTML = this.EditorDocument.body.innerHTML ; - } - else - sHTML = document.getElementById('eSourceField').value ; - - if ( format ) - return FCKCodeFormatter.Format( sHTML ) ; - else - return sHTML ; -*/ -} - -FCK.GetXHTML = function( format ) -{ - var bSource = ( FCK.EditMode == FCK_EDITMODE_SOURCE ) ; - - if ( bSource ) - this.SwitchEditMode() ; - var sXHTML ; if ( FCKConfig.FullPage ) @@ -187,9 +78,6 @@ sXHTML = FCKXHtml.GetXHTML( this.EditorDocument.body, false, format ) ; } - if ( bSource ) - this.SwitchEditMode() ; - if ( FCKBrowserInfo.IsIE ) sXHTML = sXHTML.replace( FCKRegexLib.ToReplace, '$1' ) ; @@ -204,24 +92,10 @@ FCK.UpdateLinkedField = function() { - // EnableXHTML has been deprecated -// if ( FCKConfig.EnableXHTML ) - FCK.LinkedField.value = FCK.GetXHTML( FCKConfig.FormatOutput ) ; -// else -// FCK.LinkedField.value = FCK.GetHTML( FCKConfig.FormatOutput ) ; - + FCK.LinkedField.value = FCK.GetXHTML( FCKConfig.FormatOutput ) ; FCK.Events.FireEvent( 'OnAfterLinkedFieldUpdate' ) ; } -FCK.ShowContextMenu = function( x, y ) -{ - if ( this.Status != FCK_STATUS_COMPLETE ) - return ; - - FCKContextMenu.Show( x, y ) ; - this.Events.FireEvent( "OnContextMenu" ) ; -} - FCK.RegisteredDoubleClickHandlers = new Object() ; FCK.OnDoubleClick = function( element ) @@ -239,11 +113,8 @@ FCK.OnAfterSetHTML = function() { - var oProcessor, i = 0 ; - while( ( oProcessor = FCKDocumentProcessors[i++] ) ) - oProcessor.ProcessDocument( FCK.EditorDocument ) ; - - this.Events.FireEvent( 'OnAfterSetHTML' ) ; + FCKDocumentProcessor.Process( FCK.EditorDocument ) ; + FCK.Events.FireEvent( 'OnAfterSetHTML' ) ; } // Saves URLs on links and images on special attributes, so they don't change when @@ -272,206 +143,213 @@ FCK_StartupValue = FCK.EditorDocument.body.innerHTML ; } -// Advanced document processors. - -var FCKDocumentProcessors = new Array() ; - -var FCKDocumentProcessors_CreateFakeImage = function( fakeClass, realElement ) +FCK.SetHTML = function( html ) { - var oImg = FCK.EditorDocument.createElement( 'IMG' ) ; - oImg.className = fakeClass ; - oImg.src = FCKConfig.FullBasePath + 'images/spacer.gif' ; - oImg.setAttribute( '_fckfakelement', 'true', 0 ) ; - oImg.setAttribute( '_fckrealelement', FCKTempBin.AddElement( realElement ), 0 ) ; - return oImg ; -} + this.EditingArea.Mode = FCK.EditMode ; -// Link Anchors -var FCKAnchorsProcessor = new Object() ; -FCKAnchorsProcessor.ProcessDocument = function( document ) -{ - var aLinks = document.getElementsByTagName( 'A' ) ; - - var oLink ; - var i = aLinks.length - 1 ; - while ( i >= 0 && ( oLink = aLinks[i--] ) ) + if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) { - // If it is anchor. - if ( oLink.name.length > 0 && ( !oLink.getAttribute('href') || oLink.getAttribute('href').length == 0 ) ) + // Firefox can't handle correctly the editing of the STRONG and EM tags. + // We must replace them with B and I. + if ( FCKBrowserInfo.IsGecko ) { - var oImg = FCKDocumentProcessors_CreateFakeImage( 'FCK__Anchor', oLink.cloneNode(true) ) ; - oImg.setAttribute( '_fckanchor', 'true', 0 ) ; - - oLink.parentNode.insertBefore( oImg, oLink ) ; - oLink.parentNode.removeChild( oLink ) ; + html = html.replace( FCKRegexLib.StrongOpener, '' ) ; + html = html.replace( FCKRegexLib.EmOpener, '' ) ; } - } -} + + html = FCKConfig.ProtectedSource.Protect( html ) ; + html = FCK.ProtectUrls( html ) ; -FCKDocumentProcessors.addItem( FCKAnchorsProcessor ) ; + var sHtml ; -// Page Breaks -var FCKPageBreaksProcessor = new Object() ; -FCKPageBreaksProcessor.ProcessDocument = function( document ) -{ - var aDIVs = document.getElementsByTagName( 'DIV' ) ; + if ( FCKConfig.FullPage ) + { + var sHtml ; - var eDIV ; - var i = aDIVs.length - 1 ; - while ( i >= 0 && ( eDIV = aDIVs[i--] ) ) - { - if ( eDIV.style.pageBreakAfter == 'always' && eDIV.childNodes.length == 1 && eDIV.childNodes[0].style && eDIV.childNodes[0].style.display == 'none' ) + if ( FCKBrowserInfo.IsIE ) + sHtml = FCK._GetBehaviorsStyle() ; + else if ( FCKConfig.ShowBorders ) + sHtml = '' ; + + sHtml += '' ; + + sHtml = html.replace( FCKRegexLib.HeadCloser, sHtml + '$&' ) ; + + // Insert the base tag (FCKConfig.BaseHref), if not exists in the source. + if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( html ) ) + sHtml = sHtml.replace( FCKRegexLib.HeadOpener, '$&' + FCK.TempBaseTag ) ; + } + else { - var oFakeImage = FCKDocumentProcessors_CreateFakeImage( 'FCK__PageBreak', eDIV.cloneNode(true) ) ; + sHtml = + FCKConfig.DocType + + '' + + this._GetEditorAreaStyleTags() + + '' ; - var oCenter ; - var i = aCenters.length - 1 ; - while ( i >= 0 && ( oCenter = aCenters[i--] ) ) - { - if ( oCenter.style.pageBreakAfter == 'always' && oCenter.innerHTML.trim().length == 0 ) - { - var oFakeImage = FCKDocumentProcessors_CreateFakeImage( 'FCK__PageBreak', oCenter.cloneNode(true) ) ; + if ( FCKBrowserInfo.IsIE ) + sHtml += FCK._GetBehaviorsStyle() ; + else if ( FCKConfig.ShowBorders ) + sHtml += '' ; + + sHtml += FCK.TempBaseTag ; + sHtml += '' ; - oCenter.parentNode.insertBefore( oFakeImage, oCenter ) ; - oCenter.parentNode.removeChild( oCenter ) ; + if ( FCKBrowserInfo.IsGecko && ( html.length == 0 || FCKRegexLib.EmptyParagraph.test( html ) ) ) + sHtml += GECKO_BOGUS ; + else + sHtml += html ; + + sHtml += '' ; } + + this.EditingArea.OnLoad = FCK_EditingArea_OnLoad ; + this.EditingArea.Start( sHtml ) ; } -*/ + else + { + this.EditingArea.OnLoad = null ; + this.EditingArea.Start( html ) ; + + // Enables the context menu in the textarea. + this.EditingArea.Textarea._FCKShowContextMenu = true ; + } } -FCKDocumentProcessors.addItem( FCKPageBreaksProcessor ) ; +function FCK_EditingArea_OnLoad() +{ + // Get the editor's window and document (DOM) + FCK.EditorWindow = FCK.EditingArea.Window ; + FCK.EditorDocument = FCK.EditingArea.Document ; -// Flash Embeds. -var FCKFlashProcessor = new Object() ; -FCKFlashProcessor.ProcessDocument = function( document ) + FCK.InitializeBehaviors() ; + + FCK.OnAfterSetHTML() ; + + // Check if it is not a startup call, otherwise complete the startup. + if ( FCK.Status != FCK_STATUS_NOTLOADED ) + return ; + + // Save the startup value for the "IsDirty()" check. + FCK.ResetIsDirty() ; + + // Attach the editor to the form onsubmit event + FCKTools.AttachToLinkedFieldFormSubmit( FCK.UpdateLinkedField ) ; + + FCKUndo.SaveUndoStep() ; + + FCK.SetStatus( FCK_STATUS_ACTIVE ) ; +} + +FCK._GetEditorAreaStyleTags = function() { - /* - Sample code: - This is some sample text. You are  using FCKeditor. - */ + var sTags = '' ; + var aCSSs = FCKConfig.EditorAreaCSS ; + + for ( var i = 0 ; i < aCSSs.length ; i++ ) + sTags += '' ; + + return sTags ; +} - var aEmbeds = document.getElementsByTagName( 'EMBED' ) ; +// # Focus Manager: Manages the focus in the editor. +var FCKFocusManager = FCK.FocusManager = new Object() ; +FCKFocusManager.IsLocked = false ; +FCK.HasFocus = false ; - var oEmbed ; - var i = aEmbeds.length - 1 ; - while ( i >= 0 && ( oEmbed = aEmbeds[i--] ) ) - { - if ( oEmbed.src.endsWith( '.swf', true ) ) - { - var oCloned = oEmbed.cloneNode( true ) ; - - // On IE, some properties are not getting clonned properly, so we - // must fix it. Thanks to Alfonso Martinez. - if ( FCKBrowserInfo.IsIE ) - { - oCloned.setAttribute( 'scale', oEmbed.getAttribute( 'scale' ) ); - oCloned.setAttribute( 'play', oEmbed.getAttribute( 'play' ) ); - oCloned.setAttribute( 'loop', oEmbed.getAttribute( 'loop' ) ); - oCloned.setAttribute( 'menu', oEmbed.getAttribute( 'menu' ) ); - } - - var oImg = FCKDocumentProcessors_CreateFakeImage( 'FCK__Flash', oCloned ) ; - oImg.setAttribute( '_fckflash', 'true', 0 ) ; - - FCKFlashProcessor.RefreshView( oImg, oEmbed ) ; +FCKFocusManager.AddWindow = function( win, sendToEditingArea ) +{ + var oTarget ; + + if ( FCKBrowserInfo.IsIE ) + oTarget = win.nodeType == 1 ? win : win.frameElement ? win.frameElement : win.document ; + else + oTarget = win.document ; + + FCKTools.AddEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ; + FCKTools.AddEventListener( oTarget, 'focus', sendToEditingArea ? FCKFocusManager_Win_OnFocus_Area : FCKFocusManager_Win_OnFocus ) ; +} - oEmbed.parentNode.insertBefore( oImg, oEmbed ) ; - oEmbed.parentNode.removeChild( oEmbed ) ; +FCKFocusManager.RemoveWindow = function( win ) +{ + if ( FCKBrowserInfo.IsIE ) + oTarget = win.nodeType == 1 ? win : win.frameElement ? win.frameElement : win.document ; + else + oTarget = win.document ; -// oEmbed.setAttribute( '_fckdelete', 'true', 0) ; -// oEmbed.style.display = 'none' ; -// oEmbed.hidden = true ; - } - } + FCKTools.RemoveEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ; + FCKTools.RemoveEventListener( oTarget, 'focus', FCKFocusManager_Win_OnFocus_Area ) ; + FCKTools.RemoveEventListener( oTarget, 'focus', FCKFocusManager_Win_OnFocus ) ; } -FCKFlashProcessor.RefreshView = function( placholderImage, originalEmbed ) +FCKFocusManager.Lock = function() { - if ( originalEmbed.width > 0 ) - placholderImage.style.width = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.width ) ; + this.IsLocked = true ; +} + +FCKFocusManager.Unlock = function() +{ + if ( this._HasPendingBlur ) + FCKFocusManager._Timer = window.setTimeout( FCKFocusManager_FireOnBlur, 100 ) ; - if ( originalEmbed.height > 0 ) - placholderImage.style.height = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.height ) ; + this.IsLocked = false ; } -FCKDocumentProcessors.addItem( FCKFlashProcessor ) ; - -FCK.GetRealElement = function( fakeElement ) +FCKFocusManager._ResetTimer = function() { - var e = FCKTempBin.Elements[ fakeElement.getAttribute('_fckrealelement') ] ; + this._HasPendingBlur = false ; - if ( fakeElement.getAttribute('_fckflash') ) + if ( this._Timer ) { - if ( fakeElement.style.width.length > 0 ) - e.width = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.width ) ; - - if ( fakeElement.style.height.length > 0 ) - e.height = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.height ) ; + window.clearTimeout( this._Timer ) ; + delete this._Timer ; } - - return e ; } -// START iCM MODIFICATIONS -/* -var FCKTablesProcessor = new Object() ; -FCKTablesProcessor.ProcessDocument = function( document ) +function FCKFocusManager_Win_OnBlur() { - FCKTablesProcessor.CheckTablesNesting( document ) ; + if ( FCK && FCK.HasFocus ) + { + FCKFocusManager._ResetTimer() ; + FCKFocusManager._Timer = window.setTimeout( FCKFocusManager_FireOnBlur, 100 ) ; + } } -// Ensure that tables are not incorrectly nested within P, H1, H2, etc tags -FCKTablesProcessor.CheckTablesNesting = function( document ) +function FCKFocusManager_FireOnBlur() { - var aTables = document.getElementsByTagName( "TABLE" ) ; - var oParentNode ; - - for ( var i=0; i tag for the bold, italic and underline. - FCK.EditorDocument.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 - // 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. - // FCK.EditorDocument.execCommand( 'insertBrOnReturn', false, false ) ; - - // Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez) - FCK.EditorDocument.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableImageHandles ) ; - - // Disable the standard table editing features of Firefox. - FCK.EditorDocument.execCommand( 'enableInlineTableEditing', false, !FCKConfig.DisableTableHandles ) ; - } - catch (e) {} + this.EditingArea.MakeEditable() ; } -FCK.Focus = function() +// Disable the context menu in the editor (outside the editing area). +function Document_OnContextMenu( e ) { - try - { -// window.focus() ; - FCK.EditorWindow.focus() ; - } - catch(e) {} + if ( !e.target._FCKShowContextMenu ) + e.preventDefault() ; } - -// @Packager.Compactor.Remove.Start -if ( FCKBrowserInfo.IsSafari ) -{ -FCK.SetHTML = function( html, forceWYSIWYG ) -{ - if( window.console ) window.console.log( 'FCK.SetHTML()' ) ; // @Packager.Compactor.RemoveLine - - sHtml = - FCKConfig.DocType + - '' + - '' + - '' + - '' ; - -// sHtml += FCK.TempBaseTag ; - sHtml += '' + html + '' ; - - this.EditorDocument.open() ; - this.EditorDocument.write( sHtml ) ; - this.EditorDocument.close() ; - -// this.InitializeBehaviors() ; - -// FCK.MakeEditable() ; - FCK.EditorDocument.designMode = 'on' ; - FCK.OnAfterSetHTML() ; -} -} -else -{ -// @Packager.Compactor.Remove.End -FCK.SetHTML = function( html, forceWYSIWYG ) -{ - // Firefox can't handle correctly the editing of the STRONG and EM tags. - // We must replace them with B and I. - html = html.replace( FCKRegexLib.StrongOpener, '' ) ; - html = html.replace( FCKRegexLib.EmOpener, '' ) ; - - if ( forceWYSIWYG || FCK.EditMode == FCK_EDITMODE_WYSIWYG ) - { - html = FCKConfig.ProtectedSource.Protect( html ) ; - html = FCK.ProtectUrls( html ) ; - - // Gecko has a lot of bugs mainly when handling editing features. - // To avoid an Aplication Exception (that closes the browser!) we - // must first write the contents with an empty body, and - // then insert the body contents. - // (Oh yes... it took me a lot of time to find out this workaround) - - if ( FCKConfig.FullPage && FCKRegexLib.BodyContents.test( html ) ) - { - // Add the tag to the input HTML. - if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( html ) ) - html = html.replace( FCKRegexLib.HeadOpener, '$&' + FCK.TempBaseTag ) ; - - html = html.replace( FCKRegexLib.HeadCloser, '' ) ; - - // Extract the BODY contents from the html. - var oMatch = html.match( FCKRegexLib.BodyContents ) ; - var sOpener = oMatch[1] ; // This is the HTML until the tag, inclusive. - var sContents = oMatch[2] ; // This is the BODY tag contents. - var sCloser = oMatch[3] ; // This is the HTML from the tag, inclusive. - - var sHtml = sOpener + ' ' + sCloser ; - -/* - if ( !this._Initialized ) - { - FCK.EditorDocument.designMode = "on" ; - - // Tell Gecko to use or not the tag for the bold, italic and underline. - FCK.EditorDocument.execCommand( "useCSS", false, !FCKConfig.GeckoUseSPAN ) ; - - this._Initialized = true ; - } -*/ - FCK.MakeEditable() ; - - this.EditorDocument.open() ; - this.EditorDocument.write( sHtml ) ; - this.EditorDocument.close() ; - - if ( this.EditorDocument.body ) - this.EditorDocument.body.innerHTML = sContents ; - else - this.EditorWindow._FCK_HTML = sContents ; - - this.InitializeBehaviors() ; - } - else - { - /* TODO: Wait stable and remove it. - sHtml = - '' + - '' + - '' + - '' + - '' ; - - sHtml += FCK.TempBaseTag ; - - sHtml += ' ' ; - */ - - if ( !this._Initialized ) - { - this.EditorDocument.dir = FCKConfig.ContentLangDirection ; - - var sHtml = - '' + - '' + - '' + - FCK.TempBaseTag ; - - this.EditorDocument.getElementsByTagName("HEAD")[0].innerHTML = sHtml ; - - this.InitializeBehaviors() ; - - this._Initialized = true ; - } - - // On Gecko we must disable editing before setting the BODY innerHTML. -// FCK.EditorDocument.designMode = 'off' ; - - if ( html.length == 0 ) - FCK.EditorDocument.body.innerHTML = GECKO_BOGUS ; - else if ( FCKRegexLib.EmptyParagraph.test( html ) ) - FCK.EditorDocument.body.innerHTML = html.replace( FCKRegexLib.TagBody, '>' + GECKO_BOGUS + '<' ) ; - else - FCK.EditorDocument.body.innerHTML = html ; - - FCK.MakeEditable() ; - } - - FCK.OnAfterSetHTML() ; - } - else - document.getElementById('eSourceField').value = html ; -} -} // @Packager.Compactor.RemoveLine \ No newline at end of file +document.oncontextmenu = Document_OnContextMenu ; \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fck_1_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck_1_ie.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fck_1_ie.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fck_1_ie.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -21,28 +21,44 @@ FCK.Description = "FCKeditor for Internet Explorer 5.5+" ; -// The behaviors should be pointed using the FullBasePath to avoid security -// errors when using a differente BaseHref. -FCK._BehaviorsStyle = - '' ; + FCK._BehaviorsStyle = sStyle ; + } + + return FCK._BehaviorsStyle ; +} -FCK._BehaviorsStyle += '' ; - function Doc_OnMouseUp() { if ( FCK.EditorWindow.event.srcElement.tagName == 'HTML' ) @@ -56,18 +72,20 @@ function Doc_OnPaste() { if ( FCK.Status == FCK_STATUS_COMPLETE ) - return FCK.Events.FireEvent( "OnPaste" ) ; - else - return false ; + FCK.Events.FireEvent( "OnPaste" ) ; + + return false ; } +/* function Doc_OnContextMenu() { var e = FCK.EditorWindow.event ; FCK.ShowContextMenu( e.screenX, e.screenY ) ; return false ; } +*/ function Doc_OnKeyDown() { @@ -176,8 +194,8 @@ // Intercept pasting operations this.EditorDocument.body.attachEvent( 'onpaste', Doc_OnPaste ) ; - // Disable Right-Click and shows the context menu. - this.EditorDocument.attachEvent('oncontextmenu', Doc_OnContextMenu ) ; + // Reset the context menu. + FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ; // Build the "TAB" key replacement (if necessary). if ( FCKConfig.TabSpaces > 0 ) @@ -197,71 +215,6 @@ // this.EditorDocument.body.contentEditable = true ; } -FCK.Focus = function() -{ - try - { - if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) - FCK.EditorDocument.body.focus() ; - else - document.getElementById('eSourceField').focus() ; - } - catch(e) {} -} - -FCK.SetHTML = function( html, forceWYSIWYG ) -{ - if ( forceWYSIWYG || FCK.EditMode == FCK_EDITMODE_WYSIWYG ) - { - html = FCKConfig.ProtectedSource.Protect( html ) ; - html = FCK.ProtectUrls( html ) ; - - var sHtml ; - - if ( FCKConfig.FullPage ) - { - var sHtml = - FCK._BehaviorsStyle + - '' ; - - if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( html ) ) - sHtml += FCK.TempBaseTag ; - - sHtml = html.replace( FCKRegexLib.HeadOpener, '$&' + sHtml ) ; - } - else - { - sHtml = - FCKConfig.DocType + - '' + - '' + - '' ; - - sHtml += FCK._BehaviorsStyle ; - sHtml += FCK.TempBaseTag ; - sHtml += '' + html + '' ; - } - -// this.EditorDocument.open( '', '_self', '', true ) ; // This one opens popups in IE 5.5 - BUG 1204220 (I was not able to reproduce the problem). - this.EditorDocument.open( '', 'replace' ) ; - this.EditorDocument.write( sHtml ) ; - this.EditorDocument.close() ; - - this.InitializeBehaviors() ; - this.EditorDocument.body.contentEditable = true ; - - FCK.OnAfterSetHTML() ; - } - else - document.getElementById('eSourceField').value = html ; -} - FCK.InsertHtml = function( html ) { html = FCKConfig.ProtectedSource.Protect( html ) ; @@ -275,7 +228,7 @@ var oSel = FCK.EditorDocument.selection ; // Deletes the actual selection contents. - if ( oSel.type.toLowerCase() != "none" ) + if ( oSel.type.toLowerCase() == 'control' ) oSel.clear() ; // Insert the HTML. @@ -289,4 +242,51 @@ // be preserved. oDoc.body.innerHTML = '
 
' + html ; oDoc.getElementById('__fakeFCKRemove__').removeNode( true ) ; +} + +var FCK_PreloadImages_Count = 0 ; +var FCK_PreloadImages_Images = new Array() ; + +function FCK_PreloadImages() +{ + // Get the images to preload. + var aImages = FCKConfig.PreloadImages || [] ; + + if ( typeof( aImages ) == 'string' ) + aImages = aImages.split( ';' ) ; + + // Add the skin icons strip. + aImages.push( FCKConfig.SkinPath + 'fck_strip.gif' ) ; + + FCK_PreloadImages_Count = aImages.length ; + + var aImageElements = new Array() ; + + for ( var i = 0 ; i < aImages.length ; i++ ) + { + var eImg = document.createElement( 'img' ) ; + eImg.onload = eImg.onerror = FCK_PreloadImages_OnImage ; + eImg.src = aImages[i] ; + + FCK_PreloadImages_Images[i] = eImg ; + } +} + +function FCK_PreloadImages_OnImage() +{ + if ( (--FCK_PreloadImages_Count) == 0 ) + FCKTools.RunFunction( LoadToolbarSetup ) ; +} + +// Disable the context menu in the editor (outside the editing area). +function Document_OnContextMenu() +{ + return ( event.srcElement._FCKShowContextMenu == true ) ; +} +document.oncontextmenu = Document_OnContextMenu ; + +function FCK_Cleanup() +{ + this.EditorWindow = null ; + this.EditorDocument = null ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fck_2.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck_2.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fck_2.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fck_2.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -75,45 +75,6 @@ FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteFromWord, 'dialog/fck_paste.html', 400, 330, 'Word' ) ; } -// TODO: Wait Stable and remove this block. -//FCK.CleanAndPaste = function( html ) -//{ - // Remove all SPAN tags -// html = html.replace(/<\/?SPAN[^>]*>/gi, "" ); - -// html = html.replace(/ <\/o:p>/g, "") ; -// html = html.replace(/<\/o:p>/g, "") ; - - // Remove mso-xxx styles. -// html = html.replace( /mso-.[^:]:.[^;"]/g, "" ) ; - - // Remove Class attributes -// html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3") ; - - // Remove Style attributes -// html = html.replace(/<(\w[^>]*) style="([^"]*)"([^>]*)/gi, "<$1$3") ; - - // Remove Lang attributes -// html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ; - - // Remove XML elements and declarations -// html = html.replace(/<\\?\?xml[^>]*>/gi, "") ; - - // Remove Tags with XML namespace declarations: -// html = html.replace(/<\/?\w+:[^>]*>/gi, "") ; - - // Replace the   -// html = html.replace(/ /, " " ); - // Replace the   from the beggining. -// html = html.replace(/^ [\s\r\n]*/, ""); - - // Transform

to

-// var re = new RegExp("(]*>.*?)(<\/P>)","gi") ; // Different because of a IE 5.0 error -// html = html.replace( re, "" ) ; - -// FCK.InsertHtml( html ) ; -//} - FCK.Preview = function() { var iWidth = FCKConfig.ScreenWidth * 0.8 ; @@ -135,9 +96,10 @@ sHTML = FCKConfig.DocType + '' + - '' + FCKLang.Preview + '' + - '' + + '' + FCK.TempBaseTag + + '' + FCKLang.Preview + '' + + FCK._GetEditorAreaStyleTags() + '' + FCK.GetXHTML() + '' ; @@ -147,36 +109,34 @@ oWindow.document.close(); } -FCK.SwitchEditMode = function() +FCK.SwitchEditMode = function( noUndo ) { - // Check if the actual mode is WYSIWYG. - var bWYSIWYG = ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) ; + var bIsWysiwyg = ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) ; + var sHtml ; - // Display/Hide the TRs. - document.getElementById('eWysiwyg').style.display = bWYSIWYG ? 'none' : '' ; - document.getElementById('eSource').style.display = bWYSIWYG ? '' : 'none' ; - // Update the HTML in the view output to show. - if ( bWYSIWYG ) + if ( bIsWysiwyg ) { - if ( FCKBrowserInfo.IsIE ) + if ( !noUndo && FCKBrowserInfo.IsIE ) FCKUndo.SaveUndoStep() ; - // EnableXHTML and EnableSourceXHTML has been deprecated -// document.getElementById('eSourceField').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ; - document.getElementById('eSourceField').value = FCK.GetXHTML( FCKConfig.FormatSource ) ; + sHtml = FCK.GetXHTML( FCKConfig.FormatSource ) ; } else - FCK.SetHTML( document.getElementById('eSourceField').value, true ) ; + sHtml = this.EditingArea.Textarea.value ; - // Updates the actual mode status. - FCK.EditMode = bWYSIWYG ? FCK_EDITMODE_SOURCE : FCK_EDITMODE_WYSIWYG ; - - // Update the toolbar. - FCKToolbarSet.RefreshModeState() ; + FCK.EditMode = bIsWysiwyg ? FCK_EDITMODE_SOURCE : FCK_EDITMODE_WYSIWYG ; + FCK.SetHTML( sHtml ) ; + + if ( FCKBrowserInfo.IsGecko ) + window.onresize() ; + // Set the Focus. FCK.Focus() ; + + // Update the toolbar (Running it directly causes IE to fail). + FCKTools.RunFunction( FCK.ToolbarSet.RefreshModeState, FCK.ToolbarSet ) ; } FCK.CreateElement = function( tag ) @@ -187,17 +147,17 @@ FCK.InsertElementAndGetIt = function( e ) { - e.setAttribute( '__FCKTempLabel', 1 ) ; + e.setAttribute( 'FCKTempLabel', 'true' ) ; this.InsertElement( e ) ; var aEls = FCK.EditorDocument.getElementsByTagName( e.tagName ) ; for ( var i = 0 ; i < aEls.length ; i++ ) { - if ( aEls[i].getAttribute( '__FCKTempLabel' ) ) + if ( aEls[i].getAttribute( 'FCKTempLabel' ) ) { - aEls[i].removeAttribute( '__FCKTempLabel' ) ; + aEls[i].removeAttribute( 'FCKTempLabel' ) ; return aEls[i] ; } } Index: lams_central/web/fckeditor/editor/_source/internals/fck_2_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck_2_gecko.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fck_2_gecko.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fck_2_gecko.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/internals/fck_2_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck_2_ie.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fck_2_ie.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fck_2_ie.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -48,23 +48,25 @@ if ( FCKConfig.ForcePasteAsPlainText ) { FCK.PasteAsPlainText() ; - return false ; + return ; } - else if ( FCKConfig.AutoDetectPasteFromWord ) + + var sHTML = FCK.GetClipboardHTML() ; + + if ( FCKConfig.AutoDetectPasteFromWord ) { - var sHTML = FCK.GetClipboardHTML() ; var re = /<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi ; if ( re.test( sHTML ) ) { if ( confirm( FCKLang["PasteWordConfirm"] ) ) { FCK.PasteFromWord() ; - return false ; + return ; } } } - else - return true ; + + FCK.InsertHtml( sHTML ) ; } FCK.PasteAsPlainText = function() Index: lams_central/web/fckeditor/editor/_source/internals/fck_contextmenu.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fck_contextmenu.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/internals/fck_contextmenu.js 16 Aug 2006 06:05:54 -0000 1.1 @@ -0,0 +1,287 @@ +/* + * 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_contextmenu.js + * Defines the FCK.ContextMenu object that is responsible for all + * Context Menu operations in the editing area. + * + * File Authors: + * Frederico Caldeira Knabben (fredck@fckeditor.net) + */ + +FCK.ContextMenu = new Object() ; +FCK.ContextMenu.Listeners = new Array() ; + +FCK.ContextMenu.RegisterListener = function( listener ) +{ + if ( listener ) + this.Listeners.push( listener ) ; +} + +function FCK_ContextMenu_Init() +{ + var oInnerContextMenu = FCK.ContextMenu._InnerContextMenu = new FCKContextMenu( FCKBrowserInfo.IsIE ? window : window.parent, FCK.EditorWindow, FCKLang.Dir ) ; + oInnerContextMenu.OnBeforeOpen = FCK_ContextMenu_OnBeforeOpen ; + oInnerContextMenu.OnItemClick = FCK_ContextMenu_OnItemClick ; + + // Get the registering function. + var oMenu = FCK.ContextMenu ; + + // Register all configured context menu listeners. + for ( var i = 0 ; i < FCKConfig.ContextMenu.length ; i++ ) + oMenu.RegisterListener( FCK_ContextMenu_GetListener( FCKConfig.ContextMenu[i] ) ) ; +} + +function FCK_ContextMenu_GetListener( listenerName ) +{ + switch ( listenerName ) + { + case 'Generic' : + return { + AddItems : function( menu, tag, tagName ) + { + menu.AddItem( 'Cut' , FCKLang.Cut , 7, FCKCommands.GetCommand( 'Cut' ).GetState() == FCK_TRISTATE_DISABLED ) ; + menu.AddItem( 'Copy' , FCKLang.Copy , 8, FCKCommands.GetCommand( 'Copy' ).GetState() == FCK_TRISTATE_DISABLED ) ; + menu.AddItem( 'Paste' , FCKLang.Paste , 9, FCKCommands.GetCommand( 'Paste' ).GetState() == FCK_TRISTATE_DISABLED ) ; + }} ; + + case 'Table' : + return { + AddItems : function( menu, tag, tagName ) + { + var bIsTable = ( tagName == 'TABLE' ) ; + var bIsCell = ( !bIsTable && FCKSelection.HasAncestorNode( 'TABLE' ) ) ; + + if ( bIsCell ) + { + menu.AddSeparator() ; + var oItem = menu.AddItem( 'Cell' , FCKLang.CellCM ) ; + oItem.AddItem( 'TableInsertCell' , FCKLang.InsertCell, 58 ) ; + oItem.AddItem( 'TableDeleteCells' , FCKLang.DeleteCells, 59 ) ; + oItem.AddItem( 'TableMergeCells' , FCKLang.MergeCells, 60 ) ; + oItem.AddItem( 'TableSplitCell' , FCKLang.SplitCell, 61 ) ; + oItem.AddSeparator() ; + oItem.AddItem( 'TableCellProp' , FCKLang.CellProperties, 57 ) ; + + menu.AddSeparator() ; + oItem = menu.AddItem( 'Row' , FCKLang.RowCM ) ; + oItem.AddItem( 'TableInsertRow' , FCKLang.InsertRow, 62 ) ; + oItem.AddItem( 'TableDeleteRows' , FCKLang.DeleteRows, 63 ) ; + + menu.AddSeparator() ; + oItem = menu.AddItem( 'Column' , FCKLang.ColumnCM ) ; + oItem.AddItem( 'TableInsertColumn' , FCKLang.InsertColumn, 64 ) ; + oItem.AddItem( 'TableDeleteColumns' , FCKLang.DeleteColumns, 65 ) ; + } + + if ( bIsTable || bIsCell ) + { + menu.AddSeparator() ; + menu.AddItem( 'TableDelete' , FCKLang.TableDelete ) ; + menu.AddItem( 'TableProp' , FCKLang.TableProperties, 39 ) ; + } + }} ; + + case 'Link' : + return { + AddItems : function( menu, tag, tagName ) + { + if ( FCK.GetNamedCommandState( 'Unlink' ) != FCK_TRISTATE_DISABLED ) + { + menu.AddSeparator() ; + 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 ) + { + if ( 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 == 'INPUT' && tag.type == 'hidden' ) + { + 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 ) ; + } + }} ; + } +} + +function FCK_ContextMenu_OnBeforeOpen() +{ + // Update the UI. + FCK.Events.FireEvent( "OnSelectionChange" ) ; + + // Get the actual selected tag (if any). + var oTag, sTagName ; + + if ( oTag = FCKSelection.GetSelectedElement() ) + sTagName = oTag.tagName ; + + // Cleanup the current menu items. + var oMenu = FCK.ContextMenu._InnerContextMenu ; + oMenu.RemoveAllItems() ; + + // Loop through the listeners. + var aListeners = FCK.ContextMenu.Listeners ; + for ( var i = 0 ; i < aListeners.length ; i++ ) + aListeners[i].AddItems( oMenu, oTag, sTagName ) ; +} + +function FCK_ContextMenu_OnItemClick( item ) +{ + FCK.Focus() ; + FCKCommands.GetCommand( item.Name ).Execute() ; +} \ No newline at end of file Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fck_last.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.5 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fck_onload.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/_source/internals/fckbrowserinfo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckbrowserinfo.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckbrowserinfo.js 12 Dec 2005 05:18:53 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckbrowserinfo.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -11,22 +11,27 @@ * "Support Open Source software. What about a donation today?" * * File Name: fckbrowserinfo.js - * Defines the FCKBrowserInfo object that hold some browser informations. + * Contains browser detection information. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKBrowserInfo ; +var s = navigator.userAgent.toLowerCase() ; -if ( !( FCKBrowserInfo = NS.FCKBrowserInfo ) ) +var FCKBrowserInfo = { - FCKBrowserInfo = NS.FCKBrowserInfo = new Object() ; + IsIE : s.Contains('msie'), + IsIE7 : s.Contains('msie 7'), + IsGecko : s.Contains('gecko/'), + IsSafari : s.Contains('safari'), + IsOpera : s.Contains('opera') +} - var sAgent = navigator.userAgent.toLowerCase() ; +FCKBrowserInfo.IsGeckoLike = FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari || FCKBrowserInfo.IsOpera ; - FCKBrowserInfo.IsIE = ( sAgent.indexOf("msie") != -1 ) ; - FCKBrowserInfo.IsGecko = !FCKBrowserInfo.IsIE ; - FCKBrowserInfo.IsSafari = ( sAgent.indexOf("safari") != -1 ) ; - FCKBrowserInfo.IsNetscape = ( sAgent.indexOf("netscape") != -1 ) ; -} +if ( FCKBrowserInfo.IsGecko ) +{ + var sGeckoVersion = s.match( /gecko\/(\d+)/ )[1] ; + FCKBrowserInfo.IsGecko10 = sGeckoVersion < 20051111 ; // Actually "10" refers to versions before Firefox 1.5, where Gecko 20051111 has been released. +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckcodeformatter.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckcodeformatter.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckcodeformatter.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckcodeformatter.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -17,79 +17,80 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKCodeFormatter ; +var FCKCodeFormatter = new Object() ; -if ( !( FCKCodeFormatter = NS.FCKCodeFormatter ) ) +FCKCodeFormatter.Init = function() { - FCKCodeFormatter = NS.FCKCodeFormatter = new Object() ; + var oRegex = this.Regex = new Object() ; - FCKCodeFormatter.Regex = new Object() ; - // Regex for line breaks. - FCKCodeFormatter.Regex.BlocksOpener = /\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi ; - FCKCodeFormatter.Regex.BlocksCloser = /\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi ; + oRegex.BlocksOpener = /\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi ; + oRegex.BlocksCloser = /\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi ; - FCKCodeFormatter.Regex.NewLineTags = /\<(BR|HR)[^\>]\>/gi ; + oRegex.NewLineTags = /\<(BR|HR)[^\>]*\>/gi ; - FCKCodeFormatter.Regex.MainTags = /\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi ; + oRegex.MainTags = /\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi ; - FCKCodeFormatter.Regex.LineSplitter = /\s*\n+\s*/g ; + oRegex.LineSplitter = /\s*\n+\s*/g ; // Regex for indentation. - FCKCodeFormatter.Regex.IncreaseIndent = /^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i ; - FCKCodeFormatter.Regex.DecreaseIndent = /^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i ; - FCKCodeFormatter.Regex.FormatIndentatorRemove = new RegExp( FCKConfig.FormatIndentator ) ; + oRegex.IncreaseIndent = /^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i ; + oRegex.DecreaseIndent = /^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i ; + oRegex.FormatIndentatorRemove = new RegExp( '^' + FCKConfig.FormatIndentator ) ; - FCKCodeFormatter.Regex.ProtectedTags = /(]*>)([\s\S]*?)(<\/PRE>)/gi ; + oRegex.ProtectedTags = /(]*>)([\s\S]*?)(<\/PRE>)/gi ; +} - FCKCodeFormatter._ProtectData = function( outer, opener, data, closer ) - { - return opener + '___FCKpd___' + FCKCodeFormatter.ProtectedData.addItem( data ) + closer ; - } +FCKCodeFormatter._ProtectData = function( outer, opener, data, closer ) +{ + return opener + '___FCKpd___' + FCKCodeFormatter.ProtectedData.AddItem( data ) + closer ; +} - FCKCodeFormatter.Format = function( html ) +FCKCodeFormatter.Format = function( html ) +{ + if ( !this.Regex ) + this.Init() ; + + // Protected content that remain untouched during the + // process go in the following array. + FCKCodeFormatter.ProtectedData = new Array() ; + + var sFormatted = html.replace( this.Regex.ProtectedTags, FCKCodeFormatter._ProtectData ) ; + + // Line breaks. + sFormatted = sFormatted.replace( this.Regex.BlocksOpener, '\n$&' ) ; ; + sFormatted = sFormatted.replace( this.Regex.BlocksCloser, '$&\n' ) ; + sFormatted = sFormatted.replace( this.Regex.NewLineTags, '$&\n' ) ; + sFormatted = sFormatted.replace( this.Regex.MainTags, '\n$&\n' ) ; + + // Indentation. + var sIndentation = '' ; + + var asLines = sFormatted.split( this.Regex.LineSplitter ) ; + sFormatted = '' ; + + for ( var i = 0 ; i < asLines.length ; i++ ) { - // Protected content that remain untouched during the - // process go in the following array. - FCKCodeFormatter.ProtectedData = new Array() ; + var sLine = asLines[i] ; - var sFormatted = html.replace( this.Regex.ProtectedTags, FCKCodeFormatter._ProtectData ) ; - - // Line breaks. - sFormatted = sFormatted.replace( this.Regex.BlocksOpener, '\n$&' ) ; ; - sFormatted = sFormatted.replace( this.Regex.BlocksCloser, '$&\n' ) ; - sFormatted = sFormatted.replace( this.Regex.NewLineTags, '$&\n' ) ; - sFormatted = sFormatted.replace( this.Regex.MainTags, '\n$&\n' ) ; + if ( sLine.length == 0 ) + continue ; - // Indentation. - var sIndentation = '' ; - - var asLines = sFormatted.split( this.Regex.LineSplitter ) ; - sFormatted = '' ; - - for ( var i = 0 ; i < asLines.length ; i++ ) - { - var sLine = asLines[i] ; - - if ( sLine.length == 0 ) - continue ; - - if ( this.Regex.DecreaseIndent.test( sLine ) ) - sIndentation = sIndentation.replace( this.Regex.FormatIndentatorRemove, '' ) ; + if ( this.Regex.DecreaseIndent.test( sLine ) ) + sIndentation = sIndentation.replace( this.Regex.FormatIndentatorRemove, '' ) ; - sFormatted += sIndentation + sLine + '\n' ; - - if ( this.Regex.IncreaseIndent.test( sLine ) ) - sIndentation += FCKConfig.FormatIndentator ; - } + sFormatted += sIndentation + sLine + '\n' ; - // Now we put back the protected data. - for ( var i = 0 ; i < FCKCodeFormatter.ProtectedData.length ; i++ ) - { - var oRegex = new RegExp( '___FCKpd___' + i ) ; - sFormatted = sFormatted.replace( oRegex, FCKCodeFormatter.ProtectedData[i] ) ; - } - - return sFormatted.trim() ; + if ( this.Regex.IncreaseIndent.test( sLine ) ) + sIndentation += FCKConfig.FormatIndentator ; } + + // Now we put back the protected data. + for ( var i = 0 ; i < FCKCodeFormatter.ProtectedData.length ; i++ ) + { + var oRegex = new RegExp( '___FCKpd___' + i ) ; + sFormatted = sFormatted.replace( oRegex, FCKCodeFormatter.ProtectedData[i].replace( /\$/g, '$$$$' ) ) ; + } + + return sFormatted.trim() ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckcommands.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckcommands.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fckcommands.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fckcommands.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -37,6 +37,7 @@ case 'DocProps' : oCommand = new FCKDialogCommand( 'DocProps' , FCKLang.DocProps , 'dialog/fck_docprops.html' , 400, 390, FCKCommands.GetFullPageState ) ; break ; case 'Templates' : oCommand = new FCKDialogCommand( 'Templates' , FCKLang.DlgTemplatesTitle , 'dialog/fck_template.html' , 380, 450 ) ; break ; case 'Link' : oCommand = new FCKDialogCommand( 'Link' , FCKLang.DlgLnkWindowTitle , 'dialog/fck_link.html' , 400, 330, FCK.GetNamedCommandState, 'CreateLink' ) ; break ; + case 'Unlink' : oCommand = new FCKUnlinkCommand() ; break ; case 'Anchor' : oCommand = new FCKDialogCommand( 'Anchor' , FCKLang.DlgAnchorTitle , 'dialog/fck_anchor.html' , 370, 170 ) ; break ; case 'BulletedList' : oCommand = new FCKDialogCommand( 'BulletedList', FCKLang.BulletedListProp , 'dialog/fck_listprop.html' , 370, 170 ) ; break ; case 'NumberedList' : oCommand = new FCKDialogCommand( 'NumberedList', FCKLang.NumberedListProp , 'dialog/fck_listprop.html' , 370, 170 ) ; break ; @@ -49,7 +50,7 @@ case 'Flash' : oCommand = new FCKDialogCommand( 'Flash' , FCKLang.DlgFlashTitle , 'dialog/fck_flash.html' , 450, 400 ) ; break ; case 'SpecialChar' : oCommand = new FCKDialogCommand( 'SpecialChar', FCKLang.DlgSpecialCharTitle , 'dialog/fck_specialchar.html' , 400, 320 ) ; break ; case 'Smiley' : oCommand = new FCKDialogCommand( 'Smiley' , FCKLang.DlgSmileyTitle , 'dialog/fck_smiley.html' , FCKConfig.SmileyWindowWidth, FCKConfig.SmileyWindowHeight ) ; break ; - case 'Table' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html' , 400, 250 ) ; break ; + case 'Table' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html' , 450, 250 ) ; break ; case 'TableProp' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html?Parent', 400, 250 ) ; break ; case 'TableCellProp': oCommand = new FCKDialogCommand( 'TableCell' , FCKLang.DlgCellTitle , 'dialog/fck_tablecell.html' , 500, 250 ) ; break ; case 'UniversalKey' : oCommand = new FCKDialogCommand( 'UniversalKey', FCKLang.UniversalKeyboard , 'dialog/fck_universalkey.html', 415, 300 ) ; break ; @@ -93,6 +94,7 @@ case 'ImageButton' : oCommand = new FCKDialogCommand( 'ImageButton', FCKLang.ImageButton , 'dialog/fck_image.html?ImageButton', 450, 400 ) ; break ; case 'SpellCheck' : oCommand = new FCKSpellCheckCommand() ; break ; + case 'FitWindow' : oCommand = new FCKFitWindow() ; break ; case 'Undo' : oCommand = new FCKUndoCommand() ; break ; case 'Redo' : oCommand = new FCKRedoCommand() ; break ; Index: lams_central/web/fckeditor/editor/_source/internals/fckconfig.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckconfig.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckconfig.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckconfig.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,12 +19,18 @@ var FCKConfig = FCK.Config = new Object() ; +/* + For the next major version (probably 3.0) we should move all this stuff to + another dedicated object and leave FCKConfig as a holder object for settings only). +*/ + // Editor Base Path if ( document.location.protocol == 'file:' ) { FCKConfig.BasePath = unescape( 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 { @@ -87,12 +93,31 @@ } } -FCKConfig.LoadPageConfig = function() +function FCKConfig_LoadPageConfig() { - for ( var sKey in this.PageConfig ) - FCKConfig[ sKey ] = this.PageConfig[ sKey ] ; + var oPageConfig = FCKConfig.PageConfig ; + for ( var sKey in oPageConfig ) + FCKConfig[ sKey ] = oPageConfig[ sKey ] ; } +function FCKConfig_PreProcess() +{ + var oConfig = FCKConfig ; + + // Force debug mode if fckdebug=true in the QueryString (main page). + if ( oConfig.AllowQueryStringDebug && (/fckdebug=true/i).test( window.top.location.search ) ) + oConfig.Debug = true ; + + // Certifies that the "PluginsPath" configuration ends with a slash. + if ( !oConfig.PluginsPath.endsWith('/') ) + oConfig.PluginsPath += '/' ; + + // EditorAreaCSS accepts an array of paths or a single path (as string). + // In the last case, transform it in an array. + if ( typeof( oConfig.EditorAreaCSS ) == 'string' ) + oConfig.EditorAreaCSS = [ oConfig.EditorAreaCSS ] ; +} + // Define toolbar sets collection. FCKConfig.ToolbarSets = new Object() ; @@ -102,7 +127,7 @@ FCKConfig.Plugins.Add = function( name, langs, path ) { - FCKConfig.Plugins.Items.addItem( [name, langs, path] ) ; + FCKConfig.Plugins.Items.AddItem( [name, langs, path] ) ; } // FCKConfig.ProtectedSource: object that holds a collection of Regular @@ -113,7 +138,7 @@ FCKConfig.ProtectedSource.Add = function( regexPattern ) { - this.RegexEntries.addItem( regexPattern ) ; + this.RegexEntries.AddItem( regexPattern ) ; } FCKConfig.ProtectedSource.Protect = function( html ) Fisheye: Tag 1.5 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_gecko.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_ie.js'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fckcoreextensions.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/_source/internals/fckdebug.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckdebug.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckdebug.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckdebug.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,58 +19,59 @@ var FCKDebug = new Object() ; -if ( FCKConfig.Debug ) +FCKDebug.Output = function( message, color, noParse ) { - FCKDebug.Output = function( message, color, noParse ) - { - if ( ! FCKConfig.Debug ) return ; - - if ( !noParse && message != null && isNaN( message ) ) - message = message.replace(/
' ; - if ( anyObject != null ) + for (var prop in anyObject) { - message = 'Properties of: ' + anyObject + '
' ; - - for (var prop in anyObject) + try { var sVal = anyObject[ prop ] ? anyObject[ prop ] + '' : '[null]' ; - try + message += '' + prop + ' : ' + sVal.replace(/' ; + } + catch (e) + { + try { - message += '' + prop + ' : ' + sVal.replace(/' ; - } + message += '' + prop + ' : [' + typeof( anyObject[ prop ] ) + ']
' ; + } catch (e) { - message += '' + prop + ' : [' + typeof( anyObject[ prop ] ) + ']
' ; + message += '' + prop + ' : [-error-]
' ; } } + } - message += '
' ; - } else - message = 'OutputObject : Object is "null".' ; - - FCKDebug.Output( message, color, true ) ; - } -} -else -{ - FCKDebug.Output = function() {} - FCKDebug.OutputObject = function() {} + message += '
' ; + } else + message = 'OutputObject : Object is "null".' ; + + FCKDebug.Output( message, color, true ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckdialog.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckdialog.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckdialog.js 12 Dec 2005 05:18:54 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckdialog.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/internals/fckdialog_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckdialog_gecko.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fckdialog_gecko.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fckdialog_gecko.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -32,11 +32,14 @@ if ( !parentWindow ) parentWindow = window ; + FCKFocusManager.Lock() ; + var oWindow = parentWindow.open( '', 'FCKeditorDialog_' + dialogName, sOption, true ) ; if ( !oWindow ) { alert( FCKLang.DialogBlocked ) ; + FCKFocusManager.Unlock() ; return ; } Index: lams_central/web/fckeditor/editor/_source/internals/fckdialog_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckdialog_ie.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckdialog_ie.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckdialog_ie.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -22,9 +22,12 @@ if ( !parentWindow ) parentWindow = window ; - this.IsOpened = true ; + FCKFocusManager.Lock() ; - parentWindow.showModalDialog( pageUrl, dialogInfo, "dialogWidth:" + dialogWidth + "px;dialogHeight:" + dialogHeight + "px;help:no;scroll:no;status:no") ; + var oReturn = parentWindow.showModalDialog( pageUrl, dialogInfo, "dialogWidth:" + dialogWidth + "px;dialogHeight:" + dialogHeight + "px;help:no;scroll:no;status:no") ; - this.IsOpened = false ; + if ( !oReturn ) + alert( FCKLang.DialogBlocked ) ; + + FCKFocusManager.Unlock() ; } Index: lams_central/web/fckeditor/editor/_source/internals/fckdocumentprocessor.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckdocumentprocessor.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/_source/internals/fckdocumentprocessor.js 16 Aug 2006 06:05:54 -0000 1.1 @@ -0,0 +1,230 @@ +/* + * 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: fckdocumentprocessor.js + * Advanced document processors. + * + * File Authors: + * Frederico Caldeira Knabben (fredck@fckeditor.net) + */ + +var FCKDocumentProcessor = new Object() ; +FCKDocumentProcessor._Items = new Array() ; + +FCKDocumentProcessor.AppendNew = function() +{ + var oNewItem = new Object() ; + this._Items.AddItem( oNewItem ) ; + return oNewItem ; +} + +FCKDocumentProcessor.Process = function( document ) +{ + var oProcessor, i = 0 ; + while( ( oProcessor = this._Items[i++] ) ) + oProcessor.ProcessDocument( document ) ; +} + +var FCKDocumentProcessor_CreateFakeImage = function( fakeClass, realElement ) +{ + var oImg = FCK.EditorDocument.createElement( 'IMG' ) ; + oImg.className = fakeClass ; + oImg.src = FCKConfig.FullBasePath + 'images/spacer.gif' ; + oImg.setAttribute( '_fckfakelement', 'true', 0 ) ; + oImg.setAttribute( '_fckrealelement', FCKTempBin.AddElement( realElement ), 0 ) ; + return oImg ; +} + +// Link Anchors +var FCKAnchorsProcessor = FCKDocumentProcessor.AppendNew() ; +FCKAnchorsProcessor.ProcessDocument = function( document ) +{ + var aLinks = document.getElementsByTagName( 'A' ) ; + + var oLink ; + var i = aLinks.length - 1 ; + while ( i >= 0 && ( oLink = aLinks[i--] ) ) + { + // If it is anchor. + if ( oLink.name.length > 0 && ( !oLink.getAttribute('href') || oLink.getAttribute('href').length == 0 ) ) + { + var oImg = FCKDocumentProcessor_CreateFakeImage( 'FCK__Anchor', oLink.cloneNode(true) ) ; + oImg.setAttribute( '_fckanchor', 'true', 0 ) ; + + oLink.parentNode.insertBefore( oImg, oLink ) ; + oLink.parentNode.removeChild( oLink ) ; + } + } +} + +// Page Breaks +var FCKPageBreaksProcessor = FCKDocumentProcessor.AppendNew() ; +FCKPageBreaksProcessor.ProcessDocument = function( document ) +{ + var aDIVs = document.getElementsByTagName( 'DIV' ) ; + + var eDIV ; + var i = aDIVs.length - 1 ; + while ( i >= 0 && ( eDIV = aDIVs[i--] ) ) + { + if ( eDIV.style.pageBreakAfter == 'always' && eDIV.childNodes.length == 1 && eDIV.childNodes[0].style && eDIV.childNodes[0].style.display == 'none' ) + { + var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', eDIV.cloneNode(true) ) ; + + eDIV.parentNode.insertBefore( oFakeImage, eDIV ) ; + eDIV.parentNode.removeChild( eDIV ) ; + } + } +/* + var aCenters = document.getElementsByTagName( 'CENTER' ) ; + + var oCenter ; + var i = aCenters.length - 1 ; + while ( i >= 0 && ( oCenter = aCenters[i--] ) ) + { + if ( oCenter.style.pageBreakAfter == 'always' && oCenter.innerHTML.trim().length == 0 ) + { + var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', oCenter.cloneNode(true) ) ; + + oCenter.parentNode.insertBefore( oFakeImage, oCenter ) ; + oCenter.parentNode.removeChild( oCenter ) ; + } + } +*/ +} + +// Flash Embeds. +var FCKFlashProcessor = FCKDocumentProcessor.AppendNew() ; +FCKFlashProcessor.ProcessDocument = function( document ) +{ + /* + Sample code: + This is some sample text. You are  using FCKeditor. + */ + + var aEmbeds = document.getElementsByTagName( 'EMBED' ) ; + + var oEmbed ; + var i = aEmbeds.length - 1 ; + while ( i >= 0 && ( oEmbed = aEmbeds[i--] ) ) + { + if ( oEmbed.src.endsWith( '.swf', true ) ) + { + var oCloned = oEmbed.cloneNode( true ) ; + + // On IE, some properties are not getting clonned properly, so we + // must fix it. Thanks to Alfonso Martinez. + if ( FCKBrowserInfo.IsIE ) + { + var oAtt ; + if ( oAtt = oEmbed.getAttribute( 'scale' ) ) oCloned.setAttribute( 'scale', oAtt ) ; + if ( oAtt = oEmbed.getAttribute( 'play' ) ) oCloned.setAttribute( 'play', oAtt ) ; + if ( oAtt = oEmbed.getAttribute( 'loop' ) ) oCloned.setAttribute( 'loop', oAtt ) ; + if ( oAtt = oEmbed.getAttribute( 'menu' ) ) oCloned.setAttribute( 'menu', oAtt ) ; + if ( oAtt = oEmbed.getAttribute( 'wmode' ) ) oCloned.setAttribute( 'wmode', oAtt ) ; + if ( oAtt = oEmbed.getAttribute( 'quality' ) ) oCloned.setAttribute( 'quality', oAtt ) ; + } + + var oImg = FCKDocumentProcessor_CreateFakeImage( 'FCK__Flash', oCloned ) ; + oImg.setAttribute( '_fckflash', 'true', 0 ) ; + + FCKFlashProcessor.RefreshView( oImg, oEmbed ) ; + + oEmbed.parentNode.insertBefore( oImg, oEmbed ) ; + oEmbed.parentNode.removeChild( oEmbed ) ; + +// oEmbed.setAttribute( '_fcktemp', 'true', 0) ; +// oEmbed.style.display = 'none' ; +// oEmbed.hidden = true ; + } + } +} + +FCKFlashProcessor.RefreshView = function( placholderImage, originalEmbed ) +{ + if ( originalEmbed.width > 0 ) + placholderImage.style.width = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.width ) ; + + if ( originalEmbed.height > 0 ) + placholderImage.style.height = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.height ) ; +} + +FCK.GetRealElement = function( fakeElement ) +{ + var e = FCKTempBin.Elements[ fakeElement.getAttribute('_fckrealelement') ] ; + + if ( fakeElement.getAttribute('_fckflash') ) + { + if ( fakeElement.style.width.length > 0 ) + e.width = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.width ) ; + + if ( fakeElement.style.height.length > 0 ) + e.height = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.height ) ; + } + + return e ; +} + +// START iCM MODIFICATIONS +/* +var FCKTablesProcessor = FCKDocumentProcessor.AppendNew() ; +FCKTablesProcessor.ProcessDocument = function( document ) +{ + FCKTablesProcessor.CheckTablesNesting( document ) ; +} + +// Ensure that tables are not incorrectly nested within P, H1, H2, etc tags +FCKTablesProcessor.CheckTablesNesting = function( document ) +{ + var aTables = document.getElementsByTagName( "TABLE" ) ; + var oParentNode ; + + for ( var i=0; i]+)/gi ; + +FCKRegexLib.Html4DocType = /HTML 4\.0 Transitional/i ; \ No newline at end of file Fisheye: Tag 1.5 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/_source/internals/fckscriptloader.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/_source/internals/fckselection.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckselection.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/internals/fckselection.js 12 Dec 2005 05:18:54 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/internals/fckselection.js 16 Aug 2006 06:05:54 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -17,6 +17,4 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKSelection = new Object() ; - -FCK.Selection = FCKSelection ; +var FCKSelection = FCK.Selection = new Object() ; Index: lams_central/web/fckeditor/editor/_source/internals/fckselection_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckselection_gecko.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckselection_gecko.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckselection_gecko.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -33,7 +33,7 @@ if ( oSel && oSel.rangeCount == 1 ) { var oRange = oSel.getRangeAt(0) ; - if ( oRange.startContainer == oRange.endContainer && (oRange.endOffset - oRange.startOffset) == 1 ) + if ( oRange.startContainer == oRange.endContainer && (oRange.endOffset - oRange.startOffset) == 1 && oRange.startContainer.nodeType != Node.TEXT_NODE ) this._Type = 'Control' ; } // } @@ -72,7 +72,7 @@ FCKSelection.SelectNode = function( element ) { - FCK.Focus() ; +// FCK.Focus() ; var oRange = FCK.EditorDocument.createRange() ; oRange.selectNode( element ) ; Index: lams_central/web/fckeditor/editor/_source/internals/fckselection_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckselection_ie.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/internals/fckselection_ie.js 12 Dec 2005 05:18:54 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/internals/fckselection_ie.js 16 Aug 2006 06:05:54 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -53,17 +53,32 @@ { FCK.Focus() ; FCK.EditorDocument.selection.empty() ; - var oRange = FCK.EditorDocument.selection.createRange() ; - oRange.moveToElementText( node ) ; + + try + { + // Try to select the node as a control. + var oRange = FCK.EditorDocument.body.createControlRange() ; + oRange.addElement( node ) ; + } + catch(e) + { + // If failed, select it as a text range. + var oRange = FCK.EditorDocument.selection.createRange() ; + oRange.moveToElementText( node ) ; + } + oRange.select() ; } FCKSelection.Collapse = function( toStart ) { FCK.Focus() ; - var oRange = FCK.EditorDocument.selection.createRange() ; - oRange.collapse( toStart == null || toStart === true ) ; - oRange.select() ; + if ( this.GetType() == 'Text' ) + { + var oRange = FCK.EditorDocument.selection.createRange() ; + oRange.collapse( toStart == null || toStart === true ) ; + oRange.select() ; + } } // The "nodeTagName" parameter must be Upper Case. Index: lams_central/web/fckeditor/editor/_source/internals/fcktablehandler.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktablehandler.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fcktablehandler.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fcktablehandler.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -103,7 +103,7 @@ oCell = oRow.cells[iIndex-1].cloneNode(false) ; if ( FCKBrowserInfo.IsGecko ) - oCell.innerHTML = FCKBrowserInfo.IsGecko ? GECKO_BOGUS : '' ; + oCell.innerHTML = GECKO_BOGUS ; // Get the cell that is placed in the new cell place. var oBaseCell = oRow.cells[iIndex] ; @@ -218,21 +218,40 @@ var iColSpan = isNaN( aCells[0].colSpan ) ? 1 : aCells[0].colSpan ; var sHtml = '' ; + var oCellsContents = FCK.EditorDocument.createDocumentFragment() ; - for ( var i = aCells.length - 1 ; i > 0 ; i-- ) + for ( var i = aCells.length - 1 ; i >= 0 ; i-- ) { - iColSpan += isNaN( aCells[i].colSpan ) ? 1 : aCells[i].colSpan ; + var eCell = aCells[i] ; - // Append the HTML of each cell. - sHtml = aCells[i].innerHTML + sHtml ; + // Move its contents to the document fragment. + for ( var c = eCell.childNodes.length - 1 ; c >= 0 ; c-- ) + { + var eChild = eCell.removeChild( eCell.childNodes[c] ) ; + + if ( ( eChild.hasAttribute && eChild.hasAttribute('_moz_editor_bogus_node') ) || ( eChild.getAttribute && eChild.getAttribute( 'type', 2 ) == '_moz' ) ) + continue ; + + oCellsContents.insertBefore( eChild, oCellsContents.firstChild ) ; + } - // Delete the cell. - FCKTableHandler.DeleteCell( aCells[i] ) ; + if ( i > 0 ) + { + // Accumulate the colspan of the cell. + iColSpan += isNaN( eCell.colSpan ) ? 1 : eCell.colSpan ; + + // Delete the cell. + FCKTableHandler.DeleteCell( eCell ) ; + } } // Set the innerHTML of the remaining cell (the first one). aCells[0].colSpan = iColSpan ; - aCells[0].innerHTML += sHtml ; + + if ( FCKBrowserInfo.IsGecko && oCellsContents.childNodes.length == 0 ) + aCells[0].innerHTML = GECKO_BOGUS ; + else + aCells[0].appendChild( oCellsContents ) ; } FCKTableHandler.SplitCell = function() Index: lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktablehandler_gecko.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_gecko.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_gecko.js 16 Aug 2006 06:05:54 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -26,7 +26,7 @@ // If the selection is a text. if ( oSelection.rangeCount == 1 && oSelection.anchorNode.nodeType == 3 ) { - var oParent = FCKTools.GetElementAscensor( oSelection.anchorNode, 'TD' ) ; + var oParent = FCKTools.GetElementAscensor( oSelection.anchorNode, 'TD,TH' ) ; if ( oParent ) { @@ -38,9 +38,14 @@ for ( var i = 0 ; i < oSelection.rangeCount ; i++ ) { var oRange = oSelection.getRangeAt(i) ; - var oCell = oRange.startContainer.childNodes[ oRange.startOffset ] ; + var oCell ; - if ( oCell.tagName == 'TD' ) + if ( oRange.startContainer.tagName.Equals( 'TD', 'TH' ) ) + oCell = oRange.startContainer ; + else + oCell = oRange.startContainer.childNodes[ oRange.startOffset ] ; + + if ( oCell.tagName.Equals( 'TD', 'TH' ) ) aCells[aCells.length] = oCell ; } Index: lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktablehandler_ie.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_ie.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_ie.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -25,7 +25,7 @@ // var oParent = oRange.parentElement() ; var oParent = FCKSelection.GetParentElement() ; - if ( oParent && oParent.tagName == "TD" ) + if ( oParent && oParent.tagName.Equals( 'TD', 'TH' ) ) aCells[0] = oParent ; else { Index: lams_central/web/fckeditor/editor/_source/internals/fcktoolbaritems.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktoolbaritems.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fcktoolbaritems.js 12 Dec 2005 05:18:54 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fcktoolbaritems.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -34,77 +34,78 @@ switch ( itemName ) { - case 'Source' : oItem = new FCKToolbarButton( 'Source' , FCKLang.Source, null, FCK_TOOLBARITEM_ICONTEXT, true, true ) ; break ; - case 'DocProps' : oItem = new FCKToolbarButton( 'DocProps' , FCKLang.DocProps ) ; break ; - case 'Templates' : oItem = new FCKToolbarButton( 'Templates' , FCKLang.Templates ) ; break ; - case 'Save' : oItem = new FCKToolbarButton( 'Save' , FCKLang.Save, null, null, true ) ; break ; - case 'NewPage' : oItem = new FCKToolbarButton( 'NewPage' , FCKLang.NewPage, null, null, true ) ; break ; - case 'Preview' : oItem = new FCKToolbarButton( 'Preview' , FCKLang.Preview, null, null, true ) ; break ; - case 'About' : oItem = new FCKToolbarButton( 'About' , FCKLang.About, null, null, true ) ; break ; + case 'Source' : oItem = new FCKToolbarButton( 'Source' , FCKLang.Source, null, FCK_TOOLBARITEM_ICONTEXT, true, true, 1 ) ; break ; + case 'DocProps' : oItem = new FCKToolbarButton( 'DocProps' , FCKLang.DocProps, null, null, null, null, 2 ) ; break ; + case 'Save' : oItem = new FCKToolbarButton( 'Save' , FCKLang.Save, null, null, true, null, 3 ) ; break ; + case 'NewPage' : oItem = new FCKToolbarButton( 'NewPage' , FCKLang.NewPage, null, null, true, null, 4 ) ; break ; + case 'Preview' : oItem = new FCKToolbarButton( 'Preview' , FCKLang.Preview, null, null, true, null, 5 ) ; break ; + case 'Templates' : oItem = new FCKToolbarButton( 'Templates' , FCKLang.Templates, null, null, null, null, 6 ) ; break ; + case 'About' : oItem = new FCKToolbarButton( 'About' , FCKLang.About, null, null, true, null, 47 ) ; break ; - case 'Cut' : oItem = new FCKToolbarButton( 'Cut' , FCKLang.Cut, null, null, false, true ) ; break ; - case 'Copy' : oItem = new FCKToolbarButton( 'Copy' , FCKLang.Copy, null, null, false, true ) ; break ; - case 'Paste' : oItem = new FCKToolbarButton( 'Paste' , FCKLang.Paste, null, null, false, true ) ; break ; - case 'PasteText' : oItem = new FCKToolbarButton( 'PasteText' , FCKLang.PasteText, null, null, false, true ) ; break ; - case 'PasteWord' : oItem = new FCKToolbarButton( 'PasteWord' , FCKLang.PasteWord, null, null, false, true ) ; break ; - case 'Print' : oItem = new FCKToolbarButton( 'Print' , FCKLang.Print, null, null, false, true ) ; break ; - case 'SpellCheck' : oItem = new FCKToolbarButton( 'SpellCheck', FCKLang.SpellCheck ) ; break ; - case 'Undo' : oItem = new FCKToolbarButton( 'Undo' , FCKLang.Undo, null, null, false, true ) ; break ; - case 'Redo' : oItem = new FCKToolbarButton( 'Redo' , FCKLang.Redo, null, null, false, true ) ; break ; - case 'SelectAll' : oItem = new FCKToolbarButton( 'SelectAll' , FCKLang.SelectAll ) ; break ; - case 'RemoveFormat' : oItem = new FCKToolbarButton( 'RemoveFormat', FCKLang.RemoveFormat, null, null, false, true ) ; break ; + case 'Cut' : oItem = new FCKToolbarButton( 'Cut' , FCKLang.Cut, null, null, false, true, 7 ) ; break ; + case 'Copy' : oItem = new FCKToolbarButton( 'Copy' , FCKLang.Copy, null, null, false, true, 8 ) ; break ; + case 'Paste' : oItem = new FCKToolbarButton( 'Paste' , FCKLang.Paste, null, null, false, true, 9 ) ; break ; + case 'PasteText' : oItem = new FCKToolbarButton( 'PasteText' , FCKLang.PasteText, null, null, false, true, 10 ) ; break ; + case 'PasteWord' : oItem = new FCKToolbarButton( 'PasteWord' , FCKLang.PasteWord, null, null, false, true, 11 ) ; break ; + case 'Print' : oItem = new FCKToolbarButton( 'Print' , FCKLang.Print, null, null, false, true, 12 ) ; break ; + case 'SpellCheck' : oItem = new FCKToolbarButton( 'SpellCheck', FCKLang.SpellCheck, null, null, null, null, 13 ) ; break ; + case 'Undo' : oItem = new FCKToolbarButton( 'Undo' , FCKLang.Undo, null, null, false, true, 14 ) ; break ; + case 'Redo' : oItem = new FCKToolbarButton( 'Redo' , FCKLang.Redo, null, null, false, true, 15 ) ; break ; + case 'SelectAll' : oItem = new FCKToolbarButton( 'SelectAll' , FCKLang.SelectAll, null, null, null, null, 18 ) ; break ; + case 'RemoveFormat' : oItem = new FCKToolbarButton( 'RemoveFormat', FCKLang.RemoveFormat, null, null, false, true, 19 ) ; break ; + case 'FitWindow' : oItem = new FCKToolbarButton( 'FitWindow' , FCKLang.FitWindow, null, null, true, true, 66 ) ; break ; - case 'Bold' : oItem = new FCKToolbarButton( 'Bold' , FCKLang.Bold, null, null, false, true ) ; break ; - case 'Italic' : oItem = new FCKToolbarButton( 'Italic' , FCKLang.Italic, null, null, false, true ) ; break ; - case 'Underline' : oItem = new FCKToolbarButton( 'Underline' , FCKLang.Underline, null, null, false, true ) ; break ; - case 'StrikeThrough' : oItem = new FCKToolbarButton( 'StrikeThrough' , FCKLang.StrikeThrough, null, null, false, true ) ; break ; - case 'Subscript' : oItem = new FCKToolbarButton( 'Subscript' , FCKLang.Subscript, null, null, false, true ) ; break ; - case 'Superscript' : oItem = new FCKToolbarButton( 'Superscript' , FCKLang.Superscript, null, null, false, true ) ; break ; + case 'Bold' : oItem = new FCKToolbarButton( 'Bold' , FCKLang.Bold, null, null, false, true, 20 ) ; break ; + case 'Italic' : oItem = new FCKToolbarButton( 'Italic' , FCKLang.Italic, null, null, false, true, 21 ) ; break ; + case 'Underline' : oItem = new FCKToolbarButton( 'Underline' , FCKLang.Underline, null, null, false, true, 22 ) ; break ; + case 'StrikeThrough' : oItem = new FCKToolbarButton( 'StrikeThrough' , FCKLang.StrikeThrough, null, null, false, true, 23 ) ; break ; + case 'Subscript' : oItem = new FCKToolbarButton( 'Subscript' , FCKLang.Subscript, null, null, false, true, 24 ) ; break ; + case 'Superscript' : oItem = new FCKToolbarButton( 'Superscript' , FCKLang.Superscript, null, null, false, true, 25 ) ; break ; - case 'OrderedList' : oItem = new FCKToolbarButton( 'InsertOrderedList' , FCKLang.NumberedListLbl, FCKLang.NumberedList, null, false, true ) ; break ; - case 'UnorderedList' : oItem = new FCKToolbarButton( 'InsertUnorderedList' , FCKLang.BulletedListLbl, FCKLang.BulletedList, null, false, true ) ; break ; - case 'Outdent' : oItem = new FCKToolbarButton( 'Outdent' , FCKLang.DecreaseIndent, null, null, false, true ) ; break ; - case 'Indent' : oItem = new FCKToolbarButton( 'Indent' , FCKLang.IncreaseIndent, null, null, false, true ) ; break ; + case 'OrderedList' : oItem = new FCKToolbarButton( 'InsertOrderedList' , FCKLang.NumberedListLbl, FCKLang.NumberedList, null, false, true, 26 ) ; break ; + case 'UnorderedList' : oItem = new FCKToolbarButton( 'InsertUnorderedList' , FCKLang.BulletedListLbl, FCKLang.BulletedList, null, false, true, 27 ) ; break ; + case 'Outdent' : oItem = new FCKToolbarButton( 'Outdent' , FCKLang.DecreaseIndent, null, null, false, true, 28 ) ; break ; + case 'Indent' : oItem = new FCKToolbarButton( 'Indent' , FCKLang.IncreaseIndent, null, null, false, true, 29 ) ; break ; - case 'Link' : oItem = new FCKToolbarButton( 'Link' , FCKLang.InsertLinkLbl, FCKLang.InsertLink, null, false, true ) ; break ; - case 'Unlink' : oItem = new FCKToolbarButton( 'Unlink' , FCKLang.RemoveLink, null, null, false, true ) ; break ; - case 'Anchor' : oItem = new FCKToolbarButton( 'Anchor' , FCKLang.Anchor ) ; break ; + case 'Link' : oItem = new FCKToolbarButton( 'Link' , FCKLang.InsertLinkLbl, FCKLang.InsertLink, null, false, true, 34 ) ; break ; + case 'Unlink' : oItem = new FCKToolbarButton( 'Unlink' , FCKLang.RemoveLink, null, null, false, true, 35 ) ; break ; + case 'Anchor' : oItem = new FCKToolbarButton( 'Anchor' , FCKLang.Anchor, null, null, null, null, 36 ) ; break ; - case 'Image' : oItem = new FCKToolbarButton( 'Image' , FCKLang.InsertImageLbl, FCKLang.InsertImage ) ; break ; - case 'Flash' : oItem = new FCKToolbarButton( 'Flash' , FCKLang.InsertFlashLbl, FCKLang.InsertFlash ) ; break ; - case 'Table' : oItem = new FCKToolbarButton( 'Table' , FCKLang.InsertTableLbl, FCKLang.InsertTable ) ; break ; - case 'SpecialChar' : oItem = new FCKToolbarButton( 'SpecialChar' , FCKLang.InsertSpecialCharLbl, FCKLang.InsertSpecialChar ) ; break ; - case 'Smiley' : oItem = new FCKToolbarButton( 'Smiley' , FCKLang.InsertSmileyLbl, FCKLang.InsertSmiley ) ; break ; - case 'PageBreak' : oItem = new FCKToolbarButton( 'PageBreak' , FCKLang.PageBreakLbl, FCKLang.PageBreak ) ; break ; - case 'UniversalKey' : oItem = new FCKToolbarButton( 'UniversalKey' , FCKLang.UniversalKeyboard ) ; break ; + case 'Image' : oItem = new FCKToolbarButton( 'Image' , FCKLang.InsertImageLbl, FCKLang.InsertImage, null, false, true, 37 ) ; break ; + case 'Flash' : oItem = new FCKToolbarButton( 'Flash' , FCKLang.InsertFlashLbl, FCKLang.InsertFlash, null, false, true, 38 ) ; break ; + case 'Table' : oItem = new FCKToolbarButton( 'Table' , FCKLang.InsertTableLbl, FCKLang.InsertTable, null, false, true, 39 ) ; break ; + case 'SpecialChar' : oItem = new FCKToolbarButton( 'SpecialChar' , FCKLang.InsertSpecialCharLbl, FCKLang.InsertSpecialChar, null, false, true, 42 ) ; break ; + case 'Smiley' : oItem = new FCKToolbarButton( 'Smiley' , FCKLang.InsertSmileyLbl, FCKLang.InsertSmiley, null, false, true, 41 ) ; break ; + case 'PageBreak' : oItem = new FCKToolbarButton( 'PageBreak' , FCKLang.PageBreakLbl, FCKLang.PageBreak, null, false, true, 43 ) ; break ; + case 'UniversalKey' : oItem = new FCKToolbarButton( 'UniversalKey' , FCKLang.UniversalKeyboard , null, null, false, true, 44) ; break ; - case 'Rule' : oItem = new FCKToolbarButton( 'InsertHorizontalRule', FCKLang.InsertLineLbl, FCKLang.InsertLine, null, false, true ) ; break ; + case 'Rule' : oItem = new FCKToolbarButton( 'InsertHorizontalRule', FCKLang.InsertLineLbl, FCKLang.InsertLine, null, false, true, 40 ) ; break ; - case 'JustifyLeft' : oItem = new FCKToolbarButton( 'JustifyLeft' , FCKLang.LeftJustify, null, null, false, true ) ; break ; - case 'JustifyCenter' : oItem = new FCKToolbarButton( 'JustifyCenter' , FCKLang.CenterJustify, null, null, false, true ) ; break ; - case 'JustifyRight' : oItem = new FCKToolbarButton( 'JustifyRight' , FCKLang.RightJustify, null, null, false, true ) ; break ; - case 'JustifyFull' : oItem = new FCKToolbarButton( 'JustifyFull' , FCKLang.BlockJustify, null, null, false, true ) ; break ; + case 'JustifyLeft' : oItem = new FCKToolbarButton( 'JustifyLeft' , FCKLang.LeftJustify, null, null, false, true, 30 ) ; break ; + case 'JustifyCenter' : oItem = new FCKToolbarButton( 'JustifyCenter' , FCKLang.CenterJustify, null, null, false, true, 31 ) ; break ; + case 'JustifyRight' : oItem = new FCKToolbarButton( 'JustifyRight' , FCKLang.RightJustify, null, null, false, true, 32 ) ; break ; + case 'JustifyFull' : oItem = new FCKToolbarButton( 'JustifyFull' , FCKLang.BlockJustify, null, null, false, true, 33 ) ; break ; case 'Style' : oItem = new FCKToolbarStyleCombo() ; break ; case 'FontName' : oItem = new FCKToolbarFontsCombo() ; break ; case 'FontSize' : oItem = new FCKToolbarFontSizeCombo() ; break ; case 'FontFormat' : oItem = new FCKToolbarFontFormatCombo() ; break ; - case 'TextColor' : oItem = new FCKToolbarPanelButton( 'TextColor', FCKLang.TextColor ) ; break ; - case 'BGColor' : oItem = new FCKToolbarPanelButton( 'BGColor' , FCKLang.BGColor ) ; break ; + case 'TextColor' : oItem = new FCKToolbarPanelButton( 'TextColor', FCKLang.TextColor, null, null, 45 ) ; break ; + case 'BGColor' : oItem = new FCKToolbarPanelButton( 'BGColor' , FCKLang.BGColor, null, null, 46 ) ; break ; - case 'Find' : oItem = new FCKToolbarButton( 'Find' , FCKLang.Find ) ; break ; - case 'Replace' : oItem = new FCKToolbarButton( 'Replace' , FCKLang.Replace ) ; break ; + case 'Find' : oItem = new FCKToolbarButton( 'Find' , FCKLang.Find, null, null, null, null, 16 ) ; break ; + case 'Replace' : oItem = new FCKToolbarButton( 'Replace' , FCKLang.Replace, null, null, null, null, 17 ) ; break ; - case 'Form' : oItem = new FCKToolbarButton( 'Form' , FCKLang.Form ) ; break ; - case 'Checkbox' : oItem = new FCKToolbarButton( 'Checkbox' , FCKLang.Checkbox ) ; break ; - case 'Radio' : oItem = new FCKToolbarButton( 'Radio' , FCKLang.RadioButton ) ; break ; - case 'TextField' : oItem = new FCKToolbarButton( 'TextField' , FCKLang.TextField ) ; break ; - case 'Textarea' : oItem = new FCKToolbarButton( 'Textarea' , FCKLang.Textarea ) ; break ; - case 'HiddenField' : oItem = new FCKToolbarButton( 'HiddenField' , FCKLang.HiddenField ) ; break ; - case 'Button' : oItem = new FCKToolbarButton( 'Button' , FCKLang.Button ) ; break ; - case 'Select' : oItem = new FCKToolbarButton( 'Select' , FCKLang.SelectionField ) ; break ; - case 'ImageButton' : oItem = new FCKToolbarButton( 'ImageButton' , FCKLang.ImageButton ) ; break ; + case 'Form' : oItem = new FCKToolbarButton( 'Form' , FCKLang.Form, null, null, null, null, 48 ) ; break ; + case 'Checkbox' : oItem = new FCKToolbarButton( 'Checkbox' , FCKLang.Checkbox, null, null, null, null, 49 ) ; break ; + case 'Radio' : oItem = new FCKToolbarButton( 'Radio' , FCKLang.RadioButton, null, null, null, null, 50 ) ; break ; + case 'TextField' : oItem = new FCKToolbarButton( 'TextField' , FCKLang.TextField, null, null, null, null, 51 ) ; break ; + case 'Textarea' : oItem = new FCKToolbarButton( 'Textarea' , FCKLang.Textarea, null, null, null, null, 52 ) ; break ; + case 'HiddenField' : oItem = new FCKToolbarButton( 'HiddenField' , FCKLang.HiddenField, null, null, null, null, 56 ) ; break ; + case 'Button' : oItem = new FCKToolbarButton( 'Button' , FCKLang.Button, null, null, null, null, 54 ) ; break ; + case 'Select' : oItem = new FCKToolbarButton( 'Select' , FCKLang.SelectionField, null, null, null, null, 53 ) ; break ; + case 'ImageButton' : oItem = new FCKToolbarButton( 'ImageButton' , FCKLang.ImageButton, null, null, null, null, 55 ) ; break ; default: alert( FCKLang.UnknownToolbarItem.replace( /%1/g, itemName ) ) ; Index: lams_central/web/fckeditor/editor/_source/internals/fcktoolbarset.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktoolbarset.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/internals/fcktoolbarset.js 12 Dec 2005 05:18:54 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/internals/fcktoolbarset.js 16 Aug 2006 06:05:54 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -18,62 +18,211 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarSet = FCK.ToolbarSet = new Object() ; +function FCKToolbarSet_Create( overhideLocation ) +{ + var oToolbarSet ; + + var sLocation = overhideLocation || FCKConfig.ToolbarLocation ; + switch ( sLocation ) + { + case 'In' : + document.getElementById( 'xToolbarRow' ).style.display = '' ; + oToolbarSet = new FCKToolbarSet( document ) ; + break ; + +// case 'OutTop' : + // Not supported. + + default : + FCK.Events.AttachEvent( 'OnBlur', FCK_OnBlur ) ; + FCK.Events.AttachEvent( 'OnFocus', FCK_OnFocus ) ; -document.getElementById( 'ExpandHandle' ).title = FCKLang.ToolbarExpand ; -document.getElementById( 'CollapseHandle' ).title = FCKLang.ToolbarCollapse ; + var eToolbarTarget ; + + // Out:[TargetWindow]([TargetId]) + var oOutMatch = sLocation.match( /^Out:(.+)\((\w+)\)$/ ) ; + if ( oOutMatch ) + { + eToolbarTarget = eval( 'parent.' + oOutMatch[1] ).document.getElementById( oOutMatch[2] ) ; + } + else + { + // Out:[TargetId] + oOutMatch = sLocation.match( /^Out:(\w+)$/ ) ; + if ( oOutMatch ) + eToolbarTarget = parent.document.getElementById( oOutMatch[1] ) ; + } + + if ( !eToolbarTarget ) + { + alert( 'Invalid value for "ToolbarLocation"' ) ; + return this._Init( 'In' ) ; + } + + // If it is a shared toolbar, it may be already available in the target element. + if ( oToolbarSet = eToolbarTarget.__FCKToolbarSet ) + break ; -FCKToolbarSet.Toolbars = new Array() ; + // Create the IFRAME that will hold the toolbar inside the target element. + var eToolbarIFrame = FCKTools.GetElementDocument( eToolbarTarget ).createElement( 'iframe' ) ; + eToolbarIFrame.frameBorder = 0 ; + eToolbarIFrame.width = '100%' ; + eToolbarIFrame.height = '10' ; + eToolbarTarget.appendChild( eToolbarIFrame ) ; + eToolbarIFrame.unselectable = 'on' ; + + // Write the basic HTML for the toolbar (copy from the editor main page). + var eTargetDocument = eToolbarIFrame.contentWindow.document ; + eTargetDocument.open() ; + eTargetDocument.write( '' + document.getElementById( 'xToolbarSpace' ).innerHTML + '' ) ; + eTargetDocument.close() ; + + eTargetDocument.oncontextmenu = FCKTools.CancelEvent ; -// Array of toolbat items that are active only on WYSIWYG mode. -FCKToolbarSet.ItemsWysiwygOnly = new Array() ; + // 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 ; -// Array of toolbar items that are sensitive to the cursor position. -FCKToolbarSet.ItemsContextSensitive = new Array() ; + if ( FCK.IECleanup ) + FCK.IECleanup.AddItem( eToolbarTarget, FCKToolbarSet_Target_Cleanup ) ; + } + + oToolbarSet.CurrentInstance = FCK ; -FCKToolbarSet.Expand = function() + FCK.AttachToOnSelectionChange( oToolbarSet.RefreshItemsState ) ; + + return oToolbarSet ; +} + +function FCK_OnBlur( editorInstance ) { - document.getElementById( 'Collapsed' ).style.display = 'none' ; - document.getElementById( 'Expanded' ).style.display = '' ; + var eToolbarSet = editorInstance.ToolbarSet ; - if ( ! FCKBrowserInfo.IsIE ) - { - // I had to use "setTimeout" because Gecko was not responding in a right - // way when calling window.onresize() directly. - window.setTimeout( "window.onresize()", 1 ) ; - } + if ( eToolbarSet.CurrentInstance == editorInstance ) + eToolbarSet.Disable() ; } -FCKToolbarSet.Collapse = function() +function FCK_OnFocus( editorInstance ) { - document.getElementById( 'Collapsed' ).style.display = '' ; - document.getElementById( 'Expanded' ).style.display = 'none' ; + var oToolbarset = editorInstance.ToolbarSet ; + var oInstance = editorInstance || FCK ; - if ( ! FCKBrowserInfo.IsIE ) - { - // I had to use "setTimeout" because Gecko was not responding in a right - // way when calling window.onresize() directly. - window.setTimeout( "window.onresize()", 1 ) ; - } + // 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 ) ; + + oToolbarset.Enable() ; } -FCKToolbarSet.Restart = function() +function FCKToolbarSet_Cleanup() { + this._TargetElement = null ; + this._IFrame = null ; +} + +function FCKToolbarSet_Target_Cleanup() +{ + this.__FCKToolbarSet = null ; +} + +var FCKToolbarSet = function( 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 ; + + // Set the toolbar state at startup. if ( !FCKConfig.ToolbarCanCollapse || FCKConfig.ToolbarStartExpanded ) this.Expand() ; else this.Collapse() ; + + // Enable/disable the collapse handler + eCollapseHandle.style.display = FCKConfig.ToolbarCanCollapse ? '' : 'none' ; + + if ( FCKConfig.ToolbarCanCollapse ) + eCollapseHandle.style.display = '' ; + else + targetDocument.getElementById( 'xTBLeftBorder' ).style.display = '' ; + + // Set the default properties. + 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( collapse ) +{ + this._Document.getElementById( 'xCollapsed' ).style.display = collapse ? '' : 'none' ; + this._Document.getElementById( 'xExpanded' ).style.display = collapse ? 'none' : '' ; - document.getElementById( 'CollapseHandle' ).style.display = FCKConfig.ToolbarCanCollapse ? '' : 'none' ; + if ( FCKBrowserInfo.IsGecko ) + { + // I had to use "setTimeout" because Gecko was not responding in a right + // way when calling window.onresize() directly. + FCKTools.RunFunction( window.onresize ) ; + } } -FCKToolbarSet.Load = function( toolbarSetName ) +FCKToolbarSet.prototype.Load = function( toolbarSetName ) { - this.DOMElement = document.getElementById( 'eToolbar' ) ; + 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) + if ( !ToolbarSet ) { alert( FCKLang.UnknownToolbarSet.replace( /%1/g, toolbarSetName ) ) ; return ; @@ -109,58 +258,95 @@ { oToolbar.AddItem( oItem ) ; + this.Items.push( oItem ) ; + if ( !oItem.SourceView ) - this.ItemsWysiwygOnly[this.ItemsWysiwygOnly.length] = oItem ; + this.ItemsWysiwygOnly.push( oItem ) ; if ( oItem.ContextSensitive ) - this.ItemsContextSensitive[this.ItemsContextSensitive.length] = oItem ; + this.ItemsContextSensitive.push( oItem ) ; } } } - oToolbar.AddTerminator() ; + // 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 ) + FCK.Events.AttachEvent( 'OnStatusChange', this.RefreshModeState ) ; + else + this.RefreshModeState() ; + + this.IsLoaded = true ; + this.IsEnabled = true ; + + FCKTools.RunFunction( this.OnLoad ) ; } -FCKToolbarSet.RefreshModeState = function() +FCKToolbarSet.prototype.Enable = function() { + if ( this.IsEnabled ) + return ; + + this.IsEnabled = true ; + + var aItems = this.Items ; + for ( var i = 0 ; i < aItems.length ; i++ ) + aItems[i].RefreshState() ; +} + +FCKToolbarSet.prototype.Disable = function() +{ + if ( !this.IsEnabled ) + return ; + + this.IsEnabled = false ; + + var aItems = this.Items ; + for ( var i = 0 ; i < aItems.length ; i++ ) + aItems[i].Disable() ; +} + +FCKToolbarSet.prototype.RefreshModeState = function( editorInstance ) +{ + if ( FCK.Status != FCK_STATUS_COMPLETE ) + return ; + + 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. - for ( var i = 0 ; i < FCKToolbarSet.ItemsWysiwygOnly.length ; i++ ) - FCKToolbarSet.ItemsWysiwygOnly[i].Enable() ; + for ( var i = 0 ; i < aItems.length ; i++ ) + aItems[i].Enable() ; // Refresh the buttons state. - FCKToolbarSet.RefreshItemsState() ; + oToolbarSet.RefreshItemsState( editorInstance ) ; } else { // Refresh the buttons state. - FCKToolbarSet.RefreshItemsState() ; + oToolbarSet.RefreshItemsState( editorInstance ) ; // Disable all buttons that are available on WYSIWYG mode only. - for ( var i = 0 ; i < FCKToolbarSet.ItemsWysiwygOnly.length ; i++ ) - FCKToolbarSet.ItemsWysiwygOnly[i].Disable() ; + for ( var i = 0 ; i < aItems.length ; i++ ) + aItems[i].Disable() ; } } -FCKToolbarSet.RefreshItemsState = function() +FCKToolbarSet.prototype.RefreshItemsState = function( editorInstance ) { - - for ( var i = 0 ; i < FCKToolbarSet.ItemsContextSensitive.length ; i++ ) - FCKToolbarSet.ItemsContextSensitive[i].RefreshState() ; -/* - TODO: Delete this commented block on stable version. - for ( var i = 0 ; i < FCKToolbarSet.Toolbars.length ; i++ ) - { - var oToolbar = FCKToolbarSet.Toolbars[i] ; - for ( var j = 0 ; j < oToolbar.Items.length ; j++ ) - { - oToolbar.Items[j].RefreshState() ; - } - } -*/ + + var aItems = ( editorInstance ? editorInstance.ToolbarSet : this ).ItemsContextSensitive ; + + for ( var i = 0 ; i < aItems.length ; i++ ) + aItems[i].RefreshState() ; } Index: lams_central/web/fckeditor/editor/_source/internals/fcktools.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktools.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fcktools.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fcktools.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -19,20 +19,21 @@ var FCKTools = new Object() ; -//** -// FCKTools.GetLinkedFieldValue: 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 reffers to the instance name when getting -// the posted data. +/** + * 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() { return FCK.LinkedField.value ; } -//** -// FCKTools.AttachToLinkedFieldFormSubmit: attaches 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. +/** + * 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 @@ -45,7 +46,7 @@ if ( FCKBrowserInfo.IsIE ) oForm.attachEvent( "onsubmit", functionPointer ) ; else - oForm.addEventListener( 'submit', functionPointer, true ) ; + oForm.addEventListener( 'submit', functionPointer, false ) ; //** // Attaches the functionPointer call to the submit method @@ -85,87 +86,33 @@ this.originalSubmit() ; } -//** -// FCKTools.AddSelectOption: Adds a option to a SELECT element. -FCKTools.AddSelectOption = function( targetDocument, selectElement, optionText, optionValue ) +// Get the window object where the element is placed in. +FCKTools.GetElementWindow = function( element ) { - var oOption = targetDocument.createElement("OPTION") ; - - oOption.text = optionText ; - oOption.value = optionValue ; - - selectElement.options.add(oOption) ; - - return oOption ; + return this.GetDocumentWindow( this.GetElementDocument( element ) ) ; } -/* -FCKTools.RemoveAllSelectOptions = function( selectElement ) -{ - for ( var i = selectElement.options.length - 1 ; i >= 0 ; i-- ) - { - selectElement.options.remove(i) ; - } -} -FCKTools.SelectNoCase = function( selectElement, value, defaultValue ) +FCKTools.GetDocumentWindow = function( doc ) { - var sNoCaseValue = value.toString().toLowerCase() ; + // With Safari, there is not way to retrieve the window from the document, so we must fix it. + if ( FCKBrowserInfo.IsSafari && !doc.parentWindow ) + this.FixDocumentParentWindow( window.top ) ; - for ( var i = 0 ; i < selectElement.options.length ; i++ ) - { - if ( sNoCaseValue == selectElement.options[i].value.toLowerCase() ) - { - selectElement.selectedIndex = i ; - return ; - } - } - - if ( defaultValue != null ) FCKTools.SelectNoCase( selectElement, defaultValue ) ; + return doc.parentWindow || doc.defaultView ; } -*/ -FCKTools.HTMLEncode = function( text ) -{ - if ( !text ) - return '' ; - text = text.replace( /&/g, "&" ) ; - text = text.replace( /"/g, """ ) ; - text = text.replace( //g, ">" ) ; - text = text.replace( /'/g, "'" ) ; - - return text ; -} -/* -//** -// FCKTools.GetResultingArray: Gets a array from a string (where the elements -// are separated by a character), a fuction (that returns a array) or a array. -FCKTools.GetResultingArray = function( arraySource, separator ) -{ - switch ( typeof( arraySource ) ) - { - case "string" : - return arraySource.split( separator ) ; - case "function" : - return separator() ; - default : - if ( isArray( arraySource ) ) return arraySource ; - else return new Array() ; - } -} -*/ FCKTools.GetElementPosition = function( el, relativeWindow ) { -// Initializes the Coordinates object that will be returned by the function. + // Initializes the Coordinates object that will be returned by the function. var c = { X:0, Y:0 } ; var oWindow = relativeWindow || window ; // Loop throw the offset chain. while ( el ) { - c.X += el.offsetLeft ; - c.Y += el.offsetTop ; + c.X += el.offsetLeft - el.scrollLeft ; + c.Y += el.offsetTop - el.scrollTop ; if ( el.offsetParent == null ) { @@ -174,7 +121,11 @@ if ( oOwnerWindow != oWindow ) el = oOwnerWindow.frameElement ; else + { + c.X += el.scrollLeft ; + c.Y += el.scrollTop ; break ; + } } else el = el.offsetParent ; @@ -184,145 +135,125 @@ return c ; } -// START iCM MODIFICATIONS -// Amended to accept a list of one or more ascensor tag names -// Amended to check the element itself before working back up through the parent hierarchy -FCKTools.GetElementAscensor = function( element, ascensorTagNames ) +/* + This is a Safari specific function that fix the reference to the parent + window from the document object. +*/ +FCKTools.FixDocumentParentWindow = function( targetWindow ) { -// var e = element.parentNode ; - var e = element ; - var lstTags = "," + ascensorTagNames.toUpperCase() + "," ; + targetWindow.document.parentWindow = targetWindow ; + + for ( var i = 0 ; i < targetWindow.frames.length ; i++ ) + FCKTools.FixDocumentParentWindow( targetWindow.frames[i] ) ; +} - while ( e ) - { - if ( lstTags.indexOf( "," + e.nodeName.toUpperCase() + "," ) != -1 ) - return e ; +FCKTools.GetParentWindow = function( document ) +{ + return document.contentWindow ? document.contentWindow : document.parentWindow ; +} - e = e.parentNode ; - } - return null ; +FCKTools.HTMLEncode = function( text ) +{ + if ( !text ) + return '' ; + + text = text.replace( /&/g, '&' ) ; + text = text.replace( //g, '>' ) ; + + return text ; } -// END iCM MODIFICATIONS -FCKTools.Pause = function( miliseconds ) +/** + * Adds an option to a SELECT element. + */ +FCKTools.AddSelectOption = function( selectElement, optionText, optionValue ) { - var oStart = new Date() ; + var oOption = FCKTools.GetElementDocument( selectElement ).createElement( "OPTION" ) ; - while (true) - { - var oNow = new Date() ; - if ( miliseconds < oNow - oStart ) - return ; - } + oOption.text = optionText ; + oOption.value = optionValue ; + + selectElement.options.add(oOption) ; + + return oOption ; } -FCKTools.ConvertStyleSizeToHtml = function( size ) +FCKTools.RunFunction = function( func, thisObject, paramsArray, timerWindow ) { - return size.endsWith( '%' ) ? size : parseInt( size ) ; + if ( func ) + this.SetTimeout( func, 0, thisObject, paramsArray, timerWindow ) ; } -FCKTools.ConvertHtmlSizeToStyle = function( size ) +FCKTools.SetTimeout = function( func, milliseconds, thisObject, paramsArray, timerWindow ) { - return size.endsWith( '%' ) ? size : ( size + 'px' ) ; + return ( timerWindow || window ).setTimeout( + function() + { + if ( paramsArray ) + func.apply( thisObject, [].concat( paramsArray ) ) ; + else + func.apply( thisObject ) ; + }, + milliseconds ) ; } -// Get the window object where the element is placed in. -FCKTools.GetElementWindow = function( element ) +FCKTools.SetInterval = function( func, milliseconds, thisObject, paramsArray, timerWindow ) { - var oDocument = element.ownerDocument || element.document ; - - // With Safari, there is not way to retrieve the window from the document, so we must fix it. - if ( FCKBrowserInfo.IsSafari && !oDocument.parentWindow ) - FCKTools._FixDocumentParentWindow( window.top ) ; - - return oDocument.parentWindow || oDocument.defaultView ; + return ( timerWindow || window ).setInterval( + function() + { + func.apply( thisObject, paramsArray || [] ) ; + }, + milliseconds ) ; } -/* - This is a Safari specific function that fix the reference to the parent - window from the document object. -*/ -FCKTools._FixDocumentParentWindow = function( targetWindow ) +FCKTools.ConvertStyleSizeToHtml = function( size ) { - targetWindow.document.parentWindow = targetWindow ; - - for ( var i = 0 ; i < targetWindow.frames.length ; i++ ) - FCKTools._FixDocumentParentWindow( targetWindow.frames[i] ) ; + return size.endsWith( '%' ) ? size : parseInt( size ) ; } -FCKTools.CancelEvent = function( e ) +FCKTools.ConvertHtmlSizeToStyle = function( size ) { - return false ; + return size.endsWith( '%' ) ? size : ( size + 'px' ) ; } // START iCM MODIFICATIONS -/* -// Transfers the supplied attributes to the supplied node -FCKTools.SetElementAttributes = function( oElement, oAttributes ) +// Amended to accept a list of one or more ascensor tag names +// Amended to check the element itself before working back up through the parent hierarchy +FCKTools.GetElementAscensor = function( element, ascensorTagNames ) { - for ( var i = 0; i < oAttributes.length; i++ ) +// var e = element.parentNode ; + var e = element ; + var lstTags = "," + ascensorTagNames.toUpperCase() + "," ; + + while ( e ) { - if ( oAttributes[i].specified ) // Needed for IE which always returns all attributes whether set or not - oElement.setAttribute( oAttributes[i].nodeName, oAttributes[i].nodeValue, 0 ) ; + if ( lstTags.indexOf( "," + e.nodeName.toUpperCase() + "," ) != -1 ) + return e ; + + e = e.parentNode ; } + return null ; } +// END iCM MODIFICATIONS -// Get immediate block node (P, H1, for example) for the supplied node - the supplied node may itself be a block node in which -// case it will be returned. If no block node found, returns null. -FCKTools.GetParentBlockNode = function( oNode ) +FCKTools.CreateEventListener = function( func, params ) { - if ( oNode.nodeName.toUpperCase() == "BODY" ) - return null ; - else if ( oNode.nodeType == 1 && FCKRegexLib.BlockElements.test(oNode.tagName) ) - return oNode ; - else - return FCKTools.GetParentBlockNode( oNode.parentNode ) ; -} - -// Run through any children of the supplied node. If there are none, or they only comprise -// empty text nodes and BR nodes, then the node is effectively empty. -// Sometimes (on Gecko) a seemingly empty node is coming back with several children that are solely -// empty text nodes and BRs e.g. the first item in an OL list, for example, when -// UseBROnCarriageReturn is set to false. -// Seems to be due to the use of the
(GECKO_BOGUS) as fillers both -// in fck_gecko_1.js when html is empty and in ENTER key handler ? If normal BR tags are -// used instead this doesn't seem to happen.... -FCKTools.NodeIsEmpty = function( oNode ) -{ - var oSibling = oNode.childNodes[0] ; - while ( oSibling ) + var f = function() { - if ( ( oSibling.nodeType != 1 && oSibling.nodeType != 3 ) || ( oSibling.nodeType == 1 && oSibling.nodeName.toUpperCase() != "BR" ) || ( oSibling.nodeType == 3 && oSibling.nodeValue && oSibling.nodeValue.trim() != '' ) ) - return false ; + var aAllParams = [] ; - oSibling = oSibling.nextSibling ; - } + for ( var i = 0 ; i < arguments.length ; i++ ) + aAllParams.push( arguments[i] ) ; - return true ; -} + func.apply( this, aAllParams.concat( params ) ) ; + } -// Returns a document fragment that contains a copy of the specified range of nodes -FCKTools.GetDocumentFragment = function( oParentNode, oFromNode, oToNode, bIncludeFromNode, bIncludeToNode, bClone ) -{ - if ( typeof bIncludeFromNode == "undefined" ) bIncludeFromNode = true ; - if ( typeof bIncludeToNode == "undefined" ) bIncludeToNode = true ; - if ( typeof bClone == "undefined" ) bClone = true ; - - var oFragment = FCK.EditorDocument.createDocumentFragment() ; - - var oNode = oFromNode ; - while ( oNode && oNode != oToNode ) - { - if ( oNode != oFromNode || bIncludeFromNode ) - oFragment.appendChild( bClone ? oNode.cloneNode( true ) : oNode ) ; - - oNode = oNode.nextSibling ; - } - - if ( oNode && (oFromNode != oToNode && bIncludeToNode) ) - oFragment.appendChild( bClone ? oNode.cloneNode( true ) : oNode ) ; // Include To Node - - return oFragment ; + return f ; } -*/ -// END iCM MODIFICATIONS + +FCKTools.GetElementDocument = function ( element ) +{ + return element.ownerDocument || element.document ; +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fcktools_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktools_gecko.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fcktools_gecko.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fcktools_gecko.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -18,8 +18,22 @@ */ // Constant for the Gecko Bogus Node. -var GECKO_BOGUS = '
' ; +var GECKO_BOGUS = FCKBrowserInfo.IsGecko ? '
' : '' ; +FCKTools.CancelEvent = function( e ) +{ + if ( e ) + e.preventDefault() ; +} + +FCKTools.DisableSelection = function( element ) +{ + if ( FCKBrowserInfo.IsGecko ) + element.style.MozUserSelect = 'none' ; // Gecko only. + else + element.style.userSelect = 'none' ; // CSS3 (not supported yet). +} + // Appends a CSS file to a document. FCKTools.AppendStyleSheet = function( documentElement, cssFileUrl ) { @@ -91,12 +105,84 @@ return null ; } -FCKTools.DisableSelection = function( element ) +FCKTools.GetScrollPosition = function( relativeWindow ) { - element.style.MozUserSelect = 'none' ; // Gecko only. - // element.style.userSelect = 'none' ; // CSS3 (not supported yet). + return { X : relativeWindow.pageXOffset, Y : relativeWindow.pageYOffset } ; } +FCKTools.AddEventListener = function( sourceObject, eventName, listener ) +{ + sourceObject.addEventListener( eventName, listener, false ) ; +} + +FCKTools.RemoveEventListener = function( sourceObject, eventName, listener ) +{ + sourceObject.removeEventListener( eventName, listener, false ) ; +} + +// Listeners attached with this function cannot be detached. +FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, paramsArray ) +{ + sourceObject.addEventListener( + eventName, + function( e ) + { + listener.apply( sourceObject, [ e ].concat( paramsArray || [] ) ) ; + }, + false + ) ; +} + +// Returns and object with the "Width" and "Height" properties. +FCKTools.GetViewPaneSize = function( win ) +{ + return { Width : win.innerWidth, Height : win.innerHeight } ; +} + +FCKTools.SaveStyles = function( element ) +{ + var oSavedStyles = new Object() ; + + if ( element.className.length > 0 ) + { + oSavedStyles.Class = element.className ; + element.className = '' ; + } + + var sInlineStyle = element.getAttribute( 'style' ) ; + + if ( sInlineStyle && sInlineStyle.length > 0 ) + { + oSavedStyles.Inline = sInlineStyle ; + element.setAttribute( 'style', '', 0 ) ; // 0 : Case Insensitive + } + + return oSavedStyles ; +} + +FCKTools.RestoreStyles = function( element, savedStyles ) +{ + element.className = savedStyles.Class || '' ; + + if ( savedStyles.Inline ) + element.setAttribute( 'style', savedStyles.Inline, 0 ) ; // 0 : Case Insensitive + else + element.removeAttribute( 'style', 0 ) ; +} + +FCKTools.RegisterDollarFunction = function( targetWindow ) +{ + targetWindow.$ = function( id ) + { + return this.document.getElementById( id ) ; + } ; +} + +FCKTools.AppendElement = function( target, elementName ) +{ + return target.appendChild( target.ownerDocument.createElement( elementName ) ) ; +} + // START iCM Modifications /* // Starting at the specified node, find the first inline node of the sequence Index: lams_central/web/fckeditor/editor/_source/internals/fcktools_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fcktools_ie.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fcktools_ie.js 5 Jan 2006 00:02:25 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fcktools_ie.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -17,10 +17,15 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ +FCKTools.CancelEvent = function( e ) +{ + return false ; +} + // Appends a CSS file to a document. FCKTools.AppendStyleSheet = function( documentElement, cssFileUrl ) { - return documentElement.createStyleSheet( cssFileUrl ) ; + return documentElement.createStyleSheet( cssFileUrl ).owningElement ; } // Removes all attributes and values from the element. @@ -95,4 +100,103 @@ e.unselectable = 'on' ; } } +} + +FCKTools.GetScrollPosition = function( relativeWindow ) +{ + var oDoc = relativeWindow.document ; + + // Try with the doc element. + var oPos = { X : oDoc.documentElement.scrollLeft, Y : oDoc.documentElement.scrollTop } ; + + if ( oPos.X > 0 || oPos.Y > 0 ) + return oPos ; + + // If no scroll, try with the body. + return { X : oDoc.body.scrollLeft, Y : oDoc.body.scrollTop } ; +} + +FCKTools.AddEventListener = function( sourceObject, eventName, listener ) +{ + sourceObject.attachEvent( 'on' + eventName, listener ) ; +} + +FCKTools.RemoveEventListener = function( sourceObject, eventName, listener ) +{ + sourceObject.detachEvent( 'on' + eventName, listener ) ; +} + +// Listeners attached with this function cannot be detached. +FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, paramsArray ) +{ + // Ok... this is a closures party, but is the only way to make it clean of memory leaks. + var o = new Object() ; + o.Source = sourceObject ; + o.Params = paramsArray || [] ; // Memory leak if we have DOM objects here. + o.Listener = function( ev ) + { + 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). + paramsArray = null ; // Memory leak cleaner (because of the above closure). +} + +// Returns and object with the "Width" and "Height" properties. +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 + return { Width : 0, Height : 0 } ; +} + +FCKTools.SaveStyles = function( element ) +{ + var oSavedStyles = new Object() ; + + if ( element.className.length > 0 ) + { + oSavedStyles.Class = element.className ; + element.className = '' ; + } + + var sInlineStyle = element.style.cssText ; + + if ( sInlineStyle.length > 0 ) + { + oSavedStyles.Inline = sInlineStyle ; + element.style.cssText = '' ; + } + + return oSavedStyles ; +} + +FCKTools.RestoreStyles = function( element, savedStyles ) +{ + element.className = savedStyles.Class || '' ; + element.style.cssText = savedStyles.Inline || '' ; +} + +FCKTools.RegisterDollarFunction = function( targetWindow ) +{ + targetWindow.$ = targetWindow.document.getElementById ; +} + +FCKTools.AppendElement = function( target, elementName ) +{ + return target.appendChild( this.GetElementDocument( target ).createElement( elementName ) ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckundo_gecko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckundo_gecko.js,v diff -u -r1.1 -r1.2 --- lams_central/web/fckeditor/editor/_source/internals/fckundo_gecko.js 11 Aug 2005 06:26:03 -0000 1.1 +++ lams_central/web/fckeditor/editor/_source/internals/fckundo_gecko.js 16 Aug 2006 06:05:54 -0000 1.2 @@ -1,4 +1,23 @@ -var FCKUndo = new Object() ; +/* + * 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) + */ +var FCKUndo = new Object() ; + FCKUndo.SaveUndoStep = function() {} \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckundo_ie.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckundo_ie.js,v diff -u -r1.3 -r1.4 --- lams_central/web/fckeditor/editor/_source/internals/fckundo_ie.js 12 Dec 2005 05:18:53 -0000 1.3 +++ lams_central/web/fckeditor/editor/_source/internals/fckundo_ie.js 16 Aug 2006 06:05:54 -0000 1.4 @@ -1,12 +1,34 @@ -var FCKUndo = new Object() ; +/* + * 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) + */ +var FCKUndo = new Object() ; + FCKUndo.SavedData = new Array() ; FCKUndo.CurrentIndex = -1 ; FCKUndo.TypesCount = FCKUndo.MaxTypes = 25 ; FCKUndo.Typing = false ; FCKUndo.SaveUndoStep = function() { + if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) + return ; + // Shrink the array to the current level. FCKUndo.SavedData = FCKUndo.SavedData.slice( 0, FCKUndo.CurrentIndex + 1 ) ; Index: lams_central/web/fckeditor/editor/_source/internals/fckurlparams.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckurlparams.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/_source/internals/fckurlparams.js 12 Dec 2005 05:18:53 -0000 1.2 +++ lams_central/web/fckeditor/editor/_source/internals/fckurlparams.js 16 Aug 2006 06:05:54 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 Index: lams_central/web/fckeditor/editor/_source/internals/fckxhtml.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/_source/internals/Attic/fckxhtml.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/_source/internals/fckxhtml.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/_source/internals/fckxhtml.js 16 Aug 2006 06:05:54 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -23,6 +23,10 @@ FCKXHtml.GetXHTML = function( node, includeNode, format ) { + FCKXHtmlEntities.Initialize() ; + + this._CreateNode = FCKConfig.ForceStrongEm ? FCKXHtml_CreateNode_StrongEm : FCKXHtml_CreateNode_Normal ; + // Special blocks are blocks of content that remain untouched during the // process. It is used for SCRIPTs and STYLEs. FCKXHtml.SpecialBlocks = new Array() ; @@ -125,14 +129,19 @@ { // Element Node. case 1 : + + // 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 ; - if ( htmlNode.getAttribute('_fckdelete') ) + // 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. @@ -170,7 +179,7 @@ if ( oTagProcessor ) { - oNode = oTagProcessor( oNode, htmlNode ) ; + oNode = oTagProcessor( oNode, htmlNode, xmlNode ) ; if ( !oNode ) break ; } else @@ -199,34 +208,29 @@ return true ; } -if ( FCKConfig.ForceStrongEm ) +function FCKXHtml_CreateNode_StrongEm( nodeName ) { - FCKXHtml._CreateNode = function( nodeName ) + switch ( nodeName ) { - switch ( nodeName ) - { - case 'b' : - nodeName = 'strong' ; - break ; - case 'i' : - nodeName = 'em' ; - break ; - } - return this.XML.createElement( nodeName ) ; + case 'b' : + nodeName = 'strong' ; + break ; + case 'i' : + nodeName = 'em' ; + break ; } + return this.XML.createElement( nodeName ) ; } -else + +function FCKXHtml_CreateNode_Normal( nodeName ) { - FCKXHtml._CreateNode = function( nodeName ) - { - return this.XML.createElement( nodeName ) ; - } + return this.XML.createElement( nodeName ) ; } // Append an item to the SpecialBlocks array and returns the tag to be used. FCKXHtml._AppendSpecialItem = function( item ) { - return '___FCKsi___' + FCKXHtml.SpecialBlocks.addItem( item ) ; + return '___FCKsi___' + FCKXHtml.SpecialBlocks.AddItem( item ) ; } //if ( FCKConfig.ProcessHTMLEntities ) @@ -304,11 +308,6 @@ FCKXHtml.TagProcessors['style'] = function( node, htmlNode ) { - // The "_fcktemp" attribute is used to mark the ';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(){if (FCK.Status==FCK_STATUS_COMPLETE) FCK.Events.FireEvent("OnPaste");return false;};function Doc_OnKeyDown(){var e=FCK.EditorWindow.event;switch (e.keyCode){case 13:if (FCKConfig.UseBROnCarriageReturn&&!(e.ctrlKey||e.altKey||e.shiftKey)){Doc_OnKeyDownUndo();if (FCK.EditorDocument.queryCommandState('InsertOrderedList')||FCK.EditorDocument.queryCommandState('InsertUnorderedList')) return true;FCK.InsertHtml('
 ');var oRange=FCK.EditorDocument.selection.createRange();oRange.moveStart('character',-1);oRange.select();FCK.EditorDocument.selection.clear();return false;};break;case 8:if (FCKSelection.GetType()=='Control'){FCKSelection.Delete();return false;};break;case 9:if (FCKConfig.TabSpaces>0&&!(e.ctrlKey||e.altKey||e.shiftKey)){Doc_OnKeyDownUndo();FCK.InsertHtml(window.FCKTabHTML);return false;};break;case 90:if (e.ctrlKey&&!(e.altKey||e.shiftKey)){FCKUndo.Undo();return false;};break;case 89:if (e.ctrlKey&&!(e.altKey||e.shiftKey)){FCKUndo.Redo();return false;};break;};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 
'+A;B.getElementById('__fakeFCKRemove__').removeNode(true);};var FCK_PreloadImages_Count=0;var FCK_PreloadImages_Images=new Array();function FCK_PreloadImages(){var aImages=FCKConfig.PreloadImages||[];if (typeof(aImages)=='string') aImages=aImages.split(';');aImages.push(FCKConfig.SkinPath+'fck_strip.gif');FCK_PreloadImages_Count=aImages.length;var aImageElements=new Array();for (var i=0;i0) E=FCK.GetXHTML().replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);else E=FCK.GetXHTML();}else{E=FCKConfig.DocType+''+''+FCK.TempBaseTag+''+FCKLang.Preview+''+FCK._GetEditorAreaStyleTags()+''+FCK.GetXHTML()+'';};D.document.write(E);D.document.close();};FCK.SwitchEditMode=function(A){var B=(FCK.EditMode==FCK_EDITMODE_WYSIWYG);var C;if (B){if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();C=FCK.GetXHTML(FCKConfig.FormatSource);}else C=this.EditingArea.Textarea.value;FCK.EditMode=B?FCK_EDITMODE_SOURCE:FCK_EDITMODE_WYSIWYG;FCK.SetHTML(C);if (FCKBrowserInfo.IsGecko) window.onresize();FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);};FCK.CreateElement=function(A){var e=FCK.EditorDocument.createElement(A);return FCK.InsertElementAndGetIt(e);};FCK.InsertElementAndGetIt=function(e){e.setAttribute('FCKTempLabel','true');this.InsertElement(e);var A=FCK.EditorDocument.getElementsByTagName(e.tagName);for (var i=0;i]*(( class="?MsoNormal"?)|(="mso-))/gi;if (B.test(A)){if (confirm(FCKLang["PasteWordConfirm"])){FCK.PasteFromWord();return;}}};FCK.InsertHtml(A);};FCK.PasteAsPlainText=function(){var A=FCKTools.HTMLEncode(clipboardData.getData("Text"));A=A.replace(/\n/g,'
');this.InsertHtml(A);};FCK.InsertElement=function(A){FCK.InsertHtml(A.outerHTML);};FCK.GetClipboardHTML=function(){var A=document.getElementById('___FCKHiddenDiv');if (!A){var A=document.createElement('DIV');A.id='___FCKHiddenDiv';A.style.visibility='hidden';A.style.overflow='hidden';A.style.position='absolute';A.style.width=1;A.style.height=1;document.body.appendChild(A);};A.innerHTML='';var C=document.body.createTextRange();C.moveToElementText(A);C.execCommand('Paste');var D=A.innerHTML;A.innerHTML='';return D;};FCK.AttachToOnSelectionChange=function(A){this.Events.AttachEvent('OnSelectionChange',A);};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.links;for (i=0;i=0;i--){var D=B.rows[i];if (C==0&&D.cells.length==1){FCKTableHandler.DeleteRows(D);continue;};if (D.cells[C]) D.removeChild(D.cells[C]);}};FCKTableHandler.InsertCell=function(A){var B=A?A:FCKSelection.MoveToAncestorNode("TD");if (!B) return;var C=FCK.EditorDocument.createElement("TD");if (FCKBrowserInfo.IsGecko) C.innerHTML=GECKO_BOGUS;if (B.cellIndex==B.parentNode.cells.length-1){B.parentNode.appendChild(C);}else{B.parentNode.insertBefore(C,B.nextSibling);};return C;};FCKTableHandler.DeleteCell=function(A){if (A.parentNode.cells.length==1){FCKTableHandler.DeleteRows(FCKTools.GetElementAscensor(A,'TR'));return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteCells=function(){var A=FCKTableHandler.GetSelectedCells();for (var i=A.length-1;i>=0;i--){FCKTableHandler.DeleteCell(A[i]);}};FCKTableHandler.MergeCells=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length<2) return;if (A[0].parentNode!=A[A.length-1].parentNode) return;var B=isNaN(A[0].colSpan)?1:A[0].colSpan;var C='';var D=FCK.EditorDocument.createDocumentFragment();for (var i=A.length-1;i>=0;i--){var E=A[i];for (var c=E.childNodes.length-1;c>=0;c--){var F=E.removeChild(E.childNodes[c]);if ((F.hasAttribute&&F.hasAttribute('_moz_editor_bogus_node'))||(F.getAttribute&&F.getAttribute('type',2)=='_moz')) continue;D.insertBefore(F,D.firstChild);};if (i>0){B+=isNaN(E.colSpan)?1:E.colSpan;FCKTableHandler.DeleteCell(E);}};A[0].colSpan=B;if (FCKBrowserInfo.IsGecko&&D.childNodes.length==0) A[0].innerHTML=GECKO_BOGUS;else A[0].appendChild(D);};FCKTableHandler.SplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=this._CreateTableMap(A[0].parentNode.parentNode);var C=FCKTableHandler._GetCellIndexSpan(B,A[0].parentNode.rowIndex,A[0]);var D=this._GetCollumnCells(B,C);for (var i=0;i1) E.rowSpan=A[0].rowSpan;}else{if (isNaN(D[i].colSpan)) D[i].colSpan=2;else D[i].colSpan+=1;}}};FCKTableHandler._GetCellIndexSpan=function(A,B,C){if (A.length=0&&B.compareEndPoints('StartToEnd',E)<=0)||(B.compareEndPoints('EndToStart',E)>=0&&B.compareEndPoints('EndToEnd',E)<=0)){A[A.length]=C.cells[i];}}}};return A;}; +var FCKXml=function(){this.Error=false;};FCKXml.prototype.LoadUrl=function(A){this.Error=false;var B=FCKTools.CreateXmlObject('XmlHttp');if (!B){this.Error=true;return;};B.open("GET",A,false);B.send(null);if (B.status==200||B.status==304) this.DOMDocument=B.responseXML;else if (B.status==0&&B.readyState==4){this.DOMDocument=FCKTools.CreateXmlObject('DOMDocument');this.DOMDocument.async=false;this.DOMDocument.resolveExternals=false;this.DOMDocument.loadXML(B.responseText);}else{this.Error=true;alert('Error loading "'+A+'"');}};FCKXml.prototype.SelectNodes=function(A,B){if (this.Error) return new Array();if (B) return B.selectNodes(A);else return this.DOMDocument.selectNodes(A);};FCKXml.prototype.SelectSingleNode=function(A,B){if (this.Error) return;if (B) return B.selectSingleNode(A);else return this.DOMDocument.selectSingleNode(A);} +var FCKStyleDef=function(A,B){this.Name=A;this.Element=B.toUpperCase();this.IsObjectElement=FCKRegexLib.ObjectElements.test(this.Element);this.Attributes=new Object();};FCKStyleDef.prototype.AddAttribute=function(A,B){this.Attributes[A]=B;};FCKStyleDef.prototype.GetOpenerTag=function(){var s='<'+this.Element;for (var a in this.Attributes) s+=' '+a+'="'+this.Attributes[a]+'"';return s+'>';};FCKStyleDef.prototype.GetCloserTag=function(){return '';};FCKStyleDef.prototype.RemoveFromSelection=function(){if (FCKSelection.GetType()=='Control') this._RemoveMe(FCK.ToolbarSet.CurrentInstance.Selection.GetSelectedElement());else this._RemoveMe(FCK.ToolbarSet.CurrentInstance.Selection.GetParentElement());} +FCKStyleDef.prototype.ApplyToSelection=function(){var A=FCK.ToolbarSet.CurrentInstance.EditorDocument.selection;if (A.type=='Text'){var B=A.createRange();var e=document.createElement(this.Element);e.innerHTML=B.htmlText;this._AddAttributes(e);this._RemoveDuplicates(e);B.pasteHTML(e.outerHTML);}else if (A.type=='Control'){var C=FCK.ToolbarSet.CurrentInstance.Selection.GetSelectedElement();if (C.tagName==this.Element) this._AddAttributes(C);}};FCKStyleDef.prototype._AddAttributes=function(A){for (var a in this.Attributes){switch (a.toLowerCase()){case 'style':A.style.cssText=this.Attributes[a];break;case 'class':A.setAttribute('className',this.Attributes[a],0);break;case 'src':A.setAttribute('_fcksavedurl',this.Attributes[a],0);default:A.setAttribute(a,this.Attributes[a],0);}}};FCKStyleDef.prototype._RemoveDuplicates=function(A){for (var i=0;i');else if (A=='div'&&FCKBrowserInfo.IsGecko) FCK.ExecuteNamedCommand('FormatBlock','div');else FCK.ExecuteNamedCommand('FormatBlock','<'+A+'>');};FCKFormatBlockCommand.prototype.GetState=function(){return FCK.GetNamedCommandValue('FormatBlock');};var FCKPreviewCommand=function(){this.Name='Preview';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;};var FCKSaveCommand=function(){this.Name='Save';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.LinkedField.form;if (typeof(A.onsubmit)=='function'){var B=A.onsubmit();if (B!=null&&B===false) return;};A.submit();};FCKSaveCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;};var FCKNewPageCommand=function(){this.Name='NewPage';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetHTML('');FCKUndo.Typing=true;};FCKNewPageCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;};var FCKSourceCommand=function(){this.Name='Source';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog('FCKDialog_Source',FCKLang.Source,'dialog/fck_source.html',A,B,null,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==FCK_EDITMODE_WYSIWYG?FCK_TRISTATE_OFF:FCK_TRISTATE_ON);};var FCKUndoCommand=function(){this.Name='Undo';};FCKUndoCommand.prototype.Execute=function(){if (FCKBrowserInfo.IsIE) FCKUndo.Undo();else FCK.ExecuteNamedCommand('Undo');};FCKUndoCommand.prototype.GetState=function(){if (FCKBrowserInfo.IsIE) return (FCKUndo.CheckUndoState()?FCK_TRISTATE_OFF:FCK_TRISTATE_DISABLED);else return FCK.GetNamedCommandState('Undo');};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){if (FCKBrowserInfo.IsIE) FCKUndo.Redo();else FCK.ExecuteNamedCommand('Redo');};FCKRedoCommand.prototype.GetState=function(){if (FCKBrowserInfo.IsIE) return (FCKUndo.CheckRedoState()?FCK_TRISTATE_OFF:FCK_TRISTATE_DISABLED);else return FCK.GetNamedCommandState('Redo');};var FCKPageBreakCommand=function(){this.Name='PageBreak';};FCKPageBreakCommand.prototype.Execute=function(){var e=FCK.EditorDocument.createElement('DIV');e.style.pageBreakAfter='always';e.innerHTML=' ';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);A=FCK.InsertElement(A);};FCKPageBreakCommand.prototype.GetState=function(){return 0;};var FCKUnlinkCommand=function(){this.Name='Unlink';};FCKUnlinkCommand.prototype.Execute=function(){if (FCKBrowserInfo.IsGecko){var A=FCK.Selection.MoveToAncestorNode('A');if (A) FCK.Selection.SelectNode(A);};FCK.ExecuteNamedCommand(this.Name);if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);};FCKUnlinkCommand.prototype.GetState=function(){return FCK.GetNamedCommandState(this.Name);} +var FCKSpellCheckCommand=function(){this.Name='SpellCheck';this.IsEnabled=(FCKConfig.SpellChecker=='ieSpell'||FCKConfig.SpellChecker=='SpellerPages');};FCKSpellCheckCommand.prototype.Execute=function(){switch (FCKConfig.SpellChecker){case 'ieSpell':this._RunIeSpell();break;case 'SpellerPages':FCKDialog.OpenDialog('FCKDialog_SpellCheck','Spell Check','dialog/fck_spellerpages.html',440,480);break;}};FCKSpellCheckCommand.prototype._RunIeSpell=function(){try{var A=new ActiveXObject("ieSpell.ieSpellExtension");A.CheckAllLinkedDocuments(FCK.EditorDocument);}catch(e){if(e.number==-2146827859){if (confirm(FCKLang.IeSpellDownload)) window.open(FCKConfig.IeSpellDownloadUrl,'IeSpellDownload');}else alert('Error Loading ieSpell: '+e.message+' ('+e.number+')');}};FCKSpellCheckCommand.prototype.GetState=function(){return this.IsEnabled?FCK_TRISTATE_OFF:FCK_TRISTATE_DISABLED;} +var FCKTextColorCommand=function(A){this.Name=A=='ForeColor'?'TextColor':'BGColor';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B,true);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);};FCKTextColorCommand.prototype.Execute=function(A,B,C){FCK._ActiveColorPanelType=this.Type;this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){if (FCK._ActiveColorPanelType=='ForeColor') FCK.ExecuteNamedCommand('ForeColor',A);else if (FCKBrowserInfo.IsGeckoLike){if (FCKBrowserInfo.IsGecko&&!FCKConfig.GeckoUseSPAN) FCK.EditorDocument.execCommand('useCSS',false,false);FCK.ExecuteNamedCommand('hilitecolor',A);if (FCKBrowserInfo.IsGecko&&!FCKConfig.GeckoUseSPAN) FCK.EditorDocument.execCommand('useCSS',false,true);}else FCK.ExecuteNamedCommand('BackColor',A);delete FCK._ActiveColorPanelType;};FCKTextColorCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;};function FCKTextColorCommand_OnMouseOver() { this.className='ColorSelected';};function FCKTextColorCommand_OnMouseOut() { this.className='ColorDeselected';};function FCKTextColorCommand_OnClick(){this.className='ColorDeselected';this.Command.SetColor('#'+this.Color);this.Command._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(){this.className='ColorDeselected';this.Command.SetColor('');this.Command._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(){this.className='ColorDeselected';this.Command._Panel.Hide();FCKDialog.OpenDialog('FCKDialog_Color',FCKLang.DlgColorTitle,'dialog/fck_colorselector.html',400,330,this.Command.SetColor);};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className='ColorDeselected';C.onmouseover=FCKTextColorCommand_OnMouseOver;C.onmouseout=FCKTextColorCommand_OnMouseOut;return C;};var D=B.appendChild(A.createElement("TABLE"));D.className='ForceBaseFont';D.style.tableLayout='fixed';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML='\\\\\
' + FCKLang.ColorAutomatic + '
';C.Command=this;C.onclick=FCKTextColorCommand_AutoOnClick;var G=FCKConfig.FontColors.toString().split(',');var H=0;while (H
';C.Command=this;C.onclick=FCKTextColorCommand_OnClick;}};E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML='
'+FCKLang.ColorMoreColors+'
';C.Command=this;C.onclick=FCKTextColorCommand_MoreOnClick;} +var FCKPastePlainTextCommand=function(){this.Name='PasteText';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){return FCK.GetNamedCommandState('Paste');}; +var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCKConfig.ForcePasteAsPlainText) return FCK_TRISTATE_DISABLED;else return FCK.GetNamedCommandState('Paste');}; +var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();switch (this.Name){case 'TableInsertRow':FCKTableHandler.InsertRow();break;case 'TableDeleteRows':FCKTableHandler.DeleteRows();break;case 'TableInsertColumn':FCKTableHandler.InsertColumn();break;case 'TableDeleteColumns':FCKTableHandler.DeleteColumns();break;case 'TableInsertCell':FCKTableHandler.InsertCell();break;case 'TableDeleteCells':FCKTableHandler.DeleteCells();break;case 'TableMergeCells':FCKTableHandler.MergeCells();break;case 'TableSplitCell':FCKTableHandler.SplitCell();break;case 'TableDelete':FCKTableHandler.DeleteTable();break;default:alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;} +var FCKStyleCommand=function(){this.Name='Style';this.StylesLoader=new FCKStylesLoader();this.StylesLoader.Load(FCKConfig.StylesXmlPath);this.Styles=this.StylesLoader.Styles;};FCKStyleCommand.prototype.Execute=function(A,B){FCKUndo.SaveUndoStep();if (B.Selected) B.Style.RemoveFromSelection();else B.Style.ApplyToSelection();FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent("OnSelectionChange");};FCKStyleCommand.prototype.GetState=function(){if (!FCK.EditorDocument) return FCK_TRISTATE_DISABLED;var A=FCK.EditorDocument.selection;if (FCKSelection.GetType()=='Control'){var e=FCKSelection.GetSelectedElement();if (e) return this.StylesLoader.StyleGroups[e.tagName]?FCK_TRISTATE_OFF:FCK_TRISTATE_DISABLED;};return FCK_TRISTATE_OFF;};FCKStyleCommand.prototype.GetActiveStyles=function(){var A=new Array();if (FCKSelection.GetType()=='Control') this._CheckStyle(FCKSelection.GetSelectedElement(),A,false);else this._CheckStyle(FCKSelection.GetParentElement(),A,true);return A;};FCKStyleCommand.prototype._CheckStyle=function(A,B,C){if (!A) return;if (A.nodeType==1){var D=this.StylesLoader.StyleGroups[A.tagName];if (D){for (var i=0;i<\/body><\/html>');B.close();FCKTools.AddEventListenerEx(D,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(D,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;B.oncontextmenu=FCKTools.CancelEvent;this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.Show=function(x,y,A,B,C){if (this._Popup){this._Popup.show(x,y,0,0,A);this.MainNode.style.width=B?B+'px':'';this.MainNode.style.height=C?C+'px':'';var D=this.MainNode.offsetWidth;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};this._Popup.show(x,y,D,this.MainNode.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{FCKFocusManager.Lock();if (this.ParentPanel) this.ParentPanel.Lock();this.MainNode.style.width=B?B+'px':'';this.MainNode.style.height=C?C+'px':'';var D=this.MainNode.offsetWidth;if (!B) this._IFrame.width=1;if (!C) this._IFrame.height=1;D=this.MainNode.offsetWidth;var F=FCKTools.GetElementPosition((A.nodeType==9?A.body:A),this._Window);if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.X;y+=F.Y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var G=FCKTools.GetViewPaneSize(this._Window);var H=FCKTools.GetScrollPosition(this._Window);var I=G.Height+H.Y;var J=G.Width+H.X;if ((x+D)>J) x-=x+D-J;if ((y+this.MainNode.offsetHeight)>I) y-=y+this.MainNode.offsetHeight-I;};if (x<0) x=0;this._IFrame.style.left=x+'px';this._IFrame.style.top=y+'px';var K=D;var L=this.MainNode.offsetHeight;this._IFrame.width=K;this._IFrame.height=L;this._IFrame.contentWindow.focus();};this._IsOpened=true;FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened) return;FCKFocusManager.Unlock();this._IFrame.width=this._IFrame.height=0;this._IsOpened=false;if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetParentWindow(this.Document):this._Window;var B=new FCKPanel(A,true);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};/* Events */ function FCKPanel_Window_OnFocus(e,panel){panel.HasFocus=true;};function FCKPanel_Window_OnBlur(e,panel){panel.HasFocus=false;if (panel._LockCounter==0) FCKTools.RunFunction(panel.Hide,panel);};function CheckPopupOnHide(forceHide){if (forceHide||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;} +var FCKIcon=function(A){var B=A?typeof(A):'undefined';switch (B){case 'number':this.Path=FCKConfig.SkinPath+'fck_strip.gif';this.Size=16;this.Position=A;break;case 'undefined':this.Path=FCK_SPACER_PATH;break;case 'string':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B;if (this.Position){var C='-'+((this.Position-1)*this.Size)+'px';if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');var D=B.appendChild(A.createElement('IMG'));D.src=this.Path;D.style.top=C;}else{B=A.createElement('IMG');B.src=FCK_SPACER_PATH;B.style.backgroundPosition='0px '+C;B.style.backgroundImage='url('+this.Path+')';}}else{B=A.createElement('IMG');B.src=this.Path?this.Path:FCK_SPACER_PATH;};B.className='TB_Button_Image';return B;} +var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||FCK_TOOLBARITEM_ONLYICON;this.State=F||FCK_TRISTATE_OFF;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement('IMG');B.className='TB_Button_Padding';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=this.MainElement;if (B){FCKToolbarButtonUI_Cleanup.call(this);if (B.parentNode) B.parentNode.removeChild(B);B=this.MainElement=null;};var C=FCKTools.GetElementDocument(A);B=this.MainElement=C.createElement('DIV');B._FCKButton=this;B.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) B.onmousedown=FCKTools.CancelEvent;this.ChangeState(this.State,true);if (this.Style==FCK_TOOLBARITEM_ONLYICON&&!this.ShowArrow){B.appendChild(this.Icon.CreateIconElement(C));}else{var D=B.appendChild(C.createElement('TABLE'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==FCK_TOOLBARITEM_ONLYICON||this.Style==FCK_TOOLBARITEM_ICONTEXT) F.appendChild(this.Icon.CreateIconElement(C));else F.appendChild(this._CreatePaddingElement(C));if (this.Style==FCK_TOOLBARITEM_ONLYTEXT||this.Style==FCK_TOOLBARITEM_ICONTEXT){F=E.insertCell(-1);F.className='TB_Button_Text';F.noWrap=true;F.appendChild(C.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=FCK_TOOLBARITEM_ONLYICON){E.insertCell(-1).appendChild(this._CreatePaddingElement(C));};F=E.insertCell(-1);var G=F.appendChild(C.createElement('IMG'));G.src=FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(C));};A.appendChild(B);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;switch (parseInt(A)){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:e.className='TB_Button_Disabled';e.onmouseover=null;e.onmouseout=null;e.onclick=null;bEnableEvents=false;break;};this.State=A;};function FCKToolbarButtonUI_Cleanup(){if (this.MainElement){this.MainElement._FCKButton=null;this.MainElement=null;}};function FCKToolbarButton_OnMouseOverOn(){this.className='TB_Button_On_Over';};function FCKToolbarButton_OnMouseOutOn(){this.className='TB_Button_On';};function FCKToolbarButton_OnMouseOverOff(){this.className='TB_Button_Off_Over';};function FCKToolbarButton_OnMouseOutOff(){this.className='TB_Button_Off';};function FCKToolbarButton_OnClick(e){if (this._FCKButton.OnClick) this._FCKButton.OnClick(this._FCKButton);}; +var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(G)=='number') this.IconPath=[FCKConfig.SkinPath+'fck_strip.gif',16,G];};FCKToolbarButton.prototype.Create=function(A){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.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (A==this._UIButton.State) return;this._UIButton.ChangeState(A);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(FCK_TRISTATE_DISABLED);} +var FCKSpecialCombo=function(A,B,C,D,E){this.FieldWidth=B||100;this.PanelWidth=C||150;this.PanelMaxHeight=D||150;this.Label=' ';this.Caption=A;this.Tooltip=A;this.Style=FCK_TOOLBARITEM_ICONTEXT;this.Enabled=true;this.Items=new Object();this._Panel=new FCKPanel(E||window,true);this._Panel.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');this._PanelBox=this._Panel.MainNode.appendChild(this._Panel.Document.createElement('DIV'));this._PanelBox.className='SC_Panel';this._PanelBox.style.width=this.PanelWidth+'px';this._PanelBox.innerHTML='
';this._ItemsHolderEl=this._PanelBox.getElementsByTagName('TD')[0];if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKSpecialCombo_Cleanup);};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(){this.className=this.originalClass;this.FCKSpecialCombo._Panel.Hide();this.FCKSpecialCombo.SetLabel(this.FCKItemLabel);if (typeof(this.FCKSpecialCombo.OnSelect)=='function') this.FCKSpecialCombo.OnSelect(this.FCKItemID,this);};FCKSpecialCombo.prototype.AddItem=function(A,B,C,D){var E=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));E.className=E.originalClass='SC_Item';E.innerHTML=B;E.FCKItemID=A;E.FCKItemLabel=C||A;E.FCKSpecialCombo=this;E.Selected=false;if (FCKBrowserInfo.IsIE) E.style.width='100%';if (D) E.style.backgroundColor=D;E.onmouseover=FCKSpecialCombo_ItemOnMouseOver;E.onmouseout=FCKSpecialCombo_ItemOnMouseOut;E.onclick=FCKSpecialCombo_ItemOnClick;this.Items[A.toString().toLowerCase()]=E;return E;};FCKSpecialCombo.prototype.SelectItem=function(A){A=A?A.toString().toLowerCase():'';var B=this.Items[A];if (B){B.className=B.originalClass='SC_ItemSelected';B.Selected=true;}};FCKSpecialCombo.prototype.SelectItemByLabel=function(A,B){for (var C in this.Items){var D=this.Items[C];if (D.FCKItemLabel==A){D.className=D.originalClass='SC_ItemSelected';D.Selected=true;if (B) this.SetLabel(A);}}};FCKSpecialCombo.prototype.DeselectAll=function(A){for (var i in this.Items){this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};if (A) this.SetLabel('');};FCKSpecialCombo.prototype.SetLabelById=function(A){A=A?A.toString().toLowerCase():'';var B=this.Items[A];this.SetLabel(B?B.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(A){this.Label=A.length==0?' ':A;if (this._LabelEl) this._LabelEl.innerHTML=this.Label;};FCKSpecialCombo.prototype.SetEnabled=function(A){this.Enabled=A;this._OuterTable.className=A?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this._OuterTable=A.appendChild(B.createElement('TABLE'));C.cellPadding=0;C.cellSpacing=0;C.insertRow(-1);var D;var E;switch (this.Style){case FCK_TOOLBARITEM_ONLYICON:D='TB_ButtonType_Icon';E=false;break;case FCK_TOOLBARITEM_ONLYTEXT:D='TB_ButtonType_Text';E=false;break;case FCK_TOOLBARITEM_ICONTEXT:E=true;break;};if (this.Caption&&this.Caption.length>0&&E){var F=C.rows[0].insertCell(-1);F.innerHTML=this.Caption;F.className='SC_FieldCaption';};var G=FCKTools.AppendElement(C.rows[0].insertCell(-1),'div');if (E){G.className='SC_Field';G.style.width=this.FieldWidth+'px';G.innerHTML='
 
';this._LabelEl=G.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{G.className='TB_Button_Off';G.innerHTML=''+''+''+''+''+''+''+''+'
'+this.Caption+'
';};G.SpecialCombo=this;G.onmouseover=FCKSpecialCombo_OnMouseOver;G.onmouseout=FCKSpecialCombo_OnMouseOut;G.onclick=FCKSpecialCombo_OnClick;FCKTools.DisableSelection(this._Panel.Document.body);};function FCKSpecialCombo_Cleanup(){this._LabelEl=null;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(){if (this.SpecialCombo.Enabled){switch (this.SpecialCombo.Style){case FCK_TOOLBARITEM_ONLYICON:this.className='TB_Button_On_Over';break;case FCK_TOOLBARITEM_ONLYTEXT:this.className='TB_Button_On_Over';break;case FCK_TOOLBARITEM_ICONTEXT:this.className='SC_Field SC_FieldOver';break;}}};function FCKSpecialCombo_OnMouseOut(){switch (this.SpecialCombo.Style){case FCK_TOOLBARITEM_ONLYICON:this.className='TB_Button_Off';break;case FCK_TOOLBARITEM_ONLYTEXT:this.className='TB_Button_Off';break;case FCK_TOOLBARITEM_ICONTEXT:this.className='SC_Field';break;}};function FCKSpecialCombo_OnClick(e){var oSpecialCombo=this.SpecialCombo;if (oSpecialCombo.Enabled){var oPanel=oSpecialCombo._Panel;var oPanelBox=oSpecialCombo._PanelBox;var oItemsHolder=oSpecialCombo._ItemsHolderEl;var iMaxHeight=oSpecialCombo.PanelMaxHeight;if (oSpecialCombo.OnBeforeClick) oSpecialCombo.OnBeforeClick(oSpecialCombo);if (FCKBrowserInfo.IsIE) oPanel.Preload(0,this.offsetHeight,this);if (oItemsHolder.offsetHeight>iMaxHeight) oPanelBox.style.height=iMaxHeight+'px';else oPanelBox.style.height='';oPanel.Show(0,this.offsetHeight,this);}}; +var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};function FCKToolbarSpecialCombo_OnSelect(itemId,item){FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).Execute(itemId,item);};FCKToolbarSpecialCombo.prototype.Create=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel(),this.FieldWidth,this.PanelWidth,this.PanelMaxHeight,FCKBrowserInfo.IsIE?window:FCKTools.GetElementWindow(A).parent);this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A);this._Combo.CommandName=this.CommandName;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(combo,value){combo.DeselectAll();combo.SelectItem(value);combo.SetLabelById(value);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var A;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B!=FCK_TRISTATE_DISABLED){A=FCK_TRISTATE_ON;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else{if (this._LastValue!=B){this._LastValue=B;FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,B);}}}else A=FCK_TRISTATE_DISABLED;if (A==this.State) return;if (A==FCK_TRISTATE_DISABLED){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=A;this._Combo.SetEnabled(A!=FCK_TRISTATE_DISABLED);};FCKToolbarSpecialCombo.prototype.Enable=function(){this.RefreshState();};FCKToolbarSpecialCombo.prototype.Disable=function(){this.State=FCK_TRISTATE_DISABLED;this._Combo.DeselectAll();this._Combo.SetLabel('');this._Combo.SetEnabled(false);} +var FCKToolbarFontsCombo=function(A,B){this.CommandName='FontName';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:FCK_TOOLBARITEM_ICONTEXT;};FCKToolbarFontsCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.CreateItems=function(A){var B=FCKConfig.FontNames.split(';');for (var i=0;i'+B[i]+'');} +var FCKToolbarFontSizeCombo=function(A,B){this.CommandName='FontSize';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:FCK_TOOLBARITEM_ICONTEXT;};FCKToolbarFontSizeCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.CreateItems=function(A){A.FieldWidth=70;var B=FCKConfig.FontSizes.split(';');for (var i=0;i'+C[1]+'',C[1]);}} +var FCKToolbarFontFormatCombo=function(A,B){this.CommandName='FontFormat';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:FCK_TOOLBARITEM_ICONTEXT;this.NormalLabel='Normal';this.PanelWidth=190;};FCKToolbarFontFormatCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.CreateItems=function(A){var B=FCKLang['FontFormats'].split(';');var C={p:B[0],pre:B[1],address:B[2],h1:B[3],h2:B[4],h3:B[5],h4:B[6],h5:B[7],h6:B[8],div:B[9]};var D=FCKConfig.FontFormats.split(';');for (var i=0;i<'+E+'>'+F+'',F);}};if (FCKBrowserInfo.IsIE){FCKToolbarFontFormatCombo.prototype.RefreshActiveItems=function(A,B){if (B==this.NormalLabel){if (A.Label!=' ') A.DeselectAll(true);}else{if (this._LastValue==B) return;A.SelectItemByLabel(B,true);};this._LastValue=B;}} +var FCKToolbarStyleCombo=function(A,B){this.CommandName='Style';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:FCK_TOOLBARITEM_ICONTEXT;};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.CreateItems=function(A){var B=A._Panel.Document;var C=FCKConfig.EditorAreaCSS;for (var i=0;i0){for (var i=0;i'+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", DlgInfoTab : "معلومات", DlgAlertUrl : "الرجاء كتابة عنوان الإنترنت", // General Dialogs Labels -DlgGenNotSet : "<بدون تحديد>", -DlgGenId : "Id", -DlgGenLangDir : "اتجاه النص", +DlgGenNotSet : "<بدون تحديد>", +DlgGenId : "الرقم", +DlgGenLangDir : "إتجاه النص", DlgGenLangDirLtr : "اليسار لليمين (LTR)", DlgGenLangDirRtl : "اليمين لليسار (RTL)", DlgGenLangCode : "رمز اللغة", -DlgGenAccessKey : "مفاتيح الاختصار", +DlgGenAccessKey : "مفاتيح الإختصار", DlgGenName : "الاسم", DlgGenTabIndex : "الترتيب", DlgGenLongDescr : "عنوان الوصف المفصّل", DlgGenClass : "فئات التنسيق", DlgGenTitle : "تلميح الشاشة", DlgGenContType : "نوع التلميح", -DlgGenLinkCharset : "ترميز المادة المرطلوبة", +DlgGenLinkCharset : "ترميز المادة المطلوبة", DlgGenStyle : "نمط", // Image Dialog @@ -175,9 +181,9 @@ DlgImgUpload : "رفع", DlgImgAlt : "الوصف", DlgImgWidth : "العرض", -DlgImgHeight : "الارتفاع", +DlgImgHeight : "الإرتفاع", DlgImgLockRatio : "تناسق الحجم", -DlgBtnResetSize : "استعادة الحجم الأصلي", +DlgBtnResetSize : "إستعادة الحجم الأصلي", DlgImgBorder : "سمك الحدود", DlgImgHSpace : "تباعد أفقي", DlgImgVSpace : "تباعد عمودي", @@ -192,7 +198,7 @@ DlgImgAlignTextTop : "أعلى النص", DlgImgAlignTop : "أعلى", DlgImgPreview : "معاينة", -DlgImgAlertUrl : "فضلاً اكتب الموقع الذي توجد عليه هذه الصورة.", +DlgImgAlertUrl : "فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.", DlgImgLinkTab : "الرابط", // Flash Dialog @@ -206,7 +212,7 @@ DlgFlashScaleFit : "ضبط تام", // Link Dialog -DlgLnkWindowTitle : "ارتباط تشعبي", +DlgLnkWindowTitle : "إرتباط تشعبي", DlgLnkInfoTab : "معلومات الرابط", DlgLnkTargetTab : "الهدف", @@ -215,21 +221,21 @@ DlgLnkTypeAnchor : "مكان في هذا المستند", DlgLnkTypeEMail : "بريد إلكتروني", DlgLnkProto : "البروتوكول", -DlgLnkProtoOther : "<أخرى>", +DlgLnkProtoOther : "<أخرى>", DlgLnkURL : "الموقع", DlgLnkAnchorSel : "اختر علامة مرجعية", DlgLnkAnchorByName : "حسب اسم العلامة", DlgLnkAnchorById : "حسب تعريف العنصر", -DlgLnkNoAnchors : "<لا يوجد علامات مرجعية في هذا المستند>", +DlgLnkNoAnchors : "<لا يوجد علامات مرجعية في هذا المستند>", DlgLnkEMail : "عنوان بريد إلكتروني", DlgLnkEMailSubject : "موضوع الرسالة", DlgLnkEMailBody : "محتوى الرسالة", DlgLnkUpload : "رفع", DlgLnkBtnUpload : "أرسلها للخادم", DlgLnkTarget : "الهدف", -DlgLnkTargetFrame : "<إطار>", -DlgLnkTargetPopup : "<نافذة منبثقة>", +DlgLnkTargetFrame : "<إطار>", +DlgLnkTargetPopup : "<نافذة منبثقة>", DlgLnkTargetBlank : "إطار جديد (_blank)", DlgLnkTargetParent : "الإطار الأصل (_parent)", DlgLnkTargetSelf : "نفس الإطار (_self)", @@ -246,7 +252,7 @@ DlgLnkPopFullScrn : "ملئ الشاشة (IE)", DlgLnkPopDependent : "تابع (Netscape)", DlgLnkPopWidth : "العرض", -DlgLnkPopHeight : "الارتفاع", +DlgLnkPopHeight : "الإرتفاع", DlgLnkPopLeft : "التمركز لليسار", DlgLnkPopTop : "التمركز للأعلى", @@ -258,10 +264,10 @@ DlgColorTitle : "اختر لوناً", DlgColorBtnClear : "مسح", DlgColorHighlight : "تحديد", -DlgColorSelected : "اختيار", +DlgColorSelected : "إختيار", // Smiley Dialog -DlgSmileyTitle : "إدراج ابتسامات ", +DlgSmileyTitle : "إدراج إبتسامات ", // Special Character Dialog DlgSpecialCharTitle : "إدراج رمز", @@ -279,18 +285,18 @@ DlgTableWidth : "العرض", DlgTableWidthPx : "بكسل", DlgTableWidthPc : "بالمئة", -DlgTableHeight : "الارتفاع", +DlgTableHeight : "الإرتفاع", DlgTableCellSpace : "تباعد الخلايا", DlgTableCellPad : "المسافة البادئة", DlgTableCaption : "الوصف", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "الخلاصة", // Table Cell Dialog DlgCellTitle : "خصائص الخلية", DlgCellWidth : "العرض", DlgCellWidthPx : "بكسل", DlgCellWidthPc : "بالمئة", -DlgCellHeight : "الارتفاع", +DlgCellHeight : "الإرتفاع", DlgCellWordWrap : "التفاف النص", DlgCellWordWrapNotSet : "<بدون تحديد>", DlgCellWordWrapYes : "نعم", @@ -306,8 +312,8 @@ DlgCellVerAlignMiddle : "وسط", DlgCellVerAlignBottom : "أسفل", DlgCellVerAlignBaseline : "على السطر", -DlgCellRowSpan : "امتداد الصفوف", -DlgCellCollSpan : "امتداد الأعمدة", +DlgCellRowSpan : "إمتداد الصفوف", +DlgCellCollSpan : "إمتداد الأعمدة", DlgCellBackColor : "لون الخلفية", DlgCellBorderColor : "لون الحدود", DlgCellBtnSelect : "حدّد...", @@ -318,28 +324,27 @@ DlgFindNotFoundMsg : "لم يتم العثور على النص المحدد.", // Replace Dialog -DlgReplaceTitle : "استبدال", +DlgReplaceTitle : "إستبدال", DlgReplaceFindLbl : "البحث عن:", -DlgReplaceReplaceLbl : "استبدال بـ:", +DlgReplaceReplaceLbl : "إستبدال بـ:", DlgReplaceCaseChk : "مطابقة حالة الأحرف", -DlgReplaceReplaceBtn : "استبدال", -DlgReplaceReplAllBtn : "استبدال الكل", +DlgReplaceReplaceBtn : "إستبدال", +DlgReplaceReplAllBtn : "إستبدال الكل", DlgReplaceWordChk : "الكلمة بالكامل فقط", // Paste Operations / Dialog -PasteErrorPaste : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع اللصق التلقائي. فضلاً استخدم لوحة المفاتيح لفعل ذلك (Ctrl+V).", -PasteErrorCut : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً استخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).", -PasteErrorCopy : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً استخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).", +PasteErrorPaste : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع اللصق التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+V).", +PasteErrorCut : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).", +PasteErrorCopy : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).", PasteAsText : "لصق كنص بسيط", PasteFromWord : "لصق من وورد", -DlgPasteMsg2 : "الصق داخل الصندوق باستخدام زرّي (Ctrl+V) في لوحة المفاتيح، ثم اضغط زر موافق.", +DlgPasteMsg2 : "الصق داخل الصندوق بإستخدام زرّي (Ctrl+V) في لوحة المفاتيح، ثم اضغط زر موافق.", DlgPasteIgnoreFont : "تجاهل تعريفات أسماء الخطوط", DlgPasteRemoveStyles : "إزالة تعريفات الأنماط", DlgPasteCleanBox : "نظّف محتوى الصندوق", - // Color Picker ColorAutomatic : "تلقائي", ColorMoreColors : "ألوان إضافية...", @@ -360,7 +365,7 @@ DlgSpellBtnReplace : "تغيير", DlgSpellBtnReplaceAll : "تغيير الكل", DlgSpellBtnUndo : "تراجع", -DlgSpellNoSuggestions : "- لا توجد اقتراحات -", +DlgSpellNoSuggestions : "- لا توجد إقتراحات -", DlgSpellProgress : "جاري التدقيق إملائياً", DlgSpellNoMispell : "تم إكمال التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية", DlgSpellNoChanges : "تم إكمال التدقيق الإملائي: لم يتم تغيير أي كلمة", @@ -396,7 +401,7 @@ DlgSelectBtnModify : "تعديل", DlgSelectBtnUp : "تحريك لأعلى", DlgSelectBtnDown : "تحريك لأسفل", -DlgSelectBtnSetValue : "اجعلها محددة", +DlgSelectBtnSetValue : "إجعلها محددة", DlgSelectBtnDelete : "إزالة", // Textarea Dialog @@ -422,7 +427,7 @@ NumberedListProp : "خصائص التعداد الرقمي", DlgLstType : "النوع", DlgLstTypeCircle : "دائرة", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeDisc : "قرص", DlgLstTypeSquare : "مربع", DlgLstTypeNumbers : "أرقام (1، 2، 3)َ", DlgLstTypeLCase : "حروف صغيرة (a, b, c)َ", @@ -437,7 +442,7 @@ DlgDocMetaTab : "المعرّفات الرأسية", DlgDocPageTitle : "عنوان الصفحة", -DlgDocLangDir : "اتجاه اللغة", +DlgDocLangDir : "إتجاه اللغة", DlgDocLangDirLTR : "اليسار لليمين (LTR)", DlgDocLangDirRTL : "اليمين لليسار (RTL)", DlgDocLangCode : "رمز اللغة", @@ -469,12 +474,13 @@ Templates : "القوالب", DlgTemplatesTitle : "قوالب المحتوى", DlgTemplatesSelMsg : "اختر القالب الذي تود وضعه في المحرر
(سيتم فقدان المحتوى الحالي):", -DlgTemplatesLoading : "جاري تحميل قائمة القوالب، الرجاء الانتظار...", +DlgTemplatesLoading : "جاري تحميل قائمة القوالب، الرجاء الإنتظار...", DlgTemplatesNoTpl : "(لم يتم تعريف أي قالب)", // About Dialog DlgAboutAboutTab : "نبذة", DlgAboutBrowserInfoTab : "معلومات متصفحك", +DlgAboutLicenseTab : "الترخيص", DlgAboutVersion : "الإصدار", DlgAboutLicense : "مرخّص بحسب قانون GNU LGPL", DlgAboutInfo : "لمزيد من المعلومات تفضل بزيارة" Index: lams_central/web/fckeditor/editor/lang/bg.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/bg.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/bg.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/bg.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "Падащо меню с опции", ImageButton : "Бутон-изображение", +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "Редактирай връзка", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "Добави ред", DeleteRows : "Изтрий редовете", InsertColumn : "Добави колона", @@ -136,7 +141,7 @@ UnknownCommand : "Непозната команда \"%1\"", NotImplemented : "Командата не е имплементирана", UnknownToolbarSet : "Панелът \"%1\" не съществува", -NoActiveX : "You 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 +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 @@ -146,12 +151,12 @@ DlgBtnClose : "Затвори", DlgBtnBrowseServer : "Разгледай сървъра", DlgAdvancedTag : "Подробности...", -DlgOpOther : "<Друго>", +DlgOpOther : "<Друго>", DlgInfoTab : "Информация", DlgAlertUrl : "Моля, въведете пълния път (URL)", // General Dialogs Labels -DlgGenNotSet : "<не е настроен>", +DlgGenNotSet : "<не е настроен>", DlgGenId : "Идентификатор", DlgGenLangDir : "посока на речта", DlgGenLangDirLtr : "От ляво на дясно", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Котва в текущата страница", DlgLnkTypeEMail : "Е-поща", DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<друго>", +DlgLnkProtoOther : "<друго>", DlgLnkURL : "Пълен път (URL)", DlgLnkAnchorSel : "Изберете котва", DlgLnkAnchorByName : "По име на котвата", DlgLnkAnchorById : "По идентификатор на елемент", -DlgLnkNoAnchors : "<Няма котви в текущия документ>", +DlgLnkNoAnchors : "<Няма котви в текущия документ>", DlgLnkEMail : "Адрес за е-поща", DlgLnkEMailSubject : "Тема на писмото", DlgLnkEMailBody : "Текст на писмото", DlgLnkUpload : "Качи", DlgLnkBtnUpload : "Прати на сървъра", DlgLnkTarget : "Цел", -DlgLnkTargetFrame : "<рамка>", -DlgLnkTargetPopup : "<дъщерен прозорец>", +DlgLnkTargetFrame : "<рамка>", +DlgLnkTargetPopup : "<дъщерен прозорец>", DlgLnkTargetBlank : "Нов прозорец (_blank)", DlgLnkTargetParent : "Родителски прозорец (_parent)", DlgLnkTargetSelf : "Активния прозорец (_self)", @@ -292,16 +297,16 @@ DlgCellWidthPc : "проценти", DlgCellHeight : "Височина", DlgCellWordWrap : "пренасяне на нов ред", -DlgCellWordWrapNotSet : "<Не е настроено>", +DlgCellWordWrapNotSet : "<Не е настроено>", DlgCellWordWrapYes : "Да", DlgCellWordWrapNo : "не", DlgCellHorAlign : "Хоризонтално подравняване", -DlgCellHorAlignNotSet : "<Не е настроено>", +DlgCellHorAlignNotSet : "<Не е настроено>", DlgCellHorAlignLeft : "Ляво", DlgCellHorAlignCenter : "Център", DlgCellHorAlignRight: "Дясно", DlgCellVerAlign : "Вертикално подравняване", -DlgCellVerAlignNotSet : "<Не е настроено>", +DlgCellVerAlignNotSet : "<Не е настроено>", DlgCellVerAlignTop : "Горе", DlgCellVerAlignMiddle : "По средата", DlgCellVerAlignBottom : "Долу", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Изтрий стиловите дефиниции", DlgPasteCleanBox : "Изчисти", - // Color Picker ColorAutomatic : "По подразбиране", ColorMoreColors : "Други цветове...", @@ -475,6 +479,7 @@ // About Dialog DlgAboutAboutTab : "За", DlgAboutBrowserInfoTab : "Информация за браузъра", +DlgAboutLicenseTab : "License", //MISSING DlgAboutVersion : "версия", DlgAboutLicense : "Лиценз по условията на GNU Lesser General Public License", DlgAboutInfo : "За повече информация посетете" Index: lams_central/web/fckeditor/editor/lang/bn.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/bn.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/lang/bn.js 16 Aug 2006 06:05:51 -0000 1.1 @@ -0,0 +1,486 @@ +/* + * 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) + */ + +var FCKLang = +{ +// Language direction : "ltr" (left to right) or "rtl" (right to left). +Dir : "ltr", + +ToolbarCollapse : "টূলবার সিমটাযেं", +ToolbarExpand : "টূলবার কা ঵িস্তার করেं", + +// Toolbar Items and Context Menu +Save : "সে঵", +NewPage : "নযা পেজ", +Preview : "প্রী঵্যূ", +Cut : "কট", +Copy : "ক৉পী", +Paste : "পেস্ট", +PasteText : "পেস্ট (সাদা ট৅ক্স্ট)", +PasteWord : "পেস্ট (঵র্ড সে)", +Print : "প্রিন্ট", +SelectAll : "সব স৅ল৅ক্ট করেं", +RemoveFormat : "৞৉র্মৈট হটাযেं", +InsertLinkLbl : "লিंক", +InsertLink : "লিंক ইন্সর্ট/সंপাদন", +RemoveLink : "লিंক হটাযেं", +Anchor : "ঐंকর ইন্সর্ট/সंপাদন", +InsertImageLbl : "তস্঵ীর", +InsertImage : "তস্঵ীর ইন্সর্ট/সंপাদন", +InsertFlashLbl : "৞্লৈশ", +InsertFlash : "৞্লৈশ ইন্সর্ট/সंপাদন", +InsertTableLbl : "টেবল", +InsertTable : "টেবল ইন্সর্ট/সंপাদন", +InsertLineLbl : "রেখা", +InsertLine : "হ৉রি৛৉ন্টল রেখা ইন্সর্ট করেं", +InsertSpecialCharLbl: "঵িশেষ কর৅ক্টর", +InsertSpecialChar : "঵িশেষ কর৅ক্টর ইন্সর্ট করেं", +InsertSmileyLbl : "স্মাইলী", +InsertSmiley : "স্মাইলী ইন্সর্ট করেं", +About : "FCKeditor কে বারে মেं", +Bold : "বোল্ড", +Italic : "ইটৈলিক", +Underline : "রেখাंকণ", +StrikeThrough : "স্ট্রাইক থ্রূ", +Subscript : "অধোলেখ", +Superscript : "অভিলেখ", +LeftJustify : "বাযীं তরফ", +CenterJustify : "বীচ মেं", +RightJustify : "দাযীं তরফ", +BlockJustify : "ব্ল৉ক জস্টী৞াঈ", +DecreaseIndent : "ইন্ড৅ন্ট কম করেं", +IncreaseIndent : "ইন্ড৅ন্ট বঢ়াযেं", +Undo : "অন্ডূ", +Redo : "রীডূ", +NumberedListLbl : "অंকীয সূচী", +NumberedList : "অंকীয সূচী ইন্সর্ট/সंপাদন", +BulletedListLbl : "বুল৅ট সূচী", +BulletedList : "বুল৅ট সূচী ইন্সর্ট/সंপাদন", +ShowTableBorders : "টেবল ব৉র্ডরযেं দিখাযেं", +ShowDetails : "জ্যাদা দিখাযেं", +Style : "স্টাইল", +FontFormat : "৞৉র্মৈট", +Font : "৞৉ন্ট", +FontSize : "সাই৛", +TextColor : "টেক্স্ট রंগ", +BGColor : "বৈক্গ্রাউন্ড রंগ", +Source : "সোর্স", +Find : "খোজেं", +Replace : "রীপ্লেস", +SpellCheck : "঵র্তনী (স্পেলিंগ) জাँচ", +UniversalKeyboard : "যূনী঵র্সল কীবোর্ড", +PageBreakLbl : "পেজ ব্রেক", +PageBreak : "পেজ ব্রেক ইন্সর্ট্ করেं", + +Form : "৞৉র্ম", +Checkbox : "চ৅ক ব৉ক্স", +RadioButton : "রেডিও বটন", +TextField : "টেক্স্ট ৞ীল্ড", +Textarea : "টেক্স্ট এরিযা", +HiddenField : "গুপ্ত ৞ীল্ড", +Button : "বটন", +SelectionField : "চুনা঵ ৞ীল্ড", +ImageButton : "তস্঵ীর বটন", + +FitWindow : "মকসিমিসে সি", + +// Context Menu +EditLink : "লিंক সंপাদন", +CellCM : "স৅ল", +RowCM : "পंক্তি", +ColumnCM : "ক৉লম", +InsertRow : "পंক্তি ইন্সর্ট করেं", +DeleteRows : "পंক্তিযাँ ডিলীট করেं", +InsertColumn : "ক৉লম ইন্সর্ট করেं", +DeleteColumns : "ক৉লম ডিলীট করেं", +InsertCell : "স৅ল ইন্সর্ট করেं", +DeleteCells : "স৅ল ডিলীট করেं", +MergeCells : "স৅ল মিলাযেं", +SplitCell : "স৅ল অলগ করেं", +TableDelete : "টেবল ডিলীট করেं", +CellProperties : "স৅ল প্র৉পর্টী৛", +TableProperties : "টেবল প্র৉পর্টী৛", +ImageProperties : "তস্঵ীর প্র৉পর্টী৛", +FlashProperties : "৞্লৈশ প্র৉পর্টী৛", + +AnchorProp : "ঐंকর প্র৉পর্টী৛", +ButtonProp : "বটন প্র৉পর্টী৛", +CheckboxProp : "চ৅ক ব৉ক্স প্র৉পর্টী৛", +HiddenFieldProp : "গুপ্ত ৞ীল্ড প্র৉পর্টী৛", +RadioButtonProp : "রেডিও বটন প্র৉পর্টী৛", +ImageButtonProp : "তস্঵ীর বটন প্র৉পর্টী৛", +TextFieldProp : "টেক্স্ট ৞ীল্ড প্র৉পর্টী৛", +SelectionFieldProp : "চুনা঵ ৞ীল্ড প্র৉পর্টী৛", +TextareaProp : "টেক্স্ত এরিযা প্র৉পর্টী৛", +FormProp : "৞৉র্ম প্র৉পর্টী৛", + +FontFormats : "সাধারণ;৞৉র্মৈট৅ড;পতা;শীর্ষক 1;শীর্ষক 2;শীর্ষক 3;শীর্ষক4;শীর্ষক 5;শীর্ষক 6;শীর্ষক (DIV)", + +// Alerts and Messages +ProcessingXHTML : "XHTML প্রোস৅স হো রহা হৈ৤ ৛রা হরেं...", +Done : "পূরা হুআ", +PasteWordConfirm : "আপ জো টেক্স্ট পেস্ট করনা চাহতে হৈं, ঵হ ঵র্ড সে ক৉পীকিযা হুআ লগ রহা হৈ৤ ক্যা পেস্ট করনে সে পহলে আপ ইসে সা৞ করনা চাহেंগে?", +NotCompatiblePaste : "যহ কমাंড ইন্টরন৅ট এক্স্প্লোরর(Internet Explorer)5.5 যা উসকে বাদ কে ঵র্৛ন কে লিএ হী উপলব্ধ হৈ৤ ক্যা আপ বিনা সা৞ কিএপেস্ট করনা চাহেंগে?", +UnknownToolbarItem : "অনজান টূলবার আইটম \"%1\"", +UnknownCommand : "অনজান কমান্ড \"%1\"", +NotImplemented : "কমান্ড ইম্প্লীম৅ন্ট নহীं কিযা গযা হৈ", +UnknownToolbarSet : "টূলবার স৅ট \"%1\" উপলব্ধ নহীं হৈ", +NoActiveX : "আপকে ব্রাউ৛র্ কী সুরক্শা সেটিंগ্স্ এডিটর কী কুছ্ ৞ীচরোं কোসীমিত কর্ সকতী হৈं৤ ক্রিপযা \"Run ActiveX controls and plug-ins\"঵িকল্প কো এনেবল করেं. আপকো এরর্স্ ঔর গাযব ৞ীচর্স্ কা অনুভ঵ হো সকতাহৈ৤", +BrowseServerBlocked : "রিসোর্সে৛ ব্রাউ৛র্ নহীं খোলা জা সকা৤ ক্রিপযা সভীপ৉প্-অপ্ ব্ল৉কর্স্ কো ডিসেবল করেं৤", +DialogBlocked : "ডাযলগ ঵িন্ডো নহীं খোলা জা সকা৤ ক্রিপযা সভী প৉প্-অপ্ব্ল৉কর্স্ কো ডিসেবল করেं৤", + +// Dialogs +DlgBtnOK : " ীক হৈ", +DlgBtnCancel : "রদ্দ করেं", +DlgBtnClose : "বন্দ করেं", +DlgBtnBrowseServer : "সর্঵র ব্রাউ৛ করেं", +DlgAdvancedTag : "঍ড্঵ান্স্ড", +DlgOpOther : "<অন্য>", +DlgInfoTab : "সূচনা", +DlgAlertUrl : "URL ইন্সর্ট করেं", + +// General Dialogs Labels +DlgGenNotSet : "<স৅ট নহীं>", +DlgGenId : "Id", +DlgGenLangDir : "ভাষা লিখনে কী দিশা", +DlgGenLangDirLtr : "বাযেं সে দাযেं (LTR)", +DlgGenLangDirRtl : "দাযেं সে বাযেं (RTL)", +DlgGenLangCode : "ভাষা কোড", +DlgGenAccessKey : "঍ক্স৅স কী", +DlgGenName : "নাম", +DlgGenTabIndex : "টৈব ইন্ড৅ক্স", +DlgGenLongDescr : "অধিক ঵ি঵রণ কে লিএ URL", +DlgGenClass : "স্টাইল-শীট ক্লাস", +DlgGenTitle : "পরামর্শ শীর্শক", +DlgGenContType : "পরামর্শ কন্ট৅ন্ট প্রকার", +DlgGenLinkCharset : "লিंক রিসোর্স কর৅ক্টর স৅ট", +DlgGenStyle : "স্টাইল", + +// Image Dialog +DlgImgTitle : "তস্঵ীর প্র৉পর্টী৛", +DlgImgInfoTab : "তস্঵ীর কী জানকারী", +DlgImgBtnUpload : "ইসে সর্঵র কো ভেজেं", +DlgImgURL : "URL", +DlgImgUpload : "অপলোড", +DlgImgAlt : "঵ৈকল্পিক টেক্স্ট", +DlgImgWidth : "চৌড়াঈ", +DlgImgHeight : "ঊँচাঈ", +DlgImgLockRatio : "ল৉ক অনুপাত", +DlgBtnResetSize : "রীস৅ট সাই৛", +DlgImgBorder : "ব৉র্ডর", +DlgImgHSpace : "হ৉রি৛৉ন্টল স্পেস", +DlgImgVSpace : "঵র্টিকল স্পেস", +DlgImgAlign : "঍লাইন", +DlgImgAlignLeft : "দাযেं", +DlgImgAlignAbsBottom: "Abs নীচে", +DlgImgAlignAbsMiddle: "Abs ঊপর", +DlgImgAlignBaseline : "মূল রেখা", +DlgImgAlignBottom : "নীচে", +DlgImgAlignMiddle : "মধ্য", +DlgImgAlignRight : "দাযেं", +DlgImgAlignTextTop : "টেক্স্ট ঊপর", +DlgImgAlignTop : "ঊপর", +DlgImgPreview : "প্রী঵্যূ", +DlgImgAlertUrl : "তস্঵ীর কা URL টাইপ করেं ", +DlgImgLinkTab : "লিंক", + +// Flash Dialog +DlgFlashTitle : "৞্লৈশ প্র৉পর্টী৛", +DlgFlashChkPlay : "঑টো প্লে", +DlgFlashChkLoop : "লূপ", +DlgFlashChkMenu : "৞্লৈশ ম৅ন্যূ কা প্রযোগ করেं", +DlgFlashScale : "স্কেল", +DlgFlashScaleAll : "সভী দিখাযেं", +DlgFlashScaleNoBorder : "কোঈ ব৉র্ডর নহীं", +DlgFlashScaleFit : "বিল্কুল ৞িট", + +// Link Dialog +DlgLnkWindowTitle : "লিंক", +DlgLnkInfoTab : "লিंক ", +DlgLnkTargetTab : "টার্গেট", + +DlgLnkType : "লিंক প্রকার", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "ইস পেজ কা ঐंকর", +DlgLnkTypeEMail : "ঈ-মেল", +DlgLnkProto : "প্রোটোক৉ল", +DlgLnkProtoOther : "<অন্য>", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "ঐंকর চুনেं", +DlgLnkAnchorByName : "ঐंকর নাম সে", +DlgLnkAnchorById : "঍লীম৅ন্ট Id সে", +DlgLnkNoAnchors : "<ড৉ক্যূম৅ন্ট মেं ঐंকর্স কী সंখ্যা>", +DlgLnkEMail : "ঈ-মেল পতা", +DlgLnkEMailSubject : "সंদেশ ঵িষয", +DlgLnkEMailBody : "সंদেশ", +DlgLnkUpload : "অপলোড", +DlgLnkBtnUpload : "ইসে সর্঵র কো ভেজেं", + +DlgLnkTarget : "টার্গেট", +DlgLnkTargetFrame : "<৞্রেম>", +DlgLnkTargetPopup : "<প৉প-অপ ঵িন্ডো>", +DlgLnkTargetBlank : "নযা ঵িন্ডো (_blank)", +DlgLnkTargetParent : "মূল ঵িন্ডো (_parent)", +DlgLnkTargetSelf : "ইসী ঵িন্ডো (_self)", +DlgLnkTargetTop : "শীর্ষ ঵িন্ডো (_top)", +DlgLnkTargetFrameName : "টার্গেট ৞্রেম কা নাম", +DlgLnkPopWinName : "প৉প-অপ ঵িন্ডো কা নাম", +DlgLnkPopWinFeat : "প৉প-অপ ঵িন্ডো ৞ীচর্স", +DlgLnkPopResize : "সাই৛ বদলা জা সকতা হৈ", +DlgLnkPopLocation : "লোকেশন বার", +DlgLnkPopMenu : "ম৅ন্যূ বার", +DlgLnkPopScroll : "স্ক্র৉ল বার", +DlgLnkPopStatus : "স্টেটস বার", +DlgLnkPopToolbar : "টূল বার", +DlgLnkPopFullScrn : "৞ুল স্ক্রীন (IE)", +DlgLnkPopDependent : "ডিপেন্ড৅ন্ট (Netscape)", +DlgLnkPopWidth : "চৌড়াঈ", +DlgLnkPopHeight : "ঊँচাঈ", +DlgLnkPopLeft : "বাযীं তরফ", +DlgLnkPopTop : "দাযীं তরফ", + +DlnLnkMsgNoUrl : "লিंক URL টাইপ করেं", +DlnLnkMsgNoEMail : "ঈ-মেল পতা টাইপ করেं", +DlnLnkMsgNoAnchor : "ঐंকর চুনেं", + +// Color Dialog +DlgColorTitle : "রंগ চুনেं", +DlgColorBtnClear : "সা৞ করেं", +DlgColorHighlight : "হাইলাইট", +DlgColorSelected : "স৅ল৅ক্ট৅ড", + +// Smiley Dialog +DlgSmileyTitle : "স্মাইলী ইন্সর্ট করেं", + +// Special Character Dialog +DlgSpecialCharTitle : "঵িশেষ কর৅ক্টর চুনেं", + +// Table Dialog +DlgTableTitle : "টেবল প্র৉পর্টী৛", +DlgTableRows : "পंক্তিযাँ", +DlgTableColumns : "ক৉লম", +DlgTableBorder : "ব৉র্ডর সাই৛", +DlgTableAlign : "঍লাইন্ম৅ন্ট", +DlgTableAlignNotSet : "<স৅ট নহীं>", +DlgTableAlignLeft : "দাযেं", +DlgTableAlignCenter : "বীচ মেं", +DlgTableAlignRight : "বাযেं", +DlgTableWidth : "চৌড়াঈ", +DlgTableWidthPx : "পিক্স৅ল", +DlgTableWidthPc : "প্রতিশত", +DlgTableHeight : "ঊँচাঈ", +DlgTableCellSpace : "স৅ল অंতর", +DlgTableCellPad : "স৅ল পৈডিंগ", +DlgTableCaption : "শীর্ষক", +DlgTableSummary : "সারাंশ", + +// Table Cell Dialog +DlgCellTitle : "স৅ল প্র৉পর্টী৛", +DlgCellWidth : "চৌড়াঈ", +DlgCellWidthPx : "পিক্স৅ল", +DlgCellWidthPc : "প্রতিশত", +DlgCellHeight : "ঊँচাঈ", +DlgCellWordWrap : "঵র্ড রৈপ", +DlgCellWordWrapNotSet : "<স৅ট নহীं>", +DlgCellWordWrapYes : "হাँ", +DlgCellWordWrapNo : "নহীं", +DlgCellHorAlign : "হ৉রি৛৉ন্টল ঍লাইন্ম৅ন্ট", +DlgCellHorAlignNotSet : "<স৅ট নহীं>", +DlgCellHorAlignLeft : "দাযেं", +DlgCellHorAlignCenter : "বীচ মেं", +DlgCellHorAlignRight: "বাযেं", +DlgCellVerAlign : "঵র্টিকল ঍লাইন্ম৅ন্ট", +DlgCellVerAlignNotSet : "<স৅ট নহীं>", +DlgCellVerAlignTop : "ঊপর", +DlgCellVerAlignMiddle : "মধ্য", +DlgCellVerAlignBottom : "নীচে", +DlgCellVerAlignBaseline : "মূলরেখা", +DlgCellRowSpan : "পंক্তি স্পৈন", +DlgCellCollSpan : "ক৉লম স্পৈন", +DlgCellBackColor : "বৈক্গ্রাউন্ড রंগ", +DlgCellBorderColor : "ব৉র্ডর কা রंগ", +DlgCellBtnSelect : "চুনেं...", + +// Find Dialog +DlgFindTitle : "খোজেं", +DlgFindFindBtn : "খোজেं", +DlgFindNotFoundMsg : "আপকে দ্঵ারা দিযা গযা টেক্স্ট নহীं মিলা", + +// Replace Dialog +DlgReplaceTitle : "রিপ্লেস", +DlgReplaceFindLbl : "যহ খোজেं:", +DlgReplaceReplaceLbl : "ইসসে রিপ্লেস করেं:", +DlgReplaceCaseChk : "কেস মিলাযেं", +DlgReplaceReplaceBtn : "রিপ্লেস", +DlgReplaceReplAllBtn : "সভী রিপ্লেস করেं", +DlgReplaceWordChk : "পূরা শব্দ মিলাযেं", + +// Paste Operations / Dialog +PasteErrorPaste : "আপকে ব্রা‌উ৛র কী সুরক্ষা স৅টিন্গ্স নে পেস্ট করনে কী অনুমতি নহীं প্রদান কী হৈ৤ (Ctrl+V) কা প্রযোগ করেं৤", +PasteErrorCut : "আপকে ব্রাউ৛র কী সুরক্ষা স৅টিন্গ্স নে কট করনে কী অনুমতি নহীं প্রদান কী হৈ৤ (Ctrl+X) কা প্রযোগ করেं৤", +PasteErrorCopy : "আপকে ব্রাআউ৛র কী সুরক্ষা স৅টিন্গ্স নে ক৉পী করনে কী অনুমতি নহীं প্রদান কী হৈ৤ (Ctrl+C) কা প্রযোগ করেं৤", + +PasteAsText : "পেস্ট (সাদা ট৅ক্স্ট)", +PasteFromWord : "পেস্ট (঵র্ড সে)", + +DlgPasteMsg2 : "Ctrl+V কা প্রযোগ করকে পেস্ট করেं ঔর ীক হৈ করেं.", +DlgPasteIgnoreFont : "৞৉ন্ট পরিভাষা নিকালেं", +DlgPasteRemoveStyles : "স্টাইল পরিভাষা নিকালেं", +DlgPasteCleanBox : "ব৉ক্স সা৞ করেं", + +// Color Picker +ColorAutomatic : "঑টোমৈটিক", +ColorMoreColors : "ঔর রंগ...", + +// Document Properties +DocProps : "ড৉ক্যূম৅ন্ট প্র৉পর্টী৛", + +// Anchor Dialog +DlgAnchorTitle : "ঐंকর প্র৉পর্টী৛", +DlgAnchorName : "ঐंকর কা নাম", +DlgAnchorErrorName : "ঐंকর কা নাম টাইপ করেं", + +// Speller Pages Dialog +DlgSpellNotInDic : "শব্দকোশ মেं নহীं", +DlgSpellChangeTo : "ইসমেं বদলেं", +DlgSpellBtnIgnore : "ইগ্নোর", +DlgSpellBtnIgnoreAll : "সভী ইগ্নোর করেं", +DlgSpellBtnReplace : "রিপ্লেস", +DlgSpellBtnReplaceAll : "সভী রিপ্লেস করেं", +DlgSpellBtnUndo : "অন্ডূ", +DlgSpellNoSuggestions : "- কোঈ সুঝা঵ নহীं -", +DlgSpellProgress : "঵র্তনী কী জাँচ (স্প৅ল-চ৅ক) জারী হৈ...", +DlgSpellNoMispell : "঵র্তনী কী জাँচ : কোঈ গলত ঵র্তনী (স্প৅লিंগ) নহীं পাঈ গঈ", +DlgSpellNoChanges : "঵র্তনী কী জাँচ :কোঈ শব্দ নহীं বদলা গযা", +DlgSpellOneChange : "঵র্তনী কী জাँচ : এক শব্দ বদলা গযা", +DlgSpellManyChanges : "঵র্তনী কী জাँচ : %1 শব্দ বদলে গযে", + +IeSpellDownload : "স্প৅ল-চ৅কর ইন্স্টাল নহীं কিযা গযা হৈ৤ ক্যা আপ ইসে ডা‌উনলোড করনা চাহেंগে?", + +// Button Dialog +DlgButtonText : "টেক্স্ট (঵ৈল্যূ)", +DlgButtonType : "প্রকার", + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "নাম", +DlgCheckboxValue : "঵ৈল্যূ", +DlgCheckboxSelected : "স৅ল৅ক্ট৅ড", + +// Form Dialog +DlgFormName : "নাম", +DlgFormAction : "঍ক্শন", +DlgFormMethod : "তরীকা", + +// Select Field Dialog +DlgSelectName : "নাম", +DlgSelectValue : "঵ৈল্যূ", +DlgSelectSize : "সাই৛", +DlgSelectLines : "পंক্তিযাँ", +DlgSelectChkMulti : "এক সে জ্যাদা ঵িকল্প চুননে দেं", +DlgSelectOpAvail : "উপলব্ধ ঵িকল্প", +DlgSelectOpText : "টেক্স্ট", +DlgSelectOpValue : "঵ৈল্যূ", +DlgSelectBtnAdd : "জোড়েं", +DlgSelectBtnModify : "বদলেं", +DlgSelectBtnUp : "ঊপর", +DlgSelectBtnDown : "নীচে", +DlgSelectBtnSetValue : "চুনী গঈ ঵ৈল্যূ স৅ট করেं", +DlgSelectBtnDelete : "ডিলীট", + +// Textarea Dialog +DlgTextareaName : "নাম", +DlgTextareaCols : "ক৉লম", +DlgTextareaRows : "পंক্তিযাं", + +// Text Field Dialog +DlgTextName : "নাম", +DlgTextValue : "঵ৈল্যূ", +DlgTextCharWidth : "কর৅ক্টর কী চৌঢ়াঈ", +DlgTextMaxChars : "অধিকতম কর৅ক্টর", +DlgTextType : "টাইপ", +DlgTextTypeText : "টেক্স্ট", +DlgTextTypePass : "পাস্঵র্ড", + +// Hidden Field Dialog +DlgHiddenName : "নাম", +DlgHiddenValue : "঵ৈল্যূ", + +// Bulleted List Dialog +BulletedListProp : "বুল৅ট সূচী প্র৉পর্টী৛", +NumberedListProp : "অंকীয সূচী প্র৉পর্টী৛", +DlgLstType : "প্রকার", +DlgLstTypeCircle : "গোল", +DlgLstTypeDisc : "ডিস্ক", +DlgLstTypeSquare : "চৌক৊ণ", +DlgLstTypeNumbers : "অंক (1, 2, 3)", +DlgLstTypeLCase : "ছোটে অক্ষর (a, b, c)", +DlgLstTypeUCase : "বড়ে অক্ষর (A, B, C)", +DlgLstTypeSRoman : "ছোটে রোমন অंক (i, ii, iii)", +DlgLstTypeLRoman : "বড়ে রোমন অंক (I, II, III)", + +// Document Properties Dialog +DlgDocGeneralTab : "আম", +DlgDocBackTab : "বৈক্গ্রাউন্ড", +DlgDocColorsTab : "রंগ ঔর মার্জিন", +DlgDocMetaTab : "ম৅টাডেটা", + +DlgDocPageTitle : "পেজ শীর্ষক", +DlgDocLangDir : "ভাষা লিখনে কী দিশা", +DlgDocLangDirLTR : "বাযেं সে দাযেं (LTR)", +DlgDocLangDirRTL : "দাযেं সে বাযেं (RTL)", +DlgDocLangCode : "ভাষা কোড", +DlgDocCharSet : "করেক্টর স৅ট ঍ন্কোডিंগ", +DlgDocCharSetOther : "অন্য করেক্টর স৅ট ঍ন্কোডিंগ", + +DlgDocDocType : "ড৉ক্যূম৅ন্ট প্রকার শীর্ষক", +DlgDocDocTypeOther : "অন্য ড৉ক্যূম৅ন্ট প্রকার শীর্ষক", +DlgDocIncXHTML : "XHTML সূচনা সম্মিলিত করেं", +DlgDocBgColor : "বৈক্গ্রাউন্ড রंগ", +DlgDocBgImage : "বৈক্গ্রাউন্ড তস্঵ীর URL", +DlgDocBgNoScroll : "স্ক্র৉ল ন করনে ঵ালা বৈক্গ্রাউন্ড", +DlgDocCText : "টেক্স্ট", +DlgDocCLink : "লিंক", +DlgDocCVisited : "঵ি৛িট কিযা গযা লিंক", +DlgDocCActive : "সক্রিয লিंক", +DlgDocMargins : "পেজ মার্জিন", +DlgDocMaTop : "ঊপর", +DlgDocMaLeft : "বাযেं", +DlgDocMaRight : "দাযেं", +DlgDocMaBottom : "নীচে", +DlgDocMeIndex : "ড৉ক্যুম৅ন্ট ইন্ডেক্স সंকেতশব্দ (অল্প঵িরাম সে অলগ করেं)", +DlgDocMeDescr : "ড৉ক্যূম৅ন্ট কর৅ক্টরন", +DlgDocMeAuthor : "লেখক", +DlgDocMeCopy : "ক৉পীরাইট", +DlgDocPreview : "প্রী঵্যূ", + +// Templates Dialog +Templates : "ট৅ম্প্লেট", +DlgTemplatesTitle : "কন্টেন্ট ট৅ম্প্লেট", +DlgTemplatesSelMsg : "঍ডিটর মেं ওপন করনে হেতু ট৅ম্প্লেট চুনেं(঵র্তমান কন্ট৅ন্ট সে঵ নহীं হোंগে):", +DlgTemplatesLoading : "ট৅ম্প্লেট সূচী লোড কী জা রহী হৈ৤ ৛রা হরেं...", +DlgTemplatesNoTpl : "(কোঈ ট৅ম্প্লেট ডি৞াইন নহীं কিযা গযা হৈ)", + +// About Dialog +DlgAboutAboutTab : "FCKEditor কে বারে মেं", +DlgAboutBrowserInfoTab : "ব্রাউ৛র কে বারে মেं", +DlgAboutLicenseTab : "লিসেণস", +DlgAboutVersion : "঵র্৛ন", +DlgAboutLicense : "লাইসেंস :GNU LGPL", +DlgAboutInfo : "অধিক জানকারী কে লিযে যহাँ জাযেं:" +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/bs.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/bs.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/bs.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/bs.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -83,7 +83,7 @@ Source : "HTML kôd", Find : "Naði", Replace : "Zamjeni", -SpellCheck : "Check Spell", //MISSING +SpellCheck : "Check Spelling", //MISSING UniversalKeyboard : "Universal Keyboard", //MISSING PageBreakLbl : "Page Break", //MISSING PageBreak : "Insert Page Break", //MISSING @@ -98,8 +98,13 @@ SelectionField : "Selection Field", //MISSING ImageButton : "Image Button", //MISSING +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "Izmjeni link", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "Ubaci red", DeleteRows : "Briši redove", InsertColumn : "Ubaci kolonu", @@ -136,7 +141,7 @@ UnknownCommand : "Nepoznata komanda \"%1\"", NotImplemented : "Komanda nije implementirana", UnknownToolbarSet : "Traka sa alatima \"%1\" ne postoji", -NoActiveX : "You 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 +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 @@ -146,12 +151,12 @@ DlgBtnClose : "Zatvori", DlgBtnBrowseServer : "Browse Server", //MISSING DlgAdvancedTag : "Naprednije", -DlgOpOther : "<Other>", //MISSING +DlgOpOther : "", //MISSING DlgInfoTab : "Info", //MISSING DlgAlertUrl : "Please insert the URL", //MISSING // General Dialogs Labels -DlgGenNotSet : "<nije podešeno>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Smjer pisanja", DlgGenLangDirLtr : "S lijeva na desno (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Sidro na ovoj stranici", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<drugi>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Izaberi sidro", DlgLnkAnchorByName : "Po nazivu sidra", DlgLnkAnchorById : "Po Id-u elementa", -DlgLnkNoAnchors : "<Nema dostupnih sidra na stranici>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail Adresa", DlgLnkEMailSubject : "Subjekt poruke", DlgLnkEMailBody : "Poruka", DlgLnkUpload : "Šalji", DlgLnkBtnUpload : "Šalji na server", DlgLnkTarget : "Prozor", -DlgLnkTargetFrame : "<frejm>", -DlgLnkTargetPopup : "<popup prozor>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Novi prozor (_blank)", DlgLnkTargetParent : "Glavni prozor (_parent)", DlgLnkTargetSelf : "Isti prozor (_self)", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING DlgPasteCleanBox : "Clean Up Box", //MISSING - // Color Picker ColorAutomatic : "Automatska", ColorMoreColors : "Više boja...", @@ -475,6 +479,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/ca.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/ca.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/ca.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/ca.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -15,262 +15,268 @@ * * File Authors: * Jordi Cerdan (nan@myp.ad) + * Marc Folch (mcus21@gmail.com) */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", -ToolbarCollapse : "Col·lapsar barra", -ToolbarExpand : "Expandir barra", +ToolbarCollapse : "Col·lapsa la barra", +ToolbarExpand : "Amplia la barra", // Toolbar Items and Context Menu -Save : "Guardar", +Save : "Desa", NewPage : "Nova Pàgina", Preview : "Vista Prèvia", -Cut : "Tallar", -Copy : "Copiar", -Paste : "Enganxar", -PasteText : "Enganxar com text planer", -PasteWord : "Enganxar des de Word", -Print : "Imprimir", -SelectAll : "Seleccionar tot", -RemoveFormat : "Eliminar Format", +Cut : "Retalla", +Copy : "Copia", +Paste : "Enganxa", +PasteText : "Enganxa com a text no formatat", +PasteWord : "Enganxa des del Word", +Print : "Imprimeix", +SelectAll : "Selecciona-ho tot", +RemoveFormat : "Elimina Format", InsertLinkLbl : "Enllaç", -InsertLink : "Afegir/Editar Enllaç", -RemoveLink : "Eliminar Enllaç", -Anchor : "Afegir/Editar Àncora", +InsertLink : "Insereix/Edita enllaç", +RemoveLink : "Elimina enllaç", +Anchor : "Insereix/Edita àncora", InsertImageLbl : "Imatge", -InsertImage : "Afegir/Editar Imatge", +InsertImage : "Insereix/Edita imatge", InsertFlashLbl : "Flash", -InsertFlash : "Afegir/Editar Flash", +InsertFlash : "Insereix/Edita Flash", InsertTableLbl : "Taula", -InsertTable : "Afegir/Editar Taula", +InsertTable : "Insereix/Edita taula", InsertLineLbl : "Línia", -InsertLine : "Afegir Línia Horitzontal", +InsertLine : "Insereix línia horitzontal", InsertSpecialCharLbl: "Caràcter Especial", -InsertSpecialChar : "Afegir Caràcter Especial", +InsertSpecialChar : "Insereix caràcter especial", InsertSmileyLbl : "Icona", -InsertSmiley : "Afegir Icona", -About : "Sobre FCKeditor", +InsertSmiley : "Insereix icona", +About : "Quant a FCKeditor", Bold : "Negreta", -Italic : "Itàlica", +Italic : "Cursiva", Underline : "Subratllat", -StrikeThrough : "Tatxat", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Justificar Esquerra", -CenterJustify : "Justificar Centrat", -RightJustify : "Justificar Dreta", -BlockJustify : "Justificar Bloc", -DecreaseIndent : "Disminuir Indentació", -IncreaseIndent : "Augmentar Indentació", -Undo : "Desfer", -Redo : "Refer", -NumberedListLbl : "Llista Numerada", -NumberedList : "Afegir/Eliminar Llista Numerada", -BulletedListLbl : "Llista Marcada", -BulletedList : "Afegir/Eliminar Llista Marcada", -ShowTableBorders : "Mostrar Costats de Taules", -ShowDetails : "Mostrar Detalls", +StrikeThrough : "Barrat", +Subscript : "Subíndex", +Superscript : "Superíndex", +LeftJustify : "Aliniament esquerra", +CenterJustify : "Aliniament centrat", +RightJustify : "Aliniament dreta", +BlockJustify : "Justifica", +DecreaseIndent : "Sagna el text", +IncreaseIndent : "Treu el sagnat del text", +Undo : "Desfés", +Redo : "Refés", +NumberedListLbl : "Llista numerada", +NumberedList : "Aplica o elimina la llista numerada", +BulletedListLbl : "Llista de pics", +BulletedList : "Aplica o elimina la llista de pics", +ShowTableBorders : "Mostra les vores de les taules", +ShowDetails : "Mostra detalls", Style : "Estil", FontFormat : "Format", -Font : "Font", -FontSize : "Tamany", +Font : "Tipus de lletra", +FontSize : "Mida", TextColor : "Color de Text", BGColor : "Color de Fons", -Source : "Font", -Find : "Cercar", -Replace : "Remplaçar", -SpellCheck : "Verificar sintaxi", +Source : "Codi font", +Find : "Cerca", +Replace : "Reemplaça", +SpellCheck : "Revisa l'ortografia", UniversalKeyboard : "Teclat universal", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "Salt de pàgina", +PageBreak : "Insereix salt de pàgina", Form : "Formulari", Checkbox : "Casella de verificació", -RadioButton : "Botó ràdio", +RadioButton : "Botó d'opció", TextField : "Camp de text", Textarea : "Àrea de text", HiddenField : "Camp ocult", -Button : "botó", +Button : "Botó", SelectionField : "Camp de selecció", -ImageButton : "Botó imatge", +ImageButton : "Botó d'imatge", +FitWindow : "Maximiza la mida de l'editor", + // Context Menu -EditLink : "Editar Enllaç", -InsertRow : "Afegir Fila", -DeleteRows : "Eliminar Files", -InsertColumn : "Afegir Columna", -DeleteColumns : "Eliminar Columnes", -InsertCell : "Afegir Cel·la", -DeleteCells : "Eliminar Cel·les", -MergeCells : "Fusionar Cel·les", -SplitCell : "Separar Cel·les", -TableDelete : "Delete Table", //MISSING -CellProperties : "Proprietats de Cel·la", -TableProperties : "Proprietats de Taula", -ImageProperties : "Proprietats d'Image", -FlashProperties : "Proprietats Flash", +EditLink : "Edita l'enllaç", +CellCM : "Cel·la", +RowCM : "Fila", +ColumnCM : "Columna", +InsertRow : "Insereix una fila", +DeleteRows : "Suprimeix una fila", +InsertColumn : "Afegeix una columna", +DeleteColumns : "Suprimeix una columna", +InsertCell : "Insereix una cel·la", +DeleteCells : "Suprimeix les cel·les", +MergeCells : "Fusiona les cel·les", +SplitCell : "Separa les cel·les", +TableDelete : "Suprimeix la taula", +CellProperties : "Propietats de la cel·la", +TableProperties : "Propietats de la taula", +ImageProperties : "Propietats de la imatge", +FlashProperties : "Propietats del Flash", -AnchorProp : "Proprietats d'àncora", -ButtonProp : "Proprietats de botó", -CheckboxProp : "Proprietats de casella de verificació", -HiddenFieldProp : "Proprietats de camp ocult", -RadioButtonProp : "Proprietats de botó ràdio", -ImageButtonProp : "Proprietats de botó imatge", -TextFieldProp : "Proprietats de camp de text", -SelectionFieldProp : "Proprietats de camp de selecció", -TextareaProp : "Proprietats de camp de text", -FormProp : "Proprietats de formulari", +AnchorProp : "Propietats de l'àncora", +ButtonProp : "Propietats del botó", +CheckboxProp : "Propietats de la casella de verificació", +HiddenFieldProp : "Propietats del camp ocult", +RadioButtonProp : "Propietats del botó d'opció", +ImageButtonProp : "Propietats del botó d'imatge", +TextFieldProp : "Propietats del camp de text", +SelectionFieldProp : "Propietats del camp de selecció", +TextareaProp : "Propietats de l'àrea de text", +FormProp : "Propietats del formulari", -FontFormats : "Normal;Formatejat;Adreça;Capçalera 1;Capçalera 2;Capçalera 3;Capçalera 4;Capçalera 5;Capçalera 6", +FontFormats : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6", // Alerts and Messages ProcessingXHTML : "Processant XHTML. Si us plau esperi...", Done : "Fet", PasteWordConfirm : "El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?", NotCompatiblePaste : "Aquesta funció és disponible per a Internet Explorer versió 5.5 o superior. Voleu enganxar sense netejar?", -UnknownToolbarItem : "Element de la Barra d'eines desconegut \"%1\"", +UnknownToolbarItem : "Element de la barra d'eines desconegut \"%1\"", UnknownCommand : "Nom de comanda desconegut \"%1\"", NotImplemented : "Mètode no implementat", UnknownToolbarSet : "Conjunt de barra d'eines \"%1\" inexistent", -NoActiveX : "You 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 : "Les preferències del navegador poden limitar algunes funcions d'aquest editor. Cal habilitar l'opció \"Executa controls ActiveX i plug-ins\". Poden sorgir errors i poden faltar algunes funcions.", +BrowseServerBlocked : "El visualitzador de recursos no s'ha pogut obrir. Assegura't de que els bloquejos de finestres emergents estan desactivats.", +DialogBlocked : "No ha estat possible obrir una finestra de diàleg. Assegura't de que els bloquejos de finestres emergents estan desactivats.", // Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Tancar", +DlgBtnOK : "D'acord", +DlgBtnCancel : "Cancel·la", +DlgBtnClose : "Tanca", DlgBtnBrowseServer : "Veure servidor", DlgAdvancedTag : "Avançat", DlgOpOther : "Altres", DlgInfoTab : "Info", DlgAlertUrl : "Si us plau, afegiu la URL", // General Dialogs Labels -DlgGenNotSet : "<no definit>", +DlgGenNotSet : "", DlgGenId : "Id", -DlgGenLangDir : "Direcció Idioma", -DlgGenLangDirLtr : "Esquerra a Dreta (LTR)", -DlgGenLangDirRtl : "Dreta a Esquerra (RTL)", -DlgGenLangCode : "Codi de Llengua", +DlgGenLangDir : "Direcció de l'idioma", +DlgGenLangDirLtr : "D'esquerra a dreta (LTR)", +DlgGenLangDirRtl : "De dreta a esquerra (RTL)", +DlgGenLangCode : "Codi d'idioma", DlgGenAccessKey : "Clau d'accés", DlgGenName : "Nom", DlgGenTabIndex : "Index de Tab", -DlgGenLongDescr : "Descripció Llarga URL", -DlgGenClass : "Classes del Full d'Estils", -DlgGenTitle : "Títol Consultiu", -DlgGenContType : "Tipus de Contingut Consultiu", -DlgGenLinkCharset : "Conjunt de Caràcters Font Enllaçat", +DlgGenLongDescr : "Descripció llarga de la URL", +DlgGenClass : "Classes del full d'estil", +DlgGenTitle : "Títol consultiu", +DlgGenContType : "Tipus de contingut consultiu", +DlgGenLinkCharset : "Conjunt de caràcters font enllaçat", DlgGenStyle : "Estil", // Image Dialog -DlgImgTitle : "Proprietats d'Imatge", -DlgImgInfoTab : "Informació d'Imatge", -DlgImgBtnUpload : "Enviar-la al servidor", +DlgImgTitle : "Propietats de la imatge", +DlgImgInfoTab : "Informació de la imatge", +DlgImgBtnUpload : "Envia-la al servidor", DlgImgURL : "URL", -DlgImgUpload : "Pujar", -DlgImgAlt : "Text Alternatiu", +DlgImgUpload : "Puja", +DlgImgAlt : "Text alternatiu", DlgImgWidth : "Amplada", DlgImgHeight : "Alçada", -DlgImgLockRatio : "Bloquejar Proporcions", -DlgBtnResetSize : "Restaurar Tamany", -DlgImgBorder : "Costat", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", +DlgImgLockRatio : "Bloqueja les proporcions", +DlgBtnResetSize : "Restaura la mida", +DlgImgBorder : "Vora", +DlgImgHSpace : "Espaiat horit.", +DlgImgVSpace : "Espaiat vert.", DlgImgAlign : "Alineació", -DlgImgAlignLeft : "Left", +DlgImgAlignLeft : "Ajusta a l'esquerra", DlgImgAlignAbsBottom: "Abs Bottom", DlgImgAlignAbsMiddle: "Abs Middle", DlgImgAlignBaseline : "Baseline", DlgImgAlignBottom : "Bottom", DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", +DlgImgAlignRight : "Ajusta a la dreta", DlgImgAlignTextTop : "Text Top", DlgImgAlignTop : "Top", -DlgImgPreview : "Vista Prèvia", +DlgImgPreview : "Vista prèvia", DlgImgAlertUrl : "Si us plau, escriviu la URL de la imatge", DlgImgLinkTab : "Enllaç", // Flash Dialog -DlgFlashTitle : "Propietats Flash", -DlgFlashChkPlay : "Reprodució Automàtica", +DlgFlashTitle : "Propietats del Flash", +DlgFlashChkPlay : "Reprodució automàtica", DlgFlashChkLoop : "Bucle", -DlgFlashChkMenu : "Habilitar Menu Flash", +DlgFlashChkMenu : "Habilita menú Flash", DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostrar tot", -DlgFlashScaleNoBorder : "Sense Costats", +DlgFlashScaleAll : "Mostra-ho tot", +DlgFlashScaleNoBorder : "Sense vores", DlgFlashScaleFit : "Mida exacta", // Link Dialog DlgLnkWindowTitle : "Enllaç", -DlgLnkInfoTab : "Informació d'Enllaç", +DlgLnkInfoTab : "Informació de l'enllaç", DlgLnkTargetTab : "Destí", -DlgLnkType : "Tipus de Link", +DlgLnkType : "Tipus d'enllaç", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Àncora en aquesta pàgina", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<altra>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", -DlgLnkAnchorSel : "Seleccionar una àncora", +DlgLnkAnchorSel : "Selecciona una àncora", DlgLnkAnchorByName : "Per nom d'àncora", DlgLnkAnchorById : "Per Id d'element", -DlgLnkNoAnchors : "<No hi ha àncores disponibles en aquest document>", +DlgLnkNoAnchors : "", DlgLnkEMail : "Adreça d'E-Mail", -DlgLnkEMailSubject : "Subjecte del Missatge", -DlgLnkEMailBody : "Cos del Missatge", -DlgLnkUpload : "Pujar", -DlgLnkBtnUpload : "Enviar al Servidor", +DlgLnkEMailSubject : "Assumpte del missatge", +DlgLnkEMailBody : "Cos del missatge", +DlgLnkUpload : "Puja", +DlgLnkBtnUpload : "Envia al servidor", DlgLnkTarget : "Destí", -DlgLnkTargetFrame : "<marc>", -DlgLnkTargetPopup : "<finestra popup>", -DlgLnkTargetBlank : "Nova Finestra (_blank)", -DlgLnkTargetParent : "Finestra Pare (_parent)", -DlgLnkTargetSelf : "Mateixa Finestra (_self)", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", +DlgLnkTargetBlank : "Nova finestra (_blank)", +DlgLnkTargetParent : "Finestra pare (_parent)", +DlgLnkTargetSelf : "Mateixa finestra (_self)", DlgLnkTargetTop : "Finestra Major (_top)", DlgLnkTargetFrameName : "Nom del marc de destí", -DlgLnkPopWinName : "Nom Finestra Popup", -DlgLnkPopWinFeat : "Característiques Finestra Popup", +DlgLnkPopWinName : "Nom finestra popup", +DlgLnkPopWinFeat : "Característiques finestra popup", DlgLnkPopResize : "Redimensionable", -DlgLnkPopLocation : "Barra d'Adreça", -DlgLnkPopMenu : "Barra de Menú", -DlgLnkPopScroll : "Barres d'Scroll", -DlgLnkPopStatus : "Barra d'Estat", -DlgLnkPopToolbar : "Barra d'Eines", +DlgLnkPopLocation : "Barra d'adreça", +DlgLnkPopMenu : "Barra de menú", +DlgLnkPopScroll : "Barres d'scroll", +DlgLnkPopStatus : "Barra d'estat", +DlgLnkPopToolbar : "Barra d'eines", DlgLnkPopFullScrn : "Pantalla completa (IE)", DlgLnkPopDependent : "Depenent (Netscape)", DlgLnkPopWidth : "Amplada", DlgLnkPopHeight : "Alçada", -DlgLnkPopLeft : "Posició Esquerra", -DlgLnkPopTop : "Posició Dalt", +DlgLnkPopLeft : "Posició esquerra", +DlgLnkPopTop : "Posició dalt", DlnLnkMsgNoUrl : "Si us plau, escrigui l'enllaç URL", DlnLnkMsgNoEMail : "Si us plau, escrigui l'adreça e-mail", DlnLnkMsgNoAnchor : "Si us plau, escrigui l'àncora", // Color Dialog -DlgColorTitle : "Seleccioni Color", -DlgColorBtnClear : "Netejar", -DlgColorHighlight : "Realçar", -DlgColorSelected : "Seleccionat", +DlgColorTitle : "Selecciona el color", +DlgColorBtnClear : "Neteja", +DlgColorHighlight : "Realça", +DlgColorSelected : "Selecciona", // Smiley Dialog -DlgSmileyTitle : "Afegir una Icona", +DlgSmileyTitle : "Insereix una icona", // Special Character Dialog -DlgSpecialCharTitle : "Seleccioneu Caràcter Especial", +DlgSpecialCharTitle : "Selecciona el caràcter especial", // Table Dialog -DlgTableTitle : "Proprietats de Taula", +DlgTableTitle : "Propietats de la taula", DlgTableRows : "Files", DlgTableColumns : "Columnes", -DlgTableBorder : "Tamany de Costat", +DlgTableBorder : "Tamany vora", DlgTableAlign : "Alineació", DlgTableAlignNotSet : "", DlgTableAlignLeft : "Esquerra", @@ -280,94 +286,93 @@ DlgTableWidthPx : "píxels", DlgTableWidthPc : "percentatge", DlgTableHeight : "Alçada", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Capçalera", -DlgTableSummary : "Summary", //MISSING +DlgTableCellSpace : "Espaiat de cel·les", +DlgTableCellPad : "Encoixinament de cel·les", +DlgTableCaption : "Títol", +DlgTableSummary : "Resum", // Table Cell Dialog -DlgCellTitle : "Proprietats de Cel·la", +DlgCellTitle : "Propietats de la cel·la", DlgCellWidth : "Amplada", DlgCellWidthPx : "píxels", DlgCellWidthPc : "percentatge", DlgCellHeight : "Alçada", -DlgCellWordWrap : "Word Wrap", +DlgCellWordWrap : "Ajust de paraula", DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Si", DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Alineació Horitzontal", +DlgCellHorAlign : "Alineació horitzontal", DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Esquerra", DlgCellHorAlignCenter : "Centre", DlgCellHorAlignRight: "Dreta", -DlgCellVerAlign : "Alineació Vertical", +DlgCellVerAlign : "Alineació vertical", DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Top", DlgCellVerAlignMiddle : "Middle", DlgCellVerAlignBottom : "Bottom", DlgCellVerAlignBaseline : "Baseline", DlgCellRowSpan : "Rows Span", DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Color de Fons", -DlgCellBorderColor : "Colr de Costat", -DlgCellBtnSelect : "Seleccioni...", +DlgCellBackColor : "Color de fons", +DlgCellBorderColor : "Color de la vora", +DlgCellBtnSelect : "Seleccioneu...", // Find Dialog -DlgFindTitle : "Cercar", -DlgFindFindBtn : "Cercar", -DlgFindNotFoundMsg : "El text especificat no ha estat trobat.", +DlgFindTitle : "Cerca", +DlgFindFindBtn : "Cerca", +DlgFindNotFoundMsg : "El text especificat no s'ha trobat.", // Replace Dialog -DlgReplaceTitle : "Remplaçar", -DlgReplaceFindLbl : "Cercar:", -DlgReplaceReplaceLbl : "Remplaçar per:", -DlgReplaceCaseChk : "Sensible a Majúscules", -DlgReplaceReplaceBtn : "Remplaçar", -DlgReplaceReplAllBtn : "Remplaçar Tot", -DlgReplaceWordChk : "Cercar Paraula Completa", +DlgReplaceTitle : "Reemplaça", +DlgReplaceFindLbl : "Cerca:", +DlgReplaceReplaceLbl : "Remplaça amb:", +DlgReplaceCaseChk : "Sensible a majúscules", +DlgReplaceReplaceBtn : "Reemplaça", +DlgReplaceReplAllBtn : "Reemplaça'ls tots", +DlgReplaceWordChk : "Cerca paraula completa", // Paste Operations / Dialog -PasteErrorPaste : "La seguretat del vostre navigador no permet executar automàticament les operacions d'enganxat. Si us plau, utilitzeu el teclat (Ctrl+V).", -PasteErrorCut : "La seguretat del vostre navigador no permet executar automàticament les operacions de tallar. Si us plau, utilitzeu el teclat (Ctrl+X).", -PasteErrorCopy : "La seguretat del vostre navigador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).", +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).", -PasteAsText : "Enganxar com Text Planer", -PasteFromWord : "Enganxar com Word", +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.", -DlgPasteIgnoreFont : "Ignorar definicions de font", -DlgPasteRemoveStyles : "Eliminar definicions d'estil", -DlgPasteCleanBox : "Netejar camp", +DlgPasteIgnoreFont : "Ignora definicions de font", +DlgPasteRemoveStyles : "Elimina definicions d'estil", +DlgPasteCleanBox : "Neteja camp", - // Color Picker ColorAutomatic : "Automàtic", -ColorMoreColors : "Més Colors...", +ColorMoreColors : "Més colors...", // Document Properties -DocProps : "Proprietats de document", +DocProps : "Propietats del document", // Anchor Dialog -DlgAnchorTitle : "Proprietats d'àncora", -DlgAnchorName : "Nom d'àncora", -DlgAnchorErrorName : "Si us plau, escrigui el nom de l'ancora", +DlgAnchorTitle : "Propietats de l'àncora", +DlgAnchorName : "Nom de l'àncora", +DlgAnchorErrorName : "Si us plau, escriviu el nom de l'ancora", // Speller Pages Dialog DlgSpellNotInDic : "No és al diccionari", -DlgSpellChangeTo : "Canviar a", -DlgSpellBtnIgnore : "Ignorar", -DlgSpellBtnIgnoreAll : "Ignorar tot", -DlgSpellBtnReplace : "Remplaçar", -DlgSpellBtnReplaceAll : "Replaçar tot", -DlgSpellBtnUndo : "Desfer", -DlgSpellNoSuggestions : "Cap suggestió", -DlgSpellProgress : "Comprovació de sintaxi en progrés", -DlgSpellNoMispell : "Comprovació de sintaxi completada", -DlgSpellNoChanges : "Comprovació de sintaxi: cap paraulada canviada", -DlgSpellOneChange : "Comprovació de sintaxi: una paraula canviada", -DlgSpellManyChanges : "Comprovació de sintaxi %1 paraules canviades", +DlgSpellChangeTo : "Canvia a", +DlgSpellBtnIgnore : "Ignora", +DlgSpellBtnIgnoreAll : "Ignora-les totes", +DlgSpellBtnReplace : "Canvia", +DlgSpellBtnReplaceAll : "Canvia-les totes", +DlgSpellBtnUndo : "Desfés", +DlgSpellNoSuggestions : "Cap sugerència", +DlgSpellProgress : "Comprovació ortogràfica en progrés", +DlgSpellNoMispell : "Comprovació ortogràfica completada", +DlgSpellNoChanges : "Comprovació ortogràfica: cap paraulada canviada", +DlgSpellOneChange : "Comprovació ortogràfica: una paraula canviada", +DlgSpellManyChanges : "Comprovació ortogràfica %1 paraules canviades", -IeSpellDownload : "Comprovació de sintaxi no instal·lat. Voleu descarregar-ho ara?", +IeSpellDownload : "Comprovació ortogràfica no instal·lada. Voleu descarregar-ho ara?", // Button Dialog DlgButtonText : "Text (Valor)", @@ -388,16 +393,16 @@ DlgSelectValue : "Valor", DlgSelectSize : "Tamany", DlgSelectLines : "Línies", -DlgSelectChkMulti : "Permetre múltiples seleccions", +DlgSelectChkMulti : "Permet múltiples seleccions", DlgSelectOpAvail : "Opcions disponibles", DlgSelectOpText : "Text", DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Afegir", -DlgSelectBtnModify : "Modificar", +DlgSelectBtnAdd : "Afegeix", +DlgSelectBtnModify : "Modifica", DlgSelectBtnUp : "Amunt", DlgSelectBtnDown : "Avall", -DlgSelectBtnSetValue : "Seleccionar per defecte", -DlgSelectBtnDelete : "Esborrar", +DlgSelectBtnSetValue : "Selecciona per defecte", +DlgSelectBtnDelete : "Elimina", // Textarea Dialog DlgTextareaName : "Nom", @@ -411,15 +416,15 @@ DlgTextMaxChars : "Màxim de caràcters", DlgTextType : "Tipus", DlgTextTypeText : "Text", -DlgTextTypePass : "Contrassenya", +DlgTextTypePass : "Contrasenya", // Hidden Field Dialog DlgHiddenName : "Nom", DlgHiddenValue : "Valor", // Bulleted List Dialog -BulletedListProp : "Proprietats de llista marcada", -NumberedListProp : "Proprietats de llista numerada", +BulletedListProp : "Propietats de llista marcada", +NumberedListProp : "Propietats de llista numerada", DlgLstType : "Tipus", DlgLstTypeCircle : "Cercle", DlgLstTypeDisc : "Disc", //MISSING @@ -467,15 +472,16 @@ // Templates Dialog Templates : "Plantilles", -DlgTemplatesTitle : "Contingut Plantilles", +DlgTemplatesTitle : "Contingut plantilles", DlgTemplatesSelMsg : "Si us plau, seleccioneu la plantilla per obrir en l'editor
(el contingut actual no serà enregistrat):", -DlgTemplatesLoading : "Carregant la llista de plantilles. Si us plau, esperi...", +DlgTemplatesLoading : "Carregant la llista de plantilles. Si us plau, espereu...", DlgTemplatesNoTpl : "(No hi ha plantilles definides)", // About Dialog -DlgAboutAboutTab : "Sobre", -DlgAboutBrowserInfoTab : "Informació del navigador", +DlgAboutAboutTab : "Quant a", +DlgAboutBrowserInfoTab : "Informació del navegador", +DlgAboutLicenseTab : "Llicència", DlgAboutVersion : "versió", -DlgAboutLicense : "Sota els termes de la Llicència GNU Lesser General Public License", +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 Index: lams_central/web/fckeditor/editor/lang/cs.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/cs.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/cs.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/cs.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -87,8 +87,8 @@ Replace : "Nahradit", SpellCheck : "Zkontrolovat pravopis", UniversalKeyboard : "Univerzální klávesnice", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "Konec stránky", +PageBreak : "Vložit konec stránky", Form : "Formulář", Checkbox : "Zaškrtávací políčko", @@ -100,8 +100,13 @@ SelectionField : "Seznam", ImageButton : "Obrázkové tlačítko", +FitWindow : "Maximalizovat velikost editoru", + // Context Menu EditLink : "Změnit odkaz", +CellCM : "Buňka", +RowCM : "Řádek", +ColumnCM : "Sloupec", InsertRow : "Vložit řádek", DeleteRows : "Smazat řádek", InsertColumn : "Vložit sloupec", @@ -110,7 +115,7 @@ DeleteCells : "Smazat buňky", MergeCells : "Sloučit buňky", SplitCell : "Rozdělit buňku", -TableDelete : "Delete Table", //MISSING +TableDelete : "Smazat tabulku", CellProperties : "Vlastnosti buňky", TableProperties : "Vlastnosti tabulky", ImageProperties : "Vlastnosti obrázku", @@ -138,22 +143,22 @@ UnknownCommand : "Neznámý příkaz \"%1\"", NotImplemented : "Příkaz není implementován", UnknownToolbarSet : "Panel nástrojů \"%1\" neexistuje", -NoActiveX : "You 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.", -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 : "Nastavení bezpečnosti Vašeho prohlížeče omezuje funkčnost některých jeho možností. Je třeba zapnout volbu \"Spouštět ovládáací prvky ActiveX a moduly plug-in\", jinak nebude možné využívat všechny dosputné schopnosti editoru.", +BrowseServerBlocked : "Průzkumník zdrojů nelze otevřít. Prověřte, zda nemáte aktivováno blokování popup oken.", +DialogBlocked : "Nelze otevřít dialogové okno. Prověřte, zda nemáte aktivováno blokování popup oken.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Storno", DlgBtnClose : "Zavřít", DlgBtnBrowseServer : "Vybrat na serveru", DlgAdvancedTag : "Rozšířené", -DlgOpOther : "<Ostatní>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Prosím vložte URL", // General Dialogs Labels -DlgGenNotSet : "<nenastaveno>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Orientace jazyka", DlgGenLangDirLtr : "Zleva do prava (LTR)", @@ -217,21 +222,21 @@ DlgLnkTypeAnchor : "Kotva v této stránce", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<jiný>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Vybrat kotvu", DlgLnkAnchorByName : "Podle jména kotvy", DlgLnkAnchorById : "Podle Id objektu", -DlgLnkNoAnchors : "<Ve stránce žádná kotva není definována>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mailová adresa", DlgLnkEMailSubject : "Předmět zprávy", DlgLnkEMailBody : "Tělo zprávy", DlgLnkUpload : "Odeslat", DlgLnkBtnUpload : "Odeslat na Server", DlgLnkTarget : "Cíl", -DlgLnkTargetFrame : "<rámec>", -DlgLnkTargetPopup : "<vyskakovací okno>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Nové okno (_blank)", DlgLnkTargetParent : "Rodičovské okno (_parent)", DlgLnkTargetSelf : "Stejné okno (_self)", @@ -285,7 +290,7 @@ DlgTableCellSpace : "Vzdálenost buněk", DlgTableCellPad : "Odsazení obsahu", DlgTableCaption : "Popis", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Souhrn", // Table Cell Dialog DlgCellTitle : "Vlastnosti buňky", @@ -341,7 +346,6 @@ DlgPasteRemoveStyles : "Odstranit styly", DlgPasteCleanBox : "Vyčistit", - // Color Picker ColorAutomatic : "Automaticky", ColorMoreColors : "Více barev...", @@ -477,6 +481,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/da.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/da.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/da.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/da.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -16,15 +16,16 @@ * File Authors: * Jørgen Nordstrøm (jn@FirstWeb.dk) * Jesper Michelsen (jm@i-deVision.dk) + * Bo Brandt (bbr@dynamicweb.dk) */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", -ToolbarCollapse : "Sammenfold Værktøjskasse", -ToolbarExpand : "Udvid Værktøjskasse", +ToolbarCollapse : "Skjul værktøjslinier", +ToolbarExpand : "Vis værktøjslinier", // Toolbar Items and Context Menu Save : "Gem", @@ -33,27 +34,27 @@ Cut : "Klip", Copy : "Kopier", Paste : "Indsæt", -PasteText : "Indsæt som ren tekst", +PasteText : "Indsæt som ikke-formateret tekst", PasteWord : "Indsæt fra Word", Print : "Udskriv", SelectAll : "Vælg alt", -RemoveFormat : "Slet formatering", -InsertLinkLbl : "Link", -InsertLink : "Indsæt/Rediger Link", -RemoveLink : "Slet Link", -Anchor : "Insert/Rediger Anker", -InsertImageLbl : "Indsæt Billed", -InsertImage : "Indsæt/Rediger Billed", +RemoveFormat : "Fjern formatering", +InsertLinkLbl : "Hyperlink", +InsertLink : "Indsæt/rediger hyperlink", +RemoveLink : "Fjern hyperlink", +Anchor : "Indsæt/rediger bogmærke", +InsertImageLbl : "Indsæt billede", +InsertImage : "Indsæt/rediger billede", InsertFlashLbl : "Flash", InsertFlash : "Indsæt/rediger Flash", InsertTableLbl : "Table", -InsertTable : "Indsæt/Rediger Tabel", +InsertTable : "Indsæt/rediger tabel", InsertLineLbl : "Linie", -InsertLine : "Indsæt horisontal Linie", -InsertSpecialCharLbl: "Special Karakter", -InsertSpecialChar : "Indsæt Special Karakter", +InsertLine : "Indsæt vandret linie", +InsertSpecialCharLbl: "Symbol", +InsertSpecialChar : "Indsæt symbol", InsertSmileyLbl : "Smiley", -InsertSmiley : "Indsæt Smiley", +InsertSmiley : "Indsæt smiley", About : "Om FCKeditor", Bold : "Fed", Italic : "Kursiv", @@ -68,12 +69,12 @@ DecreaseIndent : "Formindsk indrykning", IncreaseIndent : "Forøg indrykning", Undo : "Fortryd", -Redo : "Anuller fortryd", -NumberedListLbl : "Tal opstilling", -NumberedList : "Indsæt/Slet Tal opstilling", -BulletedListLbl : "Punkttegn opstilling", -BulletedList : "Indsæt/Slet Punkttegn opstilling", -ShowTableBorders : "Vis tabel kanter", +Redo : "Annuller fortryd", +NumberedListLbl : "Talopstilling", +NumberedList : "Indsæt/fjern talopstilling", +BulletedListLbl : "Punktopstilling", +BulletedList : "Indsæt/fjern punktopstilling", +ShowTableBorders : "Vis tabelkanter", ShowDetails : "Vis detaljer", Style : "Typografi", FontFormat : "Formatering", @@ -85,82 +86,87 @@ Find : "Søg", Replace : "Erstat", SpellCheck : "Stavekontrol", -UniversalKeyboard : "Universalt Tastatur", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +UniversalKeyboard : "Universaltastatur", +PageBreakLbl : "Sidskift", +PageBreak : "Indsæt sideskift", -Form : "Indsæt Form", -Checkbox : "Indsæt Afkrydsningsboks", -RadioButton : "Indsæt Radioknap", -TextField : "Indsæt Tekstfelt", -Textarea : "Indsæt Tekstboks", -HiddenField : "Indsæt Skjultfelt", -Button : "Indsæt Knap", -SelectionField : "Indsæt Valgfelt", -ImageButton : "Indsæt Billedknap", +Form : "Indsæt formular", +Checkbox : "Indsæt afkrydsningsfelt", +RadioButton : "Indsæt alternativknap", +TextField : "Indsæt tekstfelt", +Textarea : "Indsæt tekstboks", +HiddenField : "Indsæt skjult felt", +Button : "Indsæt knap", +SelectionField : "Indsæt liste", +ImageButton : "Indsæt billedknap", +FitWindow : "Maksimer editor vinduet", + // Context Menu -EditLink : "Rediger link", +EditLink : "Rediger hyperlink", +CellCM : "Celle", +RowCM : "Række", +ColumnCM : "Kolonne", InsertRow : "Indsæt række", -DeleteRows : "Slet rækker", +DeleteRows : "Slet række", InsertColumn : "Indsæt kolonne", -DeleteColumns : "Slet kolonner", +DeleteColumns : "Slet kolonne", InsertCell : "Indsæt celle", DeleteCells : "Slet celle", MergeCells : "Flet celler", -SplitCell : "Opdel celler", -TableDelete : "Delete Table", //MISSING -CellProperties : "Celle egenskaber", -TableProperties : "Tabel egenskaber", -ImageProperties : "Billed egenskaber", -FlashProperties : "Flash egenskaber", +SplitCell : "Opdel celle", +TableDelete : "Slet tabel", +CellProperties : "Egenskaber for celle", +TableProperties : "Egenskaber for tabel", +ImageProperties : "Egenskaber for billede", +FlashProperties : "Egenskaber for Flash", -AnchorProp : "Anker egenskaber", -ButtonProp : "Knap egenskaber", -CheckboxProp : "Afkrydsningsboks egenskaber", -HiddenFieldProp : "Skjultfelt egenskaber", -RadioButtonProp : "Radioknap egenskaber", -ImageButtonProp : "Billedknap egenskaber", -TextFieldProp : "Tekstfelt egenskaber", -SelectionFieldProp : "Valgfelt egenskaber", -TextareaProp : "Tekstboks egenskaber", -FormProp : "Form egenskaber", +AnchorProp : "Egenskaber for bogmærke", +ButtonProp : "Egenskaber for knap", +CheckboxProp : "Egenskaber for afkrydsningsfelt", +HiddenFieldProp : "Egenskaber for skjult felt", +RadioButtonProp : "Egenskaber for alternativknap", +ImageButtonProp : "Egenskaber for billedknap", +TextFieldProp : "Egenskaber for tekstfelt", +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", +FontFormats : "Normal;Formateret;Adresse;Overskrift 1;Overskrift 2;Overskrift 3;Overskrift 4;Overskrift 5;Overskrift 6;Normal (DIV)", // Alerts and Messages -ProcessingXHTML : "Behandler XHTML. Vent venligst...", +ProcessingXHTML : "Behandler XHTML...", Done : "Færdig", -PasteWordConfirm : "Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes ?", -NotCompatiblePaste : "Denne kommando er tilgændelig i Internet Explorer 5.5 og senere. Vil du indsætte teksten uden at rense den ?", -UnknownToolbarItem : "Ukendt værktøjslinje objekt \"%1\"", -UnknownCommand : "Ukendt kommando navn \"%1\"", -NotImplemented : "Kommandoen er ikke implementeret", -UnknownToolbarSet : "Værktøjslinjen \"%1\" eksisterer ikke", -NoActiveX : "Din browsers sikkerhedsindstillinger kan begrænse nogle af editorens muligheder. Du skal slå \"Kør ActiveX-objekter og plug-ins\" til. Du vil måske opleve fejl og manglende muligheder.", -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 : "Den tekst du forsøger at indsætte ser ud til at komme fra Word.
Vil du rense teksten før den indsættes?", +NotCompatiblePaste : "Denne kommando er tilgændelig i Internet Explorer 5.5 eller senere.
Vil du indsætte teksten uden at rense den ?", +UnknownToolbarItem : "Ukendt værktøjslinjeobjekt \"%1\"!", +UnknownCommand : "Ukendt kommandonavn \"%1\"!", +NotImplemented : "Kommandoen er ikke implementeret!", +UnknownToolbarSet : "Værktøjslinjen \"%1\" eksisterer ikke!", +NoActiveX : "Din browsers sikkerhedsindstillinger begrænser nogle af editorens muligheder.
Slå \"Kør ActiveX-objekter og plug-ins\" til, ellers vil du opleve fejl og manglende muligheder.", +BrowseServerBlocked : "Browseren kunne ikke åbne de nødvendige ressourcer!
Slå pop-up blokering fra.", +DialogBlocked : "Dialogvinduet kunne ikke åbnes!
Slå pop-up blokering fra.", // Dialogs DlgBtnOK : "OK", -DlgBtnCancel : "Anuller", +DlgBtnCancel : "Annuller", DlgBtnClose : "Luk", -DlgBtnBrowseServer : "Gennemse Server", +DlgBtnBrowseServer : "Gennemse...", DlgAdvancedTag : "Avanceret", -DlgOpOther : "<Andet>", -DlgInfoTab : "Info", +DlgOpOther : "", +DlgInfoTab : "Generelt", DlgAlertUrl : "Indtast URL", // General Dialogs Labels -DlgGenNotSet : "<ikke sat>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Tekstretning", -DlgGenLangDirLtr : "Venstre mod højre (LTR)", -DlgGenLangDirRtl : "Højre mod venstre (RTL)", -DlgGenLangCode : "Sprog kode", -DlgGenAccessKey : "Adgangsnøgle", +DlgGenLangDirLtr : "Fra venstre mod højre (LTR)", +DlgGenLangDirRtl : "Fra højre mod venstre (RTL)", +DlgGenLangCode : "Sprogkode", +DlgGenAccessKey : "Genvejstast", DlgGenName : "Navn", -DlgGenTabIndex : "Tabulator Indeks", +DlgGenTabIndex : "Tabulator indeks", DlgGenLongDescr : "Udvidet beskrivelse", DlgGenClass : "Typografiark", DlgGenTitle : "Titel", @@ -169,9 +175,9 @@ DlgGenStyle : "Typografi", // Image Dialog -DlgImgTitle : "Billed egenskaber", -DlgImgInfoTab : "Billed info", -DlgImgBtnUpload : "Send til serveren", +DlgImgTitle : "Egenskaber for billede", +DlgImgInfoTab : "Generelt", +DlgImgBtnUpload : "Upload", DlgImgURL : "URL", DlgImgUpload : "Upload", DlgImgAlt : "Alternativ tekst", @@ -180,24 +186,24 @@ DlgImgLockRatio : "Lås størrelsesforhold", DlgBtnResetSize : "Nulstil størrelse", DlgImgBorder : "Ramme", -DlgImgHSpace : "HMargin", -DlgImgVSpace : "VMargin", +DlgImgHSpace : "HMargen", +DlgImgVSpace : "VMargen", DlgImgAlign : "Justering", DlgImgAlignLeft : "Venstre", -DlgImgAlignAbsBottom: "Abs bund", -DlgImgAlignAbsMiddle: "Abs Midte", -DlgImgAlignBaseline : "Bundlinje", -DlgImgAlignBottom : "Bund", -DlgImgAlignMiddle : "Midte", +DlgImgAlignAbsBottom: "Absolut nederst", +DlgImgAlignAbsMiddle: "Absolut centreret", +DlgImgAlignBaseline : "Grundlinje", +DlgImgAlignBottom : "Nederst", +DlgImgAlignMiddle : "Centreret", DlgImgAlignRight : "Højre", -DlgImgAlignTextTop : "Tekst top", -DlgImgAlignTop : "Top", +DlgImgAlignTextTop : "Toppen af teksten", +DlgImgAlignTop : "Øverst", DlgImgPreview : "Vis eksempel", DlgImgAlertUrl : "Indtast stien til billedet", -DlgImgLinkTab : "Link", +DlgImgLinkTab : "Hyperlink", // Flash Dialog -DlgFlashTitle : "Flash egenskaber", +DlgFlashTitle : "Egenskaber for Flash", DlgFlashChkPlay : "Automatisk afspilning", DlgFlashChkLoop : "Gentagelse", DlgFlashChkMenu : "Vis Flash menu", @@ -207,171 +213,170 @@ DlgFlashScaleFit : "Tilpas størrelse", // Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link info", +DlgLnkWindowTitle : "Egenskaber for hyperlink", +DlgLnkInfoTab : "Generelt", DlgLnkTargetTab : "Mål", -DlgLnkType : "Link type", +DlgLnkType : "Hyperlink type", DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Anker på denne side", -DlgLnkTypeEMail : "Email", +DlgLnkTypeAnchor : "Bogmærke på denne side", +DlgLnkTypeEMail : "E-mail", DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<anden>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Vælg et anker", DlgLnkAnchorByName : "Efter anker navn", DlgLnkAnchorById : "Efter element Id", -DlgLnkNoAnchors : "<Der er ingen ankre tilgængelige i dette dokument>", -DlgLnkEMail : "Email Adresse", +DlgLnkNoAnchors : "", +DlgLnkEMail : "E-mailadresse", DlgLnkEMailSubject : "Emne", -DlgLnkEMailBody : "Besked", +DlgLnkEMailBody : "Brødtekst", DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send til serveren", +DlgLnkBtnUpload : "Upload", DlgLnkTarget : "Mål", -DlgLnkTargetFrame : "<ramme>", -DlgLnkTargetPopup : "<popup vindue>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Nyt vindue (_blank)", -DlgLnkTargetParent : "Overliggende vindue (_parent)", +DlgLnkTargetParent : "Overordnet ramme (_parent)", DlgLnkTargetSelf : "Samme vindue (_self)", -DlgLnkTargetTop : "Øverste vindue (_top)", -DlgLnkTargetFrameName : "Visnings vinduets navn", -DlgLnkPopWinName : "Popup vinduets navn", -DlgLnkPopWinFeat : "Popup vinduets egenskaber", +DlgLnkTargetTop : "Hele vinduet (_top)", +DlgLnkTargetFrameName : "Destinationsvinduets navn", +DlgLnkPopWinName : "Pop-up vinduets navn", +DlgLnkPopWinFeat : "Egenskaber for pop-up", DlgLnkPopResize : "Skalering", -DlgLnkPopLocation : "Lokationslinje", +DlgLnkPopLocation : "Adresselinje", DlgLnkPopMenu : "Menulinje", DlgLnkPopScroll : "Scrollbars", DlgLnkPopStatus : "Statuslinje", DlgLnkPopToolbar : "Værktøjslinje", DlgLnkPopFullScrn : "Fuld skærm (IE)", -DlgLnkPopDependent : "Afhængig (Netscape)", +DlgLnkPopDependent : "Koblet/dependent (Netscape)", DlgLnkPopWidth : "Bredde", DlgLnkPopHeight : "Højde", DlgLnkPopLeft : "Position fra venstre", DlgLnkPopTop : "Position fra toppen", -DlnLnkMsgNoUrl : "Indtast link URL", -DlnLnkMsgNoEMail : "Indtast e-mail addressen", -DlnLnkMsgNoAnchor : "Vælg Anker", +DlnLnkMsgNoUrl : "Indtast hyperlink URL!", +DlnLnkMsgNoEMail : "Indtast e-mailaddresse!", +DlnLnkMsgNoAnchor : "Vælg bogmærke!", // Color Dialog DlgColorTitle : "Vælg farve", -DlgColorBtnClear : "Slet alt", -DlgColorHighlight : "Marker", -DlgColorSelected : "valgt", +DlgColorBtnClear : "Nulstil", +DlgColorHighlight : "Markeret", +DlgColorSelected : "Valgt", // Smiley Dialog -DlgSmileyTitle : "Insæt en smiley", +DlgSmileyTitle : "Vælg smiley", // Special Character Dialog -DlgSpecialCharTitle : "Vælg specialkarakter", +DlgSpecialCharTitle : "Vælg symbol", // Table Dialog -DlgTableTitle : "Tabel egenskaber", +DlgTableTitle : "Egenskaber for tabel", DlgTableRows : "Rækker", DlgTableColumns : "Kolonner", -DlgTableBorder : "Ramme størrelse", +DlgTableBorder : "Rammebredde", DlgTableAlign : "Justering", -DlgTableAlignNotSet : "", +DlgTableAlignNotSet : "", DlgTableAlignLeft : "Venstrestillet", DlgTableAlignCenter : "Centreret", DlgTableAlignRight : "Højrestillet", DlgTableWidth : "Bredde", DlgTableWidthPx : "pixels", DlgTableWidthPc : "procent", DlgTableHeight : "Højde", -DlgTableCellSpace : "Afstand mellem celler", -DlgTableCellPad : "Celle margin", +DlgTableCellSpace : "Celleafstand", +DlgTableCellPad : "Cellemargen", DlgTableCaption : "Titel", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Resume", // Table Cell Dialog -DlgCellTitle : "Celle egenskaber", +DlgCellTitle : "Egenskaber for celle", DlgCellWidth : "Bredde", DlgCellWidthPx : "pixels", DlgCellWidthPc : "procent", DlgCellHeight : "Højde", DlgCellWordWrap : "Orddeling", -DlgCellWordWrapNotSet : "", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Ja", DlgCellWordWrapNo : "Nej", -DlgCellHorAlign : "Horisontal justering", -DlgCellHorAlignNotSet : "", +DlgCellHorAlign : "Vandret justering", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Venstrestillet", DlgCellHorAlignCenter : "Centreret", DlgCellHorAlignRight: "Højrestillet", -DlgCellVerAlign : "Vertikal Justering", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Midte", -DlgCellVerAlignBottom : "Bund", -DlgCellVerAlignBaseline : "Bundlinje", -DlgCellRowSpan : "Antal rækker cellen spænder over", -DlgCellCollSpan : "Antal kolonner cellen spænder over", +DlgCellVerAlign : "Lodret justering", +DlgCellVerAlignNotSet : "", +DlgCellVerAlignTop : "Øverst", +DlgCellVerAlignMiddle : "Centreret", +DlgCellVerAlignBottom : "Nederst", +DlgCellVerAlignBaseline : "Grundlinje", +DlgCellRowSpan : "Højde i antal rækker", +DlgCellCollSpan : "Bredde i antal kolonner", DlgCellBackColor : "Baggrundsfarve", -DlgCellBorderColor : "rammefarve", +DlgCellBorderColor : "Rammefarve", DlgCellBtnSelect : "Vælg...", // Find Dialog DlgFindTitle : "Find", DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "Den angivne tekst blev ikke fundet", +DlgFindNotFoundMsg : "Søgeteksten blev ikke fundet!", // Replace Dialog DlgReplaceTitle : "Erstat", -DlgReplaceFindLbl : "Find:", +DlgReplaceFindLbl : "Søg efter:", DlgReplaceReplaceLbl : "Erstat med:", DlgReplaceCaseChk : "Forskel på store og små bogstaver", DlgReplaceReplaceBtn : "Erstat", 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+V).", +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).", -PasteAsText : "Indsæt som ren tekst", +PasteAsText : "Indsæt som ikke-formateret tekst", PasteFromWord : "Indsæt fra Word", -DlgPasteMsg2 : "Indsæt i boksen herunder (Ctrl+V) og klik OK.", +DlgPasteMsg2 : "Indsæt i feltet herunder (Ctrl+V) og klik OK.", DlgPasteIgnoreFont : "Ignorer font definitioner", -DlgPasteRemoveStyles : "Fjern typografi definitioner", +DlgPasteRemoveStyles : "Ignorer typografi", DlgPasteCleanBox : "Slet indhold", - // Color Picker ColorAutomatic : "Automatisk", ColorMoreColors : "Flere farver...", // Document Properties -DocProps : "Dokument egenskaber", +DocProps : "Egenskaber for dokument", // Anchor Dialog -DlgAnchorTitle : "Anker egenskaber", -DlgAnchorName : "Anker navn", -DlgAnchorErrorName : "Indtast Anker navn", +DlgAnchorTitle : "Egenskaber for bogmærke", +DlgAnchorName : "Bogmærke navn", +DlgAnchorErrorName : "Indtast bogmærke navn!", // Speller Pages Dialog -DlgSpellNotInDic : "Findes ikke i ordbogen", -DlgSpellChangeTo : "Ændre til", -DlgSpellBtnIgnore : "Ignorere", -DlgSpellBtnIgnoreAll : "Ignorere alle", -DlgSpellBtnReplace : "Udskift", -DlgSpellBtnReplaceAll : "Udskift alle", +DlgSpellNotInDic : "Ikke i ordbogen", +DlgSpellChangeTo : "Forslag", +DlgSpellBtnIgnore : "Ignorer", +DlgSpellBtnIgnoreAll : "Ignorer alle", +DlgSpellBtnReplace : "Erstat", +DlgSpellBtnReplaceAll : "Erstat alle", DlgSpellBtnUndo : "Tilbage", -DlgSpellNoSuggestions : "- Intet forslag -", +DlgSpellNoSuggestions : "- ingen forslag -", DlgSpellProgress : "Stavekontrolen arbejder...", DlgSpellNoMispell : "Stavekontrol færdig: Ingen fejl fundet", DlgSpellNoChanges : "Stavekontrol færdig: Ingen ord ændret", DlgSpellOneChange : "Stavekontrol færdig: Et ord ændret", DlgSpellManyChanges : "Stavekontrol færdig: %1 ord ændret", -IeSpellDownload : "Stavekontrol ikke installeret. Vil du hente den nu?", +IeSpellDownload : "Stavekontrol ikke installeret.
Vil du hente den nu?", // Button Dialog -DlgButtonText : "Tekst (Værdi)", +DlgButtonText : "Tekst", DlgButtonType : "Type", // Checkbox and Radio Button Dialogs @@ -390,77 +395,77 @@ DlgSelectSize : "Størrelse", DlgSelectLines : "linier", DlgSelectChkMulti : "Tillad flere valg", -DlgSelectOpAvail : "Valgmulighedder", +DlgSelectOpAvail : "Valgmuligheder", DlgSelectOpText : "Tekst", DlgSelectOpValue : "Værdi", DlgSelectBtnAdd : "Tilføj", -DlgSelectBtnModify : "Ændre", +DlgSelectBtnModify : "Rediger", DlgSelectBtnUp : "Op", DlgSelectBtnDown : "Ned", -DlgSelectBtnSetValue : "Sæt som udvalgt", +DlgSelectBtnSetValue : "Sæt som valgt", DlgSelectBtnDelete : "Slet", // Textarea Dialog DlgTextareaName : "Navn", -DlgTextareaCols : "Kolonne", -DlgTextareaRows : "Række", +DlgTextareaCols : "Kolonner", +DlgTextareaRows : "Rækker", // Text Field Dialog DlgTextName : "Navn", DlgTextValue : "Værdi", -DlgTextCharWidth : "Synligt antal bogstaver", -DlgTextMaxChars : "Maximum antal bogstaver", +DlgTextCharWidth : "Bredde (tegn)", +DlgTextMaxChars : "Max antal tegn", DlgTextType : "Type", DlgTextTypeText : "Tekst", -DlgTextTypePass : "Kodeord", +DlgTextTypePass : "Adgangskode", // Hidden Field Dialog DlgHiddenName : "Navn", DlgHiddenValue : "Værdi", // Bulleted List Dialog -BulletedListProp : "Punkttegnopstilling egenskaber", -NumberedListProp : "Talopstilling egenskaber", +BulletedListProp : "Egenskaber for punktopstilling", +NumberedListProp : "Egenskaber for talopstilling", DlgLstType : "Type", DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisc : "Flade", +DlgLstTypeDisc : "Udfyldt cirkel", DlgLstTypeSquare : "Firkant", DlgLstTypeNumbers : "Nummereret (1, 2, 3)", DlgLstTypeLCase : "Små bogstaver (a, b, c)", DlgLstTypeUCase : "Store bogstaver (A, B, C)", -DlgLstTypeSRoman : "Små Romertal (i, ii, iii)", -DlgLstTypeLRoman : "Store Romertal (I, II, III)", +DlgLstTypeSRoman : "Små romertal (i, ii, iii)", +DlgLstTypeLRoman : "Store romertal (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Generelt", DlgDocBackTab : "Baggrund", -DlgDocColorsTab : "Farver og Margin", -DlgDocMetaTab : "Meta Information", +DlgDocColorsTab : "Farver og margen", +DlgDocMetaTab : "Metadata", -DlgDocPageTitle : "Side Titel", +DlgDocPageTitle : "Sidetitel", DlgDocLangDir : "Sprog", -DlgDocLangDirLTR : "Venstre Til Højre (LTR)", -DlgDocLangDirRTL : "Højre Til Venstre (RTL)", +DlgDocLangDirLTR : "Fra venstre mod højre (LTR)", +DlgDocLangDirRTL : "Fra højre mod venstre (RTL)", DlgDocLangCode : "Landekode", -DlgDocCharSet : "Karakter sæt kode", -DlgDocCharSetOther : "Anden karakter sæt kode", +DlgDocCharSet : "Tegnsæt kode", +DlgDocCharSetOther : "Anden tegnsæt kode", -DlgDocDocType : "Dokument type kategori", -DlgDocDocTypeOther : "Anden dokument type kategori", +DlgDocDocType : "Dokumenttype kategori", +DlgDocDocTypeOther : "Anden dokumenttype kategori", DlgDocIncXHTML : "Inkludere XHTML deklartion", DlgDocBgColor : "Baggrundsfarve", -DlgDocBgImage : "Baggrundsbilled URL", -DlgDocBgNoScroll : "Ikke scrollbar baggrund", +DlgDocBgImage : "Baggrundsbillede URL", +DlgDocBgNoScroll : "Fastlåst baggrund", DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Besøgt link", -DlgDocCActive : "Aktivt link", -DlgDocMargins : "Side margin", -DlgDocMaTop : "Top", +DlgDocCLink : "Hyperlink", +DlgDocCVisited : "Besøgt hyperlink", +DlgDocCActive : "Aktivt hyperlink", +DlgDocMargins : "Sidemargen", +DlgDocMaTop : "Øverst", DlgDocMaLeft : "Venstre", DlgDocMaRight : "Højre", -DlgDocMaBottom : "Bund", -DlgDocMeIndex : "Dokument index nøgleord (komma sepereret)", +DlgDocMaBottom : "Nederst", +DlgDocMeIndex : "Dokument index nøgleord (kommasepareret)", DlgDocMeDescr : "Dokument beskrivelse", DlgDocMeAuthor : "Forfatter", DlgDocMeCopy : "Copyright", @@ -469,13 +474,14 @@ // Templates Dialog Templates : "Skabeloner", DlgTemplatesTitle : "Indholdsskabeloner", -DlgTemplatesSelMsg : "Vælg den skabelon, som skal åbnes i editoren
(Nuværende indhold vil blive overskrevet):", -DlgTemplatesLoading : "Henter liste over skabeloner. Vent venligst...", -DlgTemplatesNoTpl : "(Der er ikke defineret nogen skabelon)", +DlgTemplatesSelMsg : "Vælg den skabelon, som skal åbnes i editoren.
(Nuværende indhold vil blive overskrevet!):", +DlgTemplatesLoading : "Henter liste over skabeloner...", +DlgTemplatesNoTpl : "(Der er ikke defineret nogen skabelon!)", // About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", +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" Index: lams_central/web/fckeditor/editor/lang/de.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/de.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/de.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/de.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -23,8 +23,8 @@ // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", -ToolbarCollapse : "Toolbar einklappen", -ToolbarExpand : "Toolbar ausklappen", +ToolbarCollapse : "Symbolleiste einklappen", +ToolbarExpand : "Symbolleiste ausklappen", // Toolbar Items and Context Menu Save : "Speichern", @@ -34,7 +34,7 @@ Copy : "Kopieren", Paste : "Einfügen", PasteText : "aus Textdatei einfügen", -PasteWord : "aus Word einfügen", +PasteWord : "aus MS-Word einfügen", Print : "Drucken", SelectAll : "Alles auswählen", RemoveFormat : "Formatierungen entfernen", @@ -77,7 +77,7 @@ ShowDetails : "Zeige Details", Style : "Style", FontFormat : "Format", -Font : "Font", +Font : "Schriftart", FontSize : "Size", TextColor : "Textfarbe", BGColor : "Hintergrundfarbe", @@ -99,8 +99,13 @@ SelectionField : "Auswahlfeld", ImageButton : "Bildbutton", +FitWindow : "Editor maximieren", + // Context Menu EditLink : "Link editieren", +CellCM : "Zelle", +RowCM : "Zeile", +ColumnCM : "Spalte", InsertRow : "Zeile einfügen", DeleteRows : "Zeile entfernen", InsertColumn : "Spalte einfügen", @@ -119,25 +124,25 @@ ButtonProp : "Button Eigenschaften", CheckboxProp : "Checkbox Eigenschaften", HiddenFieldProp : "Verstecktes Feld Eigenschaften", -RadioButtonProp : "Radiobutton Eigenschaften", +RadioButtonProp : "Optionsfeld Eigenschaften", ImageButtonProp : "Bildbutton Eigenschaften", -TextFieldProp : "Textfeld einzeilig Eigenschaften", +TextFieldProp : "Textfeld (einzeilig) Eigenschaften", SelectionFieldProp : "Auswahlfeld Eigenschaften", -TextareaProp : "Textfeld mehrzeilig Eigenschaften", +TextareaProp : "Textfeld (mehrzeilig) Eigenschaften", FormProp : "Formular Eigenschaften", FontFormats : "Normal;Formatiert;Addresse;Überschrift 1;Überschrift 2;Überschrift 3;Überschrift 4;Überschrift 5;Überschrift 6", // Alerts and Messages ProcessingXHTML : "Bearbeite XHTML. Bitte warten...", Done : "Fertig", -PasteWordConfirm : "Der Text, den Sie einfügen Möchten, scheint aus Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?", +PasteWordConfirm : "Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?", NotCompatiblePaste : "Diese Funktion steht nur im Internet Explorer ab Version 5.5 zur Verfügung. Möchten Sie den Text unbereinigt einfügen?", UnknownToolbarItem : "Unbekanntes Menüleisten-Objekt \"%1\"", UnknownCommand : "Unbekannter Befehl \"%1\"", NotImplemented : "Befehl nicht implementiert", UnknownToolbarSet : "Menüleiste \"%1\" existiert nicht", -NoActiveX : "Die Sicherheitseinstellungen Ihres Browsers beschränken evtl. einige Funktionen des Editors. Aktivieren Sie \"ActiveX-Steuerelemente und Plugins ausführen\" in den Sicherheitseinstellungen, um diese Funktionen nutzen zu können", +NoActiveX : "Die Sicherheitseinstellungen Ihres Browsers beschränken evtl. einige Funktionen des Editors. Aktivieren Sie die Option \"ActiveX-Steuerelemente und Plugins ausführen\" in den Sicherheitseinstellungen, um diese Funktionen nutzen zu können", BrowseServerBlocked : "Ein Auswahlfenster konnte nicht geöffnet werden. Stellen Sie sicher, das alle Popup-Blocker ausgeschaltet sind.", DialogBlocked : "Das Dialog-Fenster konnte nicht geöffnet werden. Stellen Sie sicher, das alle Popup-Blocker ausgeschaltet sind.", @@ -147,12 +152,12 @@ DlgBtnClose : "Schließen", DlgBtnBrowseServer : "Server durchsuchen", DlgAdvancedTag : "Erweitert", -DlgOpOther : "<andere>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Bitte tragen Sie die URL ein", // General Dialogs Labels -DlgGenNotSet : "< nichts >", +DlgGenNotSet : "< nichts >", DlgGenId : "ID", DlgGenLangDir : "Schreibrichtung", DlgGenLangDirLtr : "Links nach Rechts (LTR)", @@ -180,8 +185,8 @@ DlgImgLockRatio : "Größenverhältniss beibehalten", DlgBtnResetSize : "Größe zurücksetzen", DlgImgBorder : "Rahmen", -DlgImgHSpace : "H-Freiraum", -DlgImgVSpace : "V-Freiraum", +DlgImgHSpace : "H-Abstand", +DlgImgVSpace : "V-Abstand", DlgImgAlign : "Ausrichtung", DlgImgAlignLeft : "Links", DlgImgAlignAbsBottom: "Abs Unten", @@ -200,7 +205,7 @@ DlgFlashTitle : "Flash Eigenschaften", DlgFlashChkPlay : "autom. Abspielen", DlgFlashChkLoop : "Endlosschleife", -DlgFlashChkMenu : "Aktiviere Flash Menü", +DlgFlashChkMenu : "Flash-Menü aktivieren", DlgFlashScale : "Skalierung", DlgFlashScaleAll : "Alles anzeigen", DlgFlashScaleNoBorder : "ohne Rand", @@ -216,33 +221,33 @@ DlgLnkTypeAnchor : "Anker in dieser Seite", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<anderes>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Anker auswählen", DlgLnkAnchorByName : "nach Anker Name", DlgLnkAnchorById : "nach Element Id", -DlgLnkNoAnchors : "<keine Anker im Dokument vorhanden>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail Addresse", DlgLnkEMailSubject : "Betreffzeile", DlgLnkEMailBody : "Nachrichtentext", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Zum Server senden", DlgLnkTarget : "Zielseite", -DlgLnkTargetFrame : "<Frame>", -DlgLnkTargetPopup : "<Pop-up Fenster>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Neues Fenster (_blank)", DlgLnkTargetParent : "Oberes Fenster (_parent)", DlgLnkTargetSelf : "Gleiches Fenster (_self)", DlgLnkTargetTop : "Oberstes Fenster (_top)", -DlgLnkTargetFrameName : "Ziel-Frame Name", +DlgLnkTargetFrameName : "Ziel-Fenster Name", DlgLnkPopWinName : "Pop-up Fenster Name", DlgLnkPopWinFeat : "Pop-up Fenster Eigenschaften", DlgLnkPopResize : "Vergrößerbar", DlgLnkPopLocation : "Adress-Leiste", DlgLnkPopMenu : "Menü-Leiste", -DlgLnkPopScroll : "Scroll-Leisten", -DlgLnkPopStatus : "Status-Leiste", +DlgLnkPopScroll : "Rollbalken", +DlgLnkPopStatus : "Statusleiste", DlgLnkPopToolbar : "Werkzeugleiste", DlgLnkPopFullScrn : "Vollbild (IE)", DlgLnkPopDependent : "Abhängig (Netscape)", @@ -293,20 +298,20 @@ DlgCellWidthPc : "%", DlgCellHeight : "Höhe", DlgCellWordWrap : "Umbruch", -DlgCellWordWrapNotSet : "<nichts>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Ja", DlgCellWordWrapNo : "Nein", DlgCellHorAlign : "Horizontale Ausrichtung", -DlgCellHorAlignNotSet : "<nichts>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Links", DlgCellHorAlignCenter : "Zentriert", DlgCellHorAlignRight: "Rechts", DlgCellVerAlign : "Vertikale Ausrichtung", -DlgCellVerAlignNotSet : "<nichts>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Oben", DlgCellVerAlignMiddle : "Mitte", DlgCellVerAlignBottom : "Unten", -DlgCellVerAlignBaseline : "Baseline", +DlgCellVerAlignBaseline : "Grundlinie", DlgCellRowSpan : "Zeilen zusammenfassen", DlgCellCollSpan : "Spalten zusammenfassen", DlgCellBackColor : "Hintergrundfarbe", @@ -316,7 +321,7 @@ // Find Dialog DlgFindTitle : "Finden", DlgFindFindBtn : "Finden", -DlgFindNotFoundMsg : "Der Suchtext wurde nicht gefunden.", +DlgFindNotFoundMsg : "Der gesuchte Text wurde nicht gefunden.", // Replace Dialog DlgReplaceTitle : "Ersetzen", @@ -340,7 +345,6 @@ DlgPasteRemoveStyles : "Entferne Style-Definitionen", DlgPasteCleanBox : "Inhalt aufräumen", - // Color Picker ColorAutomatic : "Automatisch", ColorMoreColors : "Weitere Farben...", @@ -422,8 +426,8 @@ BulletedListProp : "Listen-Eigenschaften", NumberedListProp : "Nummerierte Listen-Eigenschaften", DlgLstType : "Typ", -DlgLstTypeCircle : "Kreis", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeCircle : "Ring", +DlgLstTypeDisc : "Kreis", DlgLstTypeSquare : "Quadrat", DlgLstTypeNumbers : "Nummern (1, 2, 3)", DlgLstTypeLCase : "Kleinbuchstaben (a, b, c)", @@ -450,7 +454,7 @@ DlgDocIncXHTML : "Beziehe XHTML Deklarationen ein", DlgDocBgColor : "Hintergrundfarbe", DlgDocBgImage : "Hintergrundbild URL", -DlgDocBgNoScroll : "Nicht-Scrollender Hintergrund", +DlgDocBgNoScroll : "feststehender Hintergrund", DlgDocCText : "Text", DlgDocCLink : "Link", DlgDocCVisited : "Besuchter Link", @@ -460,7 +464,7 @@ DlgDocMaLeft : "Links", DlgDocMaRight : "Rechts", DlgDocMaBottom : "Unten", -DlgDocMeIndex : "Schlüsselwörter (Komma-getrennt)", +DlgDocMeIndex : "Schlüsselwörter (durch Komma getrennt)", DlgDocMeDescr : "Dokument-Beschreibung", DlgDocMeAuthor : "Autor", DlgDocMeCopy : "Copyright", @@ -476,6 +480,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/el.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/el.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/el.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/el.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -14,6 +14,7 @@ * Greek language file. * * File Authors: + * Vangelis Bibakis (bibakisv[-a-t-]yahoo.com) * Spyros Barbatos (sbarbatos{at}users.sourceforge.net) */ @@ -40,11 +41,11 @@ InsertLinkLbl : "Σύνδεσμος (Link)", InsertLink : "Εισαγωγή/Μεταβολή Συνδέσμου (Link)", RemoveLink : "Αφαίρεση Συνδέσμου (Link)", -Anchor : "Insert/Edit Anchor", //MISSING +Anchor : "Εισαγωγή/επεξεργασία Anchor", InsertImageLbl : "Εικόνα", InsertImage : "Εισαγωγή/Μεταβολή Εικόνας", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "Εισαγωγή Flash", +InsertFlash : "Εισαγωγή/επεξεργασία Flash", InsertTableLbl : "Πίνακας", InsertTable : "Εισαγωγή/Μεταβολή Πίνακα", InsertLineLbl : "Γραμμή", @@ -66,15 +67,15 @@ BlockJustify : "Πλήρης Στοίχιση (Block)", DecreaseIndent : "Μείωση Εσοχής", IncreaseIndent : "Αύξηση Εσοχής", -Undo : "Undo", -Redo : "Redo", +Undo : "Αναίρεση", +Redo : "Επαναφορά", NumberedListLbl : "Λίστα με Αριθμούς", NumberedList : "Εισαγωγή/Διαγραφή Λίστας με Αριθμούς", BulletedListLbl : "Λίστα με Bullets", BulletedList : "Εισαγωγή/Διαγραφή Λίστας με Bullets", ShowTableBorders : "Προβολή Ορίων Πίνακα", ShowDetails : "Προβολή Λεπτομερειών", -Style : "Style", +Style : "Στυλ", FontFormat : "Μορφή Γραμματοσειράς", Font : "Γραμματοσειρά", FontSize : "Μέγεθος", @@ -83,23 +84,28 @@ Source : "HTML κώδικας", Find : "Αναζήτηση", Replace : "Αντικατάσταση", -SpellCheck : "Check Spell", //MISSING -UniversalKeyboard : "Universal Keyboard", //MISSING -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +SpellCheck : "Ορθογραφικός έλεγχος", +UniversalKeyboard : "Διεθνής πληκτρολόγιο", +PageBreakLbl : "Τέλος σελίδας", +PageBreak : "Εισαγωγή τέλους σελίδας", -Form : "Form", //MISSING -Checkbox : "Checkbox", //MISSING -RadioButton : "Radio Button", //MISSING -TextField : "Text Field", //MISSING -Textarea : "Textarea", //MISSING -HiddenField : "Hidden Field", //MISSING -Button : "Button", //MISSING -SelectionField : "Selection Field", //MISSING -ImageButton : "Image Button", //MISSING +Form : "Φόρμα", +Checkbox : "Κουτί επιλογής", +RadioButton : "Κουμπί Radio", +TextField : "Πεδίο κειμένου", +Textarea : "Περιοχή κειμένου", +HiddenField : "Κρυφό πεδίο", +Button : "Κουμπί", +SelectionField : "Πεδίο επιλογής", +ImageButton : "Κουμπί εικόνας", +FitWindow : "Μεγιστοποίηση προγράμματος", + // Context Menu EditLink : "Μεταβολή Συνδέσμου (Link)", +CellCM : "Κελί", +RowCM : "Σειρά", +ColumnCM : "Στήλη", InsertRow : "Εισαγωγή Γραμμής", DeleteRows : "Διαγραφή Γραμμών", InsertColumn : "Εισαγωγή Κολώνας", @@ -108,24 +114,24 @@ DeleteCells : "Διαγραφή Κελιών", MergeCells : "Ενοποίηση Κελιών", SplitCell : "Διαχωρισμός Κελιού", -TableDelete : "Delete Table", //MISSING +TableDelete : "Διαγραφή πίνακα", CellProperties : "Ιδιότητες Κελιού", TableProperties : "Ιδιότητες Πίνακα", ImageProperties : "Ιδιότητες Εικόνας", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "Ιδιότητες Flash", -AnchorProp : "Anchor Properties", //MISSING -ButtonProp : "Button Properties", //MISSING -CheckboxProp : "Checkbox Properties", //MISSING -HiddenFieldProp : "Hidden Field Properties", //MISSING -RadioButtonProp : "Radio Button Properties", //MISSING -ImageButtonProp : "Image Button Properties", //MISSING -TextFieldProp : "Text Field Properties", //MISSING -SelectionFieldProp : "Selection Field Properties", //MISSING -TextareaProp : "Textarea Properties", //MISSING -FormProp : "Form Properties", //MISSING +AnchorProp : "Ιδιότητες άγκυρας", +ButtonProp : "Ιδιότητες κουμπιού", +CheckboxProp : "Ιδιότητες κουμπιού επιλογής", +HiddenFieldProp : "Ιδιότητες κρυφού πεδίου", +RadioButtonProp : "Ιδιότητες κουμπιού radio", +ImageButtonProp : "Ιδιότητες κουμπιού εικόνας", +TextFieldProp : "Ιδιότητες πεδίου κειμένου", +SelectionFieldProp : "Ιδιότητες πεδίου επιλογής", +TextareaProp : "Ιδιότητες περιοχής κειμένου", +FormProp : "Ιδιότητες φόρμας", -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", +FontFormats : "Κανονικό;Μορφοποιημένο;Διεύθυνση;Επικεφαλίδα 1;Επικεφαλίδα 2;Επικεφαλίδα 3;Επικεφαλίδα 4;Επικεφαλίδα 5;Επικεφαλίδα 6", // Alerts and Messages ProcessingXHTML : "Επεξεργασία XHTML. Παρακαλώ περιμένετε...", @@ -136,36 +142,36 @@ UnknownCommand : "Άγνωστή εντολή \"%1\"", NotImplemented : "Η εντολή δεν έχει ενεργοποιηθεί", UnknownToolbarSet : "Η μπάρα εργαλείων \"%1\" δεν υπάρχει", -NoActiveX : "You 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 : "Οι ρυθμίσεις ασφαλείας του browser σας μπορεί να περιορίσουν κάποιες ρυθμίσεις του προγράμματος. Χρειάζεται να ενεργοποιήσετε την επιλογή \"Run ActiveX controls and plug-ins\". Ίσως παρουσιαστούν λάθη και παρατηρήσετε ελειπείς λειτουργίες.", +BrowseServerBlocked : "Οι πόροι του browser σας δεν είναι προσπελάσιμοι. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", +DialogBlocked : "Δεν ήταν δυνατό να ανοίξει το παράθυρο διαλόγου. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Ακύρωση", DlgBtnClose : "Κλείσιμο", -DlgBtnBrowseServer : "Browse Server", //MISSING +DlgBtnBrowseServer : "Εξερεύνηση διακομιστή", DlgAdvancedTag : "Για προχωρημένους", -DlgOpOther : "<Other>", //MISSING -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgOpOther : "<Άλλα>", +DlgInfoTab : "Πληροφορίες", +DlgAlertUrl : "Παρακαλώ εισάγετε URL", // General Dialogs Labels -DlgGenNotSet : "<χωρίς>", +DlgGenNotSet : "<χωρίς>", DlgGenId : "Id", DlgGenLangDir : "Κατεύθυνση κειμένου", DlgGenLangDirLtr : "Αριστερά προς Δεξιά (LTR)", DlgGenLangDirRtl : "Δεξιά προς Αριστερά (RTL)", DlgGenLangCode : "Κωδικός Γλώσσας", DlgGenAccessKey : "Συντόμευση (Access Key)", -DlgGenName : "Name", +DlgGenName : "Όνομα", DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", +DlgGenLongDescr : "Αναλυτική περιγραφή URL", DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", +DlgGenTitle : "Συμβουλευτικός τίτλος", +DlgGenContType : "Συμβουλευτικός τίτλος περιεχομένου", DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", +DlgGenStyle : "Στύλ", // Image Dialog DlgImgTitle : "Ιδιότητες Εικόνας", @@ -193,48 +199,48 @@ DlgImgAlignTop : "Πάνω (Top)", 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 : "Αυτόματη έναρξη", +DlgFlashChkLoop : "Επανάληψη", +DlgFlashChkMenu : "Ενεργοποίηση Flash Menu", +DlgFlashScale : "Κλίμακα", +DlgFlashScaleAll : "Εμφάνιση όλων", +DlgFlashScaleNoBorder : "Χωρίς όρια", +DlgFlashScaleFit : "Ακριβής εφαρμογή", // Link Dialog -DlgLnkWindowTitle : "Υπερσύνδεσμος (Link)", +DlgLnkWindowTitle : "Σύνδεσμος (Link)", DlgLnkInfoTab : "Link", DlgLnkTargetTab : "Παράθυρο Στόχος (Target)", -DlgLnkType : "Τύπος Υπερσυνδέσμου (Link)", +DlgLnkType : "Τύπος συνδέσμου (Link)", DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Anchor in this page", +DlgLnkTypeAnchor : "Άγκυρα σε αυτή τη σελίδα", DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<άλλο>", +DlgLnkProto : "Προτόκολο", +DlgLnkProtoOther : "<άλλο>", DlgLnkURL : "URL", -DlgLnkAnchorSel : "Επιλέξτε ένα Anchor", -DlgLnkAnchorByName : "Βάσει του Ονόματος (Name)του Anchor", +DlgLnkAnchorSel : "Επιλέξτε μια άγκυρα", +DlgLnkAnchorByName : "Βάσει του Ονόματος (Name) της άγκυρας", DlgLnkAnchorById : "Βάσει του Element Id", -DlgLnkNoAnchors : "<Δεν υπάρχουν Anchors στο κείμενο>", +DlgLnkNoAnchors : "<Δεν υπάρχουν άγκυρες στο κείμενο>", DlgLnkEMail : "Διεύθυνση Ηλεκτρονικού Ταχυδρομείου", DlgLnkEMailSubject : "Θέμα Μηνύματος", DlgLnkEMailBody : "Κείμενο Μηνύματος", DlgLnkUpload : "Αποστολή", DlgLnkBtnUpload : "Αποστολή στον Διακομιστή", DlgLnkTarget : "Παράθυρο Στόχος (Target)", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", +DlgLnkTargetFrame : "<πλαίσιο>", +DlgLnkTargetPopup : "<παράθυρο popup>", DlgLnkTargetBlank : "Νέο Παράθυρο (_blank)", DlgLnkTargetParent : "Γονικό Παράθυρο (_parent)", DlgLnkTargetSelf : "Ίδιο Παράθυρο (_self)", DlgLnkTargetTop : "Ανώτατο Παράθυρο (_top)", -DlgLnkTargetFrameName : "Target Frame Name", //MISSING +DlgLnkTargetFrameName : "Όνομα πλαισίου στόχου", DlgLnkPopWinName : "Όνομα Popup Window", DlgLnkPopWinFeat : "Επιλογές Popup Window", DlgLnkPopResize : "Με αλλαγή Μεγέθους", @@ -280,10 +286,10 @@ DlgTableWidthPx : "pixels", DlgTableWidthPc : "\%", DlgTableHeight : "Ύψος", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", +DlgTableCellSpace : "Απόσταση κελιών", +DlgTableCellPad : "Γέμισμα κελιών", DlgTableCaption : "Υπέρτιτλος", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Περίληψη", // Table Cell Dialog DlgCellTitle : "Ιδιότητες Κελιού", @@ -334,147 +340,147 @@ PasteAsText : "Επικόλληση ως Απλό Κείμενο", PasteFromWord : "Επικόλληση από το 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 : "Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (Ctrl+V) και πατήστε OK.", +DlgPasteIgnoreFont : "Αγνόηση προδιαγραφών γραμματοσειράς", +DlgPasteRemoveStyles : "Αφαίρεση προδιαγραφών στύλ", +DlgPasteCleanBox : "Κουτί εκαθάρισης", - // Color Picker ColorAutomatic : "Αυτόματο", ColorMoreColors : "Περισσότερα χρώματα...", // Document Properties -DocProps : "Document Properties", //MISSING +DocProps : "Ιδιότητες εγγράφου", // Anchor Dialog -DlgAnchorTitle : "Anchor Properties", //MISSING -DlgAnchorName : "Anchor Name", //MISSING -DlgAnchorErrorName : "Please type the anchor name", //MISSING +DlgAnchorTitle : "Ιδιότητες άγκυρας", +DlgAnchorName : "Όνομα άγκυρας", +DlgAnchorErrorName : "Παρακαλούμε εισάγετε όνομα άγκυρας", // Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", //MISSING -DlgSpellChangeTo : "Change to", //MISSING -DlgSpellBtnIgnore : "Ignore", //MISSING -DlgSpellBtnIgnoreAll : "Ignore All", //MISSING -DlgSpellBtnReplace : "Replace", //MISSING -DlgSpellBtnReplaceAll : "Replace All", //MISSING -DlgSpellBtnUndo : "Undo", //MISSING -DlgSpellNoSuggestions : "- No suggestions -", //MISSING -DlgSpellProgress : "Spell check in progress...", //MISSING -DlgSpellNoMispell : "Spell check complete: No misspellings found", //MISSING -DlgSpellNoChanges : "Spell check complete: No words changed", //MISSING -DlgSpellOneChange : "Spell check complete: One word changed", //MISSING -DlgSpellManyChanges : "Spell check complete: %1 words changed", //MISSING +DlgSpellNotInDic : "Δεν υπάρχει στο λεξικό", +DlgSpellChangeTo : "Αλλαγή σε", +DlgSpellBtnIgnore : "Αγνόηση", +DlgSpellBtnIgnoreAll : "Αγνόηση όλων", +DlgSpellBtnReplace : "Αντικατάσταση", +DlgSpellBtnReplaceAll : "Αντικατάσταση όλων", +DlgSpellBtnUndo : "Αναίρεση", +DlgSpellNoSuggestions : "- Δεν υπάρχουν προτάσεις -", +DlgSpellProgress : "Ορθογραφικός έλεγχος σε εξέλιξη...", +DlgSpellNoMispell : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη", +DlgSpellNoChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις", +DlgSpellOneChange : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε", +DlgSpellManyChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν", -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", //MISSING +IeSpellDownload : "Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;", // Button Dialog -DlgButtonText : "Text (Value)", //MISSING -DlgButtonType : "Type", //MISSING +DlgButtonText : "Κείμενο (Τιμή)", +DlgButtonType : "Τύπος", // Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", //MISSING -DlgCheckboxValue : "Value", //MISSING -DlgCheckboxSelected : "Selected", //MISSING +DlgCheckboxName : "Όνομα", +DlgCheckboxValue : "Τιμή", +DlgCheckboxSelected : "Επιλεγμένο", // Form Dialog -DlgFormName : "Name", //MISSING -DlgFormAction : "Action", //MISSING -DlgFormMethod : "Method", //MISSING +DlgFormName : "Όνομα", +DlgFormAction : "Δράση", +DlgFormMethod : "Μάθοδος", // Select Field Dialog -DlgSelectName : "Name", //MISSING -DlgSelectValue : "Value", //MISSING -DlgSelectSize : "Size", //MISSING -DlgSelectLines : "lines", //MISSING -DlgSelectChkMulti : "Allow multiple selections", //MISSING -DlgSelectOpAvail : "Available Options", //MISSING -DlgSelectOpText : "Text", //MISSING -DlgSelectOpValue : "Value", //MISSING -DlgSelectBtnAdd : "Add", //MISSING -DlgSelectBtnModify : "Modify", //MISSING -DlgSelectBtnUp : "Up", //MISSING -DlgSelectBtnDown : "Down", //MISSING -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "Delete", //MISSING +DlgSelectName : "Όνομα", +DlgSelectValue : "Τιμή", +DlgSelectSize : "Μέγεθος", +DlgSelectLines : "γραμμές", +DlgSelectChkMulti : "Πολλαπλές επιλογές", +DlgSelectOpAvail : "Διαθέσιμες επιλογές", +DlgSelectOpText : "Κείμενο", +DlgSelectOpValue : "Τιμή", +DlgSelectBtnAdd : "Προσθήκη", +DlgSelectBtnModify : "Αλλαγή", +DlgSelectBtnUp : "Πάνω", +DlgSelectBtnDown : "Κάτω", +DlgSelectBtnSetValue : "Προεπιλεγμένη επιλογή", +DlgSelectBtnDelete : "Διαγραφή", // Textarea Dialog -DlgTextareaName : "Name", //MISSING -DlgTextareaCols : "Columns", //MISSING -DlgTextareaRows : "Rows", //MISSING +DlgTextareaName : "Όνομα", +DlgTextareaCols : "Στήλες", +DlgTextareaRows : "Σειρές", // Text Field Dialog -DlgTextName : "Name", //MISSING -DlgTextValue : "Value", //MISSING -DlgTextCharWidth : "Character Width", //MISSING -DlgTextMaxChars : "Maximum Characters", //MISSING -DlgTextType : "Type", //MISSING -DlgTextTypeText : "Text", //MISSING -DlgTextTypePass : "Password", //MISSING +DlgTextName : "Όνομα", +DlgTextValue : "Τιμή", +DlgTextCharWidth : "Μήκος χαρακτήρων", +DlgTextMaxChars : "Μέγιστοι χαρακτήρες", +DlgTextType : "Τύπος", +DlgTextTypeText : "Κείμενο", +DlgTextTypePass : "Κωδικός", // Hidden Field Dialog -DlgHiddenName : "Name", //MISSING -DlgHiddenValue : "Value", //MISSING +DlgHiddenName : "Όνομα", +DlgHiddenValue : "Τιμή", // Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", //MISSING -NumberedListProp : "Numbered List Properties", //MISSING -DlgLstType : "Type", //MISSING -DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Square", //MISSING -DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", //MISSING -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", //MISSING -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", //MISSING +BulletedListProp : "Ιδιότητες λίστας Bulleted", +NumberedListProp : "Ιδιότητες αριθμημένης λίστας ", +DlgLstType : "Τύπος", +DlgLstTypeCircle : "Κύκλος", +DlgLstTypeDisc : "Δίσκος", +DlgLstTypeSquare : "Τετράγωνο", +DlgLstTypeNumbers : "Αριθμοί (1, 2, 3)", +DlgLstTypeLCase : "Πεζά γράμματα (a, b, c)", +DlgLstTypeUCase : "Κεφαλαία γράμματα (A, B, C)", +DlgLstTypeSRoman : "Μικρά λατινικά αριθμητικά (i, ii, iii)", +DlgLstTypeLRoman : "Μεγάλα λατινικά αριθμητικά (I, II, III)", // Document Properties Dialog -DlgDocGeneralTab : "General", //MISSING -DlgDocBackTab : "Background", //MISSING -DlgDocColorsTab : "Colors and Margins", //MISSING -DlgDocMetaTab : "Meta Data", //MISSING +DlgDocGeneralTab : "Γενικά", +DlgDocBackTab : "Φόντο", +DlgDocColorsTab : "Χρώματα και περιθώρια", +DlgDocMetaTab : "Δεδομένα Meta", -DlgDocPageTitle : "Page Title", //MISSING -DlgDocLangDir : "Language Direction", //MISSING -DlgDocLangDirLTR : "Left to Right (LTR)", //MISSING -DlgDocLangDirRTL : "Right to Left (RTL)", //MISSING -DlgDocLangCode : "Language Code", //MISSING -DlgDocCharSet : "Character Set Encoding", //MISSING -DlgDocCharSetOther : "Other Character Set Encoding", //MISSING +DlgDocPageTitle : "Τίτλος σελίδας", +DlgDocLangDir : "Κατεύθυνση γραφής", +DlgDocLangDirLTR : "αριστερά προς δεξιά (LTR)", +DlgDocLangDirRTL : "δεξιά προς αριστερά (RTL)", +DlgDocLangCode : "Κωδικός γλώσσας", +DlgDocCharSet : "Κωδικοποίηση χαρακτήρων", +DlgDocCharSetOther : "Άλλη κωδικοποίηση χαρακτήρων", -DlgDocDocType : "Document Type Heading", //MISSING -DlgDocDocTypeOther : "Other Document Type Heading", //MISSING -DlgDocIncXHTML : "Include XHTML Declarations", //MISSING -DlgDocBgColor : "Background Color", //MISSING -DlgDocBgImage : "Background Image URL", //MISSING -DlgDocBgNoScroll : "Nonscrolling Background", //MISSING -DlgDocCText : "Text", //MISSING -DlgDocCLink : "Link", //MISSING -DlgDocCVisited : "Visited Link", //MISSING -DlgDocCActive : "Active Link", //MISSING -DlgDocMargins : "Page Margins", //MISSING -DlgDocMaTop : "Top", //MISSING -DlgDocMaLeft : "Left", //MISSING -DlgDocMaRight : "Right", //MISSING -DlgDocMaBottom : "Bottom", //MISSING -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", //MISSING -DlgDocMeDescr : "Document Description", //MISSING -DlgDocMeAuthor : "Author", //MISSING -DlgDocMeCopy : "Copyright", //MISSING -DlgDocPreview : "Preview", //MISSING +DlgDocDocType : "Επικεφαλίδα τύπου εγγράφου", +DlgDocDocTypeOther : "Άλλη επικεφαλίδα τύπου εγγράφου", +DlgDocIncXHTML : "Να συμπεριληφθούν οι δηλώσεις XHTML", +DlgDocBgColor : "Χρώμα φόντου", +DlgDocBgImage : "Διεύθυνση εικόνας φόντου", +DlgDocBgNoScroll : "Φόντο χωρίς κύλιση", +DlgDocCText : "Κείμενο", +DlgDocCLink : "Σύνδεσμος", +DlgDocCVisited : "Σύνδεσμος που έχει επισκευθεί", +DlgDocCActive : "Ενεργός σύνδεσμος", +DlgDocMargins : "Περιθώρια σελίδας", +DlgDocMaTop : "Κορυφή", +DlgDocMaLeft : "Αριστερά", +DlgDocMaRight : "Δεξιά", +DlgDocMaBottom : "Κάτω", +DlgDocMeIndex : "Λέξεις κλειδιά δείκτες εγγράφου (διαχωρισμός με κόμμα)", +DlgDocMeDescr : "Περιγραφή εγγράφου", +DlgDocMeAuthor : "Συγγραφέας", +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 +Templates : "Πρότυπα", +DlgTemplatesTitle : "Πρότυπα περιεχομένου", +DlgTemplatesSelMsg : "Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα
(τα υπάρχοντα περιεχόμενα θα χαθούν):", +DlgTemplatesLoading : "Φόρτωση καταλόγου προτύπων. Παρακαλώ περιμένετε...", +DlgTemplatesNoTpl : "(Δεν έχουν καθοριστεί πρότυπα)", // About Dialog -DlgAboutAboutTab : "About", //MISSING -DlgAboutBrowserInfoTab : "Browser Info", //MISSING +DlgAboutAboutTab : "Σχετικά", +DlgAboutBrowserInfoTab : "Πληροφορίες Browser", +DlgAboutLicenseTab : "Άδεια", DlgAboutVersion : "έκδοση", DlgAboutLicense : "Άδεια χρήσης υπό τους όρους της GNU Lesser General Public License", DlgAboutInfo : "Για περισσότερες πληροφορίες" Index: lams_central/web/fckeditor/editor/lang/en-au.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/en-au.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/en-au.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/en-au.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -50,7 +50,7 @@ InsertTable : "Insert/Edit Table", InsertLineLbl : "Line", InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Char", +InsertSpecialCharLbl: "Special Character", InsertSpecialChar : "Insert Special Character", InsertSmileyLbl : "Smiley", InsertSmiley : "Insert Smiley", @@ -62,7 +62,7 @@ Subscript : "Subscript", Superscript : "Superscript", LeftJustify : "Left Justify", -CenterJustify : "Center Justify", +CenterJustify : "Centre Justify", RightJustify : "Right Justify", BlockJustify : "Block Justify", DecreaseIndent : "Decrease Indent", @@ -79,15 +79,15 @@ FontFormat : "Format", Font : "Font", FontSize : "Size", -TextColor : "Text Color", -BGColor : "Background Color", +TextColor : "Text Colour", +BGColor : "Background Colour", Source : "Source", Find : "Find", Replace : "Replace", -SpellCheck : "Check Spell", +SpellCheck : "Check Spelling", UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "Page Break", +PageBreak : "Insert Page Break", Form : "Form", Checkbox : "Checkbox", @@ -99,8 +99,13 @@ SelectionField : "Selection Field", ImageButton : "Image Button", +FitWindow : "Maximize the editor size", + // Context Menu EditLink : "Edit Link", +CellCM : "Cell", +RowCM : "Row", +ColumnCM : "Column", InsertRow : "Insert Row", DeleteRows : "Delete Rows", InsertColumn : "Insert Column", @@ -109,7 +114,7 @@ DeleteCells : "Delete Cells", MergeCells : "Merge Cells", SplitCell : "Split Cell", -TableDelete : "Delete Table", //MISSING +TableDelete : "Delete Table", CellProperties : "Cell Properties", TableProperties : "Table Properties", ImageProperties : "Image Properties", @@ -126,7 +131,7 @@ TextareaProp : "Textarea Properties", FormProp : "Form Properties", -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;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Processing XHTML. Please wait...", @@ -137,22 +142,22 @@ UnknownCommand : "Unknown command name \"%1\"", NotImplemented : "Command not implemented", UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "You 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 : "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.", +BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", +DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Cancel", DlgBtnClose : "Close", DlgBtnBrowseServer : "Browse Server", DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Please insert the URL", // General Dialogs Labels -DlgGenNotSet : "<not set>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Language Direction", DlgGenLangDirLtr : "Left to Right (LTR)", @@ -216,21 +221,21 @@ DlgLnkTypeAnchor : "Anchor in this page", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Select an Anchor", DlgLnkAnchorByName : "By Anchor Name", DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "<No anchors available in the document>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail Address", DlgLnkEMailSubject : "Message Subject", DlgLnkEMailBody : "Message Body", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Send it to the Server", DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "New Window (_blank)", DlgLnkTargetParent : "Parent Window (_parent)", DlgLnkTargetSelf : "Same Window (_self)", @@ -256,7 +261,7 @@ DlnLnkMsgNoAnchor : "Please select an anchor", // Color Dialog -DlgColorTitle : "Select Color", +DlgColorTitle : "Select Colour", DlgColorBtnClear : "Clear", DlgColorHighlight : "Highlight", DlgColorSelected : "Selected", @@ -284,7 +289,7 @@ DlgTableCellSpace : "Cell spacing", DlgTableCellPad : "Cell padding", DlgTableCaption : "Caption", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Summary", // Table Cell Dialog DlgCellTitle : "Cell Properties", @@ -293,24 +298,24 @@ DlgCellWidthPc : "percent", DlgCellHeight : "Height", DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Left", DlgCellHorAlignCenter : "Centre", DlgCellHorAlignRight: "Right", DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Top", DlgCellVerAlignMiddle : "Middle", DlgCellVerAlignBottom : "Bottom", DlgCellVerAlignBaseline : "Baseline", DlgCellRowSpan : "Rows Span", DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Color", -DlgCellBorderColor : "Border Color", +DlgCellBackColor : "Background Colour", +DlgCellBorderColor : "Border Colour", DlgCellBtnSelect : "Select...", // Find Dialog @@ -328,9 +333,9 @@ DlgReplaceWordChk : "Match whole word", // Paste Operations / Dialog -PasteErrorPaste : "Your browser security settings don't permit the editor to automaticaly execute pasting operations. Please use the keyboard for that (Ctrl+V).", -PasteErrorCut : "Your browser security settings don't permit the editor to automaticaly execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automaticaly execute copying operations. Please use the keyboard for that (Ctrl+C).", +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", @@ -340,10 +345,9 @@ DlgPasteRemoveStyles : "Remove Styles definitions", DlgPasteCleanBox : "Clean Up Box", - // Color Picker ColorAutomatic : "Automatic", -ColorMoreColors : "More Colors...", +ColorMoreColors : "More Colours...", // Document Properties DocProps : "Document Properties", @@ -423,7 +427,7 @@ NumberedListProp : "Numbered List Properties", DlgLstType : "Type", DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", @@ -434,7 +438,7 @@ // Document Properties Dialog DlgDocGeneralTab : "General", DlgDocBackTab : "Background", -DlgDocColorsTab : "Colors and Margins", +DlgDocColorsTab : "Colours and Margins", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Page Title", @@ -448,7 +452,7 @@ DlgDocDocType : "Document Type Heading", DlgDocDocTypeOther : "Other Document Type Heading", DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Color", +DlgDocBgColor : "Background Colour", DlgDocBgImage : "Background Image URL", DlgDocBgNoScroll : "Nonscrolling Background", DlgDocCText : "Text", @@ -476,6 +480,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/en-ca.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/en-ca.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/lang/en-ca.js 16 Aug 2006 06:05:51 -0000 1.1 @@ -0,0 +1,487 @@ +/* + * 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 + */ + +var FCKLang = +{ +// Language direction : "ltr" (left to right) or "rtl" (right to left). +Dir : "ltr", + +ToolbarCollapse : "Collapse Toolbar", +ToolbarExpand : "Expand Toolbar", + +// Toolbar Items and Context Menu +Save : "Save", +NewPage : "New Page", +Preview : "Preview", +Cut : "Cut", +Copy : "Copy", +Paste : "Paste", +PasteText : "Paste as plain text", +PasteWord : "Paste from Word", +Print : "Print", +SelectAll : "Select All", +RemoveFormat : "Remove Format", +InsertLinkLbl : "Link", +InsertLink : "Insert/Edit Link", +RemoveLink : "Remove Link", +Anchor : "Insert/Edit Anchor", +InsertImageLbl : "Image", +InsertImage : "Insert/Edit Image", +InsertFlashLbl : "Flash", +InsertFlash : "Insert/Edit Flash", +InsertTableLbl : "Table", +InsertTable : "Insert/Edit Table", +InsertLineLbl : "Line", +InsertLine : "Insert Horizontal Line", +InsertSpecialCharLbl: "Special Character", +InsertSpecialChar : "Insert Special Character", +InsertSmileyLbl : "Smiley", +InsertSmiley : "Insert Smiley", +About : "About FCKeditor", +Bold : "Bold", +Italic : "Italic", +Underline : "Underline", +StrikeThrough : "Strike Through", +Subscript : "Subscript", +Superscript : "Superscript", +LeftJustify : "Left Justify", +CenterJustify : "Centre Justify", +RightJustify : "Right Justify", +BlockJustify : "Block Justify", +DecreaseIndent : "Decrease Indent", +IncreaseIndent : "Increase Indent", +Undo : "Undo", +Redo : "Redo", +NumberedListLbl : "Numbered List", +NumberedList : "Insert/Remove Numbered List", +BulletedListLbl : "Bulleted List", +BulletedList : "Insert/Remove Bulleted List", +ShowTableBorders : "Show Table Borders", +ShowDetails : "Show Details", +Style : "Style", +FontFormat : "Format", +Font : "Font", +FontSize : "Size", +TextColor : "Text Colour", +BGColor : "Background Colour", +Source : "Source", +Find : "Find", +Replace : "Replace", +SpellCheck : "Check Spelling", +UniversalKeyboard : "Universal Keyboard", +PageBreakLbl : "Page Break", +PageBreak : "Insert Page Break", + +Form : "Form", +Checkbox : "Checkbox", +RadioButton : "Radio Button", +TextField : "Text Field", +Textarea : "Textarea", +HiddenField : "Hidden Field", +Button : "Button", +SelectionField : "Selection Field", +ImageButton : "Image Button", + +FitWindow : "Maximize the editor size", + +// Context Menu +EditLink : "Edit Link", +CellCM : "Cell", +RowCM : "Row", +ColumnCM : "Column", +InsertRow : "Insert Row", +DeleteRows : "Delete Rows", +InsertColumn : "Insert Column", +DeleteColumns : "Delete Columns", +InsertCell : "Insert Cell", +DeleteCells : "Delete Cells", +MergeCells : "Merge Cells", +SplitCell : "Split Cell", +TableDelete : "Delete Table", +CellProperties : "Cell Properties", +TableProperties : "Table Properties", +ImageProperties : "Image Properties", +FlashProperties : "Flash Properties", + +AnchorProp : "Anchor Properties", +ButtonProp : "Button Properties", +CheckboxProp : "Checkbox Properties", +HiddenFieldProp : "Hidden Field Properties", +RadioButtonProp : "Radio Button Properties", +ImageButtonProp : "Image Button Properties", +TextFieldProp : "Text Field Properties", +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)", + +// Alerts and Messages +ProcessingXHTML : "Processing XHTML. Please wait...", +Done : "Done", +PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", +NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", +UnknownToolbarItem : "Unknown toolbar item \"%1\"", +UnknownCommand : "Unknown command name \"%1\"", +NotImplemented : "Command not implemented", +UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", +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.", +BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", +DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", + +// Dialogs +DlgBtnOK : "OK", +DlgBtnCancel : "Cancel", +DlgBtnClose : "Close", +DlgBtnBrowseServer : "Browse Server", +DlgAdvancedTag : "Advanced", +DlgOpOther : "", +DlgInfoTab : "Info", +DlgAlertUrl : "Please insert the URL", + +// General Dialogs Labels +DlgGenNotSet : "", +DlgGenId : "Id", +DlgGenLangDir : "Language Direction", +DlgGenLangDirLtr : "Left to Right (LTR)", +DlgGenLangDirRtl : "Right to Left (RTL)", +DlgGenLangCode : "Language Code", +DlgGenAccessKey : "Access Key", +DlgGenName : "Name", +DlgGenTabIndex : "Tab Index", +DlgGenLongDescr : "Long Description URL", +DlgGenClass : "Stylesheet Classes", +DlgGenTitle : "Advisory Title", +DlgGenContType : "Advisory Content Type", +DlgGenLinkCharset : "Linked Resource Charset", +DlgGenStyle : "Style", + +// Image Dialog +DlgImgTitle : "Image Properties", +DlgImgInfoTab : "Image Info", +DlgImgBtnUpload : "Send it to the Server", +DlgImgURL : "URL", +DlgImgUpload : "Upload", +DlgImgAlt : "Alternative Text", +DlgImgWidth : "Width", +DlgImgHeight : "Height", +DlgImgLockRatio : "Lock Ratio", +DlgBtnResetSize : "Reset Size", +DlgImgBorder : "Border", +DlgImgHSpace : "HSpace", +DlgImgVSpace : "VSpace", +DlgImgAlign : "Align", +DlgImgAlignLeft : "Left", +DlgImgAlignAbsBottom: "Abs Bottom", +DlgImgAlignAbsMiddle: "Abs Middle", +DlgImgAlignBaseline : "Baseline", +DlgImgAlignBottom : "Bottom", +DlgImgAlignMiddle : "Middle", +DlgImgAlignRight : "Right", +DlgImgAlignTextTop : "Text Top", +DlgImgAlignTop : "Top", +DlgImgPreview : "Preview", +DlgImgAlertUrl : "Please type the image URL", +DlgImgLinkTab : "Link", + +// Flash Dialog +DlgFlashTitle : "Flash Properties", +DlgFlashChkPlay : "Auto Play", +DlgFlashChkLoop : "Loop", +DlgFlashChkMenu : "Enable Flash Menu", +DlgFlashScale : "Scale", +DlgFlashScaleAll : "Show all", +DlgFlashScaleNoBorder : "No Border", +DlgFlashScaleFit : "Exact Fit", + +// Link Dialog +DlgLnkWindowTitle : "Link", +DlgLnkInfoTab : "Link Info", +DlgLnkTargetTab : "Target", + +DlgLnkType : "Link Type", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "Anchor in this page", +DlgLnkTypeEMail : "E-Mail", +DlgLnkProto : "Protocol", +DlgLnkProtoOther : "", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "Select an Anchor", +DlgLnkAnchorByName : "By Anchor Name", +DlgLnkAnchorById : "By Element Id", +DlgLnkNoAnchors : "", +DlgLnkEMail : "E-Mail Address", +DlgLnkEMailSubject : "Message Subject", +DlgLnkEMailBody : "Message Body", +DlgLnkUpload : "Upload", +DlgLnkBtnUpload : "Send it to the Server", + +DlgLnkTarget : "Target", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", +DlgLnkTargetBlank : "New Window (_blank)", +DlgLnkTargetParent : "Parent Window (_parent)", +DlgLnkTargetSelf : "Same Window (_self)", +DlgLnkTargetTop : "Topmost Window (_top)", +DlgLnkTargetFrameName : "Target Frame Name", +DlgLnkPopWinName : "Popup Window Name", +DlgLnkPopWinFeat : "Popup Window Features", +DlgLnkPopResize : "Resizable", +DlgLnkPopLocation : "Location Bar", +DlgLnkPopMenu : "Menu Bar", +DlgLnkPopScroll : "Scroll Bars", +DlgLnkPopStatus : "Status Bar", +DlgLnkPopToolbar : "Toolbar", +DlgLnkPopFullScrn : "Full Screen (IE)", +DlgLnkPopDependent : "Dependent (Netscape)", +DlgLnkPopWidth : "Width", +DlgLnkPopHeight : "Height", +DlgLnkPopLeft : "Left Position", +DlgLnkPopTop : "Top Position", + +DlnLnkMsgNoUrl : "Please type the link URL", +DlnLnkMsgNoEMail : "Please type the e-mail address", +DlnLnkMsgNoAnchor : "Please select an anchor", + +// Color Dialog +DlgColorTitle : "Select Colour", +DlgColorBtnClear : "Clear", +DlgColorHighlight : "Highlight", +DlgColorSelected : "Selected", + +// Smiley Dialog +DlgSmileyTitle : "Insert a Smiley", + +// Special Character Dialog +DlgSpecialCharTitle : "Select Special Character", + +// Table Dialog +DlgTableTitle : "Table Properties", +DlgTableRows : "Rows", +DlgTableColumns : "Columns", +DlgTableBorder : "Border size", +DlgTableAlign : "Alignment", +DlgTableAlignNotSet : "", +DlgTableAlignLeft : "Left", +DlgTableAlignCenter : "Centre", +DlgTableAlignRight : "Right", +DlgTableWidth : "Width", +DlgTableWidthPx : "pixels", +DlgTableWidthPc : "percent", +DlgTableHeight : "Height", +DlgTableCellSpace : "Cell spacing", +DlgTableCellPad : "Cell padding", +DlgTableCaption : "Caption", +DlgTableSummary : "Summary", + +// Table Cell Dialog +DlgCellTitle : "Cell Properties", +DlgCellWidth : "Width", +DlgCellWidthPx : "pixels", +DlgCellWidthPc : "percent", +DlgCellHeight : "Height", +DlgCellWordWrap : "Word Wrap", +DlgCellWordWrapNotSet : "", +DlgCellWordWrapYes : "Yes", +DlgCellWordWrapNo : "No", +DlgCellHorAlign : "Horizontal Alignment", +DlgCellHorAlignNotSet : "", +DlgCellHorAlignLeft : "Left", +DlgCellHorAlignCenter : "Centre", +DlgCellHorAlignRight: "Right", +DlgCellVerAlign : "Vertical Alignment", +DlgCellVerAlignNotSet : "", +DlgCellVerAlignTop : "Top", +DlgCellVerAlignMiddle : "Middle", +DlgCellVerAlignBottom : "Bottom", +DlgCellVerAlignBaseline : "Baseline", +DlgCellRowSpan : "Rows Span", +DlgCellCollSpan : "Columns Span", +DlgCellBackColor : "Background Colour", +DlgCellBorderColor : "Border Colour", +DlgCellBtnSelect : "Select...", + +// Find Dialog +DlgFindTitle : "Find", +DlgFindFindBtn : "Find", +DlgFindNotFoundMsg : "The specified text was not found.", + +// Replace Dialog +DlgReplaceTitle : "Replace", +DlgReplaceFindLbl : "Find what:", +DlgReplaceReplaceLbl : "Replace with:", +DlgReplaceCaseChk : "Match case", +DlgReplaceReplaceBtn : "Replace", +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.", +DlgPasteIgnoreFont : "Ignore Font Face definitions", +DlgPasteRemoveStyles : "Remove Styles definitions", +DlgPasteCleanBox : "Clean Up Box", + +// Color Picker +ColorAutomatic : "Automatic", +ColorMoreColors : "More Colours...", + +// Document Properties +DocProps : "Document Properties", + +// Anchor Dialog +DlgAnchorTitle : "Anchor Properties", +DlgAnchorName : "Anchor Name", +DlgAnchorErrorName : "Please type the anchor name", + +// Speller Pages Dialog +DlgSpellNotInDic : "Not in dictionary", +DlgSpellChangeTo : "Change to", +DlgSpellBtnIgnore : "Ignore", +DlgSpellBtnIgnoreAll : "Ignore All", +DlgSpellBtnReplace : "Replace", +DlgSpellBtnReplaceAll : "Replace All", +DlgSpellBtnUndo : "Undo", +DlgSpellNoSuggestions : "- No suggestions -", +DlgSpellProgress : "Spell check in progress...", +DlgSpellNoMispell : "Spell check complete: No misspellings found", +DlgSpellNoChanges : "Spell check complete: No words changed", +DlgSpellOneChange : "Spell check complete: One word changed", +DlgSpellManyChanges : "Spell check complete: %1 words changed", + +IeSpellDownload : "Spell checker not installed. Do you want to download it now?", + +// Button Dialog +DlgButtonText : "Text (Value)", +DlgButtonType : "Type", + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "Name", +DlgCheckboxValue : "Value", +DlgCheckboxSelected : "Selected", + +// Form Dialog +DlgFormName : "Name", +DlgFormAction : "Action", +DlgFormMethod : "Method", + +// Select Field Dialog +DlgSelectName : "Name", +DlgSelectValue : "Value", +DlgSelectSize : "Size", +DlgSelectLines : "lines", +DlgSelectChkMulti : "Allow multiple selections", +DlgSelectOpAvail : "Available Options", +DlgSelectOpText : "Text", +DlgSelectOpValue : "Value", +DlgSelectBtnAdd : "Add", +DlgSelectBtnModify : "Modify", +DlgSelectBtnUp : "Up", +DlgSelectBtnDown : "Down", +DlgSelectBtnSetValue : "Set as selected value", +DlgSelectBtnDelete : "Delete", + +// Textarea Dialog +DlgTextareaName : "Name", +DlgTextareaCols : "Columns", +DlgTextareaRows : "Rows", + +// Text Field Dialog +DlgTextName : "Name", +DlgTextValue : "Value", +DlgTextCharWidth : "Character Width", +DlgTextMaxChars : "Maximum Characters", +DlgTextType : "Type", +DlgTextTypeText : "Text", +DlgTextTypePass : "Password", + +// Hidden Field Dialog +DlgHiddenName : "Name", +DlgHiddenValue : "Value", + +// Bulleted List Dialog +BulletedListProp : "Bulleted List Properties", +NumberedListProp : "Numbered List Properties", +DlgLstType : "Type", +DlgLstTypeCircle : "Circle", +DlgLstTypeDisc : "Disc", +DlgLstTypeSquare : "Square", +DlgLstTypeNumbers : "Numbers (1, 2, 3)", +DlgLstTypeLCase : "Lowercase Letters (a, b, c)", +DlgLstTypeUCase : "Uppercase Letters (A, B, C)", +DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", +DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", + +// Document Properties Dialog +DlgDocGeneralTab : "General", +DlgDocBackTab : "Background", +DlgDocColorsTab : "Colours and Margins", +DlgDocMetaTab : "Meta Data", + +DlgDocPageTitle : "Page Title", +DlgDocLangDir : "Language Direction", +DlgDocLangDirLTR : "Left to Right (LTR)", +DlgDocLangDirRTL : "Right to Left (RTL)", +DlgDocLangCode : "Language Code", +DlgDocCharSet : "Character Set Encoding", +DlgDocCharSetOther : "Other Character Set Encoding", + +DlgDocDocType : "Document Type Heading", +DlgDocDocTypeOther : "Other Document Type Heading", +DlgDocIncXHTML : "Include XHTML Declarations", +DlgDocBgColor : "Background Colour", +DlgDocBgImage : "Background Image URL", +DlgDocBgNoScroll : "Nonscrolling Background", +DlgDocCText : "Text", +DlgDocCLink : "Link", +DlgDocCVisited : "Visited Link", +DlgDocCActive : "Active Link", +DlgDocMargins : "Page Margins", +DlgDocMaTop : "Top", +DlgDocMaLeft : "Left", +DlgDocMaRight : "Right", +DlgDocMaBottom : "Bottom", +DlgDocMeIndex : "Document Indexing Keywords (comma separated)", +DlgDocMeDescr : "Document Description", +DlgDocMeAuthor : "Author", +DlgDocMeCopy : "Copyright", +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):", +DlgTemplatesLoading : "Loading templates list. Please wait...", +DlgTemplatesNoTpl : "(No templates defined)", + +// About Dialog +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 Index: lams_central/web/fckeditor/editor/lang/en-uk.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/en-uk.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/en-uk.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/en-uk.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -50,7 +50,7 @@ InsertTable : "Insert/Edit Table", InsertLineLbl : "Line", InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Char", +InsertSpecialCharLbl: "Special Character", InsertSpecialChar : "Insert Special Character", InsertSmileyLbl : "Smiley", InsertSmiley : "Insert Smiley", @@ -62,7 +62,7 @@ Subscript : "Subscript", Superscript : "Superscript", LeftJustify : "Left Justify", -CenterJustify : "Center Justify", +CenterJustify : "Centre Justify", RightJustify : "Right Justify", BlockJustify : "Block Justify", DecreaseIndent : "Decrease Indent", @@ -79,15 +79,15 @@ FontFormat : "Format", Font : "Font", FontSize : "Size", -TextColor : "Text Color", -BGColor : "Background Color", +TextColor : "Text Colour", +BGColor : "Background Colour", Source : "Source", Find : "Find", Replace : "Replace", -SpellCheck : "Check Spell", +SpellCheck : "Check Spelling", UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "Page Break", +PageBreak : "Insert Page Break", Form : "Form", Checkbox : "Checkbox", @@ -99,8 +99,13 @@ SelectionField : "Selection Field", ImageButton : "Image Button", +FitWindow : "Maximize the editor size", + // Context Menu EditLink : "Edit Link", +CellCM : "Cell", +RowCM : "Row", +ColumnCM : "Column", InsertRow : "Insert Row", DeleteRows : "Delete Rows", InsertColumn : "Insert Column", @@ -109,7 +114,7 @@ DeleteCells : "Delete Cells", MergeCells : "Merge Cells", SplitCell : "Split Cell", -TableDelete : "Delete Table", //MISSING +TableDelete : "Delete Table", CellProperties : "Cell Properties", TableProperties : "Table Properties", ImageProperties : "Image Properties", @@ -126,7 +131,7 @@ TextareaProp : "Textarea Properties", FormProp : "Form Properties", -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;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Processing XHTML. Please wait...", @@ -137,22 +142,22 @@ UnknownCommand : "Unknown command name \"%1\"", NotImplemented : "Command not implemented", UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "You 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 : "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.", +BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", +DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Cancel", DlgBtnClose : "Close", DlgBtnBrowseServer : "Browse Server", DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Please insert the URL", // General Dialogs Labels -DlgGenNotSet : "<not set>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Language Direction", DlgGenLangDirLtr : "Left to Right (LTR)", @@ -216,21 +221,21 @@ DlgLnkTypeAnchor : "Anchor in this page", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Select an Anchor", DlgLnkAnchorByName : "By Anchor Name", DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "<No anchors available in the document>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail Address", DlgLnkEMailSubject : "Message Subject", DlgLnkEMailBody : "Message Body", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Send it to the Server", DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "New Window (_blank)", DlgLnkTargetParent : "Parent Window (_parent)", DlgLnkTargetSelf : "Same Window (_self)", @@ -256,7 +261,7 @@ DlnLnkMsgNoAnchor : "Please select an anchor", // Color Dialog -DlgColorTitle : "Select Color", +DlgColorTitle : "Select Colour", DlgColorBtnClear : "Clear", DlgColorHighlight : "Highlight", DlgColorSelected : "Selected", @@ -284,7 +289,7 @@ DlgTableCellSpace : "Cell spacing", DlgTableCellPad : "Cell padding", DlgTableCaption : "Caption", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Summary", // Table Cell Dialog DlgCellTitle : "Cell Properties", @@ -293,24 +298,24 @@ DlgCellWidthPc : "percent", DlgCellHeight : "Height", DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Left", DlgCellHorAlignCenter : "Centre", DlgCellHorAlignRight: "Right", DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Top", DlgCellVerAlignMiddle : "Middle", DlgCellVerAlignBottom : "Bottom", DlgCellVerAlignBaseline : "Baseline", DlgCellRowSpan : "Rows Span", DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Color", -DlgCellBorderColor : "Border Color", +DlgCellBackColor : "Background Colour", +DlgCellBorderColor : "Border Colour", DlgCellBtnSelect : "Select...", // Find Dialog @@ -328,9 +333,9 @@ DlgReplaceWordChk : "Match whole word", // Paste Operations / Dialog -PasteErrorPaste : "Your browser security settings don't permit the editor to automaticaly execute pasting operations. Please use the keyboard for that (Ctrl+V).", -PasteErrorCut : "Your browser security settings don't permit the editor to automaticaly execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automaticaly execute copying operations. Please use the keyboard for that (Ctrl+C).", +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", @@ -340,10 +345,9 @@ DlgPasteRemoveStyles : "Remove Styles definitions", DlgPasteCleanBox : "Clean Up Box", - // Color Picker ColorAutomatic : "Automatic", -ColorMoreColors : "More Colors...", +ColorMoreColors : "More Colours...", // Document Properties DocProps : "Document Properties", @@ -423,7 +427,7 @@ NumberedListProp : "Numbered List Properties", DlgLstType : "Type", DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", @@ -434,7 +438,7 @@ // Document Properties Dialog DlgDocGeneralTab : "General", DlgDocBackTab : "Background", -DlgDocColorsTab : "Colors and Margins", +DlgDocColorsTab : "Colours and Margins", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Page Title", @@ -448,7 +452,7 @@ DlgDocDocType : "Document Type Heading", DlgDocDocTypeOther : "Other Document Type Heading", DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Color", +DlgDocBgColor : "Background Colour", DlgDocBgImage : "Background Image URL", DlgDocBgNoScroll : "Nonscrolling Background", DlgDocCText : "Text", @@ -476,6 +480,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/en.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/en.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/en.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/en.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -49,7 +49,7 @@ InsertTable : "Insert/Edit Table", InsertLineLbl : "Line", InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Char", +InsertSpecialCharLbl: "Special Character", InsertSpecialChar : "Insert Special Character", InsertSmileyLbl : "Smiley", InsertSmiley : "Insert Smiley", @@ -83,7 +83,7 @@ Source : "Source", Find : "Find", Replace : "Replace", -SpellCheck : "Check Spell", +SpellCheck : "Check Spelling", UniversalKeyboard : "Universal Keyboard", PageBreakLbl : "Page Break", PageBreak : "Insert Page Break", @@ -98,8 +98,13 @@ SelectionField : "Selection Field", ImageButton : "Image Button", +FitWindow : "Maximize the editor size", + // Context Menu EditLink : "Edit Link", +CellCM : "Cell", +RowCM : "Row", +ColumnCM : "Column", InsertRow : "Insert Row", DeleteRows : "Delete Rows", InsertColumn : "Insert Column", @@ -136,7 +141,7 @@ UnknownCommand : "Unknown command name \"%1\"", NotImplemented : "Command not implemented", UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "You 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.", +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.", BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", @@ -146,12 +151,12 @@ DlgBtnClose : "Close", DlgBtnBrowseServer : "Browse Server", DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Please insert the URL", // General Dialogs Labels -DlgGenNotSet : "<not set>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Language Direction", DlgGenLangDirLtr : "Left to Right (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Anchor in this page", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Select an Anchor", DlgLnkAnchorByName : "By Anchor Name", DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "<No anchors available in the document>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail Address", DlgLnkEMailSubject : "Message Subject", DlgLnkEMailBody : "Message Body", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Send it to the Server", DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "New Window (_blank)", DlgLnkTargetParent : "Parent Window (_parent)", DlgLnkTargetSelf : "Same Window (_self)", @@ -292,16 +297,16 @@ DlgCellWidthPc : "percent", DlgCellHeight : "Height", DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Left", DlgCellHorAlignCenter : "Center", DlgCellHorAlignRight: "Right", DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Top", DlgCellVerAlignMiddle : "Middle", DlgCellVerAlignBottom : "Bottom", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Remove Styles definitions", DlgPasteCleanBox : "Clean Up Box", - // Color Picker ColorAutomatic : "Automatic", ColorMoreColors : "More Colors...", @@ -475,6 +479,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/eo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/eo.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/eo.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/eo.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "Elekta Kampo", ImageButton : "Bildbutono", +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "Modifier Ligilon", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "Enmeti Linion", DeleteRows : "Forigi Liniojn", InsertColumn : "Enmeti Kolumnon", @@ -136,7 +141,7 @@ UnknownCommand : "Komandonomo nekonata \"%1\"", NotImplemented : "Komando ne ankoraŭ realigita", UnknownToolbarSet : "La ilobreto \"%1\" ne ekzistas", -NoActiveX : "You 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 +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 @@ -146,12 +151,12 @@ DlgBtnClose : "Fermi", DlgBtnBrowseServer : "Foliumi en la Servilo", DlgAdvancedTag : "Speciala", -DlgOpOther : "<Alia>", +DlgOpOther : "", DlgInfoTab : "Info", //MISSING DlgAlertUrl : "Please insert the URL", //MISSING // General Dialogs Labels -DlgGenNotSet : "<Defaŭlta>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Skribdirekto", DlgGenLangDirLtr : "De maldekstro dekstren (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Ankri en tiu ĉi paĝo", DlgLnkTypeEMail : "Retpoŝto", DlgLnkProto : "Protokolo", -DlgLnkProtoOther : "<alia>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Elekti Ankron", DlgLnkAnchorByName : "Per Ankronomo", DlgLnkAnchorById : "Per Elementidentigilo", -DlgLnkNoAnchors : "<Ne disponeblas ankroj en la dokumento>", +DlgLnkNoAnchors : "", DlgLnkEMail : "Retadreso", DlgLnkEMailSubject : "Temlinio", DlgLnkEMailBody : "Mesaĝa korpo", DlgLnkUpload : "Alŝuti", DlgLnkBtnUpload : "Sendi al Servilo", DlgLnkTarget : "Celo", -DlgLnkTargetFrame : "<kadro>", -DlgLnkTargetPopup : "<ŝprucfenestro>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "<ŝprucfenestro>", DlgLnkTargetBlank : "Nova Fenestro (_blank)", DlgLnkTargetParent : "Gepatra Fenestro (_parent)", DlgLnkTargetSelf : "Sama Fenestro (_self)", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING DlgPasteCleanBox : "Clean Up Box", //MISSING - // Color Picker ColorAutomatic : "Aŭtomata", ColorMoreColors : "Pli da Koloroj...", @@ -475,6 +479,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/es.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/es.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/es.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/es.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "Campo de Selección", ImageButton : "Botón Imagen", +FitWindow : "Maximizar el tamaño del editor", + // Context Menu EditLink : "Editar Vínculo", +CellCM : "Celda", +RowCM : "Fila", +ColumnCM : "Columna", InsertRow : "Insertar Fila", DeleteRows : "Eliminar Filas", InsertColumn : "Insertar Columna", @@ -146,12 +151,12 @@ DlgBtnClose : "Cerrar", DlgBtnBrowseServer : "Ver Servidor", DlgAdvancedTag : "Avanzado", -DlgOpOther : "<Otro>", +DlgOpOther : "", DlgInfoTab : "Información", DlgAlertUrl : "Inserte el URL", // General Dialogs Labels -DlgGenNotSet : "<No definido>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Orientación de idioma", DlgGenLangDirLtr : "Izquierda a Derecha (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Referencia en esta página", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "<otro>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Seleccionar una referencia", DlgLnkAnchorByName : "Por Nombre de Referencia", DlgLnkAnchorById : "Por ID de elemento", -DlgLnkNoAnchors : "<No hay referencias disponibles en el documento>", +DlgLnkNoAnchors : "", DlgLnkEMail : "Dirección de E-Mail", DlgLnkEMailSubject : "Título del Mensaje", DlgLnkEMailBody : "Cuerpo del Mensaje", DlgLnkUpload : "Cargar", DlgLnkBtnUpload : "Enviar al Servidor", DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "<marco>", -DlgLnkTargetPopup : "<ventana emergente>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Nueva Ventana(_blank)", DlgLnkTargetParent : "Ventana Padre (_parent)", DlgLnkTargetSelf : "Misma Ventana (_self)", @@ -337,9 +342,8 @@ DlgPasteMsg2 : "Por favor pegue dentro del cuadro utilizando el teclado (Ctrl+V); luego presione OK.", DlgPasteIgnoreFont : "Ignorar definiciones de fuentes", DlgPasteRemoveStyles : "Remover definiciones de estilo", -DlgPasteCleanBox : "Clean Up Box", +DlgPasteCleanBox : "Borrar el contenido del cuadro", - // Color Picker ColorAutomatic : "Automático", ColorMoreColors : "Más Colores...", @@ -475,6 +479,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/et.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/et.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/et.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/et.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -15,6 +15,7 @@ * * File Authors: * Kristjan Kivikangur (kristjan@ttrk.ee) + * Gustav Kaskema */ var FCKLang = @@ -40,24 +41,24 @@ InsertLinkLbl : "Link", InsertLink : "Sisesta/Muuda link", RemoveLink : "Eemalda link", -Anchor : "Insert/Edit Anchor", //MISSING +Anchor : "Sisesta/Muuda ankur", InsertImageLbl : "Pilt", InsertImage : "Sisesta/Muuda pilt", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "Flash", +InsertFlash : "Sisesta/Muuda flash", InsertTableLbl : "Tabel", InsertTable : "Sisesta/Muuda tabel", InsertLineLbl : "Joon", InsertLine : "Sisesta horisontaaljoon", InsertSpecialCharLbl: "Erimärgid", InsertSpecialChar : "Sisesta erimärk", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Sisesta Smiley", -About : "FCKeditor kohta", -Bold : "Paks", -Italic : "Kursiiv", -Underline : "Allajoonitud", -StrikeThrough : "Läbijoonitud", +InsertSmileyLbl : "Emotikon", +InsertSmiley : "Sisesta emotikon", +About : "FCKeditor teave", +Bold : "Rasvane kiri", +Italic : "Kursiiv kiri", +Underline : "Allajoonitud kiri", +StrikeThrough : "Läbijoonitud kiri", Subscript : "Allindeks", Superscript : "Ülaindeks", LeftJustify : "Vasakjoondus", @@ -67,39 +68,44 @@ DecreaseIndent : "Vähenda taanet", IncreaseIndent : "Suurenda taanet", Undo : "Võta tagasi", -Redo : "Tee uuesti", +Redo : "Korda toimingut", NumberedListLbl : "Nummerdatud loetelu", NumberedList : "Sisesta/Eemalda nummerdatud loetelu", -BulletedListLbl : "Täpitud loetelu", -BulletedList : "Sisesta/Eemalda täpitud loetelu", -ShowTableBorders : "Nöita tabeli jooni", +BulletedListLbl : "Punktiseeritud loetelu", +BulletedList : "Sisesta/Eemalda punktiseeritud loetelu", +ShowTableBorders : "Näita tabeli jooni", ShowDetails : "Näita üksikasju", Style : "Laad", FontFormat : "Vorming", -Font : "Font", +Font : "Kiri", FontSize : "Suurus", TextColor : "Teksti värv", BGColor : "Tausta värv", Source : "Lähtekood", Find : "Otsi", Replace : "Asenda", -SpellCheck : "Check Spell", //MISSING -UniversalKeyboard : "Universal Keyboard", //MISSING -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +SpellCheck : "Kontrolli õigekirja", +UniversalKeyboard : "Universaalne klaviatuur", +PageBreakLbl : "Lehepiir", +PageBreak : "Sisesta lehevahetus koht", -Form : "Form", //MISSING -Checkbox : "Checkbox", //MISSING -RadioButton : "Radio Button", //MISSING -TextField : "Text Field", //MISSING -Textarea : "Textarea", //MISSING -HiddenField : "Hidden Field", //MISSING -Button : "Button", //MISSING -SelectionField : "Selection Field", //MISSING -ImageButton : "Image Button", //MISSING +Form : "Vorm", +Checkbox : "Märkeruut", +RadioButton : "Raadionupp", +TextField : "Tekstilahter", +Textarea : "Tekstiala", +HiddenField : "Varjatud lahter", +Button : "Nupp", +SelectionField : "Valiklahter", +ImageButton : "Piltnupp", +FitWindow : "Maksimeeri redaktori mõõtmed", + // Context Menu EditLink : "Muuda linki", +CellCM : "Lahter", +RowCM : "Rida", +ColumnCM : "Veerg", InsertRow : "Lisa rida", DeleteRows : "Eemalda ridu", InsertColumn : "Lisa veerg", @@ -108,69 +114,69 @@ DeleteCells : "Eemalda lahtrid", MergeCells : "Ühenda lahtrid", SplitCell : "Lahuta lahtrid", -TableDelete : "Delete Table", //MISSING +TableDelete : "Kustuta tabel", CellProperties : "Lahtri atribuudid", TableProperties : "Tabeli atribuudid", ImageProperties : "Pildi atribuudid", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "Flash omadused", -AnchorProp : "Anchor Properties", //MISSING -ButtonProp : "Button Properties", //MISSING -CheckboxProp : "Checkbox Properties", //MISSING -HiddenFieldProp : "Hidden Field Properties", //MISSING -RadioButtonProp : "Radio Button Properties", //MISSING -ImageButtonProp : "Image Button Properties", //MISSING -TextFieldProp : "Text Field Properties", //MISSING -SelectionFieldProp : "Selection Field Properties", //MISSING -TextareaProp : "Textarea Properties", //MISSING -FormProp : "Form Properties", //MISSING +AnchorProp : "Ankru omadused", +ButtonProp : "Nupu omadused", +CheckboxProp : "Märkeruudu omadused", +HiddenFieldProp : "Varjatud lahtri omadused", +RadioButtonProp : "Raadionupu omadused", +ImageButtonProp : "Piltnupu omadused", +TextFieldProp : "Tekstilahtri omadused", +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", // Alerts and Messages ProcessingXHTML : "Töötlen XHTML. Palun oota...", Done : "Tehtud", PasteWordConfirm : "Tekst, mida soovid lisada paistab pärinevat Wordist. Kas soovid seda enne kleepimist puhastada?", -NotCompatiblePaste : "See käsk on saadaval ainult Internet Explorer versioon 5.5 või rohkem puhul. Kas soovid kleepida ilma puhastamata?", +NotCompatiblePaste : "See käsk on saadaval ainult Internet Explorer versioon 5.5 või uuema puhul. Kas soovid kleepida ilma puhastamata?", UnknownToolbarItem : "Tundmatu tööriistariba üksus \"%1\"", UnknownCommand : "Tundmatu käsunimi \"%1\"", NotImplemented : "Käsku ei täidetud", UnknownToolbarSet : "Tööriistariba \"%1\" ei eksisteeri", -NoActiveX : "You 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 : "Sinu interneti sirvija turvalisuse seaded võivad limiteerida mõningaid tekstirdaktori kasutus võimalusi. Sa peaksid võimaldama valiku \"Run ActiveX controls and plug-ins\" oma sirvija seadetes. Muidu võid sa täheldada vigu tekstiredaktori töös ja märgata puuduvaid funktsioone.", +BrowseServerBlocked : "Ressursside sirvija avamine ebaõnnestus. Võimalda pop-up akende avanemine.", +DialogBlocked : "Ei olenud võimalik avada dialoogi akent. Võimalda pop-up akende avanemine.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Loobu", -DlgBtnClose : "Sule", -DlgBtnBrowseServer : "Browse Server", //MISSING +DlgBtnClose : "Sulge", +DlgBtnBrowseServer : "Sirvi serverit", DlgAdvancedTag : "Täpsemalt", -DlgOpOther : "<Other>", //MISSING -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgOpOther : "", +DlgInfoTab : "Info", +DlgAlertUrl : "Palun sisesta URL", // General Dialogs Labels -DlgGenNotSet : "<määramata>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Keele suund", DlgGenLangDirLtr : "Vasakult paremale (LTR)", DlgGenLangDirRtl : "Paremalt vasakule (RTL)", DlgGenLangCode : "Keele kood", DlgGenAccessKey : "Juurdepääsu võti", DlgGenName : "Nimi", -DlgGenTabIndex : "Tab Index", +DlgGenTabIndex : "Tab indeks", DlgGenLongDescr : "Pikk kirjeldus URL", DlgGenClass : "Stiilistiku klassid", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", +DlgGenTitle : "Juhendav tiitel", +DlgGenContType : "Juhendava sisu tüüp", +DlgGenLinkCharset : "Lingitud ressurssi märgistik", DlgGenStyle : "Laad", // Image Dialog DlgImgTitle : "Pildi atribuudid", DlgImgInfoTab : "Pildi info", -DlgImgBtnUpload : "Saada serverile", +DlgImgBtnUpload : "Saada serverissee", DlgImgURL : "URL", DlgImgUpload : "Lae üles", DlgImgAlt : "Alternatiivne tekst", @@ -179,8 +185,8 @@ DlgImgLockRatio : "Lukusta kuvasuhe", DlgBtnResetSize : "Lähtesta suurus", DlgImgBorder : "Joon", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", +DlgImgHSpace : "H. vaheruum", +DlgImgVSpace : "V. vaheruum", DlgImgAlign : "Joondus", DlgImgAlignLeft : "Vasak", DlgImgAlignAbsBottom: "Abs alla", @@ -189,21 +195,21 @@ DlgImgAlignBottom : "Alla", DlgImgAlignMiddle : "Keskele", DlgImgAlignRight : "Paremale", -DlgImgAlignTextTop : "Teksti üles", +DlgImgAlignTextTop : "Tekstit üles", DlgImgAlignTop : "Üles", DlgImgPreview : "Eelvaade", DlgImgAlertUrl : "Palun kirjuta pildi URL", -DlgImgLinkTab : "Link", //MISSING +DlgImgLinkTab : "Link", // 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 omadused", +DlgFlashChkPlay : "Automaatne start ", +DlgFlashChkLoop : "Korduv", +DlgFlashChkMenu : "Võimalda flash menüü", +DlgFlashScale : "Mastaap", +DlgFlashScaleAll : "Näita kõike", +DlgFlashScaleNoBorder : "Äärist ei ole", +DlgFlashScaleFit : "Täpne sobivus", // Link Dialog DlgLnkWindowTitle : "Link", @@ -213,28 +219,28 @@ DlgLnkType : "Lingi tüüp", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Ankur sellel lehel", -DlgLnkTypeEMail : "E-Post", +DlgLnkTypeEMail : "E-post", DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<muu>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Vali ankur", DlgLnkAnchorByName : "Ankru nime järgi", -DlgLnkAnchorById : "Elemendi Id järgi", -DlgLnkNoAnchors : "<Selles dokumendis ei ole ankruid>", -DlgLnkEMail : "E-Posti aadress", +DlgLnkAnchorById : "Elemendi id järgi", +DlgLnkNoAnchors : "", +DlgLnkEMail : "E-posti aadress", DlgLnkEMailSubject : "Sõnumi teema", DlgLnkEMailBody : "Sõnumi tekst", DlgLnkUpload : "Lae üles", -DlgLnkBtnUpload : "Saada serverile", +DlgLnkBtnUpload : "Saada serverisse", DlgLnkTarget : "Sihtkoht", -DlgLnkTargetFrame : "<raam>", -DlgLnkTargetPopup : "<hüpikaken>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Uus aken (_blank)", DlgLnkTargetParent : "Vanem aken (_parent)", DlgLnkTargetSelf : "Sama aken (_self)", DlgLnkTargetTop : "Pealmine aken (_top)", -DlgLnkTargetFrameName : "Target Frame Name", //MISSING +DlgLnkTargetFrameName : "Sihtmärk raami nimi", DlgLnkPopWinName : "Hüpikakna nimi", DlgLnkPopWinFeat : "Hüpikakna omadused", DlgLnkPopResize : "Suurendatav", @@ -261,7 +267,7 @@ DlgColorSelected : "Valitud", // Smiley Dialog -DlgSmileyTitle : "Sisesta Smiley", +DlgSmileyTitle : "Sisesta emotikon", // Special Character Dialog DlgSpecialCharTitle : "Vali erimärk", @@ -282,16 +288,16 @@ DlgTableHeight : "Kõrgus", DlgTableCellSpace : "Lahtri vahe", DlgTableCellPad : "Lahtri täidis", -DlgTableCaption : "Seletiitel", -DlgTableSummary : "Summary", //MISSING +DlgTableCaption : "Tabeli tiitel", +DlgTableSummary : "Kokkuvõte", // Table Cell Dialog DlgCellTitle : "Lahtri atribuudid", DlgCellWidth : "Laius", DlgCellWidthPx : "pikslit", DlgCellWidthPc : "protsenti", DlgCellHeight : "Kõrgus", -DlgCellWordWrap : "Murra ridu", +DlgCellWordWrap : "Sõna ülekanne", DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Jah", DlgCellWordWrapNo : "Ei", @@ -321,160 +327,160 @@ DlgReplaceTitle : "Asenda", DlgReplaceFindLbl : "Leia mida:", DlgReplaceReplaceLbl : "Asenda millega:", -DlgReplaceCaseChk : "Erista suurtähti", +DlgReplaceCaseChk : "Erista suur- ja väiketähti", DlgReplaceReplaceBtn : "Asenda", DlgReplaceReplAllBtn : "Asenda kõik", -DlgReplaceWordChk : "Otsi terveid sõnu", +DlgReplaceWordChk : "Otsi terviklike sõnu", // Paste Operations / Dialog -PasteErrorPaste : "Sinu brauseri turvaseaded ei luba redaktoril automaatselt kleepida. Palun kasutage selleks klaviatuuri (Ctrl+V).", -PasteErrorCut : "Sinu brauseri turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri (Ctrl+X).", -PasteErrorCopy : "Sinu brauseri turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri (Ctrl+C).", +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).", PasteAsText : "Kleebi tavalise tekstina", PasteFromWord : "Kleebi Wordist", -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 : "Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (Ctrl+V) ja vajuta seejärel OK.", +DlgPasteIgnoreFont : "Ignoreeri kirja definitsioone", +DlgPasteRemoveStyles : "Eemalda stiilide definitsioonid", +DlgPasteCleanBox : "Puhasta ära kast", - // Color Picker ColorAutomatic : "Automaatne", ColorMoreColors : "Rohkem värve...", // Document Properties -DocProps : "Document Properties", //MISSING +DocProps : "Dokumendi omadused", // Anchor Dialog -DlgAnchorTitle : "Anchor Properties", //MISSING -DlgAnchorName : "Anchor Name", //MISSING -DlgAnchorErrorName : "Please type the anchor name", //MISSING +DlgAnchorTitle : "Ankru omadused", +DlgAnchorName : "Ankru nimi", +DlgAnchorErrorName : "Palun sisest ankru nimi", // Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", //MISSING -DlgSpellChangeTo : "Change to", //MISSING -DlgSpellBtnIgnore : "Ignore", //MISSING -DlgSpellBtnIgnoreAll : "Ignore All", //MISSING -DlgSpellBtnReplace : "Replace", //MISSING -DlgSpellBtnReplaceAll : "Replace All", //MISSING -DlgSpellBtnUndo : "Undo", //MISSING -DlgSpellNoSuggestions : "- No suggestions -", //MISSING -DlgSpellProgress : "Spell check in progress...", //MISSING -DlgSpellNoMispell : "Spell check complete: No misspellings found", //MISSING -DlgSpellNoChanges : "Spell check complete: No words changed", //MISSING -DlgSpellOneChange : "Spell check complete: One word changed", //MISSING -DlgSpellManyChanges : "Spell check complete: %1 words changed", //MISSING +DlgSpellNotInDic : "Puudub sõnastikust", +DlgSpellChangeTo : "Muuda", +DlgSpellBtnIgnore : "Ignoreeri", +DlgSpellBtnIgnoreAll : "Ignoreeri kõiki", +DlgSpellBtnReplace : "Asenda", +DlgSpellBtnReplaceAll : "Asenda kõik", +DlgSpellBtnUndo : "Võta tagasi", +DlgSpellNoSuggestions : "- Soovitused puuduvad -", +DlgSpellProgress : "Toimub õigekirja kontroll...", +DlgSpellNoMispell : "Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud", +DlgSpellNoChanges : "Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud", +DlgSpellOneChange : "Õigekirja kontroll sooritatud: üks sõna muudeti", +DlgSpellManyChanges : "Õigekirja kontroll sooritatud: %1 sõna muudetud", -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", //MISSING +IeSpellDownload : "Õigekirja kontrollija ei ole installeeritud. Soovid sa selle alla laadida?", // Button Dialog -DlgButtonText : "Text (Value)", //MISSING -DlgButtonType : "Type", //MISSING +DlgButtonText : "Tekst (väärtus)", +DlgButtonType : "Tüüp", // Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", //MISSING -DlgCheckboxValue : "Value", //MISSING -DlgCheckboxSelected : "Selected", //MISSING +DlgCheckboxName : "Nimi", +DlgCheckboxValue : "Väärtus", +DlgCheckboxSelected : "Valitud", // Form Dialog -DlgFormName : "Name", //MISSING -DlgFormAction : "Action", //MISSING -DlgFormMethod : "Method", //MISSING +DlgFormName : "Nimi", +DlgFormAction : "Toiming", +DlgFormMethod : "Meetod", // Select Field Dialog -DlgSelectName : "Name", //MISSING -DlgSelectValue : "Value", //MISSING -DlgSelectSize : "Size", //MISSING -DlgSelectLines : "lines", //MISSING -DlgSelectChkMulti : "Allow multiple selections", //MISSING -DlgSelectOpAvail : "Available Options", //MISSING -DlgSelectOpText : "Text", //MISSING -DlgSelectOpValue : "Value", //MISSING -DlgSelectBtnAdd : "Add", //MISSING -DlgSelectBtnModify : "Modify", //MISSING -DlgSelectBtnUp : "Up", //MISSING -DlgSelectBtnDown : "Down", //MISSING -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "Delete", //MISSING +DlgSelectName : "Nimi", +DlgSelectValue : "Väärtus", +DlgSelectSize : "Suurus", +DlgSelectLines : "ridu", +DlgSelectChkMulti : "Võimalda mitu valikut", +DlgSelectOpAvail : "Võimalikud valikud", +DlgSelectOpText : "Tekst", +DlgSelectOpValue : "Väärtus", +DlgSelectBtnAdd : "Lisa", +DlgSelectBtnModify : "Muuda", +DlgSelectBtnUp : "Üles", +DlgSelectBtnDown : "Alla", +DlgSelectBtnSetValue : "Sea valitud olekuna", +DlgSelectBtnDelete : "Kustuta", // Textarea Dialog -DlgTextareaName : "Name", //MISSING -DlgTextareaCols : "Columns", //MISSING -DlgTextareaRows : "Rows", //MISSING +DlgTextareaName : "Nimi", +DlgTextareaCols : "Veerge", +DlgTextareaRows : "Ridu", // Text Field Dialog -DlgTextName : "Name", //MISSING -DlgTextValue : "Value", //MISSING -DlgTextCharWidth : "Character Width", //MISSING -DlgTextMaxChars : "Maximum Characters", //MISSING -DlgTextType : "Type", //MISSING -DlgTextTypeText : "Text", //MISSING -DlgTextTypePass : "Password", //MISSING +DlgTextName : "Nimi", +DlgTextValue : "Väärtus", +DlgTextCharWidth : "Laius (tähemärkides)", +DlgTextMaxChars : "Maksimaalselt tähemärke", +DlgTextType : "Tüüp", +DlgTextTypeText : "Tekst", +DlgTextTypePass : "Parool", // Hidden Field Dialog -DlgHiddenName : "Name", //MISSING -DlgHiddenValue : "Value", //MISSING +DlgHiddenName : "Nimi", +DlgHiddenValue : "Väärtus", // Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", //MISSING -NumberedListProp : "Numbered List Properties", //MISSING -DlgLstType : "Type", //MISSING -DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Square", //MISSING -DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", //MISSING -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", //MISSING -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", //MISSING +BulletedListProp : "Täpitud loetelu omadused", +NumberedListProp : "Nummerdatud loetelu omadused", +DlgLstType : "Tüüp", +DlgLstTypeCircle : "Ring", +DlgLstTypeDisc : "Ketas", +DlgLstTypeSquare : "Ruut", +DlgLstTypeNumbers : "Numbrid (1, 2, 3)", +DlgLstTypeLCase : "Väiketähed (a, b, c)", +DlgLstTypeUCase : "Suurtähed (A, B, C)", +DlgLstTypeSRoman : "Väiksed Rooma numbrid (i, ii, iii)", +DlgLstTypeLRoman : "Suured Rooma numbrid (I, II, III)", // Document Properties Dialog -DlgDocGeneralTab : "General", //MISSING -DlgDocBackTab : "Background", //MISSING -DlgDocColorsTab : "Colors and Margins", //MISSING -DlgDocMetaTab : "Meta Data", //MISSING +DlgDocGeneralTab : "Üldine", +DlgDocBackTab : "Taust", +DlgDocColorsTab : "Värvid ja veerised", +DlgDocMetaTab : "Meta andmed", -DlgDocPageTitle : "Page Title", //MISSING -DlgDocLangDir : "Language Direction", //MISSING -DlgDocLangDirLTR : "Left to Right (LTR)", //MISSING -DlgDocLangDirRTL : "Right to Left (RTL)", //MISSING -DlgDocLangCode : "Language Code", //MISSING -DlgDocCharSet : "Character Set Encoding", //MISSING -DlgDocCharSetOther : "Other Character Set Encoding", //MISSING +DlgDocPageTitle : "Lehekülje tiitel", +DlgDocLangDir : "Kirja suund", +DlgDocLangDirLTR : "Vasakult paremale (LTR)", +DlgDocLangDirRTL : "Paremalt vasakule (RTL)", +DlgDocLangCode : "Keele kood", +DlgDocCharSet : "Märgistiku kodeering", +DlgDocCharSetOther : "Ülejäänud märgistike kodeeringud", -DlgDocDocType : "Document Type Heading", //MISSING -DlgDocDocTypeOther : "Other Document Type Heading", //MISSING -DlgDocIncXHTML : "Include XHTML Declarations", //MISSING -DlgDocBgColor : "Background Color", //MISSING -DlgDocBgImage : "Background Image URL", //MISSING -DlgDocBgNoScroll : "Nonscrolling Background", //MISSING -DlgDocCText : "Text", //MISSING -DlgDocCLink : "Link", //MISSING -DlgDocCVisited : "Visited Link", //MISSING -DlgDocCActive : "Active Link", //MISSING -DlgDocMargins : "Page Margins", //MISSING -DlgDocMaTop : "Top", //MISSING -DlgDocMaLeft : "Left", //MISSING -DlgDocMaRight : "Right", //MISSING -DlgDocMaBottom : "Bottom", //MISSING -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", //MISSING -DlgDocMeDescr : "Document Description", //MISSING -DlgDocMeAuthor : "Author", //MISSING -DlgDocMeCopy : "Copyright", //MISSING -DlgDocPreview : "Preview", //MISSING +DlgDocDocType : "Dokumendi tüüppäis", +DlgDocDocTypeOther : "Teised dokumendi tüüppäised", +DlgDocIncXHTML : "Arva kaasa XHTML deklaratsioonid", +DlgDocBgColor : "Taustavärv", +DlgDocBgImage : "Taustapildi URL", +DlgDocBgNoScroll : "Mittekeritav tagataust", +DlgDocCText : "Tekst", +DlgDocCLink : "Link", +DlgDocCVisited : "Külastatud link", +DlgDocCActive : "Aktiivne link", +DlgDocMargins : "Lehekülje äärised", +DlgDocMaTop : "Ülaserv", +DlgDocMaLeft : "Vasakserv", +DlgDocMaRight : "Paremserv", +DlgDocMaBottom : "Alaserv", +DlgDocMeIndex : "Dokumendi võtmesõnad (eraldatud komadega)", +DlgDocMeDescr : "Dokumendi kirjeldus", +DlgDocMeAuthor : "Autor", +DlgDocMeCopy : "Autoriõigus", +DlgDocPreview : "Eelvaade", // 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 +Templates : "Šabloon", +DlgTemplatesTitle : "Sisu šabloonid", +DlgTemplatesSelMsg : "Palun vali šabloon, et avada see redaktoris
(praegune sisu läheb kaotsi):", +DlgTemplatesLoading : "Laen šabloonide nimekirja. Palun oota...", +DlgTemplatesNoTpl : "(Ühtegi šablooni ei ole defineeritud)", // About Dialog -DlgAboutAboutTab : "About", //MISSING -DlgAboutBrowserInfoTab : "Browser Info", //MISSING +DlgAboutAboutTab : "Teave", +DlgAboutBrowserInfoTab : "Interneti sirvija info", +DlgAboutLicenseTab : "Litsents", DlgAboutVersion : "versioon", DlgAboutLicense : "Litsenseeritud GNU Lesser General Public License litsentsiga", DlgAboutInfo : "Täpsema info saamiseks mine" Index: lams_central/web/fckeditor/editor/lang/eu.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/eu.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/eu.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/eu.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -99,8 +99,13 @@ SelectionField : "Hautespen Eremua", ImageButton : "Irudi Botoia", +FitWindow : "Maximizatu editorearen tamaina", + // Context Menu EditLink : "Aldatu Esteka", +CellCM : "Gelaxka", +RowCM : "Errenkada", +ColumnCM : "Zutabea", InsertRow : "Txertatu Errenkada", DeleteRows : "Ezabatu Errenkadak", InsertColumn : "Txertatu Zutabea", @@ -147,12 +152,12 @@ DlgBtnClose : "Itxi", DlgBtnBrowseServer : "Zerbitzaria arakatu", DlgAdvancedTag : "Aurreratua", -DlgOpOther : "<Bestelakoak>", +DlgOpOther : "", DlgInfoTab : "Informazioa", DlgAlertUrl : "Mesedez URLa idatzi ezazu", // General Dialogs Labels -DlgGenNotSet : "<Ezarri gabe>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Hizkuntzaren Norabidea", DlgGenLangDirLtr : "Ezkerretik Eskumara(LTR)", @@ -216,21 +221,21 @@ DlgLnkTypeAnchor : "Aingura horrialde honentan", DlgLnkTypeEMail : "ePosta", DlgLnkProto : "Protokoloa", -DlgLnkProtoOther : "<Beste batzuk>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Aingura bat hautatu", DlgLnkAnchorByName : "Aingura izenagatik", DlgLnkAnchorById : "Elementuaren ID-gatik", -DlgLnkNoAnchors : "<Ez daude aingurak eskuragarri dokumentuan>", +DlgLnkNoAnchors : "", DlgLnkEMail : "ePosta Helbidea", DlgLnkEMailSubject : "Mezuaren Gaia", DlgLnkEMailBody : "Mezuaren Gorputza", DlgLnkUpload : "Gora kargatu", DlgLnkBtnUpload : "Zerbitzarira bidali", DlgLnkTarget : "Target (Helburua)", -DlgLnkTargetFrame : "<marko>", -DlgLnkTargetPopup : "<popup lehioa>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Lehio Berria (_blank)", DlgLnkTargetParent : "Lehio Gurasoa (_parent)", DlgLnkTargetSelf : "Lehio Berdina (_self)", @@ -293,16 +298,16 @@ DlgCellWidthPc : "ehuneko", DlgCellHeight : "Altuera", DlgCellWordWrap : "Itzulbira", -DlgCellWordWrapNotSet : "<Ezarri gabe>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Bai", DlgCellWordWrapNo : "Ez", DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Ezarri gabe>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Ezkerrean", DlgCellHorAlignCenter : "Erdian", DlgCellHorAlignRight: "Eskuman", DlgCellVerAlign : "Lerrokatu Bertikalki", -DlgCellVerAlignNotSet : "<Ezarri gabe>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Goian", DlgCellVerAlignMiddle : "Erdian", DlgCellVerAlignBottom : "Behean", @@ -340,7 +345,6 @@ DlgPasteRemoveStyles : "Estilo definizioak kendu", DlgPasteCleanBox : "Testu-eremua Garbitu", - // Color Picker ColorAutomatic : "Automatikoa", ColorMoreColors : "Kolore gehiago...", @@ -476,6 +480,7 @@ // About Dialog DlgAboutAboutTab : "Honi buruz", DlgAboutBrowserInfoTab : "Nabigatzailearen Informazioa", +DlgAboutLicenseTab : "Lizentzia", DlgAboutVersion : "bertsioa", DlgAboutLicense : "GNU Lesser General Public License Lizentziapean", DlgAboutInfo : "Informazio gehiago eskuratzeko hona joan" Index: lams_central/web/fckeditor/editor/lang/fa.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/fa.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/fa.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/fa.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "فيلد انتخابی", ImageButton : "دکمه تصويری", +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "ويرايش لينک", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "درج سطر", DeleteRows : "حذف سطرها", InsertColumn : "درج ستون", @@ -136,7 +141,7 @@ UnknownCommand : "نام دستور ناشناخته \"%1\"", NotImplemented : "دستور اجرا نشد", UnknownToolbarSet : "مجموعه منوابزار \"%1\" وجود ندارد", -NoActiveX : "You 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 +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 @@ -146,12 +151,12 @@ DlgBtnClose : "بستن", DlgBtnBrowseServer : "فهرست نمايی سرور", DlgAdvancedTag : "پيشرفته", -DlgOpOther : "<غيره>", +DlgOpOther : "<غيره>", DlgInfoTab : "Info", //MISSING DlgAlertUrl : "Please insert the URL", //MISSING // General Dialogs Labels -DlgGenNotSet : "<تعين نشده>", +DlgGenNotSet : "<تعين نشده>", DlgGenId : "کد", DlgGenLangDir : "جهت نمای زبان", DlgGenLangDirLtr : "چپ به راست (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "پيوند در صفحه جاری", DlgLnkTypeEMail : "پست الکترونيکی", DlgLnkProto : "پروتکل", -DlgLnkProtoOther : "<غيره>", +DlgLnkProtoOther : "<غيره>", DlgLnkURL : "URL", DlgLnkAnchorSel : "يک پيوند انتخاب کنيد", DlgLnkAnchorByName : "با نام پيوند", DlgLnkAnchorById : "با کد المان", -DlgLnkNoAnchors : "<در اين سند پيوندی موجود نيست>", +DlgLnkNoAnchors : "<در اين سند پيوندی موجود نيست>", DlgLnkEMail : "آدرس پست الکترونيکی", DlgLnkEMailSubject : "موضوع پيام", DlgLnkEMailBody : "متن پيام", DlgLnkUpload : "انتقال به سرور", DlgLnkBtnUpload : "به سرور ارسال کن", DlgLnkTarget : "مقصد", -DlgLnkTargetFrame : "<فريم>", -DlgLnkTargetPopup : "<پنجره پاپاپ>", +DlgLnkTargetFrame : "<فريم>", +DlgLnkTargetPopup : "<پنجره پاپاپ>", DlgLnkTargetBlank : "پنجره جديد (_blank)", DlgLnkTargetParent : "پنجره والد (_parent)", DlgLnkTargetSelf : "همان پنجره (_self)", @@ -292,16 +297,16 @@ DlgCellWidthPc : "درصد", DlgCellHeight : "درازا", DlgCellWordWrap : "شکستن کلمات", -DlgCellWordWrapNotSet : "<تعين نشده>", +DlgCellWordWrapNotSet : "<تعين نشده>", DlgCellWordWrapYes : "بله", DlgCellWordWrapNo : "خير", DlgCellHorAlign : "چينش افقی", -DlgCellHorAlignNotSet : "<تعين نشده>", +DlgCellHorAlignNotSet : "<تعين نشده>", DlgCellHorAlignLeft : "چپ", DlgCellHorAlignCenter : "وسط", DlgCellHorAlignRight: "راست", DlgCellVerAlign : "چينش عمودی", -DlgCellVerAlignNotSet : "<تعين نشده>", +DlgCellVerAlignNotSet : "<تعين نشده>", DlgCellVerAlignTop : "بالا", DlgCellVerAlignMiddle : "ميان", DlgCellVerAlignBottom : "پائين", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING DlgPasteCleanBox : "Clean Up Box", //MISSING - // Color Picker ColorAutomatic : "خودکار", ColorMoreColors : "رنگهای بيشتر...", @@ -475,6 +479,7 @@ // About Dialog DlgAboutAboutTab : "درباره", DlgAboutBrowserInfoTab : "اطلاعات مرورگر", +DlgAboutLicenseTab : "License", //MISSING DlgAboutVersion : "نگارش", DlgAboutLicense : "ليسانس تحت توافقنامه GNU Lesser General Public License", DlgAboutInfo : "برای اطلاعات بيشتر به آدرس زير برويد" Fisheye: Tag 1.4 refers to a dead (removed) revision in file `lams_central/web/fckeditor/editor/lang/fcklanguagemanager.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/fckeditor/editor/lang/fi.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/fi.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/fi.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/fi.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "Valintakenttä", ImageButton : "Kuvapainike", +FitWindow : "Suurenna editori koko ikkunaan", + // Context Menu EditLink : "Muokkaa linkkiä", +CellCM : "Solu", +RowCM : "Rivi", +ColumnCM : "Sarake", InsertRow : "Lisää rivi", DeleteRows : "Poista rivit", InsertColumn : "Lisää sarake", @@ -151,7 +156,7 @@ DlgAlertUrl : "Lisää URL", // General Dialogs Labels -DlgGenNotSet : "<ei asetettu>", +DlgGenNotSet : "", DlgGenId : "Tunniste", DlgGenLangDir : "Kielen suunta", DlgGenLangDirLtr : "Vasemmalta oikealle (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Ankkuri tässä sivussa", DlgLnkTypeEMail : "Sähköposti", DlgLnkProto : "Protokolla", -DlgLnkProtoOther : "<muu>", +DlgLnkProtoOther : "", DlgLnkURL : "Osoite", DlgLnkAnchorSel : "Valitse ankkuri", DlgLnkAnchorByName : "Ankkurin nimen mukaan", DlgLnkAnchorById : "Ankkurin ID:n mukaan", -DlgLnkNoAnchors : "<Ei ankkureita tässä dokumentissa>", +DlgLnkNoAnchors : "", DlgLnkEMail : "Sähköpostiosoite", DlgLnkEMailSubject : "Aihe", DlgLnkEMailBody : "Viesti", DlgLnkUpload : "Lisää tiedosto", DlgLnkBtnUpload : "Lähetä palvelimelle", DlgLnkTarget : "Kohde", -DlgLnkTargetFrame : "<kehys>", -DlgLnkTargetPopup : "<popup ikkuna>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Uusi ikkuna (_blank)", DlgLnkTargetParent : "Emoikkuna (_parent)", DlgLnkTargetSelf : "Sama ikkuna (_self)", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Poista tyylimääritykset", DlgPasteCleanBox : "Tyhjennä", - // Color Picker ColorAutomatic : "Automaattinen", ColorMoreColors : "Lisää värejä...", @@ -475,6 +479,7 @@ // About Dialog DlgAboutAboutTab : "Editorista", DlgAboutBrowserInfoTab : "Selaimen tiedot", +DlgAboutLicenseTab : "Lisenssi", DlgAboutVersion : "versio", DlgAboutLicense : "Lisenssi: GNU Lesser General Public License", DlgAboutInfo : "Lisää tietoa osoitteesta" Index: lams_central/web/fckeditor/editor/lang/fo.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/fo.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/lang/fo.js 5 Jan 2006 00:02:25 -0000 1.2 +++ lams_central/web/fckeditor/editor/lang/fo.js 16 Aug 2006 06:05:51 -0000 1.3 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -99,8 +99,13 @@ SelectionField : "Seta inn Valteig", ImageButton : "Seta inn Myndaknapp", +FitWindow : "Maximize the editor size", //MISSING + // 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", @@ -137,7 +142,7 @@ UnknownCommand : "Kenni ikki ordra \"%1\"", NotImplemented : "Ordrin er ikki gjørdur virkin", UnknownToolbarSet : "Amboðalinjan \"%1\" finst ikki", -NoActiveX : "You 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 +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 @@ -147,12 +152,12 @@ DlgBtnClose : "Lukka", DlgBtnBrowseServer : "Hyggja á servara", DlgAdvancedTag : "Útvíðka", -DlgOpOther : "<Annað>", +DlgOpOther : "", DlgInfoTab : "Info", //MISSING DlgAlertUrl : "Please insert the URL", //MISSING // General Dialogs Labels -DlgGenNotSet : "<ikki sett>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Tekstakós", DlgGenLangDirLtr : "Vinstri móti høgri (LTR)", @@ -216,21 +221,21 @@ DlgLnkTypeAnchor : "Akker á hesari síðuni", DlgLnkTypeEMail : "Teldupostur", DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<onnur>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "VEl eitt akker", DlgLnkAnchorByName : "Eftir akker navni", DlgLnkAnchorById : "Eftir element Id", -DlgLnkNoAnchors : "<Tað eru ongi akker tøk í hesum dokumentinum;", +DlgLnkNoAnchors : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Nytt vindeyga (_blank)", DlgLnkTargetParent : "Omaná liggjandi vindeyga (_parent)", DlgLnkTargetSelf : "Sama vindeyga (_self)", @@ -340,7 +345,6 @@ DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING DlgPasteCleanBox : "Clean Up Box", //MISSING - // Color Picker ColorAutomatic : "Automatisk", ColorMoreColors : "Fleiri farvur...", @@ -476,6 +480,7 @@ // 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" Index: lams_central/web/fckeditor/editor/lang/fr.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/fr.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/fr.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/fr.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -27,7 +27,7 @@ // Toolbar Items and Context Menu Save : "Enregistrer", -NewPage : "Nouvelle Page", +NewPage : "Nouvelle page", Preview : "Prévisualisation", Cut : "Couper", Copy : "Copier", @@ -36,96 +36,101 @@ PasteWord : "Coller de Word", Print : "Imprimer", SelectAll : "Tout sélectionner", -RemoveFormat : "Supprimer Format", +RemoveFormat : "Supprimer le format", InsertLinkLbl : "Lien", -InsertLink : "Insérer/Modifier Lien", -RemoveLink : "Supprimer Lien", -Anchor : "Insérer/Modifier Ancre", +InsertLink : "Insérer/modifier le lien", +RemoveLink : "Supprimer le lien", +Anchor : "Insérer/modifier l'ancre", InsertImageLbl : "Image", -InsertImage : "Insérer/Modifier Image", +InsertImage : "Insérer/modifier l'image", InsertFlashLbl : "Animation Flash", -InsertFlash : "Insérer/Modifier Animation Flash", +InsertFlash : "Insérer/modifier l'animation Flash", InsertTableLbl : "Tableau", -InsertTable : "Insérer/Modifier Tableau", +InsertTable : "Insérer/modifier le tableau", InsertLineLbl : "Séparateur", -InsertLine : "Insérer Séparateur", -InsertSpecialCharLbl: "Caractère Spécial", -InsertSpecialChar : "Insérer Caractère Spécial", +InsertLine : "Insérer un séparateur", +InsertSpecialCharLbl: "Caractères spéciaux", +InsertSpecialChar : "Insérer un caractère spécial", InsertSmileyLbl : "Smiley", -InsertSmiley : "Insérer Smiley", +InsertSmiley : "Insérer un Smiley", About : "A propos de FCKeditor", Bold : "Gras", Italic : "Italique", Underline : "Souligné", StrikeThrough : "Barré", Subscript : "Indice", Superscript : "Exposant", -LeftJustify : "Aligné à Gauche", +LeftJustify : "Aligné à gauche", CenterJustify : "Centré", RightJustify : "Aligné à Droite", -BlockJustify : "Texte Justifié", -DecreaseIndent : "Diminuer le Retrait", -IncreaseIndent : "Augmenter le Retrait", +BlockJustify : "Texte justifié", +DecreaseIndent : "Diminuer le retrait", +IncreaseIndent : "Augmenter le retrait", Undo : "Annuler", Redo : "Refaire", -NumberedListLbl : "Liste Numérotée", -NumberedList : "Insérer/Supprimer Liste Numérotée", +NumberedListLbl : "Liste numérotée", +NumberedList : "Insérer/supprimer la liste numérotée", BulletedListLbl : "Liste à puces", -BulletedList : "Insérer/Supprimer Liste à puces", -ShowTableBorders : "Afficher Bordures de Tableau", -ShowDetails : "Afficher Caractères Invisibles", +BulletedList : "Insérer/supprimer la liste à puces", +ShowTableBorders : "Afficher les bordures du tableau", +ShowDetails : "Afficher les caractères invisibles", Style : "Style", FontFormat : "Format", Font : "Police", FontSize : "Taille", -TextColor : "Couleur de Caractère", -BGColor : "Couleur de Fond", +TextColor : "Couleur de caractère", +BGColor : "Couleur de fond", Source : "Source", Find : "Chercher", Replace : "Remplacer", SpellCheck : "Orthographe", -UniversalKeyboard : "Clavier Universel", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +UniversalKeyboard : "Clavier universel", +PageBreakLbl : "Saut de page", +PageBreak : "Insérer un saut de page", Form : "Formulaire", Checkbox : "Case à cocher", -RadioButton : "Bouton Radio", -TextField : "Champ Texte", -Textarea : "Zone Texte", +RadioButton : "Bouton radio", +TextField : "Champ texte", +Textarea : "Zone de texte", HiddenField : "Champ caché", Button : "Bouton", -SelectionField : "Liste/Menu", -ImageButton : "Bouton Image", +SelectionField : "Liste/menu", +ImageButton : "Bouton image", +FitWindow : "Edition pleine page", + // Context Menu -EditLink : "Modifier Lien", -InsertRow : "Insérer une Ligne", -DeleteRows : "Supprimer des Lignes", -InsertColumn : "Insérer une Colonne", -DeleteColumns : "Supprimer des Colonnes", -InsertCell : "Insérer une Cellule", -DeleteCells : "Supprimer des Cellules", -MergeCells : "Fusionner les Cellules", -SplitCell : "Scinder les Cellules", -TableDelete : "Delete Table", //MISSING -CellProperties : "Propriétés de Cellule", -TableProperties : "Propriétés de Tableau", -ImageProperties : "Propriétés d'Image", -FlashProperties : "Propriétés d'Animation Flash", +EditLink : "Modifier le lien", +CellCM : "Cellule", +RowCM : "Ligne", +ColumnCM : "Colonne", +InsertRow : "Insérer une ligne", +DeleteRows : "Supprimer des lignes", +InsertColumn : "Insérer une colonne", +DeleteColumns : "Supprimer des colonnes", +InsertCell : "Insérer une cellule", +DeleteCells : "Supprimer des cellules", +MergeCells : "Fusionner les cellules", +SplitCell : "Scinder les cellules", +TableDelete : "Supprimer le tableau", +CellProperties : "Propriétés de cellule", +TableProperties : "Propriétés du tableau", +ImageProperties : "Propriétés de l'image", +FlashProperties : "Propriétés de l'animation Flash", -AnchorProp : "Propriétés d'Ancre", -ButtonProp : "Propriétés de Bouton", -CheckboxProp : "Propriétés de Case à Cocher", -HiddenFieldProp : "Propriétés de Champ Caché", -RadioButtonProp : "Propriétés de Bouton Radio", -ImageButtonProp : "Propriétés de Bouton Image", -TextFieldProp : "Propriétés de Champ Texte", -SelectionFieldProp : "Propriétés de Liste/Menu", -TextareaProp : "Propriétés de Zone Texte", -FormProp : "Propriétés de Formulaire", +AnchorProp : "Propriétés de l'ancre", +ButtonProp : "Propriétés du bouton", +CheckboxProp : "Propriétés de la case à cocher", +HiddenFieldProp : "Propriétés du champ caché", +RadioButtonProp : "Propriétés du bouton radio", +ImageButtonProp : "Propriétés du bouton image", +TextFieldProp : "Propriétés du champ texte", +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;Formatted;Address;Titre 1;Titre 2;Titre 3;Titre 4;Titre 5;Titre 6", +FontFormats : "Normal;Formaté;Adresse;Titre 1;Titre 2;Titre 3;Titre 4;Titre 5;Titre 6", // Alerts and Messages ProcessingXHTML : "Calcul XHTML. Veuillez patienter...", @@ -137,50 +142,50 @@ NotImplemented : "Commande non encore écrite", UnknownToolbarSet : "La barre d'outils \"%1\" n'existe pas", NoActiveX : "Les paramètres de sécurité de votre navigateur peuvent limiter quelques fonctionnalités de l'éditeur. Veuillez activer l'option \"Exécuter les contrôles ActiveX et les plug-ins\". Il se peut que vous rencontriez des erreurs et remarquiez quelques limitations.", -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 +BrowseServerBlocked : "Le navigateur n'a pas pu être ouvert. Assurez-vous que les bloqueurs de popups soient désactivés.", +DialogBlocked : "La fenêtre de dialogue n'a pas pu s'ouvrir. Assurez-vous que les bloqueurs de popups soient désactivés.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Annuler", DlgBtnClose : "Fermer", -DlgBtnBrowseServer : "Parcourir le Serveur", +DlgBtnBrowseServer : "Parcourir le serveur", DlgAdvancedTag : "Avancé", -DlgOpOther : "<Autre>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Veuillez saisir l'URL", // General Dialogs Labels -DlgGenNotSet : "<Par Défaut>", +DlgGenNotSet : "", DlgGenId : "Id", -DlgGenLangDir : "Sens d'Ecriture", -DlgGenLangDirLtr : "Gauche vers Droite (LTR)", -DlgGenLangDirRtl : "Droite vers Gauche (RTL)", -DlgGenLangCode : "Code Langue", -DlgGenAccessKey : "Equivalent Clavier", +DlgGenLangDir : "Sens d'écriture", +DlgGenLangDirLtr : "De la gauche vers la droite (LTR)", +DlgGenLangDirRtl : "De la roite vers la gauche (RTL)", +DlgGenLangCode : "Code langue", +DlgGenAccessKey : "Equivalent clavier", DlgGenName : "Nom", -DlgGenTabIndex : "Ordre de Tabulation", -DlgGenLongDescr : "URL de Description Longue", -DlgGenClass : "Classes de Feuilles de Style", -DlgGenTitle : "Titre Indicatif", -DlgGenContType : "Type de Contenu Indicatif", -DlgGenLinkCharset : "Encodage de Caractère de la cible", +DlgGenTabIndex : "Ordre de tabulation", +DlgGenLongDescr : "URL de description longue", +DlgGenClass : "Classes de feuilles de style", +DlgGenTitle : "Titre indicatif", +DlgGenContType : "Type de contenu indicatif", +DlgGenLinkCharset : "Encodage de caractère de la cible", DlgGenStyle : "Style", // Image Dialog -DlgImgTitle : "Propriétés d'Image", -DlgImgInfoTab : "Informations sur l'Image", -DlgImgBtnUpload : "Envoyer au Serveur", +DlgImgTitle : "Propriétés de l'image", +DlgImgInfoTab : "Informations sur l'image", +DlgImgBtnUpload : "Envoyer sur le serveur", DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Texte de Remplacement", +DlgImgUpload : "Télécharger", +DlgImgAlt : "Texte de remplacement", DlgImgWidth : "Largeur", DlgImgHeight : "Hauteur", -DlgImgLockRatio : "Garder proportions", -DlgBtnResetSize : "Taille Originale", +DlgImgLockRatio : "Garder les proportions", +DlgBtnResetSize : "Taille originale", DlgImgBorder : "Bordure", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", +DlgImgHSpace : "Espacement horizontal", +DlgImgVSpace : "Espacement vertical", DlgImgAlign : "Alignement", DlgImgAlignLeft : "Gauche", DlgImgAlignAbsBottom: "Abs Bas", @@ -196,59 +201,59 @@ DlgImgLinkTab : "Lien", // Flash Dialog -DlgFlashTitle : "Propriétés d'animation Flash", +DlgFlashTitle : "Propriétés de l'animation Flash", DlgFlashChkPlay : "Lecture automatique", DlgFlashChkLoop : "Boucle", -DlgFlashChkMenu : "Activer menu Flash", +DlgFlashChkMenu : "Activer le menu Flash", DlgFlashScale : "Affichage", -DlgFlashScaleAll : "Par défault (tout montrer)", -DlgFlashScaleNoBorder : "Sans Bordure", -DlgFlashScaleFit : "Ajuster aux Dimensions", +DlgFlashScaleAll : "Par défaut (tout montrer)", +DlgFlashScaleNoBorder : "Sans bordure", +DlgFlashScaleFit : "Ajuster aux dimensions", // Link Dialog -DlgLnkWindowTitle : "Propriétés de Lien", -DlgLnkInfoTab : "Informations sur le Lien", +DlgLnkWindowTitle : "Propriétés du lien", +DlgLnkInfoTab : "Informations sur le lien", DlgLnkTargetTab : "Destination", -DlgLnkType : "Type de Lien", +DlgLnkType : "Type de lien", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Ancre dans cette page", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocole", -DlgLnkProtoOther : "<autre>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", -DlgLnkAnchorSel : "Sélectionner une Ancre", -DlgLnkAnchorByName : "Par Nom d'Ancre", -DlgLnkAnchorById : "Par Id d'Elément", -DlgLnkNoAnchors : "<Pas d'ancre disponible dans le document>", +DlgLnkAnchorSel : "Sélectionner une ancre", +DlgLnkAnchorByName : "Par nom d'ancre", +DlgLnkAnchorById : "Par Id d'élément", +DlgLnkNoAnchors : "", DlgLnkEMail : "Adresse E-Mail", -DlgLnkEMailSubject : "Sujet du Message", -DlgLnkEMailBody : "Corps du Message", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Envoyer au Serveur", +DlgLnkEMailSubject : "Sujet du message", +DlgLnkEMailBody : "Corps du message", +DlgLnkUpload : "Télécharger", +DlgLnkBtnUpload : "Envoyer sur le serveur", DlgLnkTarget : "Destination", -DlgLnkTargetFrame : "<cadre>", -DlgLnkTargetPopup : "<fenêtre popup>", -DlgLnkTargetBlank : "Nouvelle Fenêtre (_blank)", -DlgLnkTargetParent : "Fenêtre Mère (_parent)", -DlgLnkTargetSelf : "Même Fenêtre (_self)", -DlgLnkTargetTop : "Fenêtre Supérieure (_top)", -DlgLnkTargetFrameName : "Nom du Cadre de Destination", -DlgLnkPopWinName : "Nom de la Fenêtre Popup", -DlgLnkPopWinFeat : "Caractéristiques de la Fenêtre Popup", -DlgLnkPopResize : "Taille Modifiable", -DlgLnkPopLocation : "Barre d'Adresses", -DlgLnkPopMenu : "Barre de Menu", -DlgLnkPopScroll : "Barres de Défilement", -DlgLnkPopStatus : "Barre d'Etat", -DlgLnkPopToolbar : "Barre d'Outils", -DlgLnkPopFullScrn : "Plein Ecran (IE)", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", +DlgLnkTargetBlank : "Nouvelle fenêtre (_blank)", +DlgLnkTargetParent : "Fenêtre mère (_parent)", +DlgLnkTargetSelf : "Même fenêtre (_self)", +DlgLnkTargetTop : "Fenêtre supérieure (_top)", +DlgLnkTargetFrameName : "Nom du cadre de destination", +DlgLnkPopWinName : "Nom de la fenêtre popup", +DlgLnkPopWinFeat : "Caractéristiques de la fenêtre popup", +DlgLnkPopResize : "Taille modifiable", +DlgLnkPopLocation : "Barre d'adresses", +DlgLnkPopMenu : "Barre de menu", +DlgLnkPopScroll : "Barres de défilement", +DlgLnkPopStatus : "Barre d'état", +DlgLnkPopToolbar : "Barre d'outils", +DlgLnkPopFullScrn : "Plein écran (IE)", DlgLnkPopDependent : "Dépendante (Netscape)", DlgLnkPopWidth : "Largeur", DlgLnkPopHeight : "Hauteur", -DlgLnkPopLeft : "Position Gauche", -DlgLnkPopTop : "Position Haut", +DlgLnkPopLeft : "Position à partir de la gauche", +DlgLnkPopTop : "Position à partir du haut", DlnLnkMsgNoUrl : "Veuillez saisir l'URL", DlnLnkMsgNoEMail : "Veuillez saisir l'adresse e-mail", @@ -257,22 +262,22 @@ // Color Dialog DlgColorTitle : "Sélectionner", DlgColorBtnClear : "Effacer", -DlgColorHighlight : "Highlight", +DlgColorHighlight : "Mettre en exergue", DlgColorSelected : "Sélectionné", // Smiley Dialog -DlgSmileyTitle : "Insérer Smiley", +DlgSmileyTitle : "Insérer un Smiley", // Special Character Dialog -DlgSpecialCharTitle : "Insérer Caractère Spécial", +DlgSpecialCharTitle : "Insérer un caractère spécial", // Table Dialog -DlgTableTitle : "Propriétés de Tableau", +DlgTableTitle : "Propriétés du tableau", DlgTableRows : "Lignes", DlgTableColumns : "Colonnes", DlgTableBorder : "Bordure", DlgTableAlign : "Alignement", -DlgTableAlignNotSet : "", +DlgTableAlignNotSet : "", DlgTableAlignLeft : "Gauche", DlgTableAlignCenter : "Centré", DlgTableAlignRight : "Droite", @@ -286,28 +291,28 @@ DlgTableSummary : "Résumé", // Table Cell Dialog -DlgCellTitle : "Propriétés de cellule", +DlgCellTitle : "Propriétés de la cellule", DlgCellWidth : "Largeur", DlgCellWidthPx : "pixels", DlgCellWidthPc : "pourcentage", DlgCellHeight : "Hauteur", DlgCellWordWrap : "Retour à la ligne", -DlgCellWordWrapNotSet : "", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Oui", DlgCellWordWrapNo : "Non", -DlgCellHorAlign : "Alignement Horizontal", -DlgCellHorAlignNotSet : "", +DlgCellHorAlign : "Alignement horizontal", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Gauche", DlgCellHorAlignCenter : "Centré", DlgCellHorAlignRight: "Droite", -DlgCellVerAlign : "Alignement Vertical", -DlgCellVerAlignNotSet : "", +DlgCellVerAlign : "Alignement vertical", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Haut", DlgCellVerAlignMiddle : "Milieu", DlgCellVerAlignBottom : "Bas", DlgCellVerAlignBaseline : "Bas du texte", -DlgCellRowSpan : "Lignes Fusionnées", -DlgCellCollSpan : "Colonnes Fusionnées", +DlgCellRowSpan : "Lignes fusionnées", +DlgCellCollSpan : "Colonnes fusionnées", DlgCellBackColor : "Fond", DlgCellBorderColor : "Bordure", DlgCellBtnSelect : "Choisir...", @@ -335,30 +340,29 @@ PasteFromWord : "Coller à partir de Word", DlgPasteMsg2 : "Veuillez coller dans la zone ci-dessous en utilisant le clavier (Ctrl+V) et cliquez sur OK.", -DlgPasteIgnoreFont : "Ignorer les Polices de Caractères", -DlgPasteRemoveStyles : "Supprimer les Styles", +DlgPasteIgnoreFont : "Ignorer les polices de caractères", +DlgPasteRemoveStyles : "Supprimer les styles", DlgPasteCleanBox : "Effacer le contenu", - // Color Picker ColorAutomatic : "Automatique", -ColorMoreColors : "Plus de Couleurs...", +ColorMoreColors : "Plus de couleurs...", // Document Properties -DocProps : "Propriétés du Document", +DocProps : "Propriétés du document", // Anchor Dialog -DlgAnchorTitle : "Propriétés de l'Ancre", -DlgAnchorName : "Nom de l'Ancre", +DlgAnchorTitle : "Propriétés de l'ancre", +DlgAnchorName : "Nom de l'ancre", DlgAnchorErrorName : "Veuillez saisir le nom de l'ancre", // Speller Pages Dialog DlgSpellNotInDic : "Pas dans le dictionnaire", DlgSpellChangeTo : "Changer en", DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer Tout", +DlgSpellBtnIgnoreAll : "Ignorer tout", DlgSpellBtnReplace : "Remplacer", -DlgSpellBtnReplaceAll : "Remplacer Tout", +DlgSpellBtnReplaceAll : "Remplacer tout", DlgSpellBtnUndo : "Annuler", DlgSpellNoSuggestions : "- Aucune suggestion -", DlgSpellProgress : "Vérification d'orthographe en cours...", @@ -370,7 +374,7 @@ IeSpellDownload : "Le Correcteur n'est pas installé. Souhaitez-vous le télécharger maintenant?", // Button Dialog -DlgButtonText : "Texte (Valeur)", +DlgButtonText : "Texte (valeur)", DlgButtonType : "Type", // Checkbox and Radio Button Dialogs @@ -389,7 +393,7 @@ DlgSelectSize : "Taille", DlgSelectLines : "lignes", DlgSelectChkMulti : "Sélection multiple", -DlgSelectOpAvail : "Options Disponibles", +DlgSelectOpAvail : "Options disponibles", DlgSelectOpText : "Texte", DlgSelectOpValue : "Valeur", DlgSelectBtnAdd : "Ajouter", @@ -407,74 +411,75 @@ // Text Field Dialog DlgTextName : "Nom", DlgTextValue : "Valeur", -DlgTextCharWidth : "Largeur en Caractères", -DlgTextMaxChars : "Nombre Maximum de Caractères", +DlgTextCharWidth : "Largeur en caractères", +DlgTextMaxChars : "Nombre maximum de caractères", DlgTextType : "Type", DlgTextTypeText : "Texte", -DlgTextTypePass : "Mot de Passe", +DlgTextTypePass : "Mot de passe", // Hidden Field Dialog DlgHiddenName : "Nom", DlgHiddenValue : "Valeur", // Bulleted List Dialog -BulletedListProp : "Propriétés de Liste à puces", -NumberedListProp : "Propriétés de Numérotée", +BulletedListProp : "Propriétés de liste à puces", +NumberedListProp : "Propriétés de numérotée", DlgLstType : "Type", DlgLstTypeCircle : "Cercle", DlgLstTypeDisc : "Disque", DlgLstTypeSquare : "Carré", DlgLstTypeNumbers : "Nombres (1, 2, 3)", -DlgLstTypeLCase : "Lettres Minuscules (a, b, c)", -DlgLstTypeUCase : "Lettres Majuscules (A, B, C)", -DlgLstTypeSRoman : "Chiffres Romains Minuscules (i, ii, iii)", -DlgLstTypeLRoman : "Chiffres Romains Majuscules (I, II, III)", +DlgLstTypeLCase : "Lettres minuscules (a, b, c)", +DlgLstTypeUCase : "Lettres majuscules (A, B, C)", +DlgLstTypeSRoman : "Chiffres romains minuscules (i, ii, iii)", +DlgLstTypeLRoman : "Chiffres romains majuscules (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Général", DlgDocBackTab : "Fond", -DlgDocColorsTab : "Couleurs et Marges", +DlgDocColorsTab : "Couleurs et marges", DlgDocMetaTab : "Métadonnées", -DlgDocPageTitle : "Titre de la Page", -DlgDocLangDir : "Sens d'Ecriture", -DlgDocLangDirLTR : "Gauche vers Droite (LTR)", -DlgDocLangDirRTL : "Droite vers Gauche (RTL)", -DlgDocLangCode : "Code Langue", -DlgDocCharSet : "Encodage de Caractère", -DlgDocCharSetOther : "Autre Encodage de Caractère", +DlgDocPageTitle : "Titre de la page", +DlgDocLangDir : "Sens d'écriture", +DlgDocLangDirLTR : "De la gauche vers la droite (LTR)", +DlgDocLangDirRTL : "De la droite vers la gauche (RTL)", +DlgDocLangCode : "Code langue", +DlgDocCharSet : "Encodage de caractère", +DlgDocCharSetOther : "Autre encodage de caractère", -DlgDocDocType : "Type de Document", -DlgDocDocTypeOther : "Autre Type de Document", +DlgDocDocType : "Type de document", +DlgDocDocTypeOther : "Autre type de document", DlgDocIncXHTML : "Inclure les déclarations XHTML", -DlgDocBgColor : "Couleur de Fond", -DlgDocBgImage : "Image de Fond", +DlgDocBgColor : "Couleur de fond", +DlgDocBgImage : "Image de fond", DlgDocBgNoScroll : "Image fixe sans défilement", DlgDocCText : "Texte", DlgDocCLink : "Lien", -DlgDocCVisited : "Lien Visité", -DlgDocCActive : "Lien Activé", +DlgDocCVisited : "Lien visité", +DlgDocCActive : "Lien activé", DlgDocMargins : "Marges", DlgDocMaTop : "Haut", DlgDocMaLeft : "Gauche", DlgDocMaRight : "Droite", DlgDocMaBottom : "Bas", -DlgDocMeIndex : "Mots Clés (séparés par des virgules)", +DlgDocMeIndex : "Mots-clés (séparés par des virgules)", DlgDocMeDescr : "Description", DlgDocMeAuthor : "Auteur", DlgDocMeCopy : "Copyright", DlgDocPreview : "Prévisualisation", // Templates Dialog Templates : "Modèles", -DlgTemplatesTitle : "Modèles de Contenu", +DlgTemplatesTitle : "Modèles de contenu", DlgTemplatesSelMsg : "Veuillez sélectionner le modèle à ouvrir dans l'éditeur
(le contenu actuel sera remplacé):", DlgTemplatesLoading : "Chargement de la liste des modèles. Veuillez patienter...", DlgTemplatesNoTpl : "(Aucun modèle disponible)", // About Dialog 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 à" Index: lams_central/web/fckeditor/editor/lang/gl.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/gl.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/gl.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/gl.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "Campo de Selección", ImageButton : "Botón de Imaxe", +FitWindow : "Maximizar o tamaño do editor", + // Context Menu EditLink : "Editar Ligazón", +CellCM : "Cela", +RowCM : "Fila", +ColumnCM : "Columna", InsertRow : "Inserir Fila", DeleteRows : "Borrar Filas", InsertColumn : "Inserir Columna", @@ -146,12 +151,12 @@ DlgBtnClose : "Pechar", DlgBtnBrowseServer : "Navegar no Servidor", DlgAdvancedTag : "Advanzado", -DlgOpOther : "<Outro>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Por favor, insira a URL", // General Dialogs Labels -DlgGenNotSet : "<non definido>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Orientación do Idioma", DlgGenLangDirLtr : "Esquerda a Dereita (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Referencia nesta páxina", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "<outro>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Seleccionar unha Referencia", DlgLnkAnchorByName : "Por Nome de Referencia", DlgLnkAnchorById : "Por Element Id", -DlgLnkNoAnchors : "<Non hai referencias disponibles no documento>", +DlgLnkNoAnchors : "", DlgLnkEMail : "Enderezo de E-Mail", DlgLnkEMailSubject : "Asunto do Mensaxe", DlgLnkEMailBody : "Corpo do Mensaxe", DlgLnkUpload : "Carregar", DlgLnkBtnUpload : "Enviar ó servidor", DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<Xanela Emerxente>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Nova Xanela (_blank)", DlgLnkTargetParent : "Xanela Pai (_parent)", DlgLnkTargetSelf : "Mesma Xanela (_self)", @@ -292,16 +297,16 @@ DlgCellWidthPc : "percent", DlgCellHeight : "Altura", DlgCellWordWrap : "Axustar Liñas", -DlgCellWordWrapNotSet : "<Non Definido>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Si", DlgCellWordWrapNo : "Non", DlgCellHorAlign : "Aliñamento Horizontal", -DlgCellHorAlignNotSet : "<Non definido>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Esquerda", DlgCellHorAlignCenter : "Centro", DlgCellHorAlignRight: "Dereita", DlgCellVerAlign : "Aliñamento Vertical", -DlgCellVerAlignNotSet : "<Non definido>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Arriba", DlgCellVerAlignMiddle : "Medio", DlgCellVerAlignBottom : "Abaixo", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Eliminar as definicións de Estilos", DlgPasteCleanBox : "Limpar o Cadro", - // Color Picker ColorAutomatic : "Automático", ColorMoreColors : "Máis Cores...", @@ -475,6 +479,7 @@ // About Dialog 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:" Index: lams_central/web/fckeditor/editor/lang/he.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/he.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/he.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/he.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -34,7 +34,7 @@ Copy : "העתקה", Paste : "הדבקה", PasteText : "הדבקה כטקסט פשוט", -PasteWord : "הדבקה מ-Word", +PasteWord : "הדבקה מ-וורד", Print : "הדפסה", SelectAll : "בחירת הכל", RemoveFormat : "הסרת העיצוב", @@ -86,8 +86,8 @@ Replace : "החלפה", SpellCheck : "בדיקת איות", UniversalKeyboard : "מקלדת אוניברסלית", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "שבירת דף", +PageBreak : "הוסף שבירת דף", Form : "טופס", Checkbox : "תיבת סימון", @@ -99,8 +99,13 @@ SelectionField : "שדה בחירה", ImageButton : "כפתור תמונה", +FitWindow : "הגדל את גודל העורך", + // Context Menu EditLink : "עריכת קישור", +CellCM : "תא", +RowCM : "שורה", +ColumnCM : "עמודה", InsertRow : "הוספת שורה", DeleteRows : "מחיקת שורות", InsertColumn : "הוספת עמודה", @@ -109,7 +114,7 @@ DeleteCells : "מחיקת תאים", MergeCells : "מיזוג תאים", SplitCell : "פיצול תאים", -TableDelete : "Delete Table", //MISSING +TableDelete : "מחק טבלה", CellProperties : "תכונות התא", TableProperties : "תכונות הטבלה", ImageProperties : "תכונות התמונה", @@ -131,28 +136,28 @@ // Alerts and Messages ProcessingXHTML : "מעבד XHTML, נא להמתין...", Done : "המשימה הושלמה", -PasteWordConfirm : "נראה הטקסט שבכוונתך להדביק מקורו בקובץ Word. האם ברצונך לנקות אותו טרם ההדבקה?", -NotCompatiblePaste : "פעולה זו זמינה לדפדפן Internet Explorer מגירסא 5.5 ומעלה. האם להמשיך בהדבקה ללא הניקוי?", +PasteWordConfirm : "נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?", +NotCompatiblePaste : "פעולה זו זמינה לדפדפן אינטרנט אקספלורר מגירסא 5.5 ומעלה. האם להמשיך בהדבקה ללא הניקוי?", UnknownToolbarItem : "פריט לא ידוע בסרגל הכלים \"%1\"", UnknownCommand : "שם פעולה לא ידוע \"%1\"", NotImplemented : "הפקודה לא מיושמת", UnknownToolbarSet : "ערכת סרגל הכלים \"%1\" לא קיימת", -NoActiveX : "You 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 : "הגדרות אבטחה של הדפדפן עלולות לגביל את אפשרויות העריכה.יש לאפשר את האופציה \"הרץ פקדים פעילים ותוספות\". תוכל לחוות טעויות וחיווים של אפשרויות שחסרים.", +BrowseServerBlocked : "לא ניתן לגשת לדפדפן משאבים.אנא וודא שחוסם חלונות הקופצים לא פעיל.", +DialogBlocked : "לא היה ניתן לפתוח חלון דיאלוג. אנא וודא שחוסם חלונות קופצים לא פעיל.", // Dialogs DlgBtnOK : "אישור", DlgBtnCancel : "ביטול", DlgBtnClose : "סגירה", DlgBtnBrowseServer : "סייר השרת", DlgAdvancedTag : "אפשרויות מתקדמות", -DlgOpOther : "<אחר>", +DlgOpOther : "<אחר>", DlgInfoTab : "מידע", DlgAlertUrl : "אנה הזן URL", // General Dialogs Labels -DlgGenNotSet : "<לא נקבע>", +DlgGenNotSet : "<לא נקבע>", DlgGenId : "זיהוי (Id)", DlgGenLangDir : "כיוון שפה", DlgGenLangDirLtr : "שמאל לימין (LTR)", @@ -216,26 +221,26 @@ DlgLnkTypeAnchor : "עוגן בעמוד זה", DlgLnkTypeEMail : "דוא''ל", DlgLnkProto : "פרוטוקול", -DlgLnkProtoOther : "<אחר>", +DlgLnkProtoOther : "<אחר>", DlgLnkURL : "כתובת (URL)", DlgLnkAnchorSel : "בחירת עוגן", DlgLnkAnchorByName : "עפ''י שם העוגן", DlgLnkAnchorById : "עפ''י זיהוי (Id) הרכיב", -DlgLnkNoAnchors : "<אין עוגנים זמינים בדף>", +DlgLnkNoAnchors : "<אין עוגנים זמינים בדף>", DlgLnkEMail : "כתובת הדוא''ל", DlgLnkEMailSubject : "נושא ההודעה", DlgLnkEMailBody : "גוף ההודעה", DlgLnkUpload : "העלאה", DlgLnkBtnUpload : "שליחה לשרת", DlgLnkTarget : "מטרה", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<חלון קופץ>", +DlgLnkTargetFrame : "<מסגרת>", +DlgLnkTargetPopup : "<חלון קופץ>", DlgLnkTargetBlank : "חלון חדש (_blank)", DlgLnkTargetParent : "חלון האב (_parent)", DlgLnkTargetSelf : "באותו החלון (_self)", DlgLnkTargetTop : "חלון ראשי (_top)", -DlgLnkTargetFrameName : "שם frame היעד", +DlgLnkTargetFrameName : "שם מסגרת היעד", DlgLnkPopWinName : "שם החלון הקופץ", DlgLnkPopWinFeat : "תכונות החלון הקופץ", DlgLnkPopResize : "בעל גודל ניתן לשינוי", @@ -284,7 +289,7 @@ DlgTableCellSpace : "מרווח תא", DlgTableCellPad : "ריפוד תא", DlgTableCaption : "כיתוב", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "סיכום", // Table Cell Dialog DlgCellTitle : "תכונות תא", @@ -333,14 +338,13 @@ PasteErrorCopy : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+C).", PasteAsText : "הדבקה כטקסט פשוט", -PasteFromWord : "הדבקה מ-Word", +PasteFromWord : "הדבקה מ-וורד", -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", +DlgPasteMsg2 : "אנא הדבק בתוך הקופסה באמצעות (Ctrl+V) ולחץ על אישור.", DlgPasteIgnoreFont : "התעלם מהגדרות סוג פונט", DlgPasteRemoveStyles : "הסר הגדרות סגנון", -DlgPasteCleanBox : "קופסת ניקוי", +DlgPasteCleanBox : "ניקוי קופסה", - // Color Picker ColorAutomatic : "אוטומטי", ColorMoreColors : "צבעים נוספים...", @@ -360,7 +364,7 @@ DlgSpellBtnIgnoreAll : "התעלם מהכל", DlgSpellBtnReplace : "החלף", DlgSpellBtnReplaceAll : "החלף הכל", -DlgSpellBtnUndo : "Undo", +DlgSpellBtnUndo : "החזר", DlgSpellNoSuggestions : "- אין הצעות -", DlgSpellProgress : "בדיקות איות בתהליך ....", DlgSpellNoMispell : "בדיקות איות הסתיימה: לא נמצאו שגיעות כתיב", @@ -423,7 +427,7 @@ NumberedListProp : "מאפייני רשימה ממוספרת", DlgLstType : "סוג", DlgLstTypeCircle : "עיגול", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeDisc : "דיסק", DlgLstTypeSquare : "מרובע", DlgLstTypeNumbers : "מספרים (1, 2, 3)", DlgLstTypeLCase : "אותיות קטנות (a, b, c)", @@ -476,6 +480,7 @@ // About Dialog DlgAboutAboutTab : "אודות", DlgAboutBrowserInfoTab : "גירסת דפדפן", +DlgAboutLicenseTab : "רשיון", DlgAboutVersion : "גירסא", DlgAboutLicense : "ברשיון תחת תנאי GNU Lesser General Public License", DlgAboutInfo : "מידע נוסף ניתן למצוא כאן:" Index: lams_central/web/fckeditor/editor/lang/hi.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/hi.js,v diff -u -r1.1 -r1.2 --- lams_central/web/fckeditor/editor/lang/hi.js 5 Jan 2006 00:02:25 -0000 1.1 +++ lams_central/web/fckeditor/editor/lang/hi.js 16 Aug 2006 06:05:51 -0000 1.2 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "चुनाव फ़ील्ड", ImageButton : "तस्वीर बटन", +FitWindow : "एडिटर साइज़ को चरम सीमा तक बढ़ायें", + // Context Menu EditLink : "लिंक संपादन", +CellCM : "खाना", +RowCM : "पंक्ति", +ColumnCM : "कालम", InsertRow : "पंक्ति इन्सर्ट करें", DeleteRows : "पंक्तियाँ डिलीट करें", InsertColumn : "कॉलम इन्सर्ट करें", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "स्टाइल परिभाषा निकालें", DlgPasteCleanBox : "बॉक्स साफ़ करें", - // Color Picker ColorAutomatic : "ऑटोमैटिक", ColorMoreColors : "और रंग...", @@ -475,6 +479,7 @@ // About Dialog DlgAboutAboutTab : "FCKEditor के बारे में", DlgAboutBrowserInfoTab : "ब्राउज़र के बारे में", +DlgAboutLicenseTab : "लाइसैन्स", DlgAboutVersion : "वर्ज़न", DlgAboutLicense : "लाइसेंस :GNU LGPL", DlgAboutInfo : "अधिक जानकारी के लिये यहाँ जायें:" Index: lams_central/web/fckeditor/editor/lang/hr.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/hr.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/hr.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/hr.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -80,13 +80,13 @@ FontSize : "Veličina", TextColor : "Boja teksta", BGColor : "Boja pozadine", -Source : "Kôd", +Source : "Kôd", Find : "Pronađi", Replace : "Zamijeni", SpellCheck : "Provjeri pravopis", UniversalKeyboard : "Univerzalna tipkovnica", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "Prijelom stranice", +PageBreak : "Ubaci prijelom stranice", Form : "Form", Checkbox : "Checkbox", @@ -98,8 +98,13 @@ SelectionField : "Selection Field", ImageButton : "Image Button", +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "Promijeni link", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "Ubaci red", DeleteRows : "Izbriši redove", InsertColumn : "Ubaci kolonu", @@ -108,7 +113,7 @@ DeleteCells : "Izbriši ćelije", MergeCells : "Spoji ćelije", SplitCell : "Razdvoji ćelije", -TableDelete : "Delete Table", //MISSING +TableDelete : "Izbriši tablicu", CellProperties : "Svojstva ćelije", TableProperties : "Svojstva tablice", ImageProperties : "Svojstva slike", @@ -136,27 +141,27 @@ UnknownCommand : "Nepoznata naredba \"%1\"", NotImplemented : "Naredba nije implementirana", UnknownToolbarSet : "Traka s alatima \"%1\" ne postoji", -NoActiveX : "You 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 : "Vaše postavke pretraživača mogle bi ograničiti neke od mogućnosti editora. Morate uključiti opciju \"Run ActiveX controls and plug-ins\" u postavkama. Ukoliko to ne učinite, moguće su razliite greške tijekom rada.", +BrowseServerBlocked : "Pretraivač nije moguće otvoriti. Provjerite da li je uključeno blokiranje pop-up prozora.", +DialogBlocked : "Nije moguće otvoriti novi prozor. Provjerite da li je uključeno blokiranje pop-up prozora.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Poništi", DlgBtnClose : "Zatvori", DlgBtnBrowseServer : "Pretraži server", DlgAdvancedTag : "Napredno", -DlgOpOther : "<Drugo>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Molimo unesite URL", // General Dialogs Labels -DlgGenNotSet : "<nije postavljeno>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Smjer jezika", DlgGenLangDirLtr : "S lijeva na desno (LTR)", DlgGenLangDirRtl : "S desna na lijevo (RTL)", -DlgGenLangCode : "Kôd jezika", +DlgGenLangCode : "Kôd jezika", DlgGenAccessKey : "Pristupna tipka", DlgGenName : "Naziv", DlgGenTabIndex : "Tab Indeks", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Sidro na ovoj stranici", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<drugo>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Odaberi sidro", DlgLnkAnchorByName : "Po nazivu sidra", DlgLnkAnchorById : "Po Id elementa", -DlgLnkNoAnchors : "<Nema dostupnih sidra>", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail adresa", DlgLnkEMailSubject : "Naslov", DlgLnkEMailBody : "Sadržaj poruke", DlgLnkUpload : "Pošalji", DlgLnkBtnUpload : "Pošalji na server", DlgLnkTarget : "Meta", -DlgLnkTargetFrame : "<okvir>", -DlgLnkTargetPopup : "<popup prozor>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Novi prozor (_blank)", DlgLnkTargetParent : "Roditeljski prozor (_parent)", DlgLnkTargetSelf : "Isti prozor (_self)", @@ -272,7 +277,7 @@ DlgTableColumns : "Kolona", DlgTableBorder : "Veličina okvira", DlgTableAlign : "Poravnanje", -DlgTableAlignNotSet : "<nije postavljeno>", +DlgTableAlignNotSet : "", DlgTableAlignLeft : "Lijevo", DlgTableAlignCenter : "Središnje", DlgTableAlignRight : "Desno", @@ -283,7 +288,7 @@ DlgTableCellSpace : "Prostornost ćelija", DlgTableCellPad : "Razmak ćelija", DlgTableCaption : "Naslov", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Sažetak", // Table Cell Dialog DlgCellTitle : "Svojstva ćelije", @@ -292,16 +297,16 @@ DlgCellWidthPc : "postotaka", DlgCellHeight : "Visina", DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<nije postavljeno>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Da", DlgCellWordWrapNo : "Ne", DlgCellHorAlign : "Vodoravno poravnanje", -DlgCellHorAlignNotSet : "<nije postavljeno>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Lijevo", DlgCellHorAlignCenter : "Središnje", DlgCellHorAlignRight: "Desno", DlgCellVerAlign : "Okomito poravnanje", -DlgCellVerAlignNotSet : "<nije postavljeno>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Gornje", DlgCellVerAlignMiddle : "Srednišnje", DlgCellVerAlignBottom : "Donje", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Ukloni definicije stilova", DlgPasteCleanBox : "Očisti okvir", - // Color Picker ColorAutomatic : "Automatski", ColorMoreColors : "Više boja...", @@ -422,7 +426,7 @@ NumberedListProp : "Svojstva brojčane liste", DlgLstType : "Vrsta", DlgLstTypeCircle : "Krug", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeDisc : "Disk", DlgLstTypeSquare : "Kvadrat", DlgLstTypeNumbers : "Brojevi (1, 2, 3)", DlgLstTypeLCase : "Mala slova (a, b, c)", @@ -440,7 +444,7 @@ DlgDocLangDir : "Smjer jezika", DlgDocLangDirLTR : "S lijeva na desno", DlgDocLangDirRTL : "S desna na lijevo", -DlgDocLangCode : "Kôd jezika", +DlgDocLangCode : "Kôd jezika", DlgDocCharSet : "Enkodiranje znakova", DlgDocCharSetOther : "Ostalo enkodiranje znakova", @@ -475,6 +479,7 @@ // About Dialog DlgAboutAboutTab : "O FCKEditoru", DlgAboutBrowserInfoTab : "Podaci o pretraživaču", +DlgAboutLicenseTab : "License", //MISSING DlgAboutVersion : "inačica", DlgAboutLicense : "Licencirano pod uvjetima GNU Lesser General Public License", DlgAboutInfo : "Za više informacija posjetite" Index: lams_central/web/fckeditor/editor/lang/hu.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/hu.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/hu.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/hu.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -15,28 +15,29 @@ * * File Authors: * Varga Zsolt (meridian@netteszt.hu) + * Géza Szűcs (flextor@flextor.hu) */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", -ToolbarCollapse : "Egyszerû eszköztár", -ToolbarExpand : "Bõvített eszköztár", +ToolbarCollapse : "Eszköztár elrejtése", +ToolbarExpand : "Eszköztár megjelenítése", // Toolbar Items and Context Menu Save : "Mentés", NewPage : "Új oldal", -Preview : "Elõnézet", +Preview : "Előnézet", Cut : "Kivágás", Copy : "Másolás", Paste : "Beillesztés", -PasteText : "Beillesztés formázatlan szövegként", -PasteWord : "Beillesztés Wordbõl", +PasteText : "Beillesztés formázás nélkül", +PasteWord : "Beillesztés Word-ből", Print : "Nyomtatás", -SelectAll : "Minden kijelölése", -RemoveFormat : "Formázás törlése", +SelectAll : "Mindent kijelöl", +RemoveFormat : "Formázás eltávolítása", InsertLinkLbl : "Hivatkozás", InsertLink : "Hivatkozás beillesztése/módosítása", RemoveLink : "Hivatkozás törlése", @@ -55,11 +56,11 @@ InsertSmiley : "Hangulatjelek beillesztése", About : "FCKeditor névjegy", Bold : "Félkövér", -Italic : "Dõlt", +Italic : "Dőlt", Underline : "Aláhúzott", StrikeThrough : "Áthúzott", Subscript : "Alsó index", -Superscript : "Felsõ index", +Superscript : "Felső index", LeftJustify : "Balra", CenterJustify : "Középre", RightJustify : "Jobbra", @@ -76,15 +77,15 @@ ShowDetails : "Részletek mutatása", Style : "Stílus", FontFormat : "Formátum", -Font : "Betûtipus", +Font : "Betűtípus", FontSize : "Méret", -TextColor : "Betûszín", +TextColor : "Betűszín", BGColor : "Háttérszín", Source : "Forráskód", Find : "Keresés", Replace : "Csere", -SpellCheck : "Helyesírásellenőrzés", -UniversalKeyboard : "Általános billentyűzet", +SpellCheck : "Helyesírás-ellenőrzés", +UniversalKeyboard : "Univerzális billentyűzet", PageBreakLbl : "Oldaltörés", PageBreak : "Oldaltörés beillesztése", @@ -95,83 +96,88 @@ Textarea : "Szövegterület", HiddenField : "Rejtettmező", Button : "Gomb", -SelectionField : "Választómező", +SelectionField : "Legördülő lista", ImageButton : "Képgomb", +FitWindow : "Maximalizálás", + // Context Menu EditLink : "Hivatkozás módosítása", +CellCM : "Cella", +RowCM : "Sor", +ColumnCM : "Oszlop", InsertRow : "Sor beszúrása", -DeleteRows : "Sor(ok) törlése", +DeleteRows : "Sorok törlése", InsertColumn : "Oszlop beszúrása", -DeleteColumns : "Oszlop(ok) törlése", +DeleteColumns : "Oszlopok törlése", InsertCell : "Cella beszúrása", DeleteCells : "Cellák törlése", MergeCells : "Cellák egyesítése", -SplitCell : "Cellák szétválasztása", +SplitCell : "Cella szétválasztása", TableDelete : "Táblázat törlése", -CellProperties : "Cellák tulajdonsága", -TableProperties : "Táblázat tulajdonsága", -ImageProperties : "Kép tulajdonsága", -FlashProperties : "Flash tulajdonsága", +CellProperties : "Cella tulajdonságai", +TableProperties : "Táblázat tulajdonságai", +ImageProperties : "Kép tulajdonságai", +FlashProperties : "Flash tulajdonságai", -AnchorProp : "Horgony(ok) tulajdonsága(i)", -ButtonProp : "Gomb(ok) tulajdonsága(i) ", -CheckboxProp : "Jelölőnégyzet(ek) tulajdonsága(i)", -HiddenFieldProp : "Rejtettmező(k) tulajdonsága(i)", -RadioButtonProp : "Választógomb(ok) tulajdonsága(i)", -ImageButtonProp : "Képgomb(ok) tulajdonsága(i)", -TextFieldProp : "Szövegmező(k) tulajdonsága(i)", -SelectionFieldProp : "Választómező(k) tulajdonsága(i)", -TextareaProp : "Szövegterület(ek) tulajdonsága(i)", -FormProp : "Űrlap(ok) tulajdonsága(i)", +AnchorProp : "Horgony tulajdonságai", +ButtonProp : "Gomb tulajdonságai", +CheckboxProp : "Jelölőnégyzet tulajdonságai", +HiddenFieldProp : "Rejtett mező tulajdonságai", +RadioButtonProp : "Választógomb tulajdonságai", +ImageButtonProp : "Képgomb tulajdonságai", +TextFieldProp : "Szövegmező tulajdonságai", +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)", // Alerts and Messages ProcessingXHTML : "XHTML feldolgozása. Kérem várjon...", Done : "Kész", -PasteWordConfirm : "A szöveg amit be szeretnél illeszteni úgy néz ki Word-bõl van másolva. Do you want to clean it before pasting?", -NotCompatiblePaste : "Ez a parancs csak Internet Explorer 5.5 verziótól használható (Firefox rulez). Do you want to paste without cleaning?", +PasteWordConfirm : "A beilleszteni kívánt szöveg Word-ből van másolva. El kívánja távolítani a formázást a beillesztés előtt?", +NotCompatiblePaste : "Ez a parancs csak Internet Explorer 5.5 verziótól használható. Megpróbálja beilleszteni a szöveget az eredeti formázással?", UnknownToolbarItem : "Ismeretlen eszköztár elem \"%1\"", UnknownCommand : "Ismeretlen parancs \"%1\"", -NotImplemented : "A parancs nincs beágyazva", -UnknownToolbarSet : "Eszközkészlet beállítás \"%1\" nem létezik", -NoActiveX : "A böngésződ biztonsági beállításai limitálják a szerkesztő lehetőségeit. Engedélyezned kell ezt az opciót: \"Run ActiveX controls and plug-ins\". Kitapasztalhatod a hibákat és feljegyezheted a hiányzó képességeket.", -BrowseServerBlocked : "Nem lehet megnyitni a fájlböngészőt. Bizonyosodj meg róla, hogy a popup albakok engedélyezve vannak.", -DialogBlocked : "Nem tudom megnyitni a párbeszédablakot. Bizonyosodj meg róla, hogy a popup ablakok engedélyezve vannak.", +NotImplemented : "A parancs nem hajtható végre", +UnknownToolbarSet : "Az eszközkészlet \"%1\" nem létezik", +NoActiveX : "A böngésző biztonsági beállításai korlátozzák a szerkesztő lehetőségeit. Engedélyezni kell ezt az opciót: \"Run ActiveX controls and plug-ins\". Ettől függetlenül előfordulhatnak hibaüzenetek ill. bizonyos funkciók hiányozhatnak.", +BrowseServerBlocked : "Nem lehet megnyitni a fájlböngészőt. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", +DialogBlocked : "Nem lehet megnyitni a párbeszédablakot. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", // Dialogs -DlgBtnOK : "OK", +DlgBtnOK : "Rendben", DlgBtnCancel : "Mégsem", DlgBtnClose : "Bezárás", -DlgBtnBrowseServer : "Szerver tallózása", -DlgAdvancedTag : "Haladó", +DlgBtnBrowseServer : "Böngészés a szerveren", +DlgAdvancedTag : "További opciók", DlgOpOther : "Egyéb", -DlgInfoTab : "Információ", -DlgAlertUrl : "Illeszd be a hivatkozást", +DlgInfoTab : "Alaptulajdonságok", +DlgAlertUrl : "Illessze be a webcímet", // General Dialogs Labels -DlgGenNotSet : "<nincs beállítva>", +DlgGenNotSet : "", DlgGenId : "Azonosító", -DlgGenLangDir : "Nyelv útmutató", +DlgGenLangDir : "Írás iránya", DlgGenLangDirLtr : "Balról jobbra", DlgGenLangDirRtl : "Jobbról balra", -DlgGenLangCode : "Nyelv kód", -DlgGenAccessKey : "Elérési kulcs", +DlgGenLangCode : "Nyelv kódja", +DlgGenAccessKey : "Billentyűkombináció", DlgGenName : "Név", DlgGenTabIndex : "Tabulátor index", -DlgGenLongDescr : "Hosszú URL", +DlgGenLongDescr : "Részletes leírás webcíme", DlgGenClass : "Stíluskészlet", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Hivatkozott kódlap készlet", +DlgGenTitle : "Súgócimke", +DlgGenContType : "Súgó tartalomtípusa", +DlgGenLinkCharset : "Hivatkozott tartalom kódlapja", DlgGenStyle : "Stílus", // Image Dialog -DlgImgTitle : "Kép tulajdonsága", -DlgImgInfoTab : "Kép információ", -DlgImgBtnUpload : "Küldés a szervernek", -DlgImgURL : "URL", +DlgImgTitle : "Kép tulajdonságai", +DlgImgInfoTab : "Alaptulajdonságok", +DlgImgBtnUpload : "Küldés a szerverre", +DlgImgURL : "Hivatkozás", DlgImgUpload : "Feltöltés", DlgImgAlt : "Buborék szöveg", DlgImgWidth : "Szélesség", @@ -185,18 +191,18 @@ DlgImgAlignLeft : "Bal", DlgImgAlignAbsBottom: "Legaljára", DlgImgAlignAbsMiddle: "Közepére", -DlgImgAlignBaseline : "Baseline", +DlgImgAlignBaseline : "Alapvonalhoz", DlgImgAlignBottom : "Aljára", DlgImgAlignMiddle : "Középre", DlgImgAlignRight : "Jobbra", -DlgImgAlignTextTop : "Szöveg tetjére", +DlgImgAlignTextTop : "Szöveg tetejére", DlgImgAlignTop : "Tetejére", -DlgImgPreview : "Elõnézet", -DlgImgAlertUrl : "Töltse ki a kép URL-ét", +DlgImgPreview : "Előnézet", +DlgImgAlertUrl : "Töltse ki a kép webcímét", DlgImgLinkTab : "Hivatkozás", // Flash Dialog -DlgFlashTitle : "Flash tulajdonsága", +DlgFlashTitle : "Flash tulajdonságai", DlgFlashChkPlay : "Automata lejátszás", DlgFlashChkLoop : "Folyamatosan", DlgFlashChkMenu : "Flash menü engedélyezése", @@ -206,59 +212,59 @@ DlgFlashScaleFit : "Teljes kitöltés", // Link Dialog -DlgLnkWindowTitle : "Hivatkozás", -DlgLnkInfoTab : "Hivatkozás információ", -DlgLnkTargetTab : "Cél", +DlgLnkWindowTitle : "Hivatkozás tulajdonságai", +DlgLnkInfoTab : "Alaptulajdonságok", +DlgLnkTargetTab : "Megjelenítés", -DlgLnkType : "Hivatkozás tipusa", -DlgLnkTypeURL : "URL", +DlgLnkType : "Hivatkozás típusa", +DlgLnkTypeURL : "Webcím", DlgLnkTypeAnchor : "Horgony az oldalon", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<más>", -DlgLnkURL : "URL", +DlgLnkProtoOther : "", +DlgLnkURL : "Webcím", DlgLnkAnchorSel : "Horgony választása", DlgLnkAnchorByName : "Horgony név szerint", -DlgLnkAnchorById : "Azonosító szerint elõsorban ", -DlgLnkNoAnchors : "<Nincs horgony a dokumentumban>", +DlgLnkAnchorById : "Azonosító szerint", +DlgLnkNoAnchors : "", DlgLnkEMail : "E-Mail cím", DlgLnkEMailSubject : "Üzenet tárgya", DlgLnkEMailBody : "Üzenet", DlgLnkUpload : "Feltöltés", -DlgLnkBtnUpload : "Küldés a szerverhez", +DlgLnkBtnUpload : "Küldés a szerverre", -DlgLnkTarget : "Cél", -DlgLnkTargetFrame : "<keret>", -DlgLnkTargetPopup : "<felugró ablak>", -DlgLnkTargetBlank : "Új ablak (_blank)", -DlgLnkTargetParent : "Szülõ ablak (_parent)", -DlgLnkTargetSelf : "Azonos ablak (_self)", -DlgLnkTargetTop : "Legfelsõ ablak (_top)", -DlgLnkTargetFrameName : "Cél frame neve", +DlgLnkTarget : "Tartalom megjelenítése", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", +DlgLnkTargetBlank : "Új ablakban (_blank)", +DlgLnkTargetParent : "Szülő ablakban (_parent)", +DlgLnkTargetSelf : "Azonos ablakban (_self)", +DlgLnkTargetTop : "Legfelső ablakban (_top)", +DlgLnkTargetFrameName : "Keret neve", DlgLnkPopWinName : "Felugró ablak neve", -DlgLnkPopWinFeat : "Felugró ablak jellemzõi", -DlgLnkPopResize : "Méretezhetõ", -DlgLnkPopLocation : "Location Bar", +DlgLnkPopWinFeat : "Felugró ablak jellemzői", +DlgLnkPopResize : "Méretezhető", +DlgLnkPopLocation : "Címsor", DlgLnkPopMenu : "Menü sor", -DlgLnkPopScroll : "Gördítõsáv", +DlgLnkPopScroll : "Gördítősáv", DlgLnkPopStatus : "Állapotsor", DlgLnkPopToolbar : "Eszköztár", -DlgLnkPopFullScrn : "Teljes képernyõ (IE)", -DlgLnkPopDependent : "Netscape sajátosság", +DlgLnkPopFullScrn : "Teljes képernyő (csak IE)", +DlgLnkPopDependent : "Szülőhöz kapcsolt (csak Netscape)", DlgLnkPopWidth : "Szélesség", DlgLnkPopHeight : "Magasság", DlgLnkPopLeft : "Bal pozíció", -DlgLnkPopTop : "Felsõ pozíció", +DlgLnkPopTop : "Felső pozíció", -DlnLnkMsgNoUrl : "Adja meg a hivatkozás URL-ét", -DlnLnkMsgNoEMail : "Adja meg az e-mail címet", +DlnLnkMsgNoUrl : "Adja meg a hivatkozás webcímét", +DlnLnkMsgNoEMail : "Adja meg az E-Mail címet", DlnLnkMsgNoAnchor : "Válasszon egy horgonyt", // Color Dialog -DlgColorTitle : "Szinválasztás", +DlgColorTitle : "Színválasztás", DlgColorBtnClear : "Törlés", -DlgColorHighlight : "Világos rész", -DlgColorSelected : "Választott", +DlgColorHighlight : "Előnézet", +DlgColorSelected : "Kiválasztott", // Smiley Dialog DlgSmileyTitle : "Hangulatjel beszúrása", @@ -273,35 +279,35 @@ DlgTableBorder : "Szegélyméret", DlgTableAlign : "Igazítás", DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Bal", -DlgTableAlignCenter : "Közép", -DlgTableAlignRight : "Jobb", +DlgTableAlignLeft : "Balra", +DlgTableAlignCenter : "Középre", +DlgTableAlignRight : "Jobbra", DlgTableWidth : "Szélesség", -DlgTableWidthPx : "képpontok", +DlgTableWidthPx : "képpont", DlgTableWidthPc : "százalék", DlgTableHeight : "Magasság", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", +DlgTableCellSpace : "Cella térköz", +DlgTableCellPad : "Cella belső margó", DlgTableCaption : "Felirat", -DlgTableSummary : "Összegzés", +DlgTableSummary : "Leírás", // Table Cell Dialog DlgCellTitle : "Cella tulajdonságai", DlgCellWidth : "Szélesség", -DlgCellWidthPx : "képpontok", +DlgCellWidthPx : "képpont", DlgCellWidthPc : "százalék", -DlgCellHeight : "Height", +DlgCellHeight : "Magasság", DlgCellWordWrap : "Sortörés", -DlgCellWordWrapNotSet : "<Nincs beállítva>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Igen", DlgCellWordWrapNo : "Nem", -DlgCellHorAlign : "Vízszintes igazítás", -DlgCellHorAlignNotSet : "<Nincs beállítva>", -DlgCellHorAlignLeft : "Bal", -DlgCellHorAlignCenter : "Közép", -DlgCellHorAlignRight: "Jobb", -DlgCellVerAlign : "Függõleges igazítás", -DlgCellVerAlignNotSet : "<Nincs beállítva>", +DlgCellHorAlign : "Vízsz. igazítás", +DlgCellHorAlignNotSet : "", +DlgCellHorAlignLeft : "Balra", +DlgCellHorAlignCenter : "Középre", +DlgCellHorAlignRight: "Jobbra", +DlgCellVerAlign : "Függ. igazítás", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "Tetejére", DlgCellVerAlignMiddle : "Középre", DlgCellVerAlignBottom : "Aljára", @@ -319,55 +325,54 @@ // Replace Dialog DlgReplaceTitle : "Csere", -DlgReplaceFindLbl : "Keresendõ:", -DlgReplaceReplaceLbl : "Cserélendõ:", -DlgReplaceCaseChk : "Találatok", +DlgReplaceFindLbl : "Keresett szöveg:", +DlgReplaceReplaceLbl : "Csere erre:", +DlgReplaceCaseChk : "kis- és nagybetű megkülönböztetése", DlgReplaceReplaceBtn : "Csere", -DlgReplaceReplAllBtn : "Összes cseréje", -DlgReplaceWordChk : "Egész dokumentumban", +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égrehatjsa a beillesztés mûveletet.Használja az alábbi billentyûzetkombinációt (Ctrl+V).", -PasteErrorCut : "A böngészõ biztonsági beállításai nem engedélyezik a szerkesztõnek, hogy végrehatjsa a kivágás mûveletet.Használja az alábbi billentyûzetkombinációt (Ctrl+X).", -PasteErrorCopy : "A böngészõ biztonsági beállításai nem engedélyezik a szerkesztõnek, hogy végrehatjsa a másolás mûveletet.Használja az alábbi billentyûzetkombinációt (Ctrl+X).", +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).", PasteAsText : "Beillesztés formázatlan szövegként", -PasteFromWord : "Beillesztés Wordbõl", +PasteFromWord : "Beillesztés Word-ből", -DlgPasteMsg2 : "Másold be az alábbi mezőbe a következő billentyűk használatával (Ctrl+V) és nyomj OK.", +DlgPasteMsg2 : "Másolja be az alábbi mezőbe a Ctrl+V billentyűk lenyomásával, majd nyomjon Rendben-t.", DlgPasteIgnoreFont : "Betű formázások megszüntetése", -DlgPasteRemoveStyles : "Stíluslapok eltávolítása", -DlgPasteCleanBox : "Mező tartalmának törlése", +DlgPasteRemoveStyles : "Stílusok eltávolítása", +DlgPasteCleanBox : "Törlés", - // Color Picker ColorAutomatic : "Automatikus", -ColorMoreColors : "Több szín...", +ColorMoreColors : "További színek...", // Document Properties -DocProps : "Dokumentum tulajdonsága", +DocProps : "Dokumentum tulajdonságai", // Anchor Dialog -DlgAnchorTitle : "Horgony tulajdonsága", +DlgAnchorTitle : "Horgony tulajdonságai", DlgAnchorName : "Horgony neve", DlgAnchorErrorName : "Kérem adja meg a horgony nevét", // Speller Pages Dialog -DlgSpellNotInDic : "Nincs a könyvtárban", -DlgSpellChangeTo : "Átváltás", +DlgSpellNotInDic : "Nincs a szótárban", +DlgSpellChangeTo : "Módosítás", DlgSpellBtnIgnore : "Kihagyja", -DlgSpellBtnIgnoreAll : "Összeset kihagyja", +DlgSpellBtnIgnoreAll : "Mindet kihagyja", DlgSpellBtnReplace : "Csere", DlgSpellBtnReplaceAll : "Összes cseréje", DlgSpellBtnUndo : "Visszavonás", -DlgSpellNoSuggestions : "Nincs feltevés", -DlgSpellProgress : "Helyesírásellenőrzés folyamatban...", -DlgSpellNoMispell : "Helyesírásellenőrzés kész: Nem találtam hibát", -DlgSpellNoChanges : "Helyesírásellenőrzés kész: Nincs változtatott szó", -DlgSpellOneChange : "Helyesírásellenőrzés kész: Egy szó cserélve", -DlgSpellManyChanges : "Helyesírásellenőrzés kész: %1 szó cserélve", +DlgSpellNoSuggestions : "Nincs javaslat", +DlgSpellProgress : "Helyesírás-ellenőrzés folyamatban...", +DlgSpellNoMispell : "Helyesírás-ellenőrzés kész: Nem találtam hibát", +DlgSpellNoChanges : "Helyesírás-ellenőrzés kész: Nincs változtatott szó", +DlgSpellOneChange : "Helyesírás-ellenőrzés kész: Egy szó cserélve", +DlgSpellManyChanges : "Helyesírás-ellenőrzés kész: %1 szó cserélve", -IeSpellDownload : "A helyesírásellenőrző nincs telepítve. Szeretné letölteni most?", +IeSpellDownload : "A helyesírás-ellenőrző nincs telepítve. Szeretné letölteni most?", // Button Dialog DlgButtonText : "Szöveg (Érték)", @@ -376,39 +381,39 @@ // Checkbox and Radio Button Dialogs DlgCheckboxName : "Név", DlgCheckboxValue : "Érték", -DlgCheckboxSelected : "Választott", +DlgCheckboxSelected : "Kiválasztott", // Form Dialog DlgFormName : "Név", -DlgFormAction : "Esemény", -DlgFormMethod : "Metódus", +DlgFormAction : "Adatfeldolgozást végző hivatkozás", +DlgFormMethod : "Adatküldés módja", // Select Field Dialog DlgSelectName : "Név", DlgSelectValue : "Érték", DlgSelectSize : "Méret", -DlgSelectLines : "sorok", -DlgSelectChkMulti : "Engedi a többszörös kiválasztást", +DlgSelectLines : "sor", +DlgSelectChkMulti : "több sor is kiválasztható", DlgSelectOpAvail : "Elérhető opciók", DlgSelectOpText : "Szöveg", DlgSelectOpValue : "Érték", -DlgSelectBtnAdd : "Bővít", +DlgSelectBtnAdd : "Hozzáad", DlgSelectBtnModify : "Módosít", DlgSelectBtnUp : "Fel", DlgSelectBtnDown : "Le", -DlgSelectBtnSetValue : "Beállítja a kiválasztott értéket", +DlgSelectBtnSetValue : "Legyen az alapértelmezett érték", DlgSelectBtnDelete : "Töröl", // Textarea Dialog DlgTextareaName : "Név", -DlgTextareaCols : "Oszlopok", -DlgTextareaRows : "Sorok", +DlgTextareaCols : "Karakterek száma egy sorban", +DlgTextareaRows : "Sorok száma", // Text Field Dialog DlgTextName : "Név", DlgTextValue : "Érték", -DlgTextCharWidth : "Karakter szélesség", -DlgTextMaxChars : "Maximum karakterek", +DlgTextCharWidth : "Megjelenített karakterek száma", +DlgTextMaxChars : "Maximális karakterszám", DlgTextType : "Típus", DlgTextTypeText : "Szöveg", DlgTextTypePass : "Jelszó", @@ -420,13 +425,13 @@ // Bulleted List Dialog BulletedListProp : "Felsorolás tulajdonságai", NumberedListProp : "Számozás tulajdonságai", -DlgLstType : "Típus", -DlgLstTypeCircle : "Ciklus", +DlgLstType : "Formátum", +DlgLstTypeCircle : "Kör", DlgLstTypeDisc : "Lemez", DlgLstTypeSquare : "Négyzet", DlgLstTypeNumbers : "Számok (1, 2, 3)", -DlgLstTypeLCase : "Kisbetűs (a, b, c)", -DlgLstTypeUCase : "Nagybetűs (a, b, c)", +DlgLstTypeLCase : "Kisbetűk (a, b, c)", +DlgLstTypeUCase : "Nagybetűk (A, B, C)", DlgLstTypeSRoman : "Kis római számok (i, ii, iii)", DlgLstTypeLRoman : "Nagy római számok (I, II, III)", @@ -437,16 +442,16 @@ DlgDocMetaTab : "Meta adatok", DlgDocPageTitle : "Oldalcím", -DlgDocLangDir : "Nyelv utasítás", -DlgDocLangDirLTR : "Balról jobbra (LTR)", -DlgDocLangDirRTL : "Jobbról balra (RTL)", +DlgDocLangDir : "Írás iránya", +DlgDocLangDirLTR : "Balról jobbra", +DlgDocLangDirRTL : "Jobbról balra", DlgDocLangCode : "Nyelv kód", DlgDocCharSet : "Karakterkódolás", DlgDocCharSetOther : "Más karakterkódolás", -DlgDocDocType : "Dokumentum címsor típus", -DlgDocDocTypeOther : "Más dokumentum címsor típus", -DlgDocIncXHTML : "XHTML elemeket tartalmaz", +DlgDocDocType : "Dokumentum típus fejléc", +DlgDocDocTypeOther : "Más dokumentum típus fejléc", +DlgDocIncXHTML : "XHTML deklarációk beillesztése", DlgDocBgColor : "Háttérszín", DlgDocBgImage : "Háttérkép cím", DlgDocBgNoScroll : "Nem gördíthető háttér", @@ -458,7 +463,7 @@ DlgDocMaTop : "Felső", DlgDocMaLeft : "Bal", DlgDocMaRight : "Jobb", -DlgDocMaBottom : "Felül", +DlgDocMaBottom : "Alsó", DlgDocMeIndex : "Dokumentum keresőszavak (vesszővel elválasztva)", DlgDocMeDescr : "Dokumentum leírás", DlgDocMeAuthor : "Szerző", @@ -468,14 +473,15 @@ // Templates Dialog Templates : "Sablonok", DlgTemplatesTitle : "Elérhető sablonok", -DlgTemplatesSelMsg : "Válaszd ki melyik sablon nyíljon meg a szerkesztőben
(a jelenlegi tartalom elveszik):", +DlgTemplatesSelMsg : "Válassza ki melyik sablon nyíljon meg a szerkesztőben
(a jelenlegi tartalom elveszik):", DlgTemplatesLoading : "Sablon lista betöltése. Kis türelmet...", DlgTemplatesNoTpl : "(Nincs sablon megadva)", // About Dialog -DlgAboutAboutTab : "About", +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 menjen" +DlgAboutInfo : "További információkért látogasson el ide:" } \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/it.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/it.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/it.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/it.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -22,7 +22,7 @@ // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", -ToolbarCollapse : "Nasconti la barra degli strumenti", +ToolbarCollapse : "Nascondi la barra degli strumenti", ToolbarExpand : "Mostra la barra degli strumenti", // Toolbar Items and Context Menu @@ -84,7 +84,7 @@ Find : "Trova", Replace : "Sostituisci", SpellCheck : "Correttore ortografico", -UniversalKeyboard : "Tastiera univerale", +UniversalKeyboard : "Tastiera universale", PageBreakLbl : "Interruzione di pagina", PageBreak : "Inserisci interruzione di pagina", @@ -98,8 +98,13 @@ SelectionField : "Menu di selezione", ImageButton : "Bottone immagine", +FitWindow : "Massimizza l'area dell'editor", + // Context Menu EditLink : "Modifica collegamento", +CellCM : "Cella", +RowCM : "Riga", +ColumnCM : "Colonna", InsertRow : "Inserisci riga", DeleteRows : "Elimina righe", InsertColumn : "Inserisci colonna", @@ -134,7 +139,7 @@ NotCompatiblePaste : "Questa funzione è disponibile solo per Internet Explorer 5.5 o superiore. Desideri incollare il testo senza pulirlo?", UnknownToolbarItem : "Elemento della barra strumenti sconosciuto \"%1\"", UnknownCommand : "Comando sconosciuto \"%1\"", -NotImplemented : "Commando non implementato", +NotImplemented : "Comando non implementato", UnknownToolbarSet : "La barra di strumenti \"%1\" non esiste", NoActiveX : "Le impostazioni di sicurezza del tuo browser potrebbero limitare alcune funzionalità dell'editor. Devi abilitare l'opzione \"Esegui controlli e plug-in ActiveX\". Potresti avere errori e notare funzionalità mancanti.", BrowseServerBlocked : "Non è possibile aprire la finestra di espolorazione risorse. Verifica che tutti i blocca popup siano bloccati.", @@ -146,18 +151,18 @@ DlgBtnClose : "Chiudi", DlgBtnBrowseServer : "Cerca sul server", DlgAdvancedTag : "Avanzate", -DlgOpOther : "<Altro>", +DlgOpOther : "", DlgInfoTab : "Info", DlgAlertUrl : "Devi inserire l'URL", // General Dialogs Labels -DlgGenNotSet : "<non impostato>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Direzione scrittura", DlgGenLangDirLtr : "Da Sinistra a Destra (LTR)", DlgGenLangDirRtl : "Da Destra a Sinistra (RTL)", DlgGenLangCode : "Codice Lingua", -DlgGenAccessKey : "Scorciatoria
da tastiera", +DlgGenAccessKey : "Scorciatoia
da tastiera", DlgGenName : "Nome", DlgGenTabIndex : "Ordine di tabulazione", DlgGenLongDescr : "URL descrizione estesa", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Ancora nella pagina", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocollo", -DlgLnkProtoOther : "<altro>", +DlgLnkProtoOther : "", DlgLnkURL : "URL", DlgLnkAnchorSel : "Scegli Ancora", DlgLnkAnchorByName : "Per Nome", DlgLnkAnchorById : "Per id elemento", -DlgLnkNoAnchors : "<Nessuna ancora disponibile nel documento>", +DlgLnkNoAnchors : "", DlgLnkEMail : "Indirizzo E-Mail", DlgLnkEMailSubject : "Oggetto del messaggio", DlgLnkEMailBody : "Corpo del messaggio", DlgLnkUpload : "Carica", DlgLnkBtnUpload : "Invia al Server", DlgLnkTarget : "Destinazione", -DlgLnkTargetFrame : "<riquadro>", -DlgLnkTargetPopup : "<finestra popup>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Nuova finestra (_blank)", DlgLnkTargetParent : "Finestra padre (_parent)", DlgLnkTargetSelf : "Stessa finestra (_self)", @@ -272,7 +277,7 @@ DlgTableColumns : "Colonne", DlgTableBorder : "Dimensione bordo", DlgTableAlign : "Allineamento", -DlgTableAlignNotSet : "<non impostato>", +DlgTableAlignNotSet : "", DlgTableAlignLeft : "Sinistra", DlgTableAlignCenter : "Centrato", DlgTableAlignRight : "Destra", @@ -286,22 +291,22 @@ DlgTableSummary : "Indice", // Table Cell Dialog -DlgCellTitle : "Propriet cella", +DlgCellTitle : "Proprietà cella", DlgCellWidth : "Larghezza", DlgCellWidthPx : "pixel", DlgCellWidthPc : "percento", DlgCellHeight : "Altezza", DlgCellWordWrap : "A capo automatico", -DlgCellWordWrapNotSet : "<non impostato>", +DlgCellWordWrapNotSet : "", DlgCellWordWrapYes : "Si", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Allineamento orizzontale", -DlgCellHorAlignNotSet : "<non impostato>", +DlgCellHorAlignNotSet : "", DlgCellHorAlignLeft : "Sinistra", DlgCellHorAlignCenter : "Centrato", DlgCellHorAlignRight: "Destra", DlgCellVerAlign : "Allineamento verticale", -DlgCellVerAlignNotSet : "<non impostato>", +DlgCellVerAlignNotSet : "", DlgCellVerAlignTop : "In Alto", DlgCellVerAlignMiddle : "Centrato", DlgCellVerAlignBottom : "In Basso", @@ -315,7 +320,7 @@ // Find Dialog DlgFindTitle : "Trova", DlgFindFindBtn : "Trova", -DlgFindNotFoundMsg : "L'elemento cercato non stato trovato.", +DlgFindNotFoundMsg : "L'elemento cercato non è stato trovato.", // Replace Dialog DlgReplaceTitle : "Sostituisci", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Rimuovi le definizioni di Stile", DlgPasteCleanBox : "Svuota area di testo", - // Color Picker ColorAutomatic : "Automatico", ColorMoreColors : "Altri colori...", @@ -468,13 +472,14 @@ // Templates Dialog Templates : "Modelli", DlgTemplatesTitle : "Contenuto dei modelli", -DlgTemplatesSelMsg : "Seleziona il modello da aprire nell'editor
(il contenuto attuale verrà eliminato):", +DlgTemplatesSelMsg : "Seleziona il modello da aprire nell'editor
(il contenuto attuale verrà eliminato):", DlgTemplatesLoading : "Caricamento modelli in corso. Attendere prego...", DlgTemplatesNoTpl : "(Nessun modello definito)", // 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" Index: lams_central/web/fckeditor/editor/lang/ja.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/ja.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/ja.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/ja.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -98,8 +98,13 @@ SelectionField : "選択フィールド", ImageButton : "画像ボタン", +FitWindow : "エディタサイズを最大にします", + // Context Menu EditLink : "リンク編集", +CellCM : "セル", +RowCM : "行", +ColumnCM : "カラム", InsertRow : "行挿入", DeleteRows : "行削除", InsertColumn : "列挿入", @@ -146,12 +151,12 @@ DlgBtnClose : "閉じる", DlgBtnBrowseServer : "サーバーブラウザー", DlgAdvancedTag : "高度な設定", -DlgOpOther : "<その他>", +DlgOpOther : "<その他>", DlgInfoTab : "情報", DlgAlertUrl : "URLを挿入してください", // General Dialogs Labels -DlgGenNotSet : "<なし>", +DlgGenNotSet : "<なし>", DlgGenId : "Id", DlgGenLangDir : "文字表記の方向", DlgGenLangDirLtr : "左から右 (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "このページのアンカー", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "プロトコル", -DlgLnkProtoOther : "<その他>", +DlgLnkProtoOther : "<その他>", DlgLnkURL : "URL", DlgLnkAnchorSel : "アンカーを選択", DlgLnkAnchorByName : "アンカー名", DlgLnkAnchorById : "エレメントID", -DlgLnkNoAnchors : "<ドキュメントにおいて利用可能なアンカーはありません。>", +DlgLnkNoAnchors : "<ドキュメントにおいて利用可能なアンカーはありません。>", DlgLnkEMail : "E-Mail アドレス", DlgLnkEMailSubject : "件名", DlgLnkEMailBody : "本文", DlgLnkUpload : "アップロード", DlgLnkBtnUpload : "サーバーに送信", DlgLnkTarget : "ターゲット", -DlgLnkTargetFrame : "<フレーム>", -DlgLnkTargetPopup : "<ポップアップウィンドウ>", +DlgLnkTargetFrame : "<フレーム>", +DlgLnkTargetPopup : "<ポップアップウィンドウ>", DlgLnkTargetBlank : "新しいウィンドウ (_blank)", DlgLnkTargetParent : "親ウィンドウ (_parent)", DlgLnkTargetSelf : "同じウィンドウ (_self)", @@ -292,16 +297,16 @@ DlgCellWidthPc : "パーセント", DlgCellHeight : "高さ", DlgCellWordWrap : "折り返し", -DlgCellWordWrapNotSet : "<なし>", +DlgCellWordWrapNotSet : "<なし>", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "セル横の整列", -DlgCellHorAlignNotSet : "<なし>", +DlgCellHorAlignNotSet : "<なし>", DlgCellHorAlignLeft : "左", DlgCellHorAlignCenter : "中央", DlgCellHorAlignRight: "右", DlgCellVerAlign : "セル縦の整列", -DlgCellVerAlignNotSet : "<なし>", +DlgCellVerAlignNotSet : "<なし>", DlgCellVerAlignTop : "上", DlgCellVerAlignMiddle : "中央", DlgCellVerAlignBottom : "下", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "スタイル定義を削除します。", DlgPasteCleanBox : "入力エリアクリア", - // Color Picker ColorAutomatic : "自動", ColorMoreColors : "その他の色...", @@ -475,6 +479,7 @@ // About Dialog DlgAboutAboutTab : "バージョン情報", DlgAboutBrowserInfoTab : "ブラウザ情報", +DlgAboutLicenseTab : "ライセンス", DlgAboutVersion : "バージョン", DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License", DlgAboutInfo : "より詳しい情報はこちらで" Index: lams_central/web/fckeditor/editor/lang/km.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/km.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/fckeditor/editor/lang/km.js 16 Aug 2006 06:05:51 -0000 1.1 @@ -0,0 +1,486 @@ +/* + * 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) + */ + +var FCKLang = +{ +// Language direction : "ltr" (left to right) or "rtl" (right to left). +Dir : "ltr", + +ToolbarCollapse : "បង្រួមរបាឧបរកណ៍", +ToolbarExpand : "ពង្រីករបាឧបរណ៍", + +// Toolbar Items and Context Menu +Save : "រក្សាទុក", +NewPage : "ទំព័រថ្មី", +Preview : "មើលសាកល្បង", +Cut : "កាត់យក", +Copy : "ចំលងយក", +Paste : "ចំលងដាក់", +PasteText : "ចំលងដាក់ជាអត្ថបទធម្មតា", +PasteWord : "ចំលងដាក់ពី Word", +Print : "បោះពុម្ភ", +SelectAll : "ជ្រើសរើសទាំងអស់", +RemoveFormat : "លប់ចោល ការរចនា", +InsertLinkLbl : "ឈ្នាប់", +InsertLink : "បន្ថែម/កែប្រែ ឈ្នាប់", +RemoveLink : "លប់ឈ្នាប់", +Anchor : "បន្ថែម/កែប្រែ យុថ្កា", +InsertImageLbl : "រូបភាព", +InsertImage : "បន្ថែម/កែប្រែ រូបភាព", +InsertFlashLbl : "Flash", +InsertFlash : "បន្ថែម/កែប្រែ Flash", +InsertTableLbl : "តារាង", +InsertTable : "បន្ថែម/កែប្រែ តារាង", +InsertLineLbl : "បន្ទាត់", +InsertLine : "បន្ថែមបន្ទាត់ផ្តេក", +InsertSpecialCharLbl: "អក្សរពិសេស", +InsertSpecialChar : "បន្ថែមអក្សរពិសេស", +InsertSmileyLbl : "រូបភាព", +InsertSmiley : "បន្ថែម រូបភាព", +About : "អំពី FCKeditor", +Bold : "អក្សរដិតធំ", +Italic : "អក្សរផ្តេក", +Underline : "ដិតបន្ទាត់ពីក្រោមអក្សរ", +StrikeThrough : "ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ", +Subscript : "អក្សរតូចក្រោម", +Superscript : "អក្សរតូចលើ", +LeftJustify : "តំរឹមឆ្វេង", +CenterJustify : "តំរឹមកណ្តាល", +RightJustify : "តំរឹមស្តាំ", +BlockJustify : "តំរឹមសងខាង", +DecreaseIndent : "បន្ថយការចូលបន្ទាត់", +IncreaseIndent : "បន្ថែមការចូលបន្ទាត់", +Undo : "សារឡើងវិញ", +Redo : "ធ្វើឡើងវិញ", +NumberedListLbl : "បញ្ជីជាអក្សរ", +NumberedList : "បន្ថែម/លប់ បញ្ជីជាអក្សរ", +BulletedListLbl : "បញ្ជីជារង្វង់មូល", +BulletedList : "បន្ថែម/លប់ បញ្ជីជារង្វង់មូល", +ShowTableBorders : "បង្ហាញស៊ុមតារាង", +ShowDetails : "បង្ហាញពិស្តារ", +Style : "ម៉ូត", +FontFormat : "រចនា", +Font : "ហ្វុង", +FontSize : "ទំហំ", +TextColor : "ពណ៌អក្សរ", +BGColor : "ពណ៌ផ្ទៃខាងក្រោយ", +Source : "កូត", +Find : "ស្វែងរក", +Replace : "ជំនួស", +SpellCheck : "ពិនិត្យអក្ខរាវិរុទ្ធ", +UniversalKeyboard : "ក្តារពុម្ភអក្សរសកល", +PageBreakLbl : "ការផ្តាច់ទំព័រ", +PageBreak : "បន្ថែម ការផ្តាច់ទំព័រ", + +Form : "បែបបទ", +Checkbox : "ប្រអប់ជ្រើសរើស", +RadioButton : "ប៉ូតុនរង្វង់មូល", +TextField : "ជួរសរសេរអត្ថបទ", +Textarea : "តំបន់សរសេរអត្ថបទ", +HiddenField : "ជួរលាក់", +Button : "ប៉ូតុន", +SelectionField : "ជួរជ្រើសរើស", +ImageButton : "ប៉ូតុនរូបភាព", + +FitWindow : "Maximize the editor size", //MISSING + +// Context Menu +EditLink : "កែប្រែឈ្នាប់", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING +InsertRow : "បន្ថែមជួរផ្តេក", +DeleteRows : "លប់ជួរផ្តេក", +InsertColumn : "បន្ថែមជួរឈរ", +DeleteColumns : "លប់ជួរឈរ", +InsertCell : "បន្ថែម សែល", +DeleteCells : "លប់សែល", +MergeCells : "បញ្ជូលសែល", +SplitCell : "ផ្តាច់សែល", +TableDelete : "លប់តារាង", +CellProperties : "ការកំណត់សែល", +TableProperties : "ការកំណត់តារាង", +ImageProperties : "ការកំណត់រូបភាព", +FlashProperties : "ការកំណត់ Flash", + +AnchorProp : "ការកំណត់យុថ្កា", +ButtonProp : "ការកំណត់ ប៉ូតុន", +CheckboxProp : "ការកំណត់ប្រអប់ជ្រើសរើស", +HiddenFieldProp : "ការកំណត់ជួរលាក់", +RadioButtonProp : "ការកំណត់ប៉ូតុនរង្វង់", +ImageButtonProp : "ការកំណត់ប៉ូតុនរូបភាព", +TextFieldProp : "ការកំណត់ជួរអត្ថបទ", +SelectionFieldProp : "ការកំណត់ជួរជ្រើសរើស", +TextareaProp : "ការកំណត់កន្លែងសរសេរអត្ថបទ", +FormProp : "ការកំណត់បែបបទ", + +FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", + +// Alerts and Messages +ProcessingXHTML : "កំពុងដំណើរការ XHTML ។ សូមរងចាំ...", +Done : "ចប់រួចរាល់", +PasteWordConfirm : "អត្ថបទដែលលោកអ្នកបំរុងចំលងដាក់ ហាក់បីដូចជាត្រូវចំលងមកពីកម្មវិធី​Word​។ តើលោកអ្នកចង់សំអាតមុនចំលងអត្ថបទដាក់ទេ?", +NotCompatiblePaste : "ពាក្យបញ្ជានេះប្រើបានតែជាមួយ Internet Explorer កំរិត 5.5 រឺ លើសនេះ ។ តើលោកអ្នកចង់ចំលងដាក់ដោយមិនចាំបាច់សំអាតទេ?", +UnknownToolbarItem : "វត្ថុលើរបាឧបរកណ៍ មិនស្គាល់ \"%1\"", +UnknownCommand : "ឈ្មោះពាក្យបញ្ជា មិនស្គាល់ \"%1\"", +NotImplemented : "ពាក្យបញ្ជា មិនបានអនុវត្ត", +UnknownToolbarSet : "របាឧបរកណ៍ \"%1\" ពុំមាន ។", +NoActiveX : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​អាចធ្វើអោយលោកអ្នកមិនអាចប្រើមុខងារខ្លះរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។ លោកអ្នកត្រូវកំណត់អោយ \"ActiveX និង​កម្មវិធីជំនួយក្នុង (plug-ins)\" អោយដំណើរការ ។ លោកអ្នកអាចជួបប្រទះនឹង បញ្ហា ព្រមជាមួយនឹងការបាត់បង់មុខងារណាមួយរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។", +BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING +DialogBlocked : "វីនដូវមិនអាចបើកបានទេ ។ សូមពិនិត្យចំពោះកម្មវិធីបិទ វីនដូវលោត (popup) ថាតើវាដំណើរការរឺទេ ។", + +// Dialogs +DlgBtnOK : "យល់ព្រម", +DlgBtnCancel : "មិនយល់ព្រម", +DlgBtnClose : "បិទ", +DlgBtnBrowseServer : "មើល", +DlgAdvancedTag : "កំរិតខ្ពស់", +DlgOpOther : "<ផ្សេងទៅត>", +DlgInfoTab : "ពត៌មាន", +DlgAlertUrl : "សូមសរសេរ URL", + +// General Dialogs Labels +DlgGenNotSet : "<មិនមែន>", +DlgGenId : "Id", +DlgGenLangDir : "ទិសដៅភាសា", +DlgGenLangDirLtr : "ពីឆ្វេងទៅស្តាំ(LTR)", +DlgGenLangDirRtl : "ពីស្តាំទៅឆ្វេង(RTL)", +DlgGenLangCode : "លេខកូតភាសា", +DlgGenAccessKey : "ឃី សំរាប់ចូល", +DlgGenName : "ឈ្មោះ", +DlgGenTabIndex : "លេខ Tab", +DlgGenLongDescr : "អធិប្បាយ URL វែង", +DlgGenClass : "Stylesheet Classes", +DlgGenTitle : "ចំណងជើង ប្រឹក្សា", +DlgGenContType : "ប្រភេទអត្ថបទ ប្រឹក្សា", +DlgGenLinkCharset : "លេខកូតអក្សររបស់ឈ្នាប់", +DlgGenStyle : "ម៉ូត", + +// Image Dialog +DlgImgTitle : "ការកំណត់រូបភាព", +DlgImgInfoTab : "ពត៌មានអំពីរូបភាព", +DlgImgBtnUpload : "បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា", +DlgImgURL : "URL", +DlgImgUpload : "ទាញយក", +DlgImgAlt : "អត្ថបទជំនួស", +DlgImgWidth : "ទទឹង", +DlgImgHeight : "កំពស់", +DlgImgLockRatio : "អត្រាឡុក", +DlgBtnResetSize : "កំណត់ទំហំឡើងវិញ", +DlgImgBorder : "ស៊ុម", +DlgImgHSpace : "គំលាតទទឹង", +DlgImgVSpace : "គំលាតបណ្តោយ", +DlgImgAlign : "កំណត់ទីតាំង", +DlgImgAlignLeft : "ខាងឆ្វង", +DlgImgAlignAbsBottom: "Abs Bottom", //MISSING +DlgImgAlignAbsMiddle: "Abs Middle", //MISSING +DlgImgAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", +DlgImgAlignBottom : "ខាងក្រោម", +DlgImgAlignMiddle : "កណ្តាល", +DlgImgAlignRight : "ខាងស្តាំ", +DlgImgAlignTextTop : "លើអត្ថបទ", +DlgImgAlignTop : "ខាងលើ", +DlgImgPreview : "មើលសាកល្បង", +DlgImgAlertUrl : "សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព", +DlgImgLinkTab : "ឈ្នាប់", + +// Flash Dialog +DlgFlashTitle : "ការកំណត់ Flash", +DlgFlashChkPlay : "លេងដោយស្វ័យប្រវត្ត", +DlgFlashChkLoop : "ចំនួនដង", +DlgFlashChkMenu : "បង្ហាញ មឺនុយរបស់ Flash", +DlgFlashScale : "ទំហំ", +DlgFlashScaleAll : "បង្ហាញទាំងអស់", +DlgFlashScaleNoBorder : "មិនបង្ហាញស៊ុម", +DlgFlashScaleFit : "ត្រូវល្មម", + +// Link Dialog +DlgLnkWindowTitle : "ឈ្នាប់", +DlgLnkInfoTab : "ពត៌មានអំពីឈ្នាប់", +DlgLnkTargetTab : "គោលដៅ", + +DlgLnkType : "ប្រភេទឈ្នាប់", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "យុថ្កានៅក្នុងទំព័រនេះ", +DlgLnkTypeEMail : "អ៊ីមែល", +DlgLnkProto : "ប្រូតូកូល", +DlgLnkProtoOther : "<ផ្សេងទៀត>", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "ជ្រើសរើសយុថ្កា", +DlgLnkAnchorByName : "តាមឈ្មោះរបស់យុថ្កា", +DlgLnkAnchorById : "តាម Id", +DlgLnkNoAnchors : "<ពុំមានយុថ្កានៅក្នុងឯកសារនេះទេ>", +DlgLnkEMail : "អ៊ីមែល", +DlgLnkEMailSubject : "ចំណងជើងអត្ថបទ", +DlgLnkEMailBody : "អត្ថបទ", +DlgLnkUpload : "ទាញយក", +DlgLnkBtnUpload : "ទាញយក", + +DlgLnkTarget : "គោលដៅ", +DlgLnkTargetFrame : "<ហ្វ្រេម>", +DlgLnkTargetPopup : "<វីនដូវ លោត>", +DlgLnkTargetBlank : "វីនដូវថ្មី (_blank)", +DlgLnkTargetParent : "វីនដូវមេ (_parent)", +DlgLnkTargetSelf : "វីនដូវដដែល (_self)", +DlgLnkTargetTop : "វីនដូវនៅលើគេ(_top)", +DlgLnkTargetFrameName : "ឈ្មោះហ្រ្វេមដែលជាគោលដៅ", +DlgLnkPopWinName : "ឈ្មោះវីនដូវលោត", +DlgLnkPopWinFeat : "លក្ខណះរបស់វីនដូលលោត", +DlgLnkPopResize : "ទំហំអាចផ្លាស់ប្តូរ", +DlgLnkPopLocation : "របា ទីតាំង", +DlgLnkPopMenu : "របា មឺនុយ", +DlgLnkPopScroll : "របា ទាញ", +DlgLnkPopStatus : "របា ពត៌មាន", +DlgLnkPopToolbar : "របា ឩបករណ៍", +DlgLnkPopFullScrn : "អេក្រុងពេញ(IE)", +DlgLnkPopDependent : "អាស្រ័យលើ (Netscape)", +DlgLnkPopWidth : "ទទឹង", +DlgLnkPopHeight : "កំពស់", +DlgLnkPopLeft : "ទីតាំងខាងឆ្វេង", +DlgLnkPopTop : "ទីតាំងខាងលើ", + +DlnLnkMsgNoUrl : "សូមសរសេរ អាស័យដ្ឋាន URL", +DlnLnkMsgNoEMail : "សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល", +DlnLnkMsgNoAnchor : "សូមជ្រើសរើស យុថ្កា", + +// Color Dialog +DlgColorTitle : "ជ្រើសរើស ពណ៌", +DlgColorBtnClear : "លប់", +DlgColorHighlight : "ផាត់ពណ៌", +DlgColorSelected : "បានជ្រើសរើស", + +// Smiley Dialog +DlgSmileyTitle : "បញ្ជូលរូបភាព", + +// Special Character Dialog +DlgSpecialCharTitle : "តូអក្សរពិសេស", + +// Table Dialog +DlgTableTitle : "ការកំណត់ តារាង", +DlgTableRows : "ជួរផ្តេក", +DlgTableColumns : "ជួរឈរ", +DlgTableBorder : "ទំហំស៊ុម", +DlgTableAlign : "ការកំណត់ទីតាំង", +DlgTableAlignNotSet : "<មិនកំណត់>", +DlgTableAlignLeft : "ខាងឆ្វេង", +DlgTableAlignCenter : "កណ្តាល", +DlgTableAlignRight : "ខាងស្តាំ", +DlgTableWidth : "ទទឹង", +DlgTableWidthPx : "ភីកសែល", +DlgTableWidthPc : "ភាគរយ", +DlgTableHeight : "កំពស់", +DlgTableCellSpace : "គំលាតសែល", +DlgTableCellPad : "គែមសែល", +DlgTableCaption : "ចំណងជើង", +DlgTableSummary : "សេចក្តីសង្ខេប", + +// Table Cell Dialog +DlgCellTitle : "ការកំណត់ សែល", +DlgCellWidth : "ទទឹង", +DlgCellWidthPx : "ភីកសែល", +DlgCellWidthPc : "ភាគរយ", +DlgCellHeight : "កំពស់", +DlgCellWordWrap : "បង្ហាញអត្ថបទទាំងអស់", +DlgCellWordWrapNotSet : "<មិនកំណត់>", +DlgCellWordWrapYes : "បាទ(ចា)", +DlgCellWordWrapNo : "ទេ", +DlgCellHorAlign : "តំរឹមផ្តេក", +DlgCellHorAlignNotSet : "<មិនកំណត់>", +DlgCellHorAlignLeft : "ខាងឆ្វេង", +DlgCellHorAlignCenter : "កណ្តាល", +DlgCellHorAlignRight: "Right", //MISSING +DlgCellVerAlign : "តំរឹមឈរ", +DlgCellVerAlignNotSet : "<មិនកណត់>", +DlgCellVerAlignTop : "ខាងលើ", +DlgCellVerAlignMiddle : "កណ្តាល", +DlgCellVerAlignBottom : "ខាងក្រោម", +DlgCellVerAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", +DlgCellRowSpan : "បញ្ជូលជួរផ្តេក", +DlgCellCollSpan : "បញ្ជូលជួរឈរ", +DlgCellBackColor : "ពណ៌ផ្នែកខាងក្រោម", +DlgCellBorderColor : "ពណ៌ស៊ុម", +DlgCellBtnSelect : "ជ្រើសរើស...", + +// Find Dialog +DlgFindTitle : "ស្វែងរក", +DlgFindFindBtn : "ស្វែងរក", +DlgFindNotFoundMsg : "ពាក្យនេះ រកមិនឃើញទេ ។", + +// Replace Dialog +DlgReplaceTitle : "ជំនួស", +DlgReplaceFindLbl : "ស្វែងរកអ្វី:", +DlgReplaceReplaceLbl : "ជំនួសជាមួយ:", +DlgReplaceCaseChk : "ករណ៉ត្រូវរក", +DlgReplaceReplaceBtn : "ជំនួស", +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)។", + +PasteAsText : "ចំលងដាក់អត្ថបទធម្មតា", +PasteFromWord : "ចំលងពាក្យពីកម្មវិធី Word", + +DlgPasteMsg2 : "សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី ​(Ctrl+V) ហើយចុច OK ។", +DlgPasteIgnoreFont : "មិនគិតអំពីប្រភេទពុម្ភអក្សរ", +DlgPasteRemoveStyles : "លប់ម៉ូត", +DlgPasteCleanBox : "លប់អត្ថបទចេញពីប្រអប់", + +// Color Picker +ColorAutomatic : "ស្វ័យប្រវត្ត", +ColorMoreColors : "ពណ៌ផ្សេងទៀត..", + +// Document Properties +DocProps : "ការកំណត់ ឯកសារ", + +// Anchor Dialog +DlgAnchorTitle : "ការកំណត់ចំណងជើងយុទ្ធថ្កា", +DlgAnchorName : "ឈ្មោះយុទ្ធថ្កា", +DlgAnchorErrorName : "សូមសរសេរ ឈ្មោះយុទ្ធថ្កា", + +// Speller Pages Dialog +DlgSpellNotInDic : "គ្មានក្នុងវចនានុក្រម", +DlgSpellChangeTo : "ផ្លាស់ប្តូរទៅ", +DlgSpellBtnIgnore : "មិនផ្លាស់ប្តូរ", +DlgSpellBtnIgnoreAll : "មិនផ្លាស់ប្តូរ ទាំងអស់", +DlgSpellBtnReplace : "ជំនួស", +DlgSpellBtnReplaceAll : "ជំនួសទាំងអស់", +DlgSpellBtnUndo : "សារឡើងវិញ", +DlgSpellNoSuggestions : "- គ្មានសំណើរ -", +DlgSpellProgress : "កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...", +DlgSpellNoMispell : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស", +DlgSpellNoChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ", +DlgSpellOneChange : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ", +DlgSpellManyChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ", + +IeSpellDownload : "ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?", + +// Button Dialog +DlgButtonText : "អត្ថបទ(តំលៃ)", +DlgButtonType : "ប្រភេទ", + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "ឈ្មោះ", +DlgCheckboxValue : "តំលៃ", +DlgCheckboxSelected : "បានជ្រើសរើស", + +// Form Dialog +DlgFormName : "ឈ្មោះ", +DlgFormAction : "សកម្មភាព", +DlgFormMethod : "វិធី", + +// Select Field Dialog +DlgSelectName : "ឈ្មោះ", +DlgSelectValue : "តំលៃ", +DlgSelectSize : "ទំហំ", +DlgSelectLines : "បន្ទាត់", +DlgSelectChkMulti : "អនុញ្ញាតអោយជ្រើសរើសច្រើន", +DlgSelectOpAvail : "ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន", +DlgSelectOpText : "ពាក្យ", +DlgSelectOpValue : "តំលៃ", +DlgSelectBtnAdd : "បន្ថែម", +DlgSelectBtnModify : "ផ្លាស់ប្តូរ", +DlgSelectBtnUp : "លើ", +DlgSelectBtnDown : "ក្រោម", +DlgSelectBtnSetValue : "Set as selected value", //MISSING +DlgSelectBtnDelete : "លប់", + +// Textarea Dialog +DlgTextareaName : "ឈ្មោះ", +DlgTextareaCols : "ជូរឈរ", +DlgTextareaRows : "ជូរផ្តេក", + +// Text Field Dialog +DlgTextName : "ឈ្មោះ", +DlgTextValue : "តំលៃ", +DlgTextCharWidth : "ទទឹង អក្សរ", +DlgTextMaxChars : "អក្សរអតិបរិមា", +DlgTextType : "ប្រភេទ", +DlgTextTypeText : "ពាក្យ", +DlgTextTypePass : "ពាក្យសំងាត់", + +// Hidden Field Dialog +DlgHiddenName : "ឈ្មោះ", +DlgHiddenValue : "តំលៃ", + +// Bulleted List Dialog +BulletedListProp : "កំណត់បញ្ជីរង្វង់", +NumberedListProp : "កំណត់បញ្េជីលេខ", +DlgLstType : "ប្រភេទ", +DlgLstTypeCircle : "រង្វង់", +DlgLstTypeDisc : "Disc", +DlgLstTypeSquare : "ការេ", +DlgLstTypeNumbers : "លេខ(1, 2, 3)", +DlgLstTypeLCase : "អក្សរតូច(a, b, c)", +DlgLstTypeUCase : "អក្សរធំ(A, B, C)", +DlgLstTypeSRoman : "អក្សរឡាតាំងតូច(i, ii, iii)", +DlgLstTypeLRoman : "អក្សរឡាតាំងធំ(I, II, III)", + +// Document Properties Dialog +DlgDocGeneralTab : "ទូទៅ", +DlgDocBackTab : "ផ្នែកខាងក្រោយ", +DlgDocColorsTab : "ទំព័រ​និង ស៊ុម", +DlgDocMetaTab : "ទិន្នន័យមេ", + +DlgDocPageTitle : "ចំណងជើងទំព័រ", +DlgDocLangDir : "ទិសដៅសរសេរភាសា", +DlgDocLangDirLTR : "ពីឆ្វេងទៅស្ដាំ(LTR)", +DlgDocLangDirRTL : "ពីស្ដាំទៅឆ្វេង(RTL)", +DlgDocLangCode : "លេខកូតភាសា", +DlgDocCharSet : "កំណត់លេខកូតភាសា", +DlgDocCharSetOther : "កំណត់លេខកូតភាសាផ្សេងទៀត", + +DlgDocDocType : "ប្រភេទក្បាលទំព័រ", +DlgDocDocTypeOther : "ប្រភេទក្បាលទំព័រផ្សេងទៀត", +DlgDocIncXHTML : "បញ្ជូល XHTML", +DlgDocBgColor : "ពណ៌ខាងក្រោម", +DlgDocBgImage : "URL របស់រូបភាពខាងក្រោម", +DlgDocBgNoScroll : "ទំព័រក្រោមមិនប្តូរ", +DlgDocCText : "អត្តបទ", +DlgDocCLink : "ឈ្នាប់", +DlgDocCVisited : "ឈ្នាប់មើលហើយ", +DlgDocCActive : "ឈ្នាប់កំពុងមើល", +DlgDocMargins : "ស៊ុមទំព័រ", +DlgDocMaTop : "លើ", +DlgDocMaLeft : "ឆ្វេង", +DlgDocMaRight : "ស្ដាំ", +DlgDocMaBottom : "ក្រោម", +DlgDocMeIndex : "ពាក្យនៅក្នុងឯកសារ (ផ្តាច់ពីគ្នាដោយក្បៀស)", +DlgDocMeDescr : "សេចក្តីអត្ថាធិប្បាយអំពីឯកសារ", +DlgDocMeAuthor : "អ្នកនិពន្ធ", +DlgDocMeCopy : "រក្សាសិទ្ធិ៏", +DlgDocPreview : "មើលសាកល្បង", + +// Templates Dialog +Templates : "ឯកសារគំរូ", +DlgTemplatesTitle : "ឯកសារគំរូ របស់អត្ថន័យ", +DlgTemplatesSelMsg : "សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ
(អត្ថបទនឹងបាត់បង់):", +DlgTemplatesLoading : "កំពុងអានបញ្ជីឯកសារគំរូ ។ សូមរងចាំ...", +DlgTemplatesNoTpl : "(ពុំមានឯកសារគំរូត្រូវបានកំណត់)", + +// About Dialog +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 Index: lams_central/web/fckeditor/editor/lang/ko.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/ko.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/ko.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/ko.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -99,8 +99,13 @@ SelectionField : "펼침목록", ImageButton : "이미지버튼", +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "링크 수정", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "가로줄 삽입", DeleteRows : "가로줄 삭제", InsertColumn : "세로줄 삽입", @@ -137,7 +142,7 @@ UnknownCommand : "알수없는 기능입니다. : \"%1\"", NotImplemented : "기능이 실행되지 않았습니다.", UnknownToolbarSet : "툴바 설정이 없습니다. : \"%1\"", -NoActiveX : "You 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 +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 @@ -147,12 +152,12 @@ DlgBtnClose : "닫기", DlgBtnBrowseServer : "서버 보기", DlgAdvancedTag : "자세히", -DlgOpOther : "<기타>", +DlgOpOther : "<기타>", DlgInfoTab : "정보", DlgAlertUrl : "URL을 입력하십시요", // General Dialogs Labels -DlgGenNotSet : "<설정되지 않음>", +DlgGenNotSet : "<설정되지 않음>", DlgGenId : "ID", DlgGenLangDir : "쓰기 방향", DlgGenLangDirLtr : "왼쪽에서 오른쪽 (LTR)", @@ -216,21 +221,21 @@ DlgLnkTypeAnchor : "책갈피", DlgLnkTypeEMail : "이메일", DlgLnkProto : "프로토콜", -DlgLnkProtoOther : "<기타>", +DlgLnkProtoOther : "<기타>", DlgLnkURL : "URL", DlgLnkAnchorSel : "책갈피 선택", DlgLnkAnchorByName : "책갈피 이름", DlgLnkAnchorById : "책갈피 ID", -DlgLnkNoAnchors : "<문서에 책갈피가 없습니다.>", +DlgLnkNoAnchors : "<문서에 책갈피가 없습니다.>", DlgLnkEMail : "이메일 주소", DlgLnkEMailSubject : "제목", DlgLnkEMailBody : "내용", DlgLnkUpload : "업로드", DlgLnkBtnUpload : "서버로 전송", DlgLnkTarget : "타겟", -DlgLnkTargetFrame : "<프레임>", -DlgLnkTargetPopup : "<팝업창>", +DlgLnkTargetFrame : "<프레임>", +DlgLnkTargetPopup : "<팝업창>", DlgLnkTargetBlank : "새 창 (_blank)", DlgLnkTargetParent : "부모 창 (_parent)", DlgLnkTargetSelf : "현재 창 (_self)", @@ -340,7 +345,6 @@ DlgPasteRemoveStyles : "스타일 정의 제거", DlgPasteCleanBox : "글상자 제거", - // Color Picker ColorAutomatic : "기본색상", ColorMoreColors : "색상선택...", @@ -476,6 +480,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/lt.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/lt.js,v diff -u -r1.4 -r1.5 --- lams_central/web/fckeditor/editor/lang/lt.js 5 Jan 2006 00:02:25 -0000 1.4 +++ lams_central/web/fckeditor/editor/lang/lt.js 16 Aug 2006 06:05:51 -0000 1.5 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -85,8 +85,8 @@ Replace : "Pakeisti", SpellCheck : "Rašybos tikrinimas", UniversalKeyboard : "Universali klaviatūra", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +PageBreakLbl : "Puslapių skirtukas", +PageBreak : "Įterpti puslapių skirtuką", Form : "Forma", Checkbox : "Žymimasis langelis", @@ -98,8 +98,13 @@ SelectionField : "Atrankos laukas", ImageButton : "Vaizdinis mygtukas", +FitWindow : "Maximize the editor size", //MISSING + // Context Menu EditLink : "Taisyti nuorodą", +CellCM : "Cell", //MISSING +RowCM : "Row", //MISSING +ColumnCM : "Column", //MISSING InsertRow : "Įterpti eilutę", DeleteRows : "Šalinti eilutes", InsertColumn : "Įterpti stulpelį", @@ -108,7 +113,7 @@ DeleteCells : "Šalinti langelius", MergeCells : "Sujungti langelius", SplitCell : "Skaidyti langelius", -TableDelete : "Delete Table", //MISSING +TableDelete : "Šalinti lentelę", CellProperties : "Langelio savybės", TableProperties : "Lentelės savybės", ImageProperties : "Vaizdo savybės", @@ -136,22 +141,22 @@ UnknownCommand : "Nežinomas komandos vardas \"%1\"", NotImplemented : "Komanda nėra įgyvendinta", UnknownToolbarSet : "Mygtukų juostos rinkinys \"%1\" neegzistuoja", -NoActiveX : "You 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 : "Jūsų naršyklės saugumo nuostatos gali riboti kai kurias redaktoriaus savybes. Jūs turite aktyvuoti opciją \"Run ActiveX controls and plug-ins\". Kitu atveju Jums bus pranešama apie klaidas ir trūkstamas savybes.", +BrowseServerBlocked : "Neįmanoma atidaryti naujo naršyklės lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.", +DialogBlocked : "Neįmanoma atidaryti dialogo lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Nutraukti", DlgBtnClose : "Uždaryti", DlgBtnBrowseServer : "Naršyti po serverį", DlgAdvancedTag : "Papildomas", -DlgOpOther : "<Kita>", +DlgOpOther : "", DlgInfoTab : "Informacija", DlgAlertUrl : "Prašome įrašyti URL", // General Dialogs Labels -DlgGenNotSet : "<nėra nustatyta>", +DlgGenNotSet : "", DlgGenId : "Id", DlgGenLangDir : "Teksto kryptis", DlgGenLangDirLtr : "Iš kairės į dešinę (LTR)", @@ -215,21 +220,21 @@ DlgLnkTypeAnchor : "Žymė šiame puslapyje", DlgLnkTypeEMail : "El.paštas", DlgLnkProto : "Protokolas", -DlgLnkProtoOther : "<kitas>", +DlgLnkProtoOther : "", 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>", DlgLnkEMail : "El.pašto adresas", DlgLnkEMailSubject : "Žinutės tema", DlgLnkEMailBody : "Žinutės turinys", DlgLnkUpload : "Siųsti", DlgLnkBtnUpload : "Siųsti į serverį", DlgLnkTarget : "Paskirties vieta", -DlgLnkTargetFrame : "<kadras>", -DlgLnkTargetPopup : "<išskleidžiamas langas>", +DlgLnkTargetFrame : "", +DlgLnkTargetPopup : "", DlgLnkTargetBlank : "Naujas langas (_blank)", DlgLnkTargetParent : "Pirminis langas (_parent)", DlgLnkTargetSelf : "Tas pats langas (_self)", @@ -283,7 +288,7 @@ DlgTableCellSpace : "Tarpas tarp langelių", DlgTableCellPad : "Trapas nuo langelio rėmo iki teksto", DlgTableCaption : "Antraštė", -DlgTableSummary : "Summary", //MISSING +DlgTableSummary : "Santrauka", // Table Cell Dialog DlgCellTitle : "Langelio savybės", @@ -339,7 +344,6 @@ DlgPasteRemoveStyles : "Pašalinti stilių nustatymus", DlgPasteCleanBox : "Trinti įvedimo lauką", - // Color Picker ColorAutomatic : "Automatinis", ColorMoreColors : "Daugiau spalvų...", @@ -422,7 +426,7 @@ NumberedListProp : "Numeruoto sąrašo savybės", DlgLstType : "Tipas", DlgLstTypeCircle : "Apskritimas", -DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeDisc : "Diskas", DlgLstTypeSquare : "Kvadratas", DlgLstTypeNumbers : "Skaičiai (1, 2, 3)", DlgLstTypeLCase : "Mažosios raidės (a, b, c)", @@ -475,6 +479,7 @@ // About Dialog 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" Index: lams_central/web/fckeditor/editor/lang/lv.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/lang/Attic/lv.js,v diff -u -r1.1 -r1.2 --- lams_central/web/fckeditor/editor/lang/lv.js 5 Jan 2006 00:02:25 -0000 1.1 +++ lams_central/web/fckeditor/editor/lang/lv.js 16 Aug 2006 06:05:51 -0000 1.2 @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for internet - * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * 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 @@ -15,6 +15,7 @@ * * File Authors: * Jānis Kļaviņš (janis@4id.lv) + * Slowmo (slowmo@inbox.lv) */ var FCKLang = @@ -38,8 +39,8 @@ SelectAll : "Iezīmēt visu", RemoveFormat : "Noņemt stilus", InsertLinkLbl : "Hipersaite", -InsertLink : "Ievietot/Labot Hipersaiti", -RemoveLink : "Noņemt Hipersaiti", +InsertLink : "Ievietot/Labot hipersaiti", +RemoveLink : "Noņemt hipersaiti", Anchor : "Ievietot/Labot iezīmi", InsertImageLbl : "Attēls", InsertImage : "Ievietot/Labot Attēlu", @@ -50,30 +51,30 @@ InsertLineLbl : "Atdalītājsvītra", InsertLine : "Ievietot horizontālu Atdalītājsvītru", InsertSpecialCharLbl: "Īpašs simbols", -InsertSpecialChar : "Ievietot Īpašu simbolu", +InsertSpecialChar : "Ievietot speciālo simbolu", InsertSmileyLbl : "Smaidiņi", -InsertSmiley : "Ievietot Smaidiņu", -About : "Īsumā par FCKeditor'u", +InsertSmiley : "Ievietot smaidiņu", +About : "Īsumā par FCKeditor", Bold : "Treknu šriftu", Italic : "Slīprakstā", Underline : "Apakšsvītra", StrikeThrough : "Pārsvītrots", Subscript : "Zemrakstā", Superscript : "Augšrakstā", -LeftJustify : "Nolīdzināt pa kreisi", -CenterJustify : "Nolīdzināt pret centru", -RightJustify : "Nolīdzināt pa labi", -BlockJustify : "Nolīdzināt malas", +LeftJustify : "Izlīdzināt pa kreisi", +CenterJustify : "Izlīdzināt pret centru", +RightJustify : "Izlīdzināt pa labi", +BlockJustify : "Izlīdzināt malas", DecreaseIndent : "Samazināt atkāpi", IncreaseIndent : "Palielināt atkāpi", Undo : "Atcelt", Redo : "Atkārtot", NumberedListLbl : "Numurēts saraksts", -NumberedList : "Ievietot/Noņemt Numurēto sarakstu", +NumberedList : "Ievietot/Noņemt numerēto sarakstu", BulletedListLbl : "Izcelts saraksts", -BulletedList : "Ievietot/Noņemt Izceltu sarakstu", -ShowTableBorders : "Parādīt Tabulas robežas", -ShowDetails : "Parādīt sīkāku info", +BulletedList : "Ievietot/Noņemt izceltu sarakstu", +ShowTableBorders : "Parādīt tabulas robežas", +ShowDetails : "Parādīt sīkāku informāciju", Style : "Stils", FontFormat : "Formāts", Font : "Šrifts", @@ -84,9 +85,9 @@ Find : "Meklēt", Replace : "Nomainīt", SpellCheck : "Pareizrakstības pārbaude", -UniversalKeyboard : "Universāla Klaviatūra", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING +UniversalKeyboard : "Universāla klaviatūra", +PageBreakLbl : "Lapas pārtraukums", +PageBreak : "Ievietot lapas pārtraukumu", Form : "Forma", Checkbox : "Atzīmēšanas kastīte", @@ -98,8 +99,13 @@ SelectionField : "Iezīmēšanas lauks", ImageButton : "Attēlpoga", +FitWindow : "Maksimizēt redaktora izmēru", + // Context Menu EditLink : "Labot hipersaiti", +CellCM : "Šūna", +RowCM : "Rinda", +ColumnCM : "Kolonna", InsertRow : "Ievietot rindu", DeleteRows : "Dzēst rindas", InsertColumn : "Ievietot kolonnu", @@ -108,7 +114,7 @@ DeleteCells : "Dzēst rūtiņas", MergeCells : "Apvienot rūtiņas", SplitCell : "Sadalīt rūtiņu", -TableDelete : "Delete Table", //MISSING +TableDelete : "Dzēst tabulu", CellProperties : "Rūtiņas īpašības", TableProperties : "Tabulas īpašības", ImageProperties : "Attēla īpašības", @@ -136,35 +142,35 @@ UnknownCommand : "Nezināmas darbības nosaukums \"%1\"", NotImplemented : "Darbība netika paveikta", UnknownToolbarSet : "Rīku joslas komplekts \"%1\" neeksistē", -NoActiveX : "Interneta pārlūkprogrammas drošības uzstādījumi varētu ietekmēt dažas no editora īpašībām. Jābūt aktivizētai sadaļai \"Run ActiveX controls and plug-ins\". Savādāk ir iespējamas kļūdas darbībā un kļūdu paziņojumu parādīšanās.", -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 : "Interneta pārlūkprogrammas drošības uzstādījumi varētu ietekmēt dažas no redaktora īpašībām. Jābūt aktivizētai sadaļai \"Run ActiveX controls and plug-ins\". Savādāk ir iespējamas kļūdas darbībā un kļūdu paziņojumu parādīšanās.", +BrowseServerBlocked : "Resursu pārlūks nevar tikt atvērts. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", +DialogBlocked : "Nav iespējams atvērt dialoglogu. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", // Dialogs DlgBtnOK : "Darīts!", DlgBtnCancel : "Atcelt", DlgBtnClose : "Aizvērt", DlgBtnBrowseServer : "Skatīt servera saturu", -DlgAdvancedTag : "Viedāk", -DlgOpOther : "<Cits>", +DlgAdvancedTag : "Izvērstais", +DlgOpOther : "", DlgInfoTab : "Informācija", -DlgAlertUrl : "Lūdzum ievietojiet Hipersaiti", +DlgAlertUrl : "Lūdzu, ievietojiet hipersaiti", // General Dialogs Labels -DlgGenNotSet : "<nav iestatīts>", +DlgGenNotSet : "