Index: lams_central/web/fckeditor/editor/_source/classes/fckcontextmenugroup.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckcontextmenugroup.js (.../fckcontextmenugroup.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckcontextmenugroup.js (.../fckcontextmenugroup.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcontextmenugroup.js * FCKContextMenuGroup Class: represents a group of items in the context * menu. Generaly a group of items is directly dependent of the same rules. Index: lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuitem.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuitem.js (.../fckcontextmenuitem.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuitem.js (.../fckcontextmenuitem.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcontextmenuitem.js * FCKContextMenuItem Class: represents a item in the context menu. * Index: lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuseparator.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuseparator.js (.../fckcontextmenuseparator.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckcontextmenuseparator.js (.../fckcontextmenuseparator.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcontextmenuseparator.js * FCKContextMenuSeparator Class: represents a separator in the toolbar. * Index: lams_central/web/fckeditor/editor/_source/classes/fckevents.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckevents.js (.../fckevents.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckevents.js (.../fckevents.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckevents.js * FCKEvents Class: used to handle events is a advanced way. * Index: lams_central/web/fckeditor/editor/_source/classes/fckpanel_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckpanel_gecko.js (.../fckpanel_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckpanel_gecko.js (.../fckpanel_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckpanel_gecko.js * FCKPanel Class: Creates and manages floating panels in Gecko Browsers. * @@ -45,7 +47,7 @@ FCKPanel.prototype.Create = function() { - this._IFrame = this.Window.document.body.appendChild( this.Window.document.createElement('iframe') ) ; + this._IFrame = this.Window.document.createElement('iframe') ; this._IFrame.src = 'about:blank' ; this._IFrame.frameBorder = '0'; this._IFrame.scrolling = 'no' ; @@ -59,6 +61,8 @@ this._IFrame.IsFCKPanel = true ; this._IFrame.Panel = this ; + this.Window.document.body.appendChild( this._IFrame ) ; + this.Document = this._IFrame.contentWindow.document ; // Initialize the IFRAME document body. Index: lams_central/web/fckeditor/editor/_source/classes/fckpanel_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckpanel_ie.js (.../fckpanel_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckpanel_ie.js (.../fckpanel_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckpanel_ie.js * FCKPanel Class: Creates and manages floating panels in IE Browsers. * Index: lams_central/web/fckeditor/editor/_source/classes/fckplugin.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckplugin.js (.../fckplugin.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckplugin.js (.../fckplugin.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckplugin.js * FCKPlugin Class: Represents a single plugin. * @@ -36,12 +38,14 @@ // Load the language file, if defined. if ( this.AvailableLangs.length > 0 ) { + var sLang ; + // Check if the plugin has the language file for the active language. if ( this.AvailableLangs.indexOf( FCKLanguageManager.ActiveLanguage.Code ) >= 0 ) - var sLang = FCKLanguageManager.ActiveLanguage.Code ; + sLang = FCKLanguageManager.ActiveLanguage.Code ; else // Load the default language file (first one) if the current one is not available. - var sLang = this.AvailableLangs[0] ; + sLang = this.AvailableLangs[0] ; // Add the main plugin script. FCKScriptLoader.AddScript( this.Path + 'lang/' + sLang + '.js' ) ; Index: lams_central/web/fckeditor/editor/_source/classes/fckspecialcombo.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckspecialcombo.js (.../fckspecialcombo.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckspecialcombo.js (.../fckspecialcombo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckspecialcombo.js * FCKSpecialCombo Class: represents a special combo. * @@ -21,9 +23,11 @@ this.FieldWidth = 80 ; this.PanelWidth = 130 ; this.PanelMaxHeight = 150 ; - this.Label = ' ' ; - this.Caption = caption ; - + this.Label = ' ' ; + this.Caption = caption ; + this.Tooltip = caption ; + this.Style = FCK_TOOLBARITEM_ICONTEXT ; + this.Enabled = true ; this.Items = new Object() ; @@ -129,8 +133,26 @@ this._OuterTable.insertRow(-1) ; - if ( this.Caption && this.Caption.length > 0 ) + var sClass ; + var bShowLabel ; + + switch ( this.Style ) { + case FCK_TOOLBARITEM_ONLYICON : + sClass = 'TB_ButtonType_Icon' ; + bShowLabel = false; + break ; + case FCK_TOOLBARITEM_ONLYTEXT : + sClass = 'TB_ButtonType_Text' ; + bShowLabel = false; + break ; + case FCK_TOOLBARITEM_ICONTEXT : + bShowLabel = true; + break ; + } + + if ( this.Caption && this.Caption.length > 0 && bShowLabel ) + { var oCaptionCell = this._OuterTable.rows[0].insertCell(-1) ; oCaptionCell.unselectable = 'on' ; oCaptionCell.innerHTML = this.Caption ; @@ -139,15 +161,34 @@ // Create the main DIV element. var oField = this._OuterTable.rows[0].insertCell(-1).appendChild( document.createElement( 'DIV' ) ) ; - oField.className = 'SC_Field' ; - oField.style.width = this.FieldWidth + 'px' ; - oField.innerHTML = '
 
' ; + if ( bShowLabel ) + { + oField.className = 'SC_Field' ; + oField.style.width = this.FieldWidth + 'px' ; + oField.innerHTML = '
 
' ; - this._LabelEl = oField.getElementsByTagName('label')[0] ; - this._LabelEl.innerHTML = this.Label ; + this._LabelEl = oField.getElementsByTagName('label')[0] ; + this._LabelEl.innerHTML = this.Label ; + } + else + { + oField.className = 'TB_Button_Off' ; + //oField.innerHTML = '' + this.Caption + '
 
' ; + oField.innerHTML = '
 
' ; + + // Gets the correct CSS class to use for the specified style (param). + oField.innerHTML ='' + + '' + + //'' + + '' + + '' + + '' + + '
' + this.Caption + '
' ; + } - /* Events Handlers */ + // Events Handlers + oField.SpecialCombo = this ; oField.onmouseover = FCKSpecialCombo_OnMouseOver ; @@ -158,12 +199,36 @@ function FCKSpecialCombo_OnMouseOver() { if ( this.SpecialCombo.Enabled ) - this.className = 'SC_Field SC_FieldOver' ; + { + switch ( this.SpecialCombo.Style ) + { + case FCK_TOOLBARITEM_ONLYICON : + this.className = 'TB_Button_On'; + break ; + case FCK_TOOLBARITEM_ONLYTEXT : + this.className = 'TB_Button_On'; + break ; + case FCK_TOOLBARITEM_ICONTEXT : + this.className = 'SC_Field SC_FieldOver' ; + break ; + } + } } function FCKSpecialCombo_OnMouseOut() { - this.className='SC_Field' ; + 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 ) @@ -178,20 +243,22 @@ if ( this.SpecialCombo.Enabled ) { + var oPanel = this.SpecialCombo._Panel ; + if ( typeof( this.SpecialCombo.OnBeforeClick ) == 'function' ) this.SpecialCombo.OnBeforeClick( this.SpecialCombo ) ; if ( this.SpecialCombo._ItemsHolderEl.offsetHeight > this.SpecialCombo.PanelMaxHeight ) - this.SpecialCombo._Panel.PanelDiv.style.height = this.SpecialCombo.PanelMaxHeight + 'px' ; + oPanel.PanelDiv.style.height = this.SpecialCombo.PanelMaxHeight + 'px' ; else - this.SpecialCombo._Panel.PanelDiv.style.height = this.SpecialCombo._ItemsHolderEl.offsetHeight + 'px' ; + oPanel.PanelDiv.style.height = this.SpecialCombo._ItemsHolderEl.offsetHeight + 'px' ; - this.SpecialCombo._Panel.PanelDiv.style.width = this.SpecialCombo.PanelWidth + 'px' ; + oPanel.PanelDiv.style.width = this.SpecialCombo.PanelWidth + 'px' ; if ( FCKBrowserInfo.IsGecko ) - this.SpecialCombo._Panel.PanelDiv.style.overflow = '-moz-scrollbars-vertical' ; + oPanel.PanelDiv.style.overflow = '-moz-scrollbars-vertical' ; - this.SpecialCombo._Panel.Show( 0, this.offsetHeight, this, null, this.SpecialCombo.PanelMaxHeight, true ) ; + oPanel.Show( 0, this.offsetHeight, this, null, this.SpecialCombo.PanelMaxHeight, true ) ; } return false ; Index: lams_central/web/fckeditor/editor/_source/classes/fckstyledef.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckstyledef.js (.../fckstyledef.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckstyledef.js (.../fckstyledef.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckstyledef.js * FCKStyleDef Class: represents a single stylke definition. * Index: lams_central/web/fckeditor/editor/_source/classes/fckstyledef_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckstyledef_gecko.js (.../fckstyledef_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckstyledef_gecko.js (.../fckstyledef_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckstyledef_gecko.js * FCKStyleDef Class: represents a single stylke definition. (Gecko specific) * Index: lams_central/web/fckeditor/editor/_source/classes/fckstyledef_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckstyledef_ie.js (.../fckstyledef_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckstyledef_ie.js (.../fckstyledef_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckstyledef_ie.js * FCKStyleDef Class: represents a single stylke definition. (IE specific) * Index: lams_central/web/fckeditor/editor/_source/classes/fckstylesloader.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckstylesloader.js (.../fckstylesloader.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckstylesloader.js (.../fckstylesloader.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckstylesloader.js * FCKStylesLoader Class: this class define objects that are responsible * for loading the styles defined in the XML file. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbar.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbar.js (.../fcktoolbar.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbar.js (.../fcktoolbar.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbar.js * FCKToolbar Class: represents a toolbar. A toolbar is not the complete * toolbar set visible, but just a strip on it... a group of items. @@ -20,25 +22,23 @@ { this.Items = new Array() ; - this.DOMTable = document.createElement( 'table' ) ; - this.DOMTable.className = 'TB_Toolbar' ; - with ( this.DOMTable ) - { - // Sets the toolbar direction. IE uses "styleFloat" and Gecko uses "cssFloat". - style.styleFloat = style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ; - - cellPadding = 0 ; - cellSpacing = 0 ; - border = 0 ; - } + var e = this.DOMTable = document.createElement( 'table' ) ; + e.className = 'TB_Toolbar' ; - this.DOMRow = this.DOMTable.insertRow(-1) ; + // Sets the toolbar direction. IE uses "styleFloat" and Gecko uses "cssFloat". + e.style.styleFloat = e.style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ; + e.cellPadding = 0 ; + e.cellSpacing = 0 ; + e.border = 0 ; + + this.DOMRow = e.insertRow(-1) ; + var oCell = this.DOMRow.insertCell(-1) ; oCell.className = 'TB_Start' ; oCell.innerHTML = '' ; - FCKToolbarSet.DOMElement.appendChild( this.DOMTable ) ; + FCKToolbarSet.DOMElement.appendChild( e ) ; } FCKToolbar.prototype.AddItem = function( toolbarItem ) Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js (.../fcktoolbarbreak_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js (.../fcktoolbarbreak_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarbreak_gecko.js * FCKToolbarBreak Class: breaks the toolbars. * It makes it possible to force the toolbar to brak to a new line. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js (.../fcktoolbarbreak_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js (.../fcktoolbarbreak_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarbreak_ie.js * FCKToolbarBreak Class: breaks the toolbars. * It makes it possible to force the toolbar to brak to a new line. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbutton.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbutton.js (.../fcktoolbarbutton.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarbutton.js (.../fcktoolbarbutton.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarbutton.js * FCKToolbarButton Class: represents a button in the toolbar. * Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js (.../fcktoolbarfontformatcombo.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js (.../fcktoolbarfontformatcombo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,16 +8,23 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarfontformatcombo.js * FCKToolbarPanelButton Class: Handles the Fonts combo selector. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarFontFormatCombo = function() +var FCKToolbarFontFormatCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'FontFormat' ) ; + this.Command = FCKCommands.GetCommand( 'FontFormat' ) ; + this.Label = this.GetLabel() ; + this.Tooltip = tooltip ? tooltip : this.Label ; + this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; + + this.PanelWidth = 190 ; } // Inherit from FCKToolbarSpecialCombo. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js (.../fcktoolbarfontscombo.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js (.../fcktoolbarfontscombo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,16 +8,21 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarfontscombo.js * FCKToolbarPanelButton Class: Handles the Fonts combo selector. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarFontsCombo = function() +var FCKToolbarFontsCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'FontName' ) ; + this.Command = FCKCommands.GetCommand( 'FontName' ) ; + this.Label = this.GetLabel() ; + this.Tooltip = tooltip ? tooltip : this.Label ; + this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; } // Inherit from FCKToolbarSpecialCombo. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js (.../fcktoolbarfontsizecombo.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js (.../fcktoolbarfontsizecombo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,16 +8,21 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarfontsizecombo.js * FCKToolbarPanelButton Class: Handles the Fonts combo selector. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarFontSizeCombo = function() +var FCKToolbarFontSizeCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'FontSize' ) ; + this.Command = FCKCommands.GetCommand( 'FontSize' ) ; + this.Label = this.GetLabel() ; + this.Tooltip = tooltip ? tooltip : this.Label ; + this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; } // Inherit from FCKToolbarSpecialCombo. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js (.../fcktoolbarpanelbutton.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js (.../fcktoolbarpanelbutton.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarpanelbutton.js * FCKToolbarPanelButton Class: represents a special button in the toolbar * that shows a panel when pressed. Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js (.../fcktoolbarspecialcombo.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js (.../fcktoolbarspecialcombo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarspecialcombo.js * FCKToolbarSpecialCombo Class: This is a "abstract" base class to be used * by the special combo toolbar elements like font name, font size, paragraph format, etc... @@ -36,10 +38,15 @@ FCKToolbarSpecialCombo.prototype.CreateInstance = function( parentToolbar ) { this._Combo = new FCKSpecialCombo( this.GetLabel() ) ; - this._Combo.FieldWidth = 100 ; - this._Combo.PanelWidth = 150 ; - this._Combo.PanelMaxHeight = 150 ; + this._Combo.FieldWidth = this.FieldWidth != null ? this.FieldWidth : 100 ; + this._Combo.PanelWidth = this.PanelWidth != null ? this.PanelWidth : 150 ; + this._Combo.PanelMaxHeight = this.PanelMaxHeight != null ? this.PanelMaxHeight : 150 ; + //this._Combo.Command.Name = this.Command.Name; +// this._Combo.Label = this.Label ; + this._Combo.Tooltip = this.Tooltip ; + this._Combo.Style = this.Style ; + this.CreateItems( this._Combo ) ; this._Combo.Create( parentToolbar.DOMRow.insertCell(-1) ) ; Index: lams_central/web/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js (.../fcktoolbarstylecombo.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js (.../fcktoolbarstylecombo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,16 +8,21 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarstylecombo.js * FCKToolbarPanelButton Class: Handles the Fonts combo selector. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -var FCKToolbarStyleCombo = function() +var FCKToolbarStyleCombo = function( tooltip, style ) { - this.Command = FCKCommands.GetCommand( 'Style' ) ; + this.Command = FCKCommands.GetCommand( 'Style' ) ; + this.Label = this.GetLabel() ; + this.Tooltip = tooltip ? tooltip : this.Label ; + this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; } // Inherit from FCKToolbarSpecialCombo. @@ -41,10 +46,13 @@ for ( var s in this.Command.Styles ) { var oStyle = this.Command.Styles[s] ; + var oItem ; + if ( oStyle.IsObjectElement ) - var oItem = targetSpecialCombo.AddItem( s, s ) ; + oItem = targetSpecialCombo.AddItem( s, s ) ; else - var oItem = targetSpecialCombo.AddItem( s, oStyle.GetOpenerTag() + s + oStyle.GetCloserTag() ) ; + oItem = targetSpecialCombo.AddItem( s, oStyle.GetOpenerTag() + s + oStyle.GetCloserTag() ) ; + oItem.Style = oStyle ; } } Index: lams_central/web/fckeditor/editor/_source/classes/fckxml_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckxml_gecko.js (.../fckxml_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckxml_gecko.js (.../fckxml_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckxml_gecko.js * FCKXml Class: class to load and manipulate XML files. * @@ -30,7 +32,7 @@ oXmlHttp.open( "GET", urlToCall, false ) ; oXmlHttp.send( null ) ; - if ( oXmlHttp.status == 200 ) + if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 ) this.DOMDocument = oXmlHttp.responseXML ; else if ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) this.DOMDocument = oXmlHttp.responseXML ; Index: lams_central/web/fckeditor/editor/_source/classes/fckxml_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/classes/fckxml_ie.js (.../fckxml_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/classes/fckxml_ie.js (.../fckxml_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckxml_ie.js * FCKXml Class: class to load and manipulate XML files. * (IE specific implementation) @@ -21,17 +23,27 @@ if ( !( FCKXml = NS.FCKXml ) ) { FCKXml = NS.FCKXml = function() - {} + { + this.Error = false ; + } FCKXml.prototype.LoadUrl = function( urlToCall ) { + this.Error = false ; + var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ; + if ( !oXmlHttp ) + { + this.Error = true ; + return ; + } + oXmlHttp.open( "GET", urlToCall, false ) ; oXmlHttp.send( null ) ; - if ( oXmlHttp.status == 200 ) + if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 ) this.DOMDocument = oXmlHttp.responseXML ; else if ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) { @@ -41,11 +53,17 @@ this.DOMDocument.loadXML( oXmlHttp.responseText ) ; } else + { + 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 @@ -54,6 +72,9 @@ FCKXml.prototype.SelectSingleNode = function( xpath, contextNode ) { + if ( this.Error ) + return ; + if ( contextNode ) return contextNode.selectSingleNode( xpath ) ; else Index: lams_central/web/fckeditor/editor/_source/commandclasses/fck_othercommands.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fck_othercommands.js (.../fck_othercommands.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fck_othercommands.js (.../fck_othercommands.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_othercommands.js * Definition of other commands that are not available internaly in the * browser (see FCKNamedCommand). @@ -175,8 +177,9 @@ { FCKUndo.SaveUndoStep() ; FCK.SetHTML( '' ) ; + FCKUndo.Typing = true ; // FCK.SetHTML( FCKBrowserInfo.IsGecko ? ' ' : '' ) ; -// FCK.SetHTML( FCKBrowserInfo.IsGecko ? '
' : '' ) ; +// FCK.SetHTML( FCKBrowserInfo.IsGecko ? GECKO_BOGUS : '' ) ; } FCKNewPageCommand.prototype.GetState = function() @@ -194,8 +197,8 @@ { if ( FCKBrowserInfo.IsGecko ) { - var iWidth = screen.width * 0.65 ; - var iHeight = screen.height * 0.65 ; + var iWidth = FCKConfig.ScreenWidth * 0.65 ; + var iHeight = FCKConfig.ScreenHeight * 0.65 ; FCKDialog.OpenDialog( 'FCKDialog_Source', FCKLang.Source, 'dialog/fck_source.html', iWidth, iHeight, null, null, true ) ; } else @@ -224,7 +227,7 @@ FCKUndoCommand.prototype.GetState = function() { if ( FCKBrowserInfo.IsIE ) - return ( FCKUndo.Typing || FCKUndo.CurrentIndex > 0 ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ) ; + return ( FCKUndo.CheckUndoState() ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ) ; else return FCK.GetNamedCommandState( 'Undo' ) ; } @@ -246,7 +249,27 @@ FCKRedoCommand.prototype.GetState = function() { if ( FCKBrowserInfo.IsIE ) - return ( !FCKUndo.Typing && FCKUndo.CurrentIndex < ( FCKUndo.SavedData.length - 1 ) ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ) ; + return ( FCKUndo.CheckRedoState() ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ) ; else return FCK.GetNamedCommandState( 'Redo' ) ; +} + +// ### Page Break +var FCKPageBreakCommand = function() +{ + this.Name = 'PageBreak' ; +} + +FCKPageBreakCommand.prototype.Execute = function() +{ + var oCenter = FCK.EditorDocument.createElement( 'CENTER' ) ; + oCenter.style.pageBreakAfter = 'always' ; + + var oFakeImage = FCKDocumentProcessors_CreateFakeImage( 'FCK__PageBreak', oCenter ) ; + oFakeImage = FCK.InsertElement( oFakeImage ) ; +} + +FCKPageBreakCommand.prototype.GetState = function() +{ + return 0 ; // FCK_TRISTATE_OFF } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/commandclasses/fcknamedcommand.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fcknamedcommand.js (.../fcknamedcommand.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fcknamedcommand.js (.../fcknamedcommand.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcknamedcommand.js * FCKNamedCommand Class: represents an internal browser command. * Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js (.../fckpasteplaintextcommand.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js (.../fckpasteplaintextcommand.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckpasteplaintextcommand.js * FCKPastePlainTextCommand Class: represents the * "Paste as Plain Text" command. Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js (.../fckpastewordcommand.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js (.../fckpastewordcommand.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckpastewordcommand.js * FCKPasteWordCommand Class: represents the "Paste from Word" command. * Index: lams_central/web/fckeditor/editor/_source/commandclasses/fckstylecommand.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fckstylecommand.js (.../fckstylecommand.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fckstylecommand.js (.../fckstylecommand.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckstylecommand.js * FCKStyleCommand Class: represents the "Style" command. * @@ -27,11 +29,15 @@ FCKStyleCommand.prototype.Execute = function( styleName, styleComboItem ) { + FCKUndo.SaveUndoStep() ; + if ( styleComboItem.Selected ) styleComboItem.Style.RemoveFromSelection() ; else styleComboItem.Style.ApplyToSelection() ; + FCKUndo.SaveUndoStep() ; + FCK.Focus() ; FCK.Events.FireEvent( "OnSelectionChange" ) ; @@ -44,13 +50,11 @@ if ( FCKSelection.GetType() == 'Control' ) { var e = FCKSelection.GetSelectedElement() ; - if ( e ) - return this.StylesLoader.StyleGroups[ e.tagName ] ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ; - else - FCK_TRISTATE_OFF ; + if ( e ) + return this.StylesLoader.StyleGroups[ e.tagName ] ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ; } - else - return FCK_TRISTATE_OFF ; + + return FCK_TRISTATE_OFF ; } FCKStyleCommand.prototype.GetActiveStyles = function() Index: lams_central/web/fckeditor/editor/_source/commandclasses/fcktablecommand.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fcktablecommand.js (.../fcktablecommand.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fcktablecommand.js (.../fcktablecommand.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktablecommand.js * FCKPastePlainTextCommand Class: represents the * "Paste as Plain Text" command. Index: lams_central/web/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js (.../fcktextcolorcommand.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js (.../fcktextcolorcommand.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktextcolorcommand.js * FCKTextColorCommand Class: represents the text color comand. It shows the * color selection panel. @@ -154,7 +156,7 @@ for ( var i = 0 ; i < 8 && iCounter < aColors.length ; i++, iCounter++ ) { - var oDiv = oRow.insertCell(-1).appendChild( CreateSelectionDiv() ) ; + oDiv = oRow.insertCell(-1).appendChild( CreateSelectionDiv() ) ; oDiv.Color = aColors[iCounter] ; oDiv.innerHTML = '
' ; @@ -164,10 +166,10 @@ } // Create the Row and the Cell for the "More Colors..." button. - var oCell = oTable.insertRow(-1).insertCell(-1) ; + oCell = oTable.insertRow(-1).insertCell(-1) ; oCell.colSpan = 8 ; - var oDiv = oCell.appendChild( CreateSelectionDiv() ) ; + oDiv = oCell.appendChild( CreateSelectionDiv() ) ; oDiv.innerHTML = '
' + FCKLang.ColorMoreColors + '
' ; oDiv.Command = this ; Index: lams_central/web/fckeditor/editor/_source/globals/fck_constants.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/globals/fck_constants.js (.../fck_constants.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/globals/fck_constants.js (.../fck_constants.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_constants.js * Defines some constants used by the editor. These constants are also * globally available in the page where the editor is placed. @@ -17,23 +19,23 @@ */ // Editor Instance Status. -FCK_STATUS_NOTLOADED = window.parent.FCK_STATUS_NOTLOADED = 0 ; -FCK_STATUS_ACTIVE = window.parent.FCK_STATUS_ACTIVE = 1 ; -FCK_STATUS_COMPLETE = window.parent.FCK_STATUS_COMPLETE = 2 ; +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. -FCK_TRISTATE_OFF = window.parent.FCK_TRISTATE_OFF = 0 ; -FCK_TRISTATE_ON = window.parent.FCK_TRISTATE_ON = 1 ; -FCK_TRISTATE_DISABLED = window.parent.FCK_TRISTATE_DISABLED = -1 ; +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. -FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -1000 ; +var FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -1000 ; // Toolbar Items Style. -FCK_TOOLBARITEM_ONLYICON = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 0 ; -FCK_TOOLBARITEM_ONLYTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 1 ; -FCK_TOOLBARITEM_ICONTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 2 ; +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 -FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ; -FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ; \ No newline at end of file +var FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ; +var FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ; \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/globals/fckeditorapi.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/globals/fckeditorapi.js (.../fckeditorapi.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/globals/fckeditorapi.js (.../fckeditorapi.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * 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. @@ -30,7 +32,7 @@ FCKeditorAPI.__Instances = new Object() ; // Set the current version. - FCKeditorAPI.Version = '2.0' ; + FCKeditorAPI.Version = '2.1.1' ; // Function used to get a instance of an existing editor present in the // page. Index: lams_central/web/fckeditor/editor/_source/internals/fck.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck.js (.../fck.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck.js (.../fck.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck.js * Creation and initialization of the "FCK" object. This is the main object * that represents an editor instance. @@ -26,10 +28,13 @@ // There is a bug on IE... getElementById returns any META tag that has the // name set to the ID you are looking for. So the best way in to get the array // by names and look for the correct one. +// As ASP.Net generates a ID that is different from the Name, we must also +// look for the field based on the ID. var aElements = window.parent.document.getElementsByName( FCK.Name ) ; +aElements[ aElements.length ] = window.parent.document.getElementById( FCK.Name ) ; var i = 0; -while ( FCK.LinkedField = aElements[i++] ) +while ( ( FCK.LinkedField = aElements[i++] ) ) { if ( FCK.LinkedField.tagName == 'INPUT' || FCK.LinkedField.tagName == 'TEXTAREA' ) break ; Index: lams_central/web/fckeditor/editor/_source/internals/fck_1.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_1.js (.../fck_1.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck_1.js (.../fck_1.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_1.js * This is the first part of the "FCK" object creation. This is the main * object that represents an editor instance. @@ -31,8 +33,8 @@ // The Base Path of the editor is saved to rebuild relative URL (IE issue). // this.BaseUrl = this.EditorDocument.location.protocol + '//' + this.EditorDocument.location.host ; - if ( FCKBrowserInfo.IsGecko ) - this.MakeEditable() ; +// if ( FCKBrowserInfo.IsGecko ) +// this.MakeEditable() ; // Set the editor's startup contents this.SetHTML( FCKTools.GetLinkedFieldValue() ) ; @@ -160,14 +162,16 @@ // if ( FCKBrowserInfo.IsIE ) // FCK.CheckRelativeLinks() ; + var sXHTML ; + if ( FCKConfig.FullPage ) - var sXHTML = FCKXHtml.GetXHTML( this.EditorDocument.getElementsByTagName( 'html' )[0], true, format ) ; + sXHTML = FCKXHtml.GetXHTML( this.EditorDocument.getElementsByTagName( 'html' )[0], true, format ) ; else { if ( FCKConfig.IgnoreEmptyParagraphValue && this.EditorDocument.body.innerHTML == '

 

' ) - var sXHTML = '' ; + sXHTML = '' ; else - var sXHTML = FCKXHtml.GetXHTML( this.EditorDocument.body, false, format ) ; + sXHTML = FCKXHtml.GetXHTML( this.EditorDocument.body, false, format ) ; } if ( bSource ) @@ -182,15 +186,17 @@ if ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 ) sXHTML = FCK.XmlDeclaration + '\n' + sXHTML ; - return sXHTML ; + return FCKConfig.ProtectedSource.Revert( sXHTML ) ; } FCK.UpdateLinkedField = function() { if ( FCKConfig.EnableXHTML ) - FCKTools.SetLinkedFieldValue( FCK.GetXHTML( FCKConfig.FormatOutput ) ) ; + FCK.LinkedField.value = FCK.GetXHTML( FCKConfig.FormatOutput ) ; else - FCKTools.SetLinkedFieldValue( FCK.GetHTML( FCKConfig.FormatOutput ) ) ; + FCK.LinkedField.value = FCK.GetHTML( FCKConfig.FormatOutput ) ; + + FCK.Events.FireEvent( 'OnAfterLinkedFieldUpdate' ) ; } FCK.ShowContextMenu = function( x, y ) @@ -220,7 +226,7 @@ FCK.OnAfterSetHTML = function() { var oProcessor, i = 0 ; - while( oProcessor = FCKDocumentProcessors[i++] ) + while( ( oProcessor = FCKDocumentProcessors[i++] ) ) oProcessor.ProcessDocument( FCK.EditorDocument ) ; this.Events.FireEvent( 'OnAfterSetHTML' ) ; @@ -264,6 +270,28 @@ FCKDocumentProcessors.addItem( FCKAnchorsProcessor ) ; +// Page Breaks +var FCKPageBreaksProcessor = new Object() ; +FCKPageBreaksProcessor.ProcessDocument = function( document ) +{ + 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 = FCKDocumentProcessors_CreateFakeImage( 'FCK__PageBreak', oCenter.cloneNode(true) ) ; + + oCenter.parentNode.insertBefore( oFakeImage, oCenter ) ; + oCenter.parentNode.removeChild( oCenter ) ; + } + } +} + +FCKDocumentProcessors.addItem( FCKPageBreaksProcessor ) ; + // Flash Embeds. var FCKFlashProcessor = new Object() ; FCKFlashProcessor.ProcessDocument = function( document ) @@ -321,4 +349,61 @@ } return e ; -} \ No newline at end of file +} + +// START iCM MODIFICATIONS +/* +var FCKTablesProcessor = new Object() ; +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 tag for the bold, italic and underline. - this.EditorWindow.document.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ; + // Tell Gecko to use or not the tag for the bold, italic and underline. + FCK.EditorDocument.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ; + } + catch (e) {} } FCK.Focus = function() @@ -126,8 +167,17 @@ 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 ) ; + // 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 @@ -138,7 +188,7 @@ { // Add the tag to the input HTML. if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( html ) ) - html = html.replace( FCKRegexLib.HeadCloser, FCK.TempBaseTag + '' ) ; + html = html.replace( FCKRegexLib.HeadOpener, '$&' + FCK.TempBaseTag ) ; html = html.replace( FCKRegexLib.HeadCloser, '' ) ; @@ -193,10 +243,9 @@ var sHtml = '' + '' + - '' ; + '' + + FCK.TempBaseTag ; - sHtml += FCK.TempBaseTag ; - this.EditorDocument.getElementsByTagName("HEAD")[0].innerHTML = sHtml ; this.InitializeBehaviors() ; @@ -208,17 +257,13 @@ // FCK.EditorDocument.designMode = 'off' ; if ( html.length == 0 ) - FCK.EditorDocument.body.innerHTML = '
' ; + FCK.EditorDocument.body.innerHTML = GECKO_BOGUS ; else if ( FCKRegexLib.EmptyParagraph.test( html ) ) - FCK.EditorDocument.body.innerHTML = html.replace( FCKRegexLib.TagBody, '>
<' ) ; + FCK.EditorDocument.body.innerHTML = html.replace( FCKRegexLib.TagBody, '>' + GECKO_BOGUS + '<' ) ; else FCK.EditorDocument.body.innerHTML = html ; - - // On Gecko we must set the desingMode on again after setting the BODY innerHTML. -// 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 ) ; + + FCK.MakeEditable() ; } FCK.OnAfterSetHTML() ; Index: lams_central/web/fckeditor/editor/_source/internals/fck_1_ie.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_1_ie.js (.../fck_1_ie.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck_1_ie.js (.../fck_1_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_1_ie.js * This is the first part of the "FCK" object creation. This is the main * object that represents an editor instance. @@ -23,31 +25,32 @@ // errors when using a differente BaseHref. FCK._BehaviorsStyle = '' ; -function Doc_OnMouseDown() +function Doc_OnMouseUp() { - FCK.Focus() ; - - FCK.EditorWindow.event.cancelBubble = true ; - FCK.EditorWindow.event.returnValue = false ; + if ( FCK.EditorWindow.event.srcElement.tagName == 'HTML' ) + { + FCK.Focus() ; + FCK.EditorWindow.event.cancelBubble = true ; + FCK.EditorWindow.event.returnValue = false ; + } } function Doc_OnPaste() @@ -70,34 +73,59 @@ { var e = FCK.EditorWindow.event ; - if ( e.keyCode == 13 && FCKConfig.UseBROnCarriageReturn ) // ENTER +// FCKDebug.Output( 'KeyCode: ' + e.keyCode ) ; + + switch ( e.keyCode ) { - if ( (e.ctrlKey || e.altKey || e.shiftKey) ) - return true ; - else - { - // We must ignore it if we are inside a List. - if ( FCK.EditorDocument.queryCommandState( 'InsertOrderedList' ) || FCK.EditorDocument.queryCommandState( 'InsertUnorderedList' ) ) - return true ; + case 13 : // ENTER + if ( FCKConfig.UseBROnCarriageReturn && !(e.ctrlKey || e.altKey || e.shiftKey) ) + { + Doc_OnKeyDownUndo() ; + + // We must ignore it if we are inside a List. + if ( FCK.EditorDocument.queryCommandState( 'InsertOrderedList' ) || FCK.EditorDocument.queryCommandState( 'InsertUnorderedList' ) ) + return true ; - // Insert the
(The   must be also inserted to make it work) - FCK.InsertHtml("
 ") ; + // Insert the
(The   must be also inserted to make it work) + FCK.InsertHtml( '
 ' ) ; - // Remove the   - var oRange = FCK.EditorDocument.selection.createRange() ; - oRange.moveStart('character',-1) ; - oRange.select() ; - FCK.EditorDocument.selection.clear() ; + // Remove the   + var oRange = FCK.EditorDocument.selection.createRange() ; + oRange.moveStart( 'character', -1 ) ; + oRange.select() ; + FCK.EditorDocument.selection.clear() ; - return false ; - } + return false ; + } + break ; + + case 9 : // TAB + if ( FCKConfig.TabSpaces > 0 && !(e.ctrlKey || e.altKey || e.shiftKey) ) + { + Doc_OnKeyDownUndo() ; + + FCK.InsertHtml( window.FCKTabHTML ) ; + return false ; + } + break ; + case 90 : // Z + if ( e.ctrlKey && !(e.altKey || e.shiftKey) ) + { + FCKUndo.Undo() ; + return false ; + } + break ; + case 89 : // Y + if ( e.ctrlKey && !(e.altKey || e.shiftKey) ) + { + FCKUndo.Redo() ; + return false ; + } + break ; } - else if ( e.keyCode == 9 && FCKConfig.TabSpaces > 0 && !(e.ctrlKey || e.altKey || e.shiftKey) ) // TAB - { - FCK.InsertHtml( window.FCKTabHTML ) ; - return false ; - } + if ( !( e.keyCode >=16 && e.keyCode <= 18 ) ) + Doc_OnKeyDownUndo() ; return true ; } @@ -134,31 +162,23 @@ { // Set the focus to the editable area when clicking in the document area. // TODO: The cursor must be positioned at the end. - this.EditorDocument.attachEvent( 'onmousedown', Doc_OnMouseDown ) ; - this.EditorDocument.attachEvent( 'onmouseup', Doc_OnMouseDown ) ; + this.EditorDocument.attachEvent( 'onmouseup', Doc_OnMouseUp ) ; // Intercept pasting operations this.EditorDocument.body.attachEvent( 'onpaste', Doc_OnPaste ) ; // Disable Right-Click and shows the context menu. this.EditorDocument.attachEvent('oncontextmenu', Doc_OnContextMenu ) ; - // Check if key strokes must be monitored. - if ( FCKConfig.UseBROnCarriageReturn || FCKConfig.TabSpaces > 0 ) + // Build the "TAB" key replacement (if necessary). + if ( FCKConfig.TabSpaces > 0 ) { - // Build the "TAB" key replacement. - if ( FCKConfig.TabSpaces > 0 ) - { - window.FCKTabHTML = '' ; - for ( i = 0 ; i < FCKConfig.TabSpaces ; i++ ) - window.FCKTabHTML += " " ; - } - - this.EditorDocument.attachEvent("onkeydown", Doc_OnKeyDown ) ; + window.FCKTabHTML = '' ; + for ( i = 0 ; i < FCKConfig.TabSpaces ; i++ ) + window.FCKTabHTML += " " ; } + this.EditorDocument.attachEvent("onkeydown", Doc_OnKeyDown ) ; - this.EditorDocument.attachEvent("onkeydown", Doc_OnKeyDownUndo ) ; - this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ; // Catch cursor movements @@ -184,11 +204,7 @@ { if ( forceWYSIWYG || FCK.EditMode == FCK_EDITMODE_WYSIWYG ) { - // TODO: Wait stable version and remove the following commented lines. - // In IE, if you do document.body.innerHTML = '


' it throws a "Unknow runtime error". - // To solve it we must add a fake (safe) tag before it, and then remove it. - // this.EditorDocument.body.innerHTML = '
 
' + html.replace( FCKRegexLib.AposEntity, ''' ) ; - // this.EditorDocument.getElementById('__fakeFCKRemove__').removeNode(true) ; + html = FCKConfig.ProtectedSource.Protect( html ) ; var sHtml ; @@ -201,7 +217,7 @@ if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( html ) ) sHtml += FCK.TempBaseTag ; - sHtml = html.replace( FCKRegexLib.HeadCloser, sHtml + '' ) ; + sHtml = html.replace( FCKRegexLib.HeadOpener, '$&' + sHtml ) ; } else { @@ -230,13 +246,6 @@ this.EditorDocument.body.contentEditable = true ; FCK.OnAfterSetHTML() ; - - // TODO: Wait stable version and remove the following commented lines. -// this.EditorDocument.body.innerHTML = '' ; -// if ( html && html.length > 0 ) -// this.EditorDocument.write( html ) ; - -// this.EditorDocument.dir = FCKConfig.ContentLangDirection ; } else document.getElementById('eSourceField').value = html ; @@ -257,4 +266,13 @@ // Inset the HTML. oSel.createRange().pasteHTML( html ) ; +} + +FCK.SetInnerHtml = function( html ) // IE Only +{ + var oDoc = FCK.EditorDocument ; + // Using the following trick, any comment in the begining of the HTML will + // be preserved. + oDoc.body.innerHTML = '
 
' + html ; + oDoc.getElementById('__fakeFCKRemove__').removeNode( true ) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fck_2.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_2.js (.../fck_2.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck_2.js (.../fck_2.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_2.js * This is the second part of the "FCK" object creation. This is the main * object that represents an editor instance. @@ -32,6 +34,8 @@ FCK.EditorDocument.execCommand( commandName, false, commandParameter ) ; FCK.Events.FireEvent( 'OnSelectionChange' ) ; } + + FCKUndo.SaveUndoStep() ; } FCK.GetNamedCommandState = function( commandName ) @@ -112,17 +116,17 @@ FCK.Preview = function() { - var iWidth = screen.width * 0.8 ; - var iHeight = screen.height * 0.7 ; - var iLeft = ( screen.width - iWidth ) / 2 ; + var iWidth = FCKConfig.ScreenWidth * 0.8 ; + var iHeight = FCKConfig.ScreenHeight * 0.7 ; + var iLeft = ( FCKConfig.ScreenWidth - iWidth ) / 2 ; var oWindow = window.open( '', null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + iWidth + ',height=' + iHeight + ',left=' + iLeft ) ; var sHTML ; if ( FCKConfig.FullPage ) { if ( FCK.TempBaseTag.length > 0 ) - sHTML = FCK.GetXHTML().replace( FCKRegexLib.HeadCloser, FCK.TempBaseTag + '' ) ; + sHTML = FCK.GetXHTML().replace( FCKRegexLib.HeadOpener, '$&' + FCK.TempBaseTag ) ; else sHTML = FCK.GetXHTML() ; } @@ -194,4 +198,5 @@ return aEls[i] ; } } + return null ; } Index: lams_central/web/fckeditor/editor/_source/internals/fck_2_gecko.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_2_gecko.js (.../fck_2_gecko.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck_2_gecko.js (.../fck_2_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_2_gecko.js * This is the second part of the "FCK" object creation. This is the main * object that represents an editor instance. @@ -36,7 +38,15 @@ Print : true, Paste : true, Cut : true, - Copy : true + Copy : true + // START iCM MODIFICATIONS + // Include list functions so we can ensure content is wrapped + // with P tags if not using BRs on carriage return, etc + /* + InsertOrderedList : true, + InsertUnorderedList : true + */ + // END iCM MODIFICATIONS } // ExecuteNamedCommand overload for Gecko. @@ -48,17 +58,45 @@ FCK.EditorWindow.print() ; break ; case 'Paste' : - try { if ( FCK.Paste() ) FCK._BaseExecuteNamedCommand( 'Paste' ) ; } + try { if ( FCK.Paste() ) FCK.ExecuteNamedCommand( 'Paste' ) ; } catch (e) { alert( FCKLang.PasteErrorPaste ) ; } break ; case 'Cut' : - try { FCK._BaseExecuteNamedCommand( 'Cut' ) ; } + try { FCK.ExecuteNamedCommand( 'Cut' ) ; } catch (e) { alert( FCKLang.PasteErrorCut ) ; } break ; case 'Copy' : - try { FCK._BaseExecuteNamedCommand( 'Copy' ) ; } + try { FCK.ExecuteNamedCommand( 'Copy' ) ; } catch (e) { alert( FCKLang.PasteErrorCopy ) ; } break ; + + // START iCM MODIFICATIONS + /* + case 'InsertOrderedList' : + case 'InsertUnorderedList' : + + if ( !FCKConfig.UseBROnCarriageReturn && FCK.EditorDocument.queryCommandState( commandName ) ) + { + // We're in a list item which is in the same type of list as the toolbar button clicked + // Therefore, move the selected list item out of the list as is done on an ENTER key within + // an empty list item. + var oSel = FCK.EditorWindow.getSelection() ; + var oSelNode = oSel.focusNode ; + var oLINode = FCKTools.GetElementAscensor( oSelNode, "LI" ) ; + FCK.ToggleListItem( oLINode, oSelNode ) ; + } + else + { + // Let the default handler do its stuff + FCK.Focus() ; + FCK.EditorDocument.execCommand( commandName, false, commandParameter ) ; + } + + FCK.Events.FireEvent( 'OnSelectionChange' ) ; + break ; + */ + // END iCM MODIFICATIONS + default : FCK.ExecuteNamedCommand( commandName, commandParameter ) ; } @@ -76,6 +114,7 @@ FCK.PasteAsPlainText() ; return false ; } +/* For now, the AutoDetectPasteFromWord feature is IE only. else if ( FCKConfig.AutoDetectPasteFromWord ) { var sHTML = FCK.GetClipboardHTML() ; @@ -89,6 +128,7 @@ } } } +*/ else return true ; } @@ -198,3 +238,232 @@ } } } + +// START iCM Modifications +/* +// Ensure that behaviour of the ENTER key or the list toolbar button works correctly for a list item. +// ENTER in empty list item at top of list should result in the empty list item being +// removed and selection being moved out of the list into a P tag above it. +// ENTER in empty list item at bottom of list should result in the empty list item being +// removed and selection being moved out of the list into a P tag below it. +// ENTER in empty list item in middle of the list should result in the list being split +// into two and the selection being moved into a P tag between the two resulting lists. +// Clicking the list toolbar button in a list item at top of list should result in the list item's contents being +// moved out of the list into a P tag above it. +// Clicking the list toolbar button in a list item at the bottom of list should result in the list item's contents being +// moved out of the list into a P tag below it. +// Clicking the list toolbar button in a list item in the middle of the list should result in the list being split +// into two and the list item's contents being moved into a P tag between the two resulting lists. +FCK.ToggleListItem = function( oLINode, oSelNode ) +{ + var oListNode = FCKTools.GetElementAscensor( oLINode, "UL,OL" ) ; + var oRange = FCK.EditorDocument.createRange() ; + + // Create a new block element + var oBlockNode = FCK.EditorDocument.createElement( "P" ) ; + oBlockNode.innerHTML = oLINode.innerHTML ; // Transfer any list item contents + if ( FCKTools.NodeIsEmpty( oBlockNode ) ) + oBlockNode.innerHTML = GECKO_BOGUS ; // Ensure it has some content, required for Gecko + if ( oLINode.className && oLINode.className != '' ) + oBlockNode.className = oLINode.className ; // Transfer across any class attribute + + var oCursorNode = oBlockNode ; + + // Then, perform list processing and locate the point at which the new P tag is to be inserted + if ( oListNode.childNodes[0] == oLINode ) + { + // First LI was empty so want to leave list and insert P above it + oListNode.removeChild( oLINode ); + // Need to insert a new P tag (or other suitable block element) just before the list + oRange.setStartBefore( oListNode ) ; + oRange.setEndBefore( oListNode ) ; + } + else if ( oListNode.childNodes[oListNode.childNodes.length-1] == oLINode ) + { + // Last LI was empty so want to leave list and insert new block element in the parent + oListNode.removeChild( oLINode ); + // Need to insert a new P tag (or other suitable block element) just after the list + oRange.setEndAfter( oListNode ) ; + oRange.setStartAfter( oListNode ) ; + } + else + { + // A middle LI was empty so want to break list into two and insert the new block/text node in between them + oListNode = FCKTools.SplitNode( oListNode, oSelNode, 0 ) ; + oListNode.removeChild( oListNode.childNodes[0] ) ; + oRange.setStartBefore( oListNode ) ; + oRange.setEndBefore( oListNode ) ; + } + + // Insert new block/text node + oRange.insertNode( oBlockNode ) ; + + // Ensure that we don't leave empty UL/OL tags behind + if ( oListNode.childNodes.length == 0 ) + oListNode.parentNode.removeChild( oListNode ) ; + + // Reset cursor position to start of the new P tag's contents ready for typing + FCK.Selection.SetCursorPosition( oCursorNode ) ; +} + +FCK.ListItemEnter = function( oLINode, oSelNode, nSelOffset ) +{ + // Ensure that behaviour of ENTER key within an empty list element works correctly. + // ENTER in empty list item at top of list should result in the empty list item being + // removed and selection being moved out of the list into a P tag above it. + // ENTER in empty list item at bottom of list should result in the empty list item being + // removed and selection being moved out of the list into a P tag below it. + // ENTER in empty list item in middle of the list should result in the list being split + // into two and the selection being moved into a P tag between the two resulting lists. + if ( FCKTools.NodeIsEmpty( oLINode ) ) + { + FCK.ToggleListItem( oLINode, oSelNode ) ; + return false ; // Job done, perform no default handling + } + + return true ; // If non-empty list item, let default handler do its stuff +} + +FCK.ListItemBackSpace = function( oSelNode, nSelOffset ) +{ + // Ensure that behaviour of BACKSPACE key within an empty list element works correctly. + // BACKSPACE in empty list item at top of list should result in the empty list item being + // removed and selection being moved out of the list into a P tag above it. + // Allow the default handler to do its stuff for backspace in other list elements. + var oListNode = oSelNode.parentNode ; + + if ( FCKTools.NodeIsEmpty( oSelNode ) && ( oListNode.childNodes[0] == oSelNode ) ) + { + var oRange = FCK.EditorDocument.createRange() ; + + // Create a new P element + var oBlockNode = FCK.EditorDocument.createElement( "P" ) ; + if ( FCKTools.NodeIsEmpty( oBlockNode ) ) + oBlockNode.innerHTML = GECKO_BOGUS ; // Ensure it has some content, required for Gecko + + // First LI was empty so want to leave list and insert P above it + oListNode.removeChild( oSelNode ); + oRange.setStartBefore( oListNode ) ; + oRange.setEndBefore( oListNode ) ; + + // Insert new P tag + oRange.insertNode( oBlockNode ) ; + + // Ensure that we don't leave empty UL/OL tags behind + if ( oListNode.childNodes.length == 0 ) + oListNode.parentNode.removeChild( oListNode ) ; + + // Reset cursor position to start of the new P tag's contents ready for typing + FCK.Selection.SetCursorPosition( oBlockNode ) ; + + return false ; // Job done, perform no default handling + } + + return true ; // Let default handler do its stuff if not backspacing in an empty first LI +} + +FCK.Enter = function() +{ + // Remove any selected content before we begin so we end up with a single selection point + FCK.Selection.Delete() ; + + // Determine the current cursor (selection) point, the node it's within and the offset + // position of the cursor within that node + var oSel = FCK.EditorWindow.getSelection() ; + var nSelOffset = oSel.focusOffset; + var oSelNode = oSel.focusNode ; + + // Guard against a null focus node. + if ( !oSelNode ) + return false ; + + var oLINode = FCKTools.GetElementAscensor( oSelNode, "LI" ) ; + + if ( oLINode ) // An LI element is selected + { + // Handle list items separately as need to handle termination of the list, etc + return FCK.ListItemEnter( oLINode, oSelNode, nSelOffset ) ; + } + else if ( oSelNode.nodeType == 3 ) // A TEXT node is selected + { + // Split it at the selection point and ensure both halves have a suitable enclosing block element + var oParentBlockNode = FCKTools.GetParentBlockNode( oSelNode ) ; + var oBlockNode2 = FCKTools.SplitNode( oParentBlockNode ? oParentBlockNode : FCK.EditorDocument.body, oSelNode, nSelOffset ) ; + + FCK.Selection.SetCursorPosition( oBlockNode2 ); + + return false ; + } + else // An ELEMENT node is selected + { + // Cater for ENTER being pressed after very last element in the editor e.g. pressing ENTER after table element at very end of the editor's content + if ( nSelOffset >= oSelNode.childNodes.length ) + { + var oBlockNode = FCK.EditorDocument.createElement( "P" ) ; + if ( FCKTools.NodeIsEmpty( oBlockNode ) ) + oBlockNode.innerHTML = GECKO_BOGUS ; // Ensure it has some content, required for Gecko + oSelNode.appendChild( oBlockNode ) ; + FCK.Selection.SetCursorPosition( oBlockNode ) ; + return false ; + } + + var oBlockNode2 = FCKTools.SplitNode( oSelNode, oSelNode.childNodes[nSelOffset] ) ; + + FCK.Selection.SetCursorPosition( oBlockNode2 ); + + return false ; + } + + return true ; +} + +FCK.BackSpace = function() +{ + var oSel = FCK.EditorWindow.getSelection() ; + var oSelNode = oSel.focusNode ; + var nSelOffset = oSel.focusOffset; + var oParentNode = null ; + + // Guard against a null focus node. + if ( !oSelNode ) + return false ; + + if ( oSelNode.nodeName.toUpperCase() == "LI" ) // An LI element is selected + { + // Handle list items separately as need to handle termination of the list, etc + return FCK.ListItemBackSpace( oSelNode, nSelOffset ) ; + } + else + { + // If we are anything other than a TEXT node, move to the child indicated by the selection offset + if ( oSelNode.nodeType != 3 ) + { + oSelNode = oSelNode.childNodes[nSelOffset] ; + nSelOffset = 0 ; + } + + // If we are the first child and the previous sibling of the parent is an empty block element (containing nothing or just the filler element) + // want the backspace to completely remove the empty block element + if ( !oSelNode.previousSibling && nSelOffset <= 0 ) + { + oParentNode = oSelNode.parentNode ; + + if ( oParentNode && oParentNode.previousSibling && FCKRegexLib.BlockElements.test( oParentNode.previousSibling.nodeName ) ) + { + if ( FCKTools.NodeIsEmpty( oParentNode.previousSibling ) ) + { + var oRange = FCK.EditorDocument.createRange() ; + oRange.selectNode ( oParentNode.previousSibling ); + oRange.deleteContents() ; + + // Don't do any default processing + return false ; + } + } + } + } + return true ; // Let default processing do its stuff +} +*/ +// END iCM Modifications + Index: lams_central/web/fckeditor/editor/_source/internals/fck_2_ie.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_2_ie.js (.../fck_2_ie.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck_2_ie.js (.../fck_2_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_2_ie.js * This is the second part of the "FCK" object creation. This is the main * object that represents an editor instance. Index: lams_central/web/fckeditor/editor/_source/internals/fck_last.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_last.js (.../fck_last.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fck_last.js (.../fck_last.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_last.js * These are the last script lines executed in the editor loading process. * @@ -25,6 +27,18 @@ if ( FCKConfig.ForcePasteAsPlainText ) FCK.Events.AttachEvent( "OnPaste", FCK.Paste ) ; +// START iCM Modifications +// Override default ENTER key handler for Gecko/Mozilla so +// it acts more like IE browsers. +/* +if ( FCKBrowserInfo.IsGecko && !FCKConfig.UseBROnCarriageReturn ) +{ + FCK.Events.AttachEvent( "OnEnter", FCK.Enter ) ; + FCK.Events.AttachEvent( "OnBackSpace", FCK.BackSpace ) ; +} +*/ +// END iCM Modifications + // Load Plugins. if ( FCKPlugins.ItemsCount > 0 ) { Index: lams_central/web/fckeditor/editor/_source/internals/fck_onload.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fck_onload.js (.../fck_onload.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fck_onload.js (.../fck_onload.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_onload.js * This is the script that is called when the editor page is loaded inside * its IFRAME. It's the editor startup. @@ -62,10 +64,10 @@ var d, e ; var j = 0 ; - while ( d = aCleanupDocs[j++] ) + while ( ( d = aCleanupDocs[j++] ) ) { var i = 0 ; - while ( e = d.getElementsByTagName("DIV").item(i++) ) + while ( ( e = d.getElementsByTagName("DIV").item(i++) ) ) { if ( e.FCKToolbarButton ) e.FCKToolbarButton = null ; @@ -78,7 +80,7 @@ } i = 0 ; - while ( e = d.getElementsByTagName("TR").item(i++) ) + while ( ( e = d.getElementsByTagName("TR").item(i++) ) ) { if ( e.FCKContextMenuItem ) e.FCKContextMenuItem = null ; @@ -176,22 +178,19 @@ // @Packager.Compactor.Remove.Start var sSuffix = FCKBrowserInfo.IsIE ? 'ie' : 'gecko' ; - with ( FCKScriptLoader ) - { - AddScript( '_source/internals/fckdebug.js' ) ; - AddScript( '_source/internals/fcktools.js' ) ; - AddScript( '_source/internals/fcktools_' + sSuffix + '.js' ) ; - AddScript( '_source/internals/fckregexlib.js' ) ; - AddScript( '_source/internals/fcklanguagemanager.js' ) ; - AddScript( '_source/classes/fckevents.js' ) ; - AddScript( '_source/internals/fckxhtmlentities.js' ) ; - AddScript( '_source/internals/fckxhtml.js' ) ; - AddScript( '_source/internals/fckxhtml_' + sSuffix + '.js' ) ; - AddScript( '_source/internals/fckcodeformatter.js' ) ; - AddScript( '_source/internals/fckundo_' + sSuffix + '.js' ) ; - AddScript( '_source/internals/fck_1.js' ) ; - AddScript( '_source/internals/fck_1_' + sSuffix + '.js' ) ; - } + FCKScriptLoader.AddScript( '_source/internals/fckdebug.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fcktools.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fcktools_' + sSuffix + '.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fckregexlib.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fcklanguagemanager.js' ) ; + FCKScriptLoader.AddScript( '_source/classes/fckevents.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fckxhtmlentities.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fckxhtml.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fckxhtml_' + sSuffix + '.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fckcodeformatter.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fckundo_' + sSuffix + '.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fck_1.js' ) ; + FCKScriptLoader.AddScript( '_source/internals/fck_1_' + sSuffix + '.js' ) ; // @Packager.Compactor.Remove.End /* @Packager.Compactor.RemoveLine Index: lams_central/web/fckeditor/editor/_source/internals/fckbrowserinfo.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckbrowserinfo.js (.../fckbrowserinfo.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckbrowserinfo.js (.../fckbrowserinfo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckbrowserinfo.js * Defines the FCKBrowserInfo object that hold some browser informations. * Index: lams_central/web/fckeditor/editor/_source/internals/fckcodeformatter.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckcodeformatter.js (.../fckcodeformatter.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckcodeformatter.js (.../fckcodeformatter.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcodeformatter.js * Format the HTML. * Index: lams_central/web/fckeditor/editor/_source/internals/fckcommands.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckcommands.js (.../fckcommands.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckcommands.js (.../fckcommands.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcommands.js * Define all commands available in the editor. * @@ -62,6 +64,7 @@ case 'Preview' : oCommand = new FCKPreviewCommand() ; break ; case 'Save' : oCommand = new FCKSaveCommand() ; break ; case 'NewPage' : oCommand = new FCKNewPageCommand() ; break ; + case 'PageBreak' : oCommand = new FCKPageBreakCommand() ; break ; case 'TextColor' : oCommand = new FCKTextColorCommand('ForeColor') ; break ; case 'BGColor' : oCommand = new FCKTextColorCommand('BackColor') ; break ; @@ -103,7 +106,7 @@ else { alert( FCKLang.UnknownCommand.replace( /%1/g, commandName ) ) ; - return ; + return null ; } } Index: lams_central/web/fckeditor/editor/_source/internals/fckconfig.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckconfig.js (.../fckconfig.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckconfig.js (.../fckconfig.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckconfig.js * Creates and initializes the FCKConfig object. * @@ -32,6 +34,19 @@ FCKConfig.EditorPath = FCKConfig.BasePath.replace( /editor\/$/, '' ) ; +// There is a bug in Gecko. If the editor is hidden on startup, an error is +// thrown when trying to get the screen dimentions. +try +{ + FCKConfig.ScreenWidth = screen.width ; + FCKConfig.ScreenHeight = screen.height ; +} +catch (e) +{ + FCKConfig.ScreenWidth = 800 ; + FCKConfig.ScreenHeight = 600 ; +} + // Override the actual configuration values with the values passed throw the // hidden field "___Config". FCKConfig.ProcessHiddenField = function() @@ -88,4 +103,48 @@ FCKConfig.Plugins.Add = function( name, langs, path ) { FCKConfig.Plugins.Items.addItem( [name, langs, path] ) ; -} \ No newline at end of file +} + +// FCKConfig.ProtectedSource: object that holds a collection of Regular +// Expressions that defined parts of the raw HTML that must remain untouched +// like custom tags, scripts, server side code, etc... +FCKConfig.ProtectedSource = new Object() ; +FCKConfig.ProtectedSource.RegexEntries = new Array() ; + +FCKConfig.ProtectedSource.Add = function( regexPattern ) +{ + this.RegexEntries.addItem( regexPattern ) ; +} + +FCKConfig.ProtectedSource.Protect = function( html ) +{ + function _Replace( protectedSource ) + { + var index = FCKTempBin.AddElement( protectedSource ) ; + return '' ; + } + + for ( var i = 0 ; i < this.RegexEntries.length ; i++ ) + { + html = html.replace( this.RegexEntries[i], _Replace ) ; + } + + return html ; +} + + +FCKConfig.ProtectedSource.Revert = function( html, clearBin ) +{ + function _Replace( m, opener, index ) + { + var protectedValue = clearBin ? FCKTempBin.RemoveElement( index ) : FCKTempBin.Elements[ index ] ; + // There could be protected source inside another one. + return FCKConfig.ProtectedSource.Revert( protectedValue, clearBin ) ; + } + + return html.replace( /(<|<)!--\{PS..(\d+)\}--(>|>)/g, _Replace ) ; +} + +// First of any other protection, we must protect all comments to avoid +// loosing them (of course, IE related). +FCKConfig.ProtectedSource.Add( //g ) ; \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu.js (.../fckcontextmenu.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu.js (.../fckcontextmenu.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcontextmenu.js * Defines the FCKContextMenu object that is responsible for all * Context Menu operations. @@ -60,46 +62,40 @@ case 'Generic' : // Generic items that are always available. oGroup = new FCKContextMenuGroup() ; - with ( oGroup ) - { - Add( new FCKContextMenuItem( this, 'Cut' , FCKLang.Cut , true ) ) ; - Add( new FCKContextMenuItem( this, 'Copy' , FCKLang.Copy , true ) ) ; - Add( new FCKContextMenuItem( this, 'Paste' , FCKLang.Paste , true ) ) ; - } + oGroup.Add( new FCKContextMenuItem( this, 'Cut' , FCKLang.Cut , true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'Copy' , FCKLang.Copy , true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'Paste' , FCKLang.Paste , true ) ) ; + break ; case 'Link' : oGroup = new FCKContextMenuGroup() ; - with ( oGroup ) - { - Add( new FCKContextMenuSeparator() ) ; - Add( new FCKContextMenuItem( this, 'Link' , FCKLang.EditLink , true ) ) ; - Add( new FCKContextMenuItem( this, 'Unlink' , FCKLang.RemoveLink, true ) ) ; - } + oGroup.Add( new FCKContextMenuSeparator() ) ; + oGroup.Add( new FCKContextMenuItem( this, 'Link' , FCKLang.EditLink , true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'Unlink' , FCKLang.RemoveLink, true ) ) ; + break ; case 'TableCell' : oGroup = new FCKContextMenuGroup() ; - with ( oGroup ) - { - Add( new FCKContextMenuSeparator() ) ; - Add( new FCKContextMenuItem( this, 'TableInsertRow' , FCKLang.InsertRow, true ) ) ; - Add( new FCKContextMenuItem( this, 'TableDeleteRows' , FCKLang.DeleteRows, true ) ) ; - Add( new FCKContextMenuSeparator() ) ; - Add( new FCKContextMenuItem( this, 'TableInsertColumn' , FCKLang.InsertColumn, true ) ) ; - Add( new FCKContextMenuItem( this, 'TableDeleteColumns' , FCKLang.DeleteColumns, true ) ) ; - Add( new FCKContextMenuSeparator() ) ; - Add( new FCKContextMenuItem( this, 'TableInsertCell' , FCKLang.InsertCell, true ) ) ; - Add( new FCKContextMenuItem( this, 'TableDeleteCells' , FCKLang.DeleteCells, true ) ) ; - Add( new FCKContextMenuItem( this, 'TableMergeCells' , FCKLang.MergeCells, true ) ) ; - Add( new FCKContextMenuItem( this, 'TableSplitCell' , FCKLang.SplitCell, true ) ) ; - Add( new FCKContextMenuSeparator() ) ; - Add( new FCKContextMenuItem( this, 'TableCellProp' , FCKLang.CellProperties, true ) ) ; - Add( new FCKContextMenuItem( this, 'TableProp' , FCKLang.TableProperties, true ) ) ; - } + oGroup.Add( new FCKContextMenuSeparator() ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableInsertRow' , FCKLang.InsertRow, true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableDeleteRows' , FCKLang.DeleteRows, true ) ) ; + oGroup.Add( new FCKContextMenuSeparator() ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableInsertColumn' , FCKLang.InsertColumn, true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableDeleteColumns' , FCKLang.DeleteColumns, true ) ) ; + oGroup.Add( new FCKContextMenuSeparator() ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableInsertCell' , FCKLang.InsertCell, true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableDeleteCells' , FCKLang.DeleteCells, true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableMergeCells' , FCKLang.MergeCells, true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableSplitCell' , FCKLang.SplitCell, true ) ) ; + oGroup.Add( new FCKContextMenuSeparator() ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableCellProp' , FCKLang.CellProperties, true ) ) ; + oGroup.Add( new FCKContextMenuItem( this, 'TableProp' , FCKLang.TableProperties, true ) ) ; + break ; case 'Table' : @@ -158,20 +154,19 @@ var sTagName ; if ( oTag ) - { sTagName = oTag.tagName ; - } // Set items visibility. // var bIsAnchor = ( sTagName == 'A' && oTag.name.length > 0 && oTag.href.length == 0 ) ; - if ( this.Groups['Link'] ) this.Groups['Link'].SetVisible( /*!bIsAnchor &&*/ FCK.GetNamedCommandState( 'Unlink' ) != FCK_TRISTATE_DISABLED ) ; +// if ( this.Groups['Link'] ) this.Groups['Link'].SetVisible( !bIsAnchor && FCK.GetNamedCommandState( 'Unlink' ) != FCK_TRISTATE_DISABLED ) ; + if ( this.Groups['Link'] ) this.Groups['Link'].SetVisible( FCK.GetNamedCommandState( 'Unlink' ) != FCK_TRISTATE_DISABLED ) ; if ( this.Groups['TableCell'] ) this.Groups['TableCell'].SetVisible( sTagName != 'TABLE' && FCKSelection.HasAncestorNode('TABLE') ) ; if ( this.Groups['Table'] ) this.Groups['Table'].SetVisible( sTagName == 'TABLE' ) ; - if ( this.Groups['Image'] ) this.Groups['Image'].SetVisible( sTagName == 'IMG' && !oTag.getAttribute('_fckflash') && !oTag.getAttribute('_fckanchor') ) ; + if ( this.Groups['Image'] ) this.Groups['Image'].SetVisible( sTagName == 'IMG' && !oTag.getAttribute('_fckfakelement') ) ; if ( this.Groups['Flash'] ) this.Groups['Flash'].SetVisible( sTagName == 'IMG' && oTag.getAttribute('_fckflash') ) ; if ( this.Groups['Anchor'] ) this.Groups['Anchor'].SetVisible( sTagName == 'IMG' && oTag.getAttribute('_fckanchor') ) ; Index: lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_gecko.js (.../fckcontextmenu_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_gecko.js (.../fckcontextmenu_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcontextmenu_gecko.js * Context Menu operations. (Gecko specific implementations) * Index: lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_ie.js (.../fckcontextmenu_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckcontextmenu_ie.js (.../fckcontextmenu_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcontextmenu_ie.js * Context Menu operations. (IE specific implementations) * Index: lams_central/web/fckeditor/editor/_source/internals/fckcoreextensions.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckcoreextensions.js (.../fckcoreextensions.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckcoreextensions.js (.../fckcoreextensions.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckcoreextensions.js * Some extensions to the Javascript Core. * Index: lams_central/web/fckeditor/editor/_source/internals/fckdebug.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckdebug.js (.../fckdebug.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckdebug.js (.../fckdebug.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckdebug.js * Debug window control and operations. * Index: lams_central/web/fckeditor/editor/_source/internals/fckdialog.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckdialog.js (.../fckdialog.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckdialog.js (.../fckdialog.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckdialog.js * Dialog windows operations. * Index: lams_central/web/fckeditor/editor/_source/internals/fckdialog_gecko.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckdialog_gecko.js (.../fckdialog_gecko.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckdialog_gecko.js (.../fckdialog_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckdialog_gecko.js * Dialog windows operations. (Gecko specific implementations) * @@ -17,8 +19,8 @@ FCKDialog.Show = function( dialogInfo, dialogName, pageUrl, dialogWidth, dialogHeight, parentWindow, resizable ) { - var iTop = (screen.height - dialogHeight) / 2 ; - var iLeft = (screen.width - dialogWidth) / 2 ; + var iTop = (FCKConfig.ScreenHeight - dialogHeight) / 2 ; + var iLeft = (FCKConfig.ScreenWidth - dialogWidth) / 2 ; var sOption = "location=no,menubar=no,toolbar=no,dependent=yes,dialog=yes,minimizable=no,modal=yes,alwaysRaised=yes" + ",resizable=" + ( resizable ? 'yes' : 'no' ) + @@ -65,13 +67,10 @@ // It is strange, but we have to check the FCKDialog existence to avoid a // random error: "FCKDialog is not defined". if ( typeof( FCKDialog ) != "object" ) - return ; + return false ; if ( FCKDialog.Window && !FCKDialog.Window.closed ) - { FCKDialog.Window.focus() ; - return false ; - } else { // Try/Catch must be used to avoit an error when using a frameset @@ -88,4 +87,5 @@ catch (e) {} } + return false ; } Index: lams_central/web/fckeditor/editor/_source/internals/fckdialog_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckdialog_ie.js (.../fckdialog_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckdialog_ie.js (.../fckdialog_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckdialog_ie.js * Dialog windows operations. (IE specific implementations) * Index: lams_central/web/fckeditor/editor/_source/internals/fcklanguagemanager.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcklanguagemanager.js (.../fcklanguagemanager.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fcklanguagemanager.js (.../fcklanguagemanager.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcklanguagemanager.js * Defines the FCKLanguageManager object that is used for language * operations. @@ -55,17 +57,17 @@ FCKLanguageManager.TranslateElements = function( targetDocument, tag, propertyToSet ) { - var aInputs = targetDocument.getElementsByTagName(tag) ; + var e = targetDocument.getElementsByTagName(tag) ; - for ( var i = 0 ; i < aInputs.length ; i++ ) + for ( var i = 0 ; i < e.length ; i++ ) { - var sKey = aInputs[i].getAttribute( 'fckLang' ) ; + var sKey = e[i].getAttribute( 'fckLang' ) ; if ( sKey ) { var s = FCKLang[ sKey ] ; if ( s ) - eval( 'aInputs[i].' + propertyToSet + ' = s' ) ; + eval( 'e[i].' + propertyToSet + ' = s' ) ; } } } Index: lams_central/web/fckeditor/editor/_source/internals/fcknamespace.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcknamespace.js (.../fcknamespace.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fcknamespace.js (.../fcknamespace.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcknamespace.js * This file declares the namespace (object holder) where the common editor * objects and classes are defined. Index: lams_central/web/fckeditor/editor/_source/internals/fckplugins.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckplugins.js (.../fckplugins.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckplugins.js (.../fckplugins.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckplugins.js * Defines the FCKPlugins object that is responsible for loading the Plugins. * Index: lams_central/web/fckeditor/editor/_source/internals/fckregexlib.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckregexlib.js (.../fckregexlib.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckregexlib.js (.../fckregexlib.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckregexlib.js * These are some Regular Expresions used by the editor. * @@ -23,7 +25,13 @@ // Used by the Styles combo to identify styles that can't be applied to text. FCKRegexLib.ObjectElements = /^(?:IMG|TABLE|TR|TD|INPUT|SELECT|TEXTAREA|HR|OBJECT)$/i ; +// START iCM MODIFICATIONS +// Added TABLE and CAPTION to the block elements for ENTER key handling // Block Elements. +/* +FCKRegexLib.BlockElements = /^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TD|TABLE|CAPTION)$/i ; +*/ +// END iCM MODIFICATIONS FCKRegexLib.BlockElements = /^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TD)$/i ; // Elements marked as empty "Empty" in the XHTML DTD. @@ -42,6 +50,7 @@ FCKRegexLib.HasBaseTag = /]*>/i ; FCKRegexLib.HeadCloser = /<\/head\s*>/i ; FCKRegexLib.TableBorderClass = /\s*FCK__ShowTableBorders\s*/ ; @@ -57,4 +66,27 @@ FCKRegexLib.EmptyParagraph = /^<(p|div)>\s*<\/\1>$/i ; -FCKRegexLib.TagBody = />]*>\s*<\/\1>/gi ; +*/ +// END iCM MODIFICATIONS + +FCKRegexLib.StrongOpener = /])/gi ; +FCKRegexLib.StrongCloser = /<\/STRONG>/gi ; +FCKRegexLib.EmOpener = /])/gi ; +FCKRegexLib.EmCloser = /<\/EM>/gi ; + +FCKRegexLib.GeckoEntitiesMarker = /#\?-\:/g ; Index: lams_central/web/fckeditor/editor/_source/internals/fckscriptloader.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckscriptloader.js (.../fckscriptloader.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckscriptloader.js (.../fckscriptloader.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckscriptloader.js * Defines the FCKScriptLoader object that is used to dynamically load * scripts in the editor. Index: lams_central/web/fckeditor/editor/_source/internals/fckselection.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckselection.js (.../fckselection.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckselection.js (.../fckselection.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckselection.js * Active selection functions. * Index: lams_central/web/fckeditor/editor/_source/internals/fckselection_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckselection_gecko.js (.../fckselection_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckselection_gecko.js (.../fckselection_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckselection_gecko.js * Active selection functions. (Gecko specific implementation) * @@ -99,7 +101,7 @@ while ( oContainer ) { - if ( oContainer.tagName == nodeTagName ) return true ; + if ( oContainer.nodeType == 1 && oContainer.tagName == nodeTagName ) return true ; oContainer = oContainer.parentNode ; } @@ -117,9 +119,11 @@ while ( oContainer ) { - if ( oContainer.tagName == nodeTagName ) return oContainer ; + if ( oContainer.tagName == nodeTagName ) + return oContainer ; oContainer = oContainer.parentNode ; } + return null ; } FCKSelection.Delete = function() @@ -134,4 +138,27 @@ } return oSel ; -} \ No newline at end of file +} +// START iCM MODIFICATIONS +/* +// Move the cursor position (the selection point) to a specific offset within a specific node +// If no offset specified, the start of the node is assumed +FCKSelection.SetCursorPosition = function ( oNode, nOffset ) +{ + if ( typeof nOffset == "undefined" ) nOffset = 0 ; + + var oSel = FCK.EditorWindow.getSelection() ; + var oRange = FCK.EditorDocument.createRange() ; + + oRange.setStart( oNode, nOffset ) ; + oRange.collapse( true ) ; + + oSel.removeAllRanges() ; + oSel.addRange( oRange ); + + if ( oNode.scrollIntoView ) + oNode.scrollIntoView( false ); +} +*/ +// END iCM MODIFICATIONS + Index: lams_central/web/fckeditor/editor/_source/internals/fckselection_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckselection_ie.js (.../fckselection_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckselection_ie.js (.../fckselection_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckselection_ie.js * Active selection functions. (IE specific implementation) * @@ -36,10 +38,15 @@ FCKSelection.GetParentElement = function() { - if ( this.GetType() == 'Control' ) - return FCKSelection.GetSelectedElement().parentElement ; - else - return FCK.EditorDocument.selection.createRange().parentElement() ; + switch ( this.GetType() ) + { + case 'Control' : + return FCKSelection.GetSelectedElement().parentElement ; + case 'None' : + return ; + default : + return FCK.EditorDocument.selection.createRange().parentElement() ; + } } FCKSelection.SelectNode = function( node ) @@ -124,4 +131,20 @@ } return oSel ; -} \ No newline at end of file +} +// START iCM Modifications +/* +// Move the cursor position (the selection point) to a specific offset within a specific node +// If no offset specified, the start of the node is assumed +FCKSelection.SetCursorPosition = function ( oNode, nOffset ) +{ + if ( typeof nOffset == "undefined" ) nOffset = 0 ; + + FCK.Selection.SelectNode( oNode ) ; // Doesn't handle offsets currently but offset always zero at mo + FCK.Selection.Collapse( true ) ; + + oNode.scrollIntoView( false ); +} +*/ +// END iCM Modifications + Index: lams_central/web/fckeditor/editor/_source/internals/fcktablehandler.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktablehandler.js (.../fcktablehandler.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fcktablehandler.js (.../fcktablehandler.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktablehandler.js * Manage table operations. * @@ -71,6 +73,9 @@ { // Get the cell where the selection is placed in. var oCell = FCKSelection.MoveToAncestorNode("TD") ; + if ( !oCell ) + oCell = FCKSelection.MoveToAncestorNode("TH") ; + if ( !oCell ) return ; // Get the cell's table. @@ -89,26 +94,19 @@ if ( oRow.cells.length < iIndex ) continue ; - // Create the new cell element to be added. - oCell = FCK.EditorDocument.createElement('TD') ; + oCell = oRow.cells[iIndex-1].cloneNode(false) ; + if ( FCKBrowserInfo.IsGecko ) - oCell.innerHTML = '
' ; -// oCell.innerHTML = ' ' ; + oCell.innerHTML = FCKBrowserInfo.IsGecko ? GECKO_BOGUS : '' ; // Get the cell that is placed in the new cell place. var oBaseCell = oRow.cells[iIndex] ; // If the cell is available (we are not in the last cell of the row). if ( oBaseCell ) - { - // Insert the new cell just before of it. - oRow.insertBefore( oCell, oBaseCell ) ; - } + oRow.insertBefore( oCell, oBaseCell ) ; // Insert the new cell just before of it. else - { - // Append the cell at the end of the row. - oRow.appendChild( oCell ) ; - } + oRow.appendChild( oCell ) ; // Append the cell at the end of the row. } } @@ -154,7 +152,7 @@ // Create the new cell element to be added. var oNewCell = FCK.EditorDocument.createElement("TD"); if ( FCKBrowserInfo.IsGecko ) - oNewCell.innerHTML = '
' ; + oNewCell.innerHTML = GECKO_BOGUS ; // oNewCell.innerHTML = " " ; // If it is the last cell in the row. @@ -264,7 +262,7 @@ FCKTableHandler._GetCellIndexSpan = function( tableMap, rowIndex, cell ) { if ( tableMap.length < rowIndex + 1 ) - return ; + return null ; var oRow = tableMap[ rowIndex ] ; @@ -273,6 +271,8 @@ if ( oRow[c] == cell ) return c ; } + + return null ; } // Get the cells available in a collumn of a TableMap. @@ -350,7 +350,7 @@ for ( var i = 0 ; i < aCells.length ; i++ ) { if ( FCKBrowserInfo.IsGecko ) - aCells[i].innerHTML = '
' ; + aCells[i].innerHTML = GECKO_BOGUS ; else aCells[i].innerHTML = '' ; } Index: lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_gecko.js (.../fcktablehandler_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_gecko.js (.../fcktablehandler_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktablehandler_gecko.js * Manage table operations (IE specific). * Index: lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_ie.js (.../fcktablehandler_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fcktablehandler_ie.js (.../fcktablehandler_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktablehandler_ie.js * Manage table operations (IE specific). * Index: lams_central/web/fckeditor/editor/_source/internals/fcktoolbaritems.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktoolbaritems.js (.../fcktoolbaritems.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fcktoolbaritems.js (.../fcktoolbaritems.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbaritems.js * Toolbar items definitions. * @@ -73,6 +75,7 @@ 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 'Rule' : oItem = new FCKToolbarButton( 'InsertHorizontalRule', FCKLang.InsertLineLbl, FCKLang.InsertLine, null, false, true ) ; break ; @@ -105,7 +108,7 @@ default: alert( FCKLang.UnknownToolbarItem.replace( /%1/g, itemName ) ) ; - return ; + return null ; } FCKToolbarItems.LoadedItems[ itemName ] = oItem ; Index: lams_central/web/fckeditor/editor/_source/internals/fcktoolbarset.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktoolbarset.js (.../fcktoolbarset.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fcktoolbarset.js (.../fcktoolbarset.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktoolbarset.js * Defines the FCKToolbarSet object that is used to load and draw the * toolbar. @@ -92,7 +94,7 @@ } else { - var oToolbar = new FCKToolbar() ; + oToolbar = new FCKToolbar() ; for ( var j = 0 ; j < oToolbarItems.length ; j++ ) { Index: lams_central/web/fckeditor/editor/_source/internals/fcktools.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktools.js (.../fcktools.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fcktools.js (.../fcktools.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktools.js * Utility functions. * @@ -28,19 +30,6 @@ } //** -// FCKTools.SetLinkedFieldValue: Sets 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. -FCKTools.SetLinkedFieldValue = function( value ) -{ - if ( FCKConfig.FormatOutput ) - FCK.LinkedField.value = FCKCodeFormatter.Format( value ) ; - else - FCK.LinkedField.value = 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. @@ -183,18 +172,25 @@ return c ; } -FCKTools.GetElementAscensor = function( element, ascensorTagName ) +// 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 ) { - var e = element.parentNode ; +// var e = element.parentNode ; + var e = element ; + var lstTags = "," + ascensorTagNames.toUpperCase() + "," ; while ( e ) { - if ( e.nodeName == ascensorTagName ) + if ( lstTags.indexOf( "," + e.nodeName.toUpperCase() + "," ) != -1 ) return e ; e = e.parentNode ; } + return null ; } +// END iCM MODIFICATIONS FCKTools.Pause = function( miliseconds ) { @@ -216,4 +212,75 @@ FCKTools.ConvertHtmlSizeToStyle = function( size ) { return size.endsWith( '%' ) ? size : ( size + 'px' ) ; -} \ No newline at end of file +} +// START iCM MODIFICATIONS +/* +// Transfers the supplied attributes to the supplied node +FCKTools.SetElementAttributes = function( oElement, oAttributes ) +{ + for ( var i = 0; i < oAttributes.length; i++ ) + { + 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 ) ; + } +} + +// 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 ) +{ + 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 ) + { + if ( ( oSibling.nodeType != 1 && oSibling.nodeType != 3 ) || ( oSibling.nodeType == 1 && oSibling.nodeName.toUpperCase() != "BR" ) || ( oSibling.nodeType == 3 && oSibling.nodeValue && oSibling.nodeValue.trim() != '' ) ) + return false ; + + oSibling = oSibling.nextSibling ; + } + + return true ; +} + +// 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 ; +} +*/ +// END iCM MODIFICATIONS Index: lams_central/web/fckeditor/editor/_source/internals/fcktools_gecko.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktools_gecko.js (.../fcktools_gecko.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fcktools_gecko.js (.../fcktools_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,13 +8,18 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktools_gecko.js * Utility functions. (Gecko version). * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ +// Constant for the Gecko Bogus Node. +var GECKO_BOGUS = '
' ; + // Appends a CSS file to a document. FCKTools.AppendStyleSheet = function( documentElement, cssFileUrl ) { @@ -83,4 +88,167 @@ case 'DOMDocument' : return document.implementation.createDocument( '', '', null ) ; } -} \ No newline at end of file + return null ; +} +// START iCM Modifications +/* +// Starting at the specified node, find the first inline node of the sequence +// For example, assume we have the following elements :

Some text some more text and some link yet some more text

+// If the "some link" text node is the one specified, then the "Some text" text node will be the first inline node returned. +FCKTools.GetFirstInlineNode = function( oNode ) +{ + if ( FCKRegexLib.BlockElements.test( oNode.nodeName ) ) + return oNode ; + else if ( oNode.previousSibling && !FCKRegexLib.BlockElements.test( oNode.previousSibling.nodeName ) ) + return FCKTools.GetFirstInlineNode( oNode.previousSibling ) ; + else if ( oNode.parentNode && !FCKRegexLib.BlockElements.test( oNode.parentNode.nodeName ) && oNode.parentNode.nodeName.toUpperCase() != "BODY" ) + return FCKTools.GetFirstInlineNode( oNode.parentNode ) ; + else + return oNode ; +} + +// Starting at the specified node, find the last inline node of the sequence +// For example, assume we have the following elements :

Some text some more text and some link yet some more text

+// If the "some link" text node is the one specified, then the " yet some more text" text node will be the last inline node returned. +FCKTools.GetLastInlineNode = function( oNode ) +{ + if ( FCKRegexLib.BlockElements.test( oNode.nodeName ) ) + return oNode ; + else if ( oNode.nextSibling && !FCKRegexLib.BlockElements.test( oNode.nextSibling.nodeName ) ) + return FCKTools.GetLastInlineNode( oNode.nextSibling ) ; + else if ( oNode.parentNode && !FCKRegexLib.BlockElements.test( oNode.parentNode.nodeName ) && oNode.parentNode.nodeName.toUpperCase() != "BODY" ) + return FCKTools.GetLastInlineNode( oNode.parentNode ) ; + else + return oNode ; +} + + +// Split the supplied parent at the specified child and (optionally) offset. +// Ensure that enclosing block elements are created where missing but that existing +// block elements (table for example) don't get incorrectly nested. +FCKTools.SplitNode = function( oParentBlockNode, oChildNode, nOffset ) +{ + if ( typeof nOffset == "undefined" ) nOffset = 0 ; + + var oFragment = FCK.EditorDocument.createDocumentFragment() ; + var oRange = FCK.EditorDocument.createRange() ; + + if ( FCKRegexLib.ListElements.test( oParentBlockNode.nodeName ) ) + { + // Treat OL/UL parents differently as want to split at the specified + // child LI node to create to OL/UL lists. + oStartNode = oParentBlockNode.firstChild ; + oEndNode = oParentBlockNode.lastChild ; + } + else + { + // Locate the inline nodes adjacent to the specified child node so that these can + // be kept together. + oStartNode = FCKTools.GetFirstInlineNode( oChildNode ) ; + oEndNode = FCKTools.GetLastInlineNode( oChildNode ) ; + } + + // Create a new tag which holds the content of the affected node(s) located before (but not including) the child node and offset + if ( FCKRegexLib.BlockElements.test( oStartNode.nodeName ) && !FCKRegexLib.ListElements.test( oParentBlockNode.nodeName ) ) + { + // First element of the bunch is already a block element so we don't want to wrap it with a new block element. + // Just use this first node provided it is not the same as the last node (to prevent duplication), otherwise + // create a new empty P element. + if ( oStartNode != oEndNode ) + { + oBlockNode1 = oStartNode.cloneNode( true ) ; + } + else + { + oBlockNode1 = FCK.EditorDocument.createElement( "P" ) ; + oBlockNode1.innerHTML = GECKO_BOGUS ; + + if ( !FCKRegexLib.SpecialBlockElements.test( oParentBlockNode.nodeName ) ) + FCKTools.SetElementAttributes( oBlockNode1, oParentBlockNode.attributes ) ; // Transfer across any class attributes, etc + } + } + else + { + // First element of the bunch is not a block element (or it is a LI element which is a special case). + // So ensure all of the inline nodes before the selection are wrapped with a suitable block element. + var oBlockNode1 = FCK.EditorDocument.createElement( FCKRegexLib.SpecialBlockElements.test( oParentBlockNode.nodeName ) ? "P" : oParentBlockNode.tagName ) ; + oRange.setStartBefore( oStartNode ) ; + if ( nOffset == 0 ) + oRange.setEndBefore( oChildNode ) ; + else + oRange.setEnd( oChildNode, nOffset ) ; + oBlockNode1.appendChild( oRange.cloneContents() ) ; + oBlockNode1.innerHTML = oBlockNode1.innerHTML.replace(/[\x00-\x1F]/g, "") ; // Prevent any control characters returned within the innerHTML from causing problems + if ( FCKTools.NodeIsEmpty( oBlockNode1 ) ) + oBlockNode1.innerHTML = GECKO_BOGUS ; // Ensure it has some content, required for Gecko + else + oBlockNode1.innerHTML = oBlockNode1.innerHTML.replace( FCKRegexLib.EmptyElement, "" ) ; // Strip out any empty tags that may have been generated by the split + if ( !FCKRegexLib.SpecialBlockElements.test( oParentBlockNode.nodeName ) ) + FCKTools.SetElementAttributes( oBlockNode1, oParentBlockNode.attributes ) ; // Transfer across any class attributes, etc + } + + // Create a new tag which holds the content of the affected node(s) located after (and including) the child node + if ( FCKRegexLib.BlockElements.test( oEndNode.nodeName ) && !FCKRegexLib.ListElements.test( oParentBlockNode.nodeName ) ) + { + // Last element of the bunch is already a block element so we don't want to wrap it with a new block element. + oBlockNode2 = oEndNode.cloneNode( true ) ; + } + else + { + // Last element of the bunch is not a block element (or it is a LI element which is a special case). + // So ensure all of the inline nodes after and including the child/offset are wrapped with a suitable block element. + var oBlockNode2 = FCK.EditorDocument.createElement( FCKRegexLib.SpecialBlockElements.test( oParentBlockNode.nodeName ) ? "P" : oParentBlockNode.tagName ); + oRange.setEndAfter( oEndNode ); + if ( nOffset == 0 ) + oRange.setStartBefore( oChildNode ) ; + else + oRange.setStart( oChildNode, nOffset ); + oBlockNode2.appendChild( oRange.cloneContents() ) ; + oBlockNode2.innerHTML = oBlockNode2.innerHTML.replace(/[\x00-\x1F]/g, "") ; // Prevent any control characters returned within the innerHTML from causing problems + if ( FCKTools.NodeIsEmpty( oBlockNode2 ) ) + oBlockNode2.innerHTML = GECKO_BOGUS ; // Ensure it has some content, required for Gecko + else + oBlockNode2.innerHTML = oBlockNode2.innerHTML.replace( FCKRegexLib.EmptyElement, "" ) ; // Strip out any empty tags that may have been generated by the split + if ( !FCKRegexLib.SpecialBlockElements.test( oParentBlockNode.nodeName ) ) + FCKTools.SetElementAttributes( oBlockNode2, oParentBlockNode.attributes ) ; // Transfer across any class attributes, etc + } + + // Insert the resulting nodes into a document fragment + oFragment.appendChild( oBlockNode1 ); + oFragment.appendChild( oBlockNode2 ); + + // Replace the affected nodes with the new nodes (fragment) + FCKTools.ReplaceNodes( oParentBlockNode, oStartNode, oEndNode, oFragment ) ; + + // Return the second node so it can be used for setting cursor position, etc + return oBlockNode2 ; +} + +// Function that replaces the specified range of nodes (inclusive) within the supplied parent +// with the nodes stored in the supplied document fragment. +FCKTools.ReplaceNodes = function( oParentBlockNode, oStartNode, oEndNode, oFragment ) +{ + var oRange = FCK.EditorDocument.createRange() ; + + // Delete the affected node(s) + if ( !FCKRegexLib.SpecialBlockElements.test( oParentBlockNode.nodeName ) && (oParentBlockNode.firstChild == oStartNode) && (oParentBlockNode.lastChild == oEndNode) ) + { + // Entire parent block node is to be replaced so insert the two new block elements before it + // and then remove the old node + oRange.selectNode ( oParentBlockNode ); + } + else + { + // Only part of the parent block node is to be replaced so insert the two new block elements + // before the first inline node of the affected content and then remove the old nodes + oRange.setEndAfter( oEndNode ) ; + oRange.setStartBefore( oStartNode ) ; + } + + // Insert the replacement nodes + oRange.deleteContents() ; + oRange.insertNode( oFragment ) ; +} +*/ +// END iCM Modifications + Index: lams_central/web/fckeditor/editor/_source/internals/fcktools_ie.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fcktools_ie.js (.../fcktools_ie.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fcktools_ie.js (.../fcktools_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcktools_ie.js * Utility functions. (IE version). * @@ -63,6 +65,13 @@ for ( var i = 0 ; i < 2 ; i++ ) { try { return new ActiveXObject( aObjs[i] ) ; } - catch (e) {} + catch (e) + {} } + + if ( FCKLang.NoActiveX ) + { + alert( FCKLang.NoActiveX ) ; + FCKLang.NoActiveX = null ; + } } \ No newline at end of file Index: lams_central/web/fckeditor/editor/_source/internals/fckundo_ie.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckundo_ie.js (.../fckundo_ie.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckundo_ie.js (.../fckundo_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -35,9 +35,19 @@ FCK.Events.FireEvent( "OnSelectionChange" ) ; } +FCKUndo.CheckUndoState = function() +{ + return ( FCKUndo.Typing || FCKUndo.CurrentIndex > 0 ) ; +} + +FCKUndo.CheckRedoState = function() +{ + return ( !FCKUndo.Typing && FCKUndo.CurrentIndex < ( FCKUndo.SavedData.length - 1 ) ) ; +} + FCKUndo.Undo = function() { - if ( FCKUndo.CurrentIndex >= 0 ) + if ( FCKUndo.CheckUndoState() ) { // If it is the first step. if ( FCKUndo.CurrentIndex == ( FCKUndo.SavedData.length - 1 ) ) @@ -55,7 +65,7 @@ FCKUndo.Redo = function() { - if ( FCKUndo.CurrentIndex < ( FCKUndo.SavedData.length - 1 ) ) + if ( FCKUndo.CheckRedoState() ) { // Go a step forward. FCKUndo._ApplyUndoLevel( ++FCKUndo.CurrentIndex ) ; @@ -67,9 +77,13 @@ FCKUndo._ApplyUndoLevel = function(level) { var oData = FCKUndo.SavedData[ level ] ; + + if ( !oData ) + return ; // Update the editor contents with that step data. - FCK.EditorDocument.body.innerHTML = oData[0] ; + FCK.SetInnerHtml( oData[0] ) ; +// FCK.EditorDocument.body.innerHTML = oData[0] ; if ( oData[1] ) { Index: lams_central/web/fckeditor/editor/_source/internals/fckurlparams.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckurlparams.js (.../fckurlparams.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckurlparams.js (.../fckurlparams.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckurlparams.js * Defines the FCKURLParams object that is used to get all parameters * passed by the URL QueryString (after the "?"). @@ -20,7 +22,7 @@ var FCKURLParams = new Object() ; var aParams = document.location.search.substr(1).split('&') ; -for ( i = 0 ; i < aParams.length ; i++ ) +for ( var i = 0 ; i < aParams.length ; i++ ) { var aParam = aParams[i].split('=') ; var sParamName = aParam[0] ; Index: lams_central/web/fckeditor/editor/_source/internals/fckxhtml.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckxhtml.js (.../fckxhtml.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckxhtml.js (.../fckxhtml.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckxhtml.js * Defines the FCKXHtml object, responsible for the XHTML operations. * @@ -146,7 +148,7 @@ // The already processed nodes must be marked to avoid then to be duplicated (bad formatted HTML). // So here, the "mark" is checked... if the element is Ok, then mark it. - if ( htmlNode._fckxhtmljob == FCKXHtml.CurrentJobNum ) + if ( htmlNode._fckxhtmljob && htmlNode._fckxhtmljob == FCKXHtml.CurrentJobNum ) return false ; else htmlNode._fckxhtmljob = FCKXHtml.CurrentJobNum ; @@ -156,8 +158,8 @@ // if ( sNodeName.length == 0 || sNodeName.substr(0,1) == '/' ) // break ; - var oNode = this.XML.createElement( sNodeName ) ; - + var oNode = this._CreateNode( sNodeName ) ; + // Add all attributes. FCKXHtml._AppendAttributes( xmlNode, htmlNode, oNode, sNodeName ) ; @@ -183,7 +185,8 @@ // Comment case 8 : - xmlNode.appendChild( this.XML.createComment( htmlNode.nodeValue ) ) ; + try { xmlNode.appendChild( this.XML.createComment( htmlNode.nodeValue ) ) ; } + catch (e) { /* Do nothing... probably this is a wrong format comment. */ } break ; // Unknown Node type. @@ -194,14 +197,38 @@ return true ; } +if ( FCKConfig.ForceStrongEm ) +{ + FCKXHtml._CreateNode = function( nodeName ) + { + switch ( nodeName ) + { + case 'b' : + nodeName = 'strong' ; + break ; + case 'i' : + nodeName = 'em' ; + break ; + } + return this.XML.createElement( nodeName ) ; + } +} +else +{ + FCKXHtml._CreateNode = function( 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 ) ; } -if ( FCKConfig.ProcessHTMLEntities ) -{ +//if ( FCKConfig.ProcessHTMLEntities ) +//{ FCKXHtml._AppendTextNode = function( targetNode, textValue ) { // We can't just replace the special chars with entities and create a @@ -226,14 +253,14 @@ } } } -} -else -{ - FCKXHtml._AppendTextNode = function( targetNode, textValue ) - { - targetNode.appendChild( this.XML.createTextNode( textValue ) ) ; - } -} +//} +//else +//{ +// FCKXHtml._AppendTextNode = function( targetNode, textValue ) +// { +// targetNode.appendChild( this.XML.createTextNode( textValue ) ) ; +// } +//} // An object that hold tag specific operations. FCKXHtml.TagProcessors = new Object() ; Index: lams_central/web/fckeditor/editor/_source/internals/fckxhtml_gecko.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckxhtml_gecko.js (.../fckxhtml_gecko.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckxhtml_gecko.js (.../fckxhtml_gecko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckxhtml_gecko.js * Defines the FCKXHtml object, responsible for the XHTML operations. * Gecko specific. @@ -21,15 +23,10 @@ // Create the XMLSerializer. var oSerializer = new XMLSerializer() ; - if ( FCKConfig.ProcessHTMLEntities ) - { - // Return the serialized XML as a string. - // Due to a BUG on Gecko, the special chars sequence "#?-:" must be replaced with "&" - // for the XHTML entities. - return oSerializer.serializeToString( this.MainNode ).replace( FCKXHtmlEntities.GeckoEntitiesMarkerRegex, '&' ) ; - } - else - return oSerializer.serializeToString( this.MainNode ) ; + // Return the serialized XML as a string. + // Due to a BUG on Gecko, the special chars sequence "#?-:" must be replaced with "&" + // for the XHTML entities. + return oSerializer.serializeToString( this.MainNode ).replace( FCKRegexLib.GeckoEntitiesMarker, '&' ) ; } // There is a BUG on Gecko... createEntityReference returns null. @@ -50,6 +47,7 @@ if ( oAttribute.specified ) { var sAttName = oAttribute.nodeName.toLowerCase() ; + var sAttValue ; // The "_fckxhtmljob" attribute is used to mark the already processed elements. if ( sAttName == '_fckxhtmljob' ) @@ -60,12 +58,12 @@ // There are one cases (on Gecko) when the oAttribute.nodeValue must be used: // - for the "class" attribute else if ( sAttName == 'class' ) - var sAttValue = oAttribute.nodeValue ; + sAttValue = oAttribute.nodeValue ; // XHTML doens't support attribute minimization like "CHECKED". It must be trasformed to cheched="checked". else if ( oAttribute.nodeValue === true ) sAttValue = sAttName ; else - var sAttValue = htmlNode.getAttribute( sAttName, 2 ) ; // We must use getAttribute to get it exactly as it is defined. + sAttValue = htmlNode.getAttribute( sAttName, 2 ) ; // We must use getAttribute to get it exactly as it is defined. if ( FCKConfig.ForceSimpleAmpersand && sAttValue.replace ) sAttValue = sAttValue.replace( /&/g, '___FCKAmp___' ) ; Index: lams_central/web/fckeditor/editor/_source/internals/fckxhtml_ie.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckxhtml_ie.js (.../fckxhtml_ie.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/_source/internals/fckxhtml_ie.js (.../fckxhtml_ie.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckxhtml_ie.js * Defines the FCKXHtml object, responsible for the XHTML operations. * IE specific. Index: lams_central/web/fckeditor/editor/_source/internals/fckxhtmlentities.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/_source/internals/fckxhtmlentities.js (.../fckxhtmlentities.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/_source/internals/fckxhtmlentities.js (.../fckxhtmlentities.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,17 +8,19 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckxhtmlentities.js * This file define the HTML entities handled by the editor. * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ +var FCKXHtmlEntities = new Object() ; + if ( FCKConfig.ProcessHTMLEntities ) { - FCKXHtmlEntities = new Object(); - FCKXHtmlEntities.Entities = { // Latin-1 Entities ' ':'nbsp', @@ -311,6 +313,10 @@ // Create and Compile the Regex used to separate the entities from the text. FCKXHtmlEntities.EntitiesRegex = new RegExp('','') ; FCKXHtmlEntities.EntitiesRegex.compile( '[' + FCKXHtmlEntities.Chars + ']|[^' + FCKXHtmlEntities.Chars + ']+', 'g' ) ; - - FCKXHtmlEntities.GeckoEntitiesMarkerRegex = /#\?-\:/g ; +} +else +{ + // Even if we are not processing the entities, we must respect the  . + FCKXHtmlEntities.Entities = { ' ':'nbsp' } ; + FCKXHtmlEntities.EntitiesRegex = /[ ]|[^ ]+/g ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/css/fck_editorarea.css =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/css/fck_editorarea.css (.../fck_editorarea.css) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/css/fck_editorarea.css (.../fck_editorarea.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_editorarea.css * This is the default CSS file used by the editor area. It defines the * initial font of the editor and background color. Index: lams_central/web/fckeditor/editor/css/fck_internal.css =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/css/fck_internal.css (.../fck_internal.css) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/css/fck_internal.css (.../fck_internal.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_internal.css * This CSS Style Sheet defines rules used by the editor for its internal use. * @@ -43,4 +45,20 @@ background-repeat: no-repeat; width: 16px ; height: 15px ; +} + +.FCK__PageBreak +{ + background-position: center center; + background-image: url(images/fck_pagebreak.gif); + background-repeat: no-repeat; + clear: both; + display: block; + float: none; + width: 100%; + border-top: #999999 1px dotted; + border-bottom: #999999 1px dotted; + border-right:0px; + border-left:0px; + height: 5px; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/css/fck_showtableborders_gecko.css =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/css/fck_showtableborders_gecko.css (.../fck_showtableborders_gecko.css) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/css/fck_showtableborders_gecko.css (.../fck_showtableborders_gecko.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_showtableborders_gecko.css * This CSS Style Sheet defines the rules to show table borders on Gecko. * Index: lams_central/web/fckeditor/editor/css/images/fck_pagebreak.gif =================================================================== diff -u Binary files differ Index: lams_central/web/fckeditor/editor/dialog/common/fck_dialog_common.css =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/common/fck_dialog_common.css (.../fck_dialog_common.css) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/common/fck_dialog_common.css (.../fck_dialog_common.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_dialog_common.css * This is the CSS file used for interface details in some dialog * windows. @@ -74,5 +76,5 @@ .FCK__FieldNumeric { - behavior: url(fcknumericfield.htc) ; + behavior: url(common/fcknumericfield.htc) ; } \ No newline at end of file Index: lams_central/web/fckeditor/editor/dialog/common/fck_dialog_common.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/common/fck_dialog_common.js (.../fck_dialog_common.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/common/fck_dialog_common.js (.../fck_dialog_common.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_dialog_common.js * Useful functions used by almost all dialog window pages. * Index: lams_central/web/fckeditor/editor/dialog/common/fcknumericfield.htc =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/common/fcknumericfield.htc (.../fcknumericfield.htc) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/common/fcknumericfield.htc (.../fcknumericfield.htc) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -2,7 +2,7 @@ Index: lams_central/web/fckeditor/editor/dialog/fck_about/lgpl.html =================================================================== diff -u --- lams_central/web/fckeditor/editor/dialog/fck_about/lgpl.html (revision 0) +++ lams_central/web/fckeditor/editor/dialog/fck_about/lgpl.html (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,434 @@ + + + + GNU Lesser General Public License + + + + +

GNU Lesser General Public License

+ +

Version 2.1, February 1999

+
+

Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite + 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute + verbatim copies of this license document, but changing it is not allowed.

+

[This is the first released version of the Lesser GPL. It also counts as the + successor of the GNU Library Public License, version 2, hence the version + number 2.1.]

+
+

Preamble

+

The licenses for most software are designed to take away your freedom to share + and change it. By contrast, the GNU General Public Licenses are intended to + guarantee your freedom to share and change free software--to make sure the + software is free for all its users. +

+

This license, the Lesser General Public License, applies to some specially + designated software packages--typically libraries--of the Free Software + Foundation and other authors who decide to use it. You can use it too, but we + suggest you first think carefully about whether this license or the ordinary + General Public License is the better strategy to use in any particular case, + based on the explanations below. +

+

When we speak of free software, we are referring to freedom of use, not price. + Our General Public Licenses are designed to make sure that you have the freedom + to distribute copies of free software (and charge for this service if you + wish); that you receive source code or can get it if you want it; that you can + change the software and use pieces of it in new free programs; and that you are + informed that you can do these things.

+

To protect your rights, we need to make restrictions that forbid distributors to + deny you these rights or to ask you to surrender these rights. These + restrictions translate to certain responsibilities for you if you distribute + copies of the library or if you modify it. +

+

For example, if you distribute copies of the library, whether gratis or for a + fee, you must give the recipients all the rights that we gave you. You must + make sure that they, too, receive or can get the source code. If you link other + code with the library, you must provide complete object files to the + recipients, so that they can relink them with the library after making changes + to the library and recompiling it. And you must show them these terms so they + know their rights. +

+

We protect your rights with a two-step method: (1) we copyright the library, and + (2) we offer you this license, which gives you legal permission to copy, + distribute and/or modify the library. +

+

To protect each distributor, we want to make it very clear that there is no + warranty for the free library. Also, if the library is modified by someone else + and passed on, the recipients should know that what they have is not the + original version, so that the original author's reputation will not be affected + by problems that might be introduced by others. +

+

Finally, software patents pose a constant threat to the existence of any free + program. We wish to make sure that a company cannot effectively restrict the + users of a free program by obtaining a restrictive license from a patent + holder. Therefore, we insist that any patent license obtained for a version of + the library must be consistent with the full freedom of use specified in this + license. +

+

Most GNU software, including some libraries, is covered by the ordinary GNU + General Public License. This license, the GNU Lesser General Public License, + applies to certain designated libraries, and is quite different from the + ordinary General Public License. We use this license for certain libraries in + order to permit linking those libraries into non-free programs. +

+

When a program is linked with a library, whether statically or using a shared + library, the combination of the two is legally speaking a combined work, a + derivative of the original library. The ordinary General Public License + therefore permits such linking only if the entire combination fits its criteria + of freedom. The Lesser General Public License permits more lax criteria for + linking other code with the library. +

+

We call this license the "Lesser" General Public License because it does Less to + protect the user's freedom than the ordinary General Public License. It also + provides other free software developers Less of an advantage over competing + non-free programs. These disadvantages are the reason we use the ordinary + General Public License for many libraries. However, the Lesser license provides + advantages in certain special circumstances. +

+

For example, on rare occasions, there may be a special need to encourage the + widest possible use of a certain library, so that it becomes a de-facto + standard. To achieve this, non-free programs must be allowed to use the + library. A more frequent case is that a free library does the same job as + widely used non-free libraries. In this case, there is little to gain by + limiting the free library to free software only, so we use the Lesser General + Public License. +

+

In other cases, permission to use a particular library in non-free programs + enables a greater number of people to use a large body of free software. For + example, permission to use the GNU C Library in non-free programs enables many + more people to use the whole GNU operating system, as well as its variant, the + GNU/Linux operating system. +

+

Although the Lesser General Public License is Less protective of the users' + freedom, it does ensure that the user of a program that is linked with the + Library has the freedom and the wherewithal to run that program using a + modified version of the Library. +

+

The precise terms and conditions for copying, distribution and modification + follow. Pay close attention to the difference between a "work based on the + library" and a "work that uses the library". The former contains code derived + from the library, whereas the latter must be combined with the library in order + to run. +

+

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

+

0. This License Agreement applies to any software library or + other program which contains a notice placed by the copyright holder or other + authorized party saying it may be distributed under the terms of this Lesser + General Public License (also called "this License"). Each licensee is addressed + as "you".

+

A "library" means a collection of software functions and/or data prepared so as + to be conveniently linked with application programs (which use some of those + functions and data) to form executables. +

+

The "Library", below, refers to any such software library or work which has been + distributed under these terms. A "work based on the Library" means either the + Library or any derivative work under copyright law: that is to say, a work + containing the Library or a portion of it, either verbatim or with + modifications and/or translated straightforwardly into another language. + (Hereinafter, translation is included without limitation in the term + "modification".) +

+

"Source code" for a work means the preferred form of the work for making + modifications to it. For a library, complete source code means all the source + code for all modules it contains, plus any associated interface definition + files, plus the scripts used to control compilation and installation of the + library.

+

Activities other than copying, distribution and modification are not covered by + this License; they are outside its scope. The act of running a program using + the Library is not restricted, and output from such a program is covered only + if its contents constitute a work based on the Library (independent of the use + of the Library in a tool for writing it). Whether that is true depends on what + the Library does and what the program that uses the Library does. +

+

1. You may copy and distribute verbatim copies of the Library's + complete source code as you receive it, in any medium, provided that you + conspicuously and appropriately publish on each copy an appropriate copyright + notice and disclaimer of warranty; keep intact all the notices that refer to + this License and to the absence of any warranty; and distribute a copy of this + License along with the Library. +

+

You may charge a fee for the physical act of transferring a copy, and you may at + your option offer warranty protection in exchange for a fee. +

+

2. You may modify your copy or copies of the Library or any + portion of it, thus forming a work based on the Library, and copy and + distribute such modifications or work under the terms of Section 1 above, + provided that you also meet all of these conditions: +

+
+

a) The modified work must itself be a software library. +

+

b) You must cause the files modified to carry prominent notices stating that you + changed the files and the date of any change.

+

c) You must cause the whole of the work to be licensed at no charge to all third + parties under the terms of this License. +

+

d) If a facility in the modified Library refers to a function or a table of data + to be supplied by an application program that uses the facility, other than as + an argument passed when the facility is invoked, then you must make a good + faith effort to ensure that, in the event an application does not supply such + function or table, the facility still operates, and performs whatever part of + its purpose remains meaningful. +

+

(For example, a function in a library to compute square roots has a purpose that + is entirely well-defined independent of the application. Therefore, Subsection + 2d requires that any application-supplied function or table used by this + function must be optional: if the application does not supply it, the square + root function must still compute square roots.) +

+

These requirements apply to the modified work as a whole. If identifiable + sections of that work are not derived from the Library, and can be reasonably + considered independent and separate works in themselves, then this License, and + its terms, do not apply to those sections when you distribute them as separate + works. But when you distribute the same sections as part of a whole which is a + work based on the Library, the distribution of the whole must be on the terms + of this License, whose permissions for other licensees extend to the entire + whole, and thus to each and every part regardless of who wrote it. +

+

Thus, it is not the intent of this section to claim rights or contest your + rights to work written entirely by you; rather, the intent is to exercise the + right to control the distribution of derivative or collective works based on + the Library. +

+

In addition, mere aggregation of another work not based on the Library with the + Library (or with a work based on the Library) on a volume of a storage or + distribution medium does not bring the other work under the scope of this + License. +

+
+

3. You may opt to apply the terms of the ordinary GNU General + Public License instead of this License to a given copy of the Library. To do + this, you must alter all the notices that refer to this License, so that they + refer to the ordinary GNU General Public License, version 2, instead of to this + License. (If a newer version than version 2 of the ordinary GNU General Public + License has appeared, then you can specify that version instead if you wish.) + Do not make any other change in these notices. +

+

Once this change is made in a given copy, it is irreversible for that copy, so + the ordinary GNU General Public License applies to all subsequent copies and + derivative works made from that copy. +

+

This option is useful when you wish to copy part of the code of the Library into + a program that is not a library. +

+

4. You may copy and distribute the Library (or a portion or + derivative of it, under Section 2) in object code or executable form under the + terms of Sections 1 and 2 above provided that you accompany it with the + complete corresponding machine-readable source code, which must be distributed + under the terms of Sections 1 and 2 above on a medium customarily used for + software interchange. +

+

If distribution of object code is made by offering access to copy from a + designated place, then offering equivalent access to copy the source code from + the same place satisfies the requirement to distribute the source code, even + though third parties are not compelled to copy the source along with the object + code.

+

5. A program that contains no derivative of any portion of the + Library, but is designed to work with the Library by being compiled or linked + with it, is called a "work that uses the Library". Such a work, in isolation, + is not a derivative work of the Library, and therefore falls outside the scope + of this License. +

+

However, linking a "work that uses the Library" with the Library creates an + executable that is a derivative of the Library (because it contains portions of + the Library), rather than a "work that uses the library". The executable is + therefore covered by this License. Section 6 states terms for distribution of + such executables. +

+

When a "work that uses the Library" uses material from a header file that is + part of the Library, the object code for the work may be a derivative work of + the Library even though the source code is not. Whether this is true is + especially significant if the work can be linked without the Library, or if the + work is itself a library. The threshold for this to be true is not precisely + defined by law. +

+

If such an object file uses only numerical parameters, data structure layouts + and accessors, and small macros and small inline functions (ten lines or less + in length), then the use of the object file is unrestricted, regardless of + whether it is legally a derivative work. (Executables containing this object + code plus portions of the Library will still fall under Section 6.) +

+

Otherwise, if the work is a derivative of the Library, you may distribute the + object code for the work under the terms of Section 6. Any executables + containing that work also fall under Section 6, whether or not they are linked + directly with the Library itself. +

+

6. As an exception to the Sections above, you may also combine + or link a "work that uses the Library" with the Library to produce a work + containing portions of the Library, and distribute that work under terms of + your choice, provided that the terms permit modification of the work for the + customer's own use and reverse engineering for debugging such modifications. +

+

You must give prominent notice with each copy of the work that the Library is + used in it and that the Library and its use are covered by this License. You + must supply a copy of this License. If the work during execution displays + copyright notices, you must include the copyright notice for the Library among + them, as well as a reference directing the user to the copy of this License. + Also, you must do one of these things: +

+
+

a) Accompany the work with the complete corresponding machine-readable source + code for the Library including whatever changes were used in the work (which + must be distributed under Sections 1 and 2 above); and, if the work is an + executable linked with the Library, with the complete machine-readable "work + that uses the Library", as object code and/or source code, so that the user can + modify the Library and then relink to produce a modified executable containing + the modified Library. (It is understood that the user who changes the contents + of definitions files in the Library will not necessarily be able to recompile + the application to use the modified definitions.) +

+

b) Use a suitable shared library mechanism for linking with the Library. A + suitable mechanism is one that (1) uses at run time a copy of the library + already present on the user's computer system, rather than copying library + functions into the executable, and (2) will operate properly with a modified + version of the library, if the user installs one, as long as the modified + version is interface-compatible with the version that the work was made with. +

+

c) Accompany the work with a written offer, valid for at least three years, to + give the same user the materials specified in Subsection 6a, above, for a + charge no more than the cost of performing this distribution. +

+

d) If distribution of the work is made by offering access to copy from a + designated place, offer equivalent access to copy the above specified materials + from the same place. +

+

e) Verify that the user has already received a copy of these materials or that + you have already sent this user a copy.

+
+

For an executable, the required form of the "work that uses the Library" must + include any data and utility programs needed for reproducing the executable + from it. However, as a special exception, the materials to be distributed need + not include anything that is normally distributed (in either source or binary + form) with the major components (compiler, kernel, and so on) of the operating + system on which the executable runs, unless that component itself accompanies + the executable. +

+

It may happen that this requirement contradicts the license restrictions of + other proprietary libraries that do not normally accompany the operating + system. Such a contradiction means you cannot use both them and the Library + together in an executable that you distribute. +

+

7. You may place library facilities that are a work based on + the Library side-by-side in a single library together with other library + facilities not covered by this License, and distribute such a combined library, + provided that the separate distribution of the work based on the Library and of + the other library facilities is otherwise permitted, and provided that you do + these two things: +

+
+

a) Accompany the combined library with a copy of the same work based on the + Library, uncombined with any other library facilities. This must be distributed + under the terms of the Sections above. +

+

b) Give prominent notice with the combined library of the fact that part of it + is a work based on the Library, and explaining where to find the accompanying + uncombined form of the same work.

+
+

8. You may not copy, modify, sublicense, link with, or + distribute the Library except as expressly provided under this License. Any + attempt otherwise to copy, modify, sublicense, link with, or distribute the + Library is void, and will automatically terminate your rights under this + License. However, parties who have received copies, or rights, from you under + this License will not have their licenses terminated so long as such parties + remain in full compliance. +

+

9. You are not required to accept this License, since you have + not signed it. However, nothing else grants you permission to modify or + distribute the Library or its derivative works. These actions are prohibited by + law if you do not accept this License. Therefore, by modifying or distributing + the Library (or any work based on the Library), you indicate your acceptance of + this License to do so, and all its terms and conditions for copying, + distributing or modifying the Library or works based on it. +

+

10. Each time you redistribute the Library (or any work based + on the Library), the recipient automatically receives a license from the + original licensor to copy, distribute, link with or modify the Library subject + to these terms and conditions. You may not impose any further restrictions on + the recipients' exercise of the rights granted herein. You are not responsible + for enforcing compliance by third parties with this License. +

+

11. If, as a consequence of a court judgment or allegation of + patent infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or otherwise) + that contradict the conditions of this License, they do not excuse you from the + conditions of this License. If you cannot distribute so as to satisfy + simultaneously your obligations under this License and any other pertinent + obligations, then as a consequence you may not distribute the Library at all. + For example, if a patent license would not permit royalty-free redistribution + of the Library by all those who receive copies directly or indirectly through + you, then the only way you could satisfy both it and this License would be to + refrain entirely from distribution of the Library. +

+

If any portion of this section is held invalid or unenforceable under any + particular circumstance, the balance of the section is intended to apply, and + the section as a whole is intended to apply in other circumstances. +

+

It is not the purpose of this section to induce you to infringe any patents or + other property right claims or to contest validity of any such claims; this + section has the sole purpose of protecting the integrity of the free software + distribution system which is implemented by public license practices. Many + people have made generous contributions to the wide range of software + distributed through that system in reliance on consistent application of that + system; it is up to the author/donor to decide if he or she is willing to + distribute software through any other system and a licensee cannot impose that + choice. +

+

This section is intended to make thoroughly clear what is believed to be a + consequence of the rest of this License. +

+

12. If the distribution and/or use of the Library is restricted + in certain countries either by patents or by copyrighted interfaces, the + original copyright holder who places the Library under this License may add an + explicit geographical distribution limitation excluding those countries, so + that distribution is permitted only in or among countries not thus excluded. In + such case, this License incorporates the limitation as if written in the body + of this License. +

+

13. The Free Software Foundation may publish revised and/or new + versions of the Lesser General Public License from time to time. Such new + versions will be similar in spirit to the present version, but may differ in + detail to address new problems or concerns.

+

Each version is given a distinguishing version number. If the Library specifies + a version number of this License which applies to it and "any later version", + you have the option of following the terms and conditions either of that + version or of any later version published by the Free Software Foundation. If + the Library does not specify a license version number, you may choose any + version ever published by the Free Software Foundation. +

+

14. If you wish to incorporate parts of the Library into other + free programs whose distribution conditions are incompatible with these, write + to the author to ask for permission. For software which is copyrighted by the + Free Software Foundation, write to the Free Software Foundation; we sometimes + make exceptions for this. Our decision will be guided by the two goals of + preserving the free status of all derivatives of our free software and of + promoting the sharing and reuse of software generally. +

+

NO WARRANTY +

+

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT + WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES + PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR + IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE + QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE + DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR + CORRECTION. +

+

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO + IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR + REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT + OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS + OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD + PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN + IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH + DAMAGES. +

+

END OF TERMS AND CONDITIONS

+
+ + Index: lams_central/web/fckeditor/editor/dialog/fck_anchor.html =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_anchor.html (.../fck_anchor.html) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/fck_anchor.html (.../fck_anchor.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_anchor.html * Anchor dialog window. * @@ -66,7 +68,7 @@ oAnchor = FCK.EditorDocument.createElement( 'DIV' ) ; oAnchor.innerHTML = '<\/a>' ; oAnchor = oAnchor.firstChild ; - + oFakeImage = oEditor.FCKDocumentProcessors_CreateFakeImage( 'FCK__Anchor', oAnchor ) ; oFakeImage.setAttribute( '_fckanchor', 'true', 0 ) ; oFakeImage = FCK.InsertElementAndGetIt( oFakeImage ) ; Index: lams_central/web/fckeditor/editor/dialog/fck_button.html =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_button.html (.../fck_button.html) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/dialog/fck_button.html (.../fck_button.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_button.html * Button dialog window. * Index: lams_central/web/fckeditor/editor/dialog/fck_checkbox.html =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_checkbox.html (.../fck_checkbox.html) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/fck_checkbox.html (.../fck_checkbox.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_checkbox.html * Checkbox dialog window. * Index: lams_central/web/fckeditor/editor/dialog/fck_colorselector.html =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_colorselector.html (.../fck_colorselector.html) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/dialog/fck_colorselector.html (.../fck_colorselector.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_colorselector.html * Color Selection dialog window. * Index: lams_central/web/fckeditor/editor/dialog/fck_docprops.html =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_docprops.html (.../fck_docprops.html) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/dialog/fck_docprops.html (.../fck_docprops.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_docprops.html * Link dialog window. * @@ -370,16 +372,26 @@ function BrowseServerBack() { - var iLeft = (screen.width - FCKConfig.ImageBrowserWindowWidth) / 2 ; - var iTop = (screen.height - FCKConfig.ImageBrowserWindowHeight) / 2 ; + var iLeft = (FCKConfig.ScreenWidth - FCKConfig.ImageBrowserWindowWidth) / 2 ; + var iTop = (FCKConfig.ScreenHeight - FCKConfig.ImageBrowserWindowHeight) / 2 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes" ; sOptions += ",width=" + FCKConfig.LinkBrowserWindowWidth ; sOptions += ",height=" + FCKConfig.LinkBrowserWindowHeight ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; - var oWindow = window.open( FCKConfig.ImageBrowserURL, "FCKBrowseWindow", sOptions ) ; + if ( oEditor.FCKBrowserInfo.IsIE ) + { + // The following change has been made otherwise IE will open the file + // browser on a different server session (on some cases): + // http://support.microsoft.com/default.aspx?scid=kb;en-us;831678 + // by Simone Chiaretta. + var oWindow = oEditor.window.open( FCKConfig.ImageBrowserURL, "FCKBrowseWindow", sOptions ) ; + oWindow.opener = window ; + } + else + window.open( FCKConfig.ImageBrowserURL, "FCKBrowseWindow", sOptions ) ; } function SetUrl( url ) Index: lams_central/web/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html (.../fck_document_preview.html) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html (.../fck_document_preview.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_document_preview.html * Preview shown in the "Document Properties" dialog window. * Index: lams_central/web/fckeditor/editor/dialog/fck_find.html =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_find.html (.../fck_find.html) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/fck_find.html (.../fck_find.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_find.html * "Find" dialog window. * Index: lams_central/web/fckeditor/editor/dialog/fck_flash.html =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/dialog/fck_flash.html (.../fck_flash.html) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/dialog/fck_flash.html (.../fck_flash.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_flash.html * Flash Properties dialog window. * @@ -86,7 +88,7 @@

- + ';oDiv.Command=this;oDiv.onclick=FCKTextColorCommand_OnClick;};};var oCell=oTable.insertRow(-1).insertCell(-1);oCell.colSpan=8;var oDiv=oCell.appendChild(CreateSelectionDiv());oDiv.innerHTML='
'+FCKLang.ColorMoreColors+'
';oDiv.Command=this;oDiv.onclick=FCKTextColorCommand_MoreOnClick;} +var FCKTextColorCommand=function(A){this.Name=A=='ForeColor'?'TextColor':'BGColor';this.Type=A;this._Panel=new FCKPanel();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._CreatePanelBody(this._Panel.Document,this._Panel.PanelDiv);};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.IsGecko) FCK.ExecuteNamedCommand('hilitecolor',A);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.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(command){this.Name=command;};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;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(styleName,styleComboItem){if (styleComboItem.Selected) styleComboItem.Style.RemoveFromSelection();else styleComboItem.Style.ApplyToSelection();FCK.Focus();FCK.Events.FireEvent("OnSelectionChange");};FCKStyleCommand.prototype.GetState=function(){var oSelection=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;else FCK_TRISTATE_OFF;}else return FCK_TRISTATE_OFF;};FCKStyleCommand.prototype.GetActiveStyles=function(){var aActiveStyles=new Array();if (FCKSelection.GetType()=='Control') this._CheckStyle(FCKSelection.GetSelectedElement(),aActiveStyles,false);else this._CheckStyle(FCKSelection.GetParentElement(),aActiveStyles,true);return aActiveStyles;};FCKStyleCommand.prototype._CheckStyle=function(element,targetArray,checkParent){if (!element) return;if (element.nodeType==1){var aStyleGroup=this.StylesLoader.StyleGroups[element.tagName];if (aStyleGroup){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) sHtml+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) sHtml+=''+this.Label+'';sHtml+=''+'';this.DOMDiv.innerHTML=sHtml;var oCell=parentToolbar.DOMRow.insertCell(-1);oCell.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarButton.prototype.RefreshState=function(){var eState=this.Command.GetState();if (eState==this.State) return;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;};};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();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};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;} -var FCKSpecialCombo=function(caption){this.FieldWidth=80;this.PanelWidth=130;this.PanelMaxHeight=150;this.Label=' ';this.Caption=caption;this.Enabled=true;this.Items=new Object();this._Panel=new FCKPanel();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._Panel.PanelDiv.className+=' SC_Panel';this._Panel.PanelDiv.innerHTML='
';this._ItemsHolderEl=this._Panel.PanelDiv.getElementsByTagName('TD')[0];};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(){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(id,html,label){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.FCKSpecialCombo=this;oDiv.Selected=false;oDiv.onmouseover=FCKSpecialCombo_ItemOnMouseOver;oDiv.onmouseout=FCKSpecialCombo_ItemOnMouseOut;oDiv.onclick=FCKSpecialCombo_ItemOnClick;this.Items[id.toString().toLowerCase()]=oDiv;return oDiv;};FCKSpecialCombo.prototype.SelectItem=function(itemId){itemId=itemId?itemId.toString().toLowerCase():'';var oDiv=this.Items[itemId];if (oDiv){oDiv.className=oDiv.originalClass='SC_ItemSelected';oDiv.Selected=true;};};FCKSpecialCombo.prototype.DeselectAll=function(){for (var i in this.Items){this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};};FCKSpecialCombo.prototype.SetLabelById=function(id){id=id?id.toString().toLowerCase():'';var oDiv=this.Items[id];this.SetLabel(oDiv?oDiv.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(text){this.Label=text.length==0?' ':text;if (this._LabelEl) this._LabelEl.innerHTML=this.Label;};FCKSpecialCombo.prototype.SetEnabled=function(isEnabled){this.Enabled=isEnabled;this._OuterTable.className=isEnabled?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(targetElement){this._OuterTable=targetElement.appendChild(document.createElement('TABLE'));this._OuterTable.cellPadding=0;this._OuterTable.cellSpacing=0;this._OuterTable.insertRow(-1);if (this.Caption&&this.Caption.length>0){var oCaptionCell=this._OuterTable.rows[0].insertCell(-1);oCaptionCell.unselectable='on';oCaptionCell.innerHTML=this.Caption;oCaptionCell.className='SC_FieldCaption';};var oField=this._OuterTable.rows[0].insertCell(-1).appendChild(document.createElement('DIV'));oField.className='SC_Field';oField.style.width=this.FieldWidth+'px';oField.innerHTML='
 
';this._LabelEl=oField.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;oField.SpecialCombo=this;oField.onmouseover=FCKSpecialCombo_OnMouseOver;oField.onmouseout=FCKSpecialCombo_OnMouseOut;oField.onclick=FCKSpecialCombo_OnClick;};function FCKSpecialCombo_OnMouseOver(){if (this.SpecialCombo.Enabled) this.className='SC_Field SC_FieldOver';};function FCKSpecialCombo_OnMouseOut(){this.className='SC_Field';};function FCKSpecialCombo_OnClick(e){if (e){e.stopPropagation();FCKPanelEventHandlers.OnDocumentClick(e);};if (this.SpecialCombo.Enabled){if (typeof(this.SpecialCombo.OnBeforeClick)=='function') this.SpecialCombo.OnBeforeClick(this.SpecialCombo);if (this.SpecialCombo._ItemsHolderEl.offsetHeight>this.SpecialCombo.PanelMaxHeight) this.SpecialCombo._Panel.PanelDiv.style.height=this.SpecialCombo.PanelMaxHeight+'px';else this.SpecialCombo._Panel.PanelDiv.style.height=this.SpecialCombo._ItemsHolderEl.offsetHeight+'px';this.SpecialCombo._Panel.PanelDiv.style.width=this.SpecialCombo.PanelWidth+'px';if (FCKBrowserInfo.IsGecko) this.SpecialCombo._Panel.PanelDiv.style.overflow='-moz-scrollbars-vertical';this.SpecialCombo._Panel.Show(0,this.offsetHeight,this,null,this.SpecialCombo.PanelMaxHeight,true);};return false;}; -var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};function FCKToolbarSpecialCombo_OnSelect(itemId,item){this.Command.Execute(itemId,item);};FCKToolbarSpecialCombo.prototype.CreateInstance=function(parentToolbar){this._Combo=new FCKSpecialCombo(this.GetLabel());this._Combo.FieldWidth=100;this._Combo.PanelWidth=150;this._Combo.PanelMaxHeight=150;this.CreateItems(this._Combo);this._Combo.Create(parentToolbar.DOMRow.insertCell(-1));this._Combo.Command=this.Command;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(combo,value){combo.DeselectAll();combo.SelectItem(value);combo.SetLabelById(value);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var eState;var sValue=this.Command.GetState();if (sValue!=FCK_TRISTATE_DISABLED){eState=FCK_TRISTATE_ON;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,sValue);else FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,sValue);}else eState=FCK_TRISTATE_DISABLED;if (eState==this.State) return;if (eState==FCK_TRISTATE_DISABLED){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=eState;this._Combo.SetEnabled(eState!=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(){this.Command=FCKCommands.GetCommand('FontName');};FCKToolbarFontsCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.CreateItems=function(targetSpecialCombo){var aFonts=FCKConfig.FontNames.split(';');for (var i=0;i'+aFonts[i]+'
');} -var FCKToolbarFontSizeCombo=function(){this.Command=FCKCommands.GetCommand('FontSize');};FCKToolbarFontSizeCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.CreateItems=function(targetSpecialCombo){targetSpecialCombo.FieldWidth=70;var aSizes=FCKConfig.FontSizes.split(';');for (var i=0;i'+aSizeParts[1]+'',aSizeParts[1]);};} -var FCKToolbarFontFormatCombo=function(){this.Command=FCKCommands.GetCommand('FontFormat');};FCKToolbarFontFormatCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.CreateItems=function(targetSpecialCombo){var aNames=FCKLang['FontFormats'].split(';');var oNames={p:aNames[0],pre:aNames[1],address:aNames[2],h1:aNames[3],h2:aNames[4],h3:aNames[5],h4:aNames[6],h5:aNames[7],h6:aNames[8],div:aNames[9]};var aTags=FCKConfig.FontFormats.split(';');for (var i=0;i'+oNames[aTags[i]]+'',oNames[aTags[i]]);};} -var FCKToolbarStyleCombo=function(){this.Command=FCKCommands.GetCommand('Style');};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.CreateItems=function(targetSpecialCombo){FCKTools.AppendStyleSheet(targetSpecialCombo._Panel.Document,FCKConfig.EditorAreaCSS);if (!FCKBrowserInfo.IsGecko) targetSpecialCombo.OnBeforeClick=this.RefreshVisibleItems;for (var s in this.Command.Styles){var oStyle=this.Command.Styles[s];if (oStyle.IsObjectElement) var oItem=targetSpecialCombo.AddItem(s,s);else var oItem=targetSpecialCombo.AddItem(s,oStyle.GetOpenerTag()+s+oStyle.GetCloserTag());oItem.Style=oStyle;};};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(targetSpecialCombo){targetSpecialCombo.DeselectAll();var aStyles=this.Command.GetActiveStyles();if (aStyles.length>0){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) sHtml+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) sHtml+=''+this.Label+'';sHtml+=''+''+'';this.DOMDiv.innerHTML=sHtml;var oCell=parentToolbar.DOMRow.insertCell(-1);oCell.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable; -var FCKToolbarItems=new Object();FCKToolbarItems.LoadedItems=new Object();FCKToolbarItems.RegisterItem=function(itemName,item){this.LoadedItems[itemName]=item;};FCKToolbarItems.GetItem=function(itemName){var oItem=FCKToolbarItems.LoadedItems[itemName];if (oItem) return oItem;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 '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 '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 '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 '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 '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 'UniversalKey':oItem=new FCKToolbarButton('UniversalKey',FCKLang.UniversalKeyboard);break;case 'Rule':oItem=new FCKToolbarButton('InsertHorizontalRule',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true);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 '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 'Find':oItem=new FCKToolbarButton('Find',FCKLang.Find);break;case 'Replace':oItem=new FCKToolbarButton('Replace',FCKLang.Replace);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;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,itemName));return;};FCKToolbarItems.LoadedItems[itemName]=oItem;return oItem;} -var FCKToolbar=function(){this.Items=new Array();this.DOMTable=document.createElement('table');this.DOMTable.className='TB_Toolbar';with (this.DOMTable){style.styleFloat=style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';cellPadding=0;cellSpacing=0;border=0;};this.DOMRow=this.DOMTable.insertRow(-1);var oCell=this.DOMRow.insertCell(-1);oCell.className='TB_Start';oCell.innerHTML='';FCKToolbarSet.DOMElement.appendChild(this.DOMTable);};FCKToolbar.prototype.AddItem=function(toolbarItem){this.Items[this.Items.length]=toolbarItem;toolbarItem.CreateInstance(this);};FCKToolbar.prototype.AddSeparator=function(){var oCell=this.DOMRow.insertCell(-1);oCell.unselectable='on';oCell.innerHTML='';};FCKToolbar.prototype.AddTerminator=function(){var oCell=this.DOMRow.insertCell(-1);oCell.className='TB_End';oCell.innerHTML='';}; -var FCKToolbarBreak=function(){var oBreakDiv=document.createElement('div');oBreakDiv.style.clear=oBreakDiv.style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';FCKToolbarSet.DOMElement.appendChild(oBreakDiv);} -var FCKToolbarSet=FCK.ToolbarSet=new Object();document.getElementById('ExpandHandle').title=FCKLang.ToolbarExpand;document.getElementById('CollapseHandle').title=FCKLang.ToolbarCollapse;FCKToolbarSet.Toolbars=new Array();FCKToolbarSet.ItemsWysiwygOnly=new Array();FCKToolbarSet.ItemsContextSensitive=new Array();FCKToolbarSet.Expand=function(){document.getElementById('Collapsed').style.display='none';document.getElementById('Expanded').style.display='';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Collapse=function(){document.getElementById('Collapsed').style.display='';document.getElementById('Expanded').style.display='none';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Restart=function(){if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();document.getElementById('CollapseHandle').style.display=FCKConfig.ToolbarCanCollapse?'':'none';};FCKToolbarSet.Load=function(toolbarSetName){this.DOMElement=document.getElementById('eToolbar');var ToolbarSet=FCKConfig.ToolbarSets[toolbarSetName];if (!ToolbarSet){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,toolbarSetName));return;};this.Toolbars=new Array();for (var x=0;x';oCell=this._Row.insertCell(-1);oCell.className='CM_Label';oCell.unselectable='on';oCell.noWrap=true;oCell.innerHTML=this.Label;};FCKContextMenuItem.prototype.SetVisible=function(isVisible){this._Row.style.display=isVisible?'':'none';};FCKContextMenuItem.prototype.RefreshState=function(){switch (this.Command.GetState()){case FCK_TRISTATE_ON:case FCK_TRISTATE_OFF:this._Row.className='CM_Option';break;default:this._Row.className='CM_Disabled';break;};}; -var FCKContextMenuSeparator=function(){};FCKContextMenuSeparator.prototype.CreateTableRow=function(targetTable){this._Row=targetTable.insertRow(-1);this._Row.className='CM_Separator';var oCell=this._Row.insertCell(-1);oCell.className='CM_Icon';oCell=this._Row.insertCell(-1);oCell.className='CM_Label';oCell.innerHTML='
';};FCKContextMenuSeparator.prototype.SetVisible=function(isVisible){this._Row.style.display=isVisible?'':'none';};FCKContextMenuSeparator.prototype.RefreshState=function(){}; -var FCKContextMenuGroup=function(addSeparator,contextMenu,firstItemCommand,firstItemLabel,hasIcon){this.IsVisible=true;this.Items=new Array();if (addSeparator) this.Add(new FCKContextMenuSeparator());if (contextMenu&&firstItemCommand&&firstItemLabel) this.Add(new FCKContextMenuItem(contextMenu,firstItemCommand,firstItemLabel,hasIcon));this.ValidationFunction=null;};FCKContextMenuGroup.prototype.Add=function(contextMenuItem){this.Items[this.Items.length]=contextMenuItem;};FCKContextMenuGroup.prototype.CreateTableRows=function(table){for (var i=0;i0) x-=this._Div.offsetWidth;if (iYSpace>0) y-=this._Div.offsetHeight;this._Div.style.left=x+'px';this._Div.style.top=y+'px';var oActualWindow=FCK.EditorWindow;while (oActualWindow){oActualWindow.document.addEventListener('click',FCKContextMenu._OnDocumentClick,false);if (oActualWindow!=oActualWindow.parent) oActualWindow=oActualWindow.parent;else if (oActualWindow.opener==null) oActualWindow=oActualWindow.opener;else break;};this._Div.style.visibility='';};FCKContextMenu._OnDocumentClick=function(event){var e=event.target;while (e){if (e==FCKContextMenu._Div) return;e=e.parentNode;};FCKContextMenu.Hide();};FCKContextMenu.Hide=function(){this._Div.style.visibility='hidden';this._Div.style.left=this._Div.style.top='1px';} -if (!FCKConfig.PluginsPath.endsWith('/')) FCKConfig.PluginsPath+='/';var FCKPlugin=function(name,availableLangs,basePath){this.Name=name;this.BasePath=basePath?basePath:FCKConfig.PluginsPath;this.Path=this.BasePath+name+'/';if (!availableLangs||availableLangs.length==0) this.AvailableLangs=new Array();else this.AvailableLangs=availableLangs.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){if (this.AvailableLangs.indexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) var sLang=FCKLanguageManager.ActiveLanguage.Code;else var sLang=this.AvailableLangs[0];FCKScriptLoader.AddScript(this.Path+'lang/'+sLang+'.js');};FCKScriptLoader.AddScript(this.Path+'fckplugin.js');} +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;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(){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'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) B+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) B+=''+this.Label+'';B+=''+'';this.DOMDiv.innerHTML=B;var C=A.DOMRow.insertCell(-1);C.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarButton.prototype.RefreshState=function(){var A=this.Command.GetState();if (A==this.State) return;this.State=A;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;};};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();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};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;} +var FCKSpecialCombo=function(A){this.FieldWidth=80;this.PanelWidth=130;this.PanelMaxHeight=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();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._Panel.PanelDiv.className+=' SC_Panel';this._Panel.PanelDiv.innerHTML='
';this._ItemsHolderEl=this._Panel.PanelDiv.getElementsByTagName('TD')[0];};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(){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){var D=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));D.className=D.originalClass='SC_Item';D.innerHTML=B;D.FCKItemID=A;D.FCKItemLabel=C?C:A;D.FCKSpecialCombo=this;D.Selected=false;D.onmouseover=FCKSpecialCombo_ItemOnMouseOver;D.onmouseout=FCKSpecialCombo_ItemOnMouseOut;D.onclick=FCKSpecialCombo_ItemOnClick;this.Items[A.toString().toLowerCase()]=D;return D;};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.DeselectAll=function(){for (var i in this.Items){this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};};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){this._OuterTable=A.appendChild(document.createElement('TABLE'));this._OuterTable.cellPadding=0;this._OuterTable.cellSpacing=0;this._OuterTable.insertRow(-1);var B;var C;switch (this.Style){case FCK_TOOLBARITEM_ONLYICON:B='TB_ButtonType_Icon';C=false;break;case FCK_TOOLBARITEM_ONLYTEXT:B='TB_ButtonType_Text';C=false;break;case FCK_TOOLBARITEM_ICONTEXT:C=true;break;};if (this.Caption&&this.Caption.length>0&&C){var D=this._OuterTable.rows[0].insertCell(-1);D.unselectable='on';D.innerHTML=this.Caption;D.className='SC_FieldCaption';};var E=this._OuterTable.rows[0].insertCell(-1).appendChild(document.createElement('DIV'));if (C){E.className='SC_Field';E.style.width=this.FieldWidth+'px';E.innerHTML='
 
';this._LabelEl=E.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{E.className='TB_Button_Off';E.innerHTML='
 
';E.innerHTML=''+''+''+''+''+'
'+this.Caption+'
';};E.SpecialCombo=this;E.onmouseover=FCKSpecialCombo_OnMouseOver;E.onmouseout=FCKSpecialCombo_OnMouseOut;E.onclick=FCKSpecialCombo_OnClick;};function FCKSpecialCombo_OnMouseOver(){if (this.SpecialCombo.Enabled){switch (this.SpecialCombo.Style){case FCK_TOOLBARITEM_ONLYICON:this.className='TB_Button_On';break;case FCK_TOOLBARITEM_ONLYTEXT:this.className='TB_Button_On';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){if (e){e.stopPropagation();FCKPanelEventHandlers.OnDocumentClick(e);};if (this.SpecialCombo.Enabled){var oPanel=this.SpecialCombo._Panel;if (typeof(this.SpecialCombo.OnBeforeClick)=='function') this.SpecialCombo.OnBeforeClick(this.SpecialCombo);if (this.SpecialCombo._ItemsHolderEl.offsetHeight>this.SpecialCombo.PanelMaxHeight) oPanel.PanelDiv.style.height=this.SpecialCombo.PanelMaxHeight+'px';else oPanel.PanelDiv.style.height=this.SpecialCombo._ItemsHolderEl.offsetHeight+'px';oPanel.PanelDiv.style.width=this.SpecialCombo.PanelWidth+'px';if (FCKBrowserInfo.IsGecko) oPanel.PanelDiv.style.overflow='-moz-scrollbars-vertical';oPanel.Show(0,this.offsetHeight,this,null,this.SpecialCombo.PanelMaxHeight,true);};return false;}; +var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};function FCKToolbarSpecialCombo_OnSelect(itemId,item){this.Command.Execute(itemId,item);};FCKToolbarSpecialCombo.prototype.CreateInstance=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel());this._Combo.FieldWidth=this.FieldWidth!=null?this.FieldWidth:100;this._Combo.PanelWidth=this.PanelWidth!=null?this.PanelWidth:150;this._Combo.PanelMaxHeight=this.PanelMaxHeight!=null?this.PanelMaxHeight:150;this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A.DOMRow.insertCell(-1));this._Combo.Command=this.Command;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=this.Command.GetState();if (B!=FCK_TRISTATE_DISABLED){A=FCK_TRISTATE_ON;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else 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.Command=FCKCommands.GetCommand('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.Command=FCKCommands.GetCommand('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.Command=FCKCommands.GetCommand('FontFormat');this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:FCK_TOOLBARITEM_ICONTEXT;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'+C[D[i]]+'',C[D[i]]);};} +var FCKToolbarStyleCombo=function(A,B){this.Command=FCKCommands.GetCommand('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){FCKTools.AppendStyleSheet(A._Panel.Document,FCKConfig.EditorAreaCSS);if (!FCKBrowserInfo.IsGecko) A.OnBeforeClick=this.RefreshVisibleItems;for (var s in this.Command.Styles){var B=this.Command.Styles[s];var C;if (B.IsObjectElement) C=A.AddItem(s,s);else C=A.AddItem(s,B.GetOpenerTag()+s+B.GetCloserTag());C.Style=B;};};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(A){A.DeselectAll();var B=this.Command.GetActiveStyles();if (B.length>0){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) B+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) B+=''+this.Label+'';B+=''+''+'';this.DOMDiv.innerHTML=B;var C=A.DOMRow.insertCell(-1);C.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable; +var FCKToolbarItems=new Object();FCKToolbarItems.LoadedItems=new Object();FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case 'Source':B=new FCKToolbarButton('Source',FCKLang.Source,null,FCK_TOOLBARITEM_ICONTEXT,true,true);break;case 'DocProps':B=new FCKToolbarButton('DocProps',FCKLang.DocProps);break;case 'Templates':B=new FCKToolbarButton('Templates',FCKLang.Templates);break;case 'Save':B=new FCKToolbarButton('Save',FCKLang.Save,null,null,true);break;case 'NewPage':B=new FCKToolbarButton('NewPage',FCKLang.NewPage,null,null,true);break;case 'Preview':B=new FCKToolbarButton('Preview',FCKLang.Preview,null,null,true);break;case 'About':B=new FCKToolbarButton('About',FCKLang.About,null,null,true);break;case 'Cut':B=new FCKToolbarButton('Cut',FCKLang.Cut,null,null,false,true);break;case 'Copy':B=new FCKToolbarButton('Copy',FCKLang.Copy,null,null,false,true);break;case 'Paste':B=new FCKToolbarButton('Paste',FCKLang.Paste,null,null,false,true);break;case 'PasteText':B=new FCKToolbarButton('PasteText',FCKLang.PasteText,null,null,false,true);break;case 'PasteWord':B=new FCKToolbarButton('PasteWord',FCKLang.PasteWord,null,null,false,true);break;case 'Print':B=new FCKToolbarButton('Print',FCKLang.Print,null,null,false,true);break;case 'SpellCheck':B=new FCKToolbarButton('SpellCheck',FCKLang.SpellCheck);break;case 'Undo':B=new FCKToolbarButton('Undo',FCKLang.Undo,null,null,false,true);break;case 'Redo':B=new FCKToolbarButton('Redo',FCKLang.Redo,null,null,false,true);break;case 'SelectAll':B=new FCKToolbarButton('SelectAll',FCKLang.SelectAll);break;case 'RemoveFormat':B=new FCKToolbarButton('RemoveFormat',FCKLang.RemoveFormat,null,null,false,true);break;case 'Bold':B=new FCKToolbarButton('Bold',FCKLang.Bold,null,null,false,true);break;case 'Italic':B=new FCKToolbarButton('Italic',FCKLang.Italic,null,null,false,true);break;case 'Underline':B=new FCKToolbarButton('Underline',FCKLang.Underline,null,null,false,true);break;case 'StrikeThrough':B=new FCKToolbarButton('StrikeThrough',FCKLang.StrikeThrough,null,null,false,true);break;case 'Subscript':B=new FCKToolbarButton('Subscript',FCKLang.Subscript,null,null,false,true);break;case 'Superscript':B=new FCKToolbarButton('Superscript',FCKLang.Superscript,null,null,false,true);break;case 'OrderedList':B=new FCKToolbarButton('InsertOrderedList',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true);break;case 'UnorderedList':B=new FCKToolbarButton('InsertUnorderedList',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true);break;case 'Outdent':B=new FCKToolbarButton('Outdent',FCKLang.DecreaseIndent,null,null,false,true);break;case 'Indent':B=new FCKToolbarButton('Indent',FCKLang.IncreaseIndent,null,null,false,true);break;case 'Link':B=new FCKToolbarButton('Link',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true);break;case 'Unlink':B=new FCKToolbarButton('Unlink',FCKLang.RemoveLink,null,null,false,true);break;case 'Anchor':B=new FCKToolbarButton('Anchor',FCKLang.Anchor);break;case 'Image':B=new FCKToolbarButton('Image',FCKLang.InsertImageLbl,FCKLang.InsertImage);break;case 'Flash':B=new FCKToolbarButton('Flash',FCKLang.InsertFlashLbl,FCKLang.InsertFlash);break;case 'Table':B=new FCKToolbarButton('Table',FCKLang.InsertTableLbl,FCKLang.InsertTable);break;case 'SpecialChar':B=new FCKToolbarButton('SpecialChar',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar);break;case 'Smiley':B=new FCKToolbarButton('Smiley',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley);break;case 'PageBreak':B=new FCKToolbarButton('PageBreak',FCKLang.PageBreakLbl,FCKLang.PageBreak);break;case 'UniversalKey':B=new FCKToolbarButton('UniversalKey',FCKLang.UniversalKeyboard);break;case 'Rule':B=new FCKToolbarButton('InsertHorizontalRule',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true);break;case 'JustifyLeft':B=new FCKToolbarButton('JustifyLeft',FCKLang.LeftJustify,null,null,false,true);break;case 'JustifyCenter':B=new FCKToolbarButton('JustifyCenter',FCKLang.CenterJustify,null,null,false,true);break;case 'JustifyRight':B=new FCKToolbarButton('JustifyRight',FCKLang.RightJustify,null,null,false,true);break;case 'JustifyFull':B=new FCKToolbarButton('JustifyFull',FCKLang.BlockJustify,null,null,false,true);break;case 'Style':B=new FCKToolbarStyleCombo();break;case 'FontName':B=new FCKToolbarFontsCombo();break;case 'FontSize':B=new FCKToolbarFontSizeCombo();break;case 'FontFormat':B=new FCKToolbarFontFormatCombo();break;case 'TextColor':B=new FCKToolbarPanelButton('TextColor',FCKLang.TextColor);break;case 'BGColor':B=new FCKToolbarPanelButton('BGColor',FCKLang.BGColor);break;case 'Find':B=new FCKToolbarButton('Find',FCKLang.Find);break;case 'Replace':B=new FCKToolbarButton('Replace',FCKLang.Replace);break;case 'Form':B=new FCKToolbarButton('Form',FCKLang.Form);break;case 'Checkbox':B=new FCKToolbarButton('Checkbox',FCKLang.Checkbox);break;case 'Radio':B=new FCKToolbarButton('Radio',FCKLang.RadioButton);break;case 'TextField':B=new FCKToolbarButton('TextField',FCKLang.TextField);break;case 'Textarea':B=new FCKToolbarButton('Textarea',FCKLang.Textarea);break;case 'HiddenField':B=new FCKToolbarButton('HiddenField',FCKLang.HiddenField);break;case 'Button':B=new FCKToolbarButton('Button',FCKLang.Button);break;case 'Select':B=new FCKToolbarButton('Select',FCKLang.SelectionField);break;case 'ImageButton':B=new FCKToolbarButton('ImageButton',FCKLang.ImageButton);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;} +var FCKToolbar=function(){this.Items=new Array();var e=this.DOMTable=document.createElement('table');e.className='TB_Toolbar';e.style.styleFloat=e.style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';e.cellPadding=0;e.cellSpacing=0;e.border=0;this.DOMRow=e.insertRow(-1);var A=this.DOMRow.insertCell(-1);A.className='TB_Start';A.innerHTML='';FCKToolbarSet.DOMElement.appendChild(e);};FCKToolbar.prototype.AddItem=function(A){this.Items[this.Items.length]=A;A.CreateInstance(this);};FCKToolbar.prototype.AddSeparator=function(){var A=this.DOMRow.insertCell(-1);A.unselectable='on';A.innerHTML='';};FCKToolbar.prototype.AddTerminator=function(){var A=this.DOMRow.insertCell(-1);A.className='TB_End';A.innerHTML='';}; +var FCKToolbarBreak=function(){var A=document.createElement('div');A.style.clear=A.style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';FCKToolbarSet.DOMElement.appendChild(A);} +var FCKToolbarSet=FCK.ToolbarSet=new Object();document.getElementById('ExpandHandle').title=FCKLang.ToolbarExpand;document.getElementById('CollapseHandle').title=FCKLang.ToolbarCollapse;FCKToolbarSet.Toolbars=new Array();FCKToolbarSet.ItemsWysiwygOnly=new Array();FCKToolbarSet.ItemsContextSensitive=new Array();FCKToolbarSet.Expand=function(){document.getElementById('Collapsed').style.display='none';document.getElementById('Expanded').style.display='';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Collapse=function(){document.getElementById('Collapsed').style.display='';document.getElementById('Expanded').style.display='none';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Restart=function(){if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();document.getElementById('CollapseHandle').style.display=FCKConfig.ToolbarCanCollapse?'':'none';};FCKToolbarSet.Load=function(A){this.DOMElement=document.getElementById('eToolbar');var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=new Array();for (var x=0;x';B=this._Row.insertCell(-1);B.className='CM_Label';B.unselectable='on';B.noWrap=true;B.innerHTML=this.Label;};FCKContextMenuItem.prototype.SetVisible=function(A){this._Row.style.display=A?'':'none';};FCKContextMenuItem.prototype.RefreshState=function(){switch (this.Command.GetState()){case FCK_TRISTATE_ON:case FCK_TRISTATE_OFF:this._Row.className='CM_Option';break;default:this._Row.className='CM_Disabled';break;};}; +var FCKContextMenuSeparator=function(){};FCKContextMenuSeparator.prototype.CreateTableRow=function(A){this._Row=A.insertRow(-1);this._Row.className='CM_Separator';var B=this._Row.insertCell(-1);B.className='CM_Icon';B=this._Row.insertCell(-1);B.className='CM_Label';B.innerHTML='
';};FCKContextMenuSeparator.prototype.SetVisible=function(A){this._Row.style.display=A?'':'none';};FCKContextMenuSeparator.prototype.RefreshState=function(){}; +var FCKContextMenuGroup=function(A,B,C,D,E){this.IsVisible=true;this.Items=new Array();if (A) this.Add(new FCKContextMenuSeparator());if (B&&C&&D) this.Add(new FCKContextMenuItem(B,C,D,E));this.ValidationFunction=null;};FCKContextMenuGroup.prototype.Add=function(A){this.Items[this.Items.length]=A;};FCKContextMenuGroup.prototype.CreateTableRows=function(A){for (var i=0;i0) x-=this._Div.offsetWidth;if (D>0) y-=this._Div.offsetHeight;this._Div.style.left=x+'px';this._Div.style.top=y+'px';var E=FCK.EditorWindow;while (E){E.document.addEventListener('click',FCKContextMenu._OnDocumentClick,false);if (E!=E.parent) E=E.parent;else if (E.opener==null) E=E.opener;else break;};this._Div.style.visibility='';};FCKContextMenu._OnDocumentClick=function(A){var e=A.target;while (e){if (e==FCKContextMenu._Div) return;e=e.parentNode;};FCKContextMenu.Hide();};FCKContextMenu.Hide=function(){this._Div.style.visibility='hidden';this._Div.style.left=this._Div.style.top='1px';} +if (!FCKConfig.PluginsPath.endsWith('/')) FCKConfig.PluginsPath+='/';var FCKPlugin=function(A,B,C){this.Name=A;this.BasePath=C?C:FCKConfig.PluginsPath;this.Path=this.BasePath+A+'/';if (!B||B.length==0) this.AvailableLangs=new Array();else this.AvailableLangs=B.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.indexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];FCKScriptLoader.AddScript(this.Path+'lang/'+A+'.js');};FCKScriptLoader.AddScript(this.Path+'fckplugin.js');} var FCKPlugins=FCK.Plugins=new Object();FCKPlugins.ItemsCount=0;FCKPlugins.Loaded=false;FCKPlugins.Items=new Object();for (var i=0;i0){FCKScriptLoader.OnEmpty=CompleteLoading;FCKPlugins.Load();}else CompleteLoading();function CompleteLoading(){FCKToolbarSet.Name=FCKURLParams['Toolbar']||'Default';FCKToolbarSet.Load(FCKToolbarSet.Name);FCKToolbarSet.Restart();FCK.AttachToOnSelectionChange(FCKToolbarSet.RefreshItemsState);FCK.SetStatus(FCK_STATUS_COMPLETE);if (typeof(window.parent.FCKeditor_OnComplete)=='function') window.parent.FCKeditor_OnComplete(FCK);} Index: lams_central/web/fckeditor/editor/js/fckeditorcode_ie_1.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/js/fckeditorcode_ie_1.js (.../fckeditorcode_ie_1.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/js/fckeditorcode_ie_1.js (.../fckeditorcode_ie_1.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,18 +8,20 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * This file has been compacted for best loading performance. */ -var FCKDebug=new Object();if (FCKConfig.Debug){FCKDebug.Output=function(message,color){if (!FCKConfig.Debug) return;if (message!=null&&isNaN(message)) message=message.replace(/=0;i--){selectElement.options.remove(i);};};FCKTools.SelectNoCase=function(selectElement,value,defaultValue){var sNoCaseValue=value.toString().toLowerCase();for (var i=0;i/g,">");text=text.replace(/'/g,"'");return text;};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){var c={ X:0,Y:0 };while (el){c.X+=el.offsetLeft;c.Y+=el.offsetTop;el=el.offsetParent;};return c;};FCKTools.GetElementAscensor=function(element,ascensorTagName){var e=element.parentNode;while (e){if (e.nodeName==ascensorTagName) return e;e=e.parentNode;};};FCKTools.Pause=function(miliseconds){var oStart=new Date();while (true){var oNow=new Date();if (miliseconds0) aIds[aIds.length]=sId;};return aIds;};FCKTools.RemoveOuterTags=function(e){e.insertAdjacentHTML('beforeBegin',e.innerHTML);e.parentNode.removeChild(e);};FCKTools.CreateXmlObject=function(object){var aObjs;switch (object){case 'XmlHttp':aObjs=['MSXML2.XmlHttp','Microsoft.XmlHttp'];break;case 'DOMDocument':aObjs=['MSXML2.DOMDocument','Microsoft.XmlDom'];break;};for (var i=0;i<2;i++){try { return new ActiveXObject(aObjs[i]);}catch (e) {};};} -var FCKRegexLib=new Object();FCKRegexLib.AposEntity=/'/gi;FCKRegexLib.ObjectElements=/^(?:IMG|TABLE|TR|TD|INPUT|SELECT|TEXTAREA|HR|OBJECT)$/i;FCKRegexLib.BlockElements=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TD)$/i;FCKRegexLib.EmptyElements=/^(?:BASE|META|LINK|HR|BR|PARAM|IMG|AREA|INPUT)$/i;FCKRegexLib.NamedCommands=/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i;FCKRegexLib.BodyContents=/([\s\S]*\]*\>)([\s\S]*)(\<\/body\>[\s\S]*)/i;FCKRegexLib.ToReplace=/___fcktoreplace:([\w]+)/ig;FCKRegexLib.MetaHttpEquiv=/http-equiv\s*=\s*["']?([^"' ]+)/i;FCKRegexLib.HasBaseTag=//i;FCKRegexLib.TableBorderClass=/\s*FCK__ShowTableBorders\s*/;FCKRegexLib.ElementName=/^[A-Za-z_:][\w.-:]*$/;FCKRegexLib.ForceSimpleAmpersand=/___FCKAmp___/g;FCKRegexLib.SpaceNoClose=/\/>/g;FCKRegexLib.EmptyParagraph=/^<(p|div)>\s*<\/\1>$/i;FCKRegexLib.TagBody=/>=5){sUserLang=sUserLang.substr(0,5);if (this.AvailableLanguages[sUserLang]) return sUserLang;};if (sUserLang.length>=2){sUserLang=sUserLang.substr(0,2);if (this.AvailableLanguages[sUserLang]) return sUserLang;};};return this.DefaultLanguage;};FCKLanguageManager.TranslateElements=function(targetDocument,tag,propertyToSet){var aInputs=targetDocument.getElementsByTagName(tag);for (var i=0;i$/,'');sXHTML=sXHTML.replace(FCKRegexLib.SpaceNoClose,' />');if (FCKConfig.ForceSimpleAmpersand) sXHTML=sXHTML.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (format) sXHTML=FCKCodeFormatter.Format(sXHTML);for (var i=0;i0) FCKXHtml._AppendAttribute(node,'shape',sCoords);};return node;};FCKXHtml.TagProcessors['label']=function(node,htmlNode){if (htmlNode.htmlFor.length>0) FCKXHtml._AppendAttribute(node,'for',htmlNode.htmlFor);FCKXHtml._AppendChildNodes(node,htmlNode);return node;};FCKXHtml.TagProcessors['form']=function(node,htmlNode){if (htmlNode.acceptCharset.length>0&&htmlNode.acceptCharset!='UNKNOWN') FCKXHtml._AppendAttribute(node,'accept-charset',htmlNode.acceptCharset);if (htmlNode.name) FCKXHtml._AppendAttribute(node,'name',htmlNode.name);FCKXHtml._AppendChildNodes(node,htmlNode);return node;};FCKXHtml.TagProcessors['textarea']=FCKXHtml.TagProcessors['select']=function(node,htmlNode){if (htmlNode.name) FCKXHtml._AppendAttribute(node,'name',htmlNode.name);FCKXHtml._AppendChildNodes(node,htmlNode);return node;} -var FCKCodeFormatter;if (!(FCKCodeFormatter=NS.FCKCodeFormatter)){FCKCodeFormatter=NS.FCKCodeFormatter=new Object();FCKCodeFormatter.Regex=new Object();FCKCodeFormatter.Regex.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|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|AREA|OPTION)[^\>]*\>/gi;FCKCodeFormatter.Regex.NewLineTags=/\<(BR|HR)[^\>]\>/gi;FCKCodeFormatter.Regex.MainTags=/\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi;FCKCodeFormatter.Regex.LineSplitter=/\s*\n+\s*/g;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);FCKCodeFormatter.Format=function(html){var sFormatted=html.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');var sIndentation='';var asLines=sFormatted.split(this.Regex.LineSplitter);sFormatted='';for (var i=0;i=0&&sHtml==FCKUndo.SavedData[FCKUndo.CurrentIndex][0]) return;if (FCKUndo.CurrentIndex+1>=FCKConfig.MaxUndoLevels) FCKUndo.SavedData.shift();else FCKUndo.CurrentIndex++;var sBookmark;if (FCK.EditorDocument.selection.type=='Text') sBookmark=FCK.EditorDocument.selection.createRange().getBookmark();FCKUndo.SavedData[FCKUndo.CurrentIndex]=[sHtml,sBookmark];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.Undo=function(){if (FCKUndo.CurrentIndex>=0){if (FCKUndo.CurrentIndex==(FCKUndo.SavedData.length-1)){FCKUndo.SaveUndoStep();};FCKUndo._ApplyUndoLevel(--FCKUndo.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");};};FCKUndo.Redo=function(){if (FCKUndo.CurrentIndex<(FCKUndo.SavedData.length-1)){FCKUndo._ApplyUndoLevel(++FCKUndo.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");};};FCKUndo._ApplyUndoLevel=function(level){var oData=FCKUndo.SavedData[level];FCK.EditorDocument.body.innerHTML=oData[0];if (oData[1]){var oRange=FCK.EditorDocument.selection.createRange();oRange.moveToBookmark(oData[1]);oRange.select();};FCKUndo.TypesCount=0;FCKUndo.Typing=false;} -FCK.Events=new FCKEvents(FCK);FCK.Toolbar=null;FCK.TempBaseTag=FCKConfig.BaseHref.length>0?'':'';FCK.StartEditor=function(){this.EditorWindow=window.frames['eEditorArea'];this.EditorDocument=this.EditorWindow.document;if (FCKBrowserInfo.IsGecko) this.MakeEditable();this.SetHTML(FCKTools.GetLinkedFieldValue());FCKTools.AttachToLinkedFieldFormSubmit(this.UpdateLinkedField);FCKUndo.SaveUndoStep();this.SetStatus(FCK_STATUS_ACTIVE);};function Window_OnFocus(){FCK.Focus();};FCK.SetStatus=function(newStatus){this.Status=newStatus;if (newStatus==FCK_STATUS_ACTIVE){window.onfocus=window.document.body.onfocus=Window_OnFocus;if (FCKConfig.StartupFocus) FCK.Focus();if (FCKBrowserInfo.IsIE) FCKScriptLoader.AddScript('js/fckeditorcode_ie_2.js');else FCKScriptLoader.AddScript('js/fckeditorcode_gecko_2.js');};this.Events.FireEvent('OnStatusChange',newStatus);};FCK.GetHTML=function(format){var sHTML;if (FCK.EditMode==FCK_EDITMODE_WYSIWYG){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();if (FCKConfig.FullPage) var sXHTML=FCKXHtml.GetXHTML(this.EditorDocument.getElementsByTagName('html')[0],true,format);else{if (FCKConfig.IgnoreEmptyParagraphValue&&this.EditorDocument.body.innerHTML=='

 

') var sXHTML='';else var sXHTML=FCKXHtml.GetXHTML(this.EditorDocument.body,false,format);};if (bSource) this.SwitchEditMode();if (FCKBrowserInfo.IsIE) sXHTML=sXHTML.replace(FCKRegexLib.ToReplace,'$1');if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) sXHTML=FCK.DocTypeDeclaration+'\n'+sXHTML;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) sXHTML=FCK.XmlDeclaration+'\n'+sXHTML;return sXHTML;};FCK.UpdateLinkedField=function(){if (FCKConfig.EnableXHTML) FCKTools.SetLinkedFieldValue(FCK.GetXHTML(FCKConfig.FormatOutput));else FCKTools.SetLinkedFieldValue(FCK.GetHTML(FCKConfig.FormatOutput));};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){var oHandler=FCK.RegisteredDoubleClickHandlers[element.tagName];if (oHandler) oHandler(element);};FCK.RegisterDoubleClickHandler=function(handlerFunction,tag){FCK.RegisteredDoubleClickHandlers[tag.toUpperCase()]=handlerFunction;};FCK.OnAfterSetHTML=function(){var oProcessor,i=0;while(oProcessor=FCKDocumentProcessors[i++]) oProcessor.ProcessDocument(FCK.EditorDocument);this.Events.FireEvent('OnAfterSetHTML');};var FCKDocumentProcessors=new Array();var FCKDocumentProcessors_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;};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 (oLink.name.length>0&&(!oLink.getAttribute('href')||oLink.getAttribute('href').length==0)){var oImg=FCKDocumentProcessors_CreateFakeImage('FCK__Anchor',oLink.cloneNode(true));oImg.setAttribute('_fckanchor','true',0);oLink.parentNode.insertBefore(oImg,oLink);oLink.parentNode.removeChild(oLink);};};};FCKDocumentProcessors.addItem(FCKAnchorsProcessor);var FCKFlashProcessor=new Object();FCKFlashProcessor.ProcessDocument=function(document){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 oImg=FCKDocumentProcessors_CreateFakeImage('FCK__Flash',oEmbed.cloneNode(true));oImg.setAttribute('_fckflash','true',0);FCKFlashProcessor.RefreshView(oImg,oEmbed);oEmbed.parentNode.insertBefore(oImg,oEmbed);oEmbed.parentNode.removeChild(oEmbed);};};};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);};FCKDocumentProcessors.addItem(FCKFlashProcessor);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;} -FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._BehaviorsStyle='';function Doc_OnMouseDown(){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;};function Doc_OnPaste(){if (FCK.Status==FCK_STATUS_COMPLETE) return FCK.Events.FireEvent("OnPaste");else return false;};function Doc_OnContextMenu(){var e=FCK.EditorWindow.event;FCK.ShowContextMenu(e.screenX,e.screenY);return false;};function Doc_OnKeyDown(){var e=FCK.EditorWindow.event;if (e.keyCode==13&&FCKConfig.UseBROnCarriageReturn){if ((e.ctrlKey||e.altKey||e.shiftKey)) return true;else{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;};}else if (e.keyCode==9&&FCKConfig.TabSpaces>0&&!(e.ctrlKey||e.altKey||e.shiftKey)){FCK.InsertHtml(window.FCKTabHTML);return false;};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(dontReturn){this.EditorDocument.attachEvent('onmousedown',Doc_OnMouseDown);this.EditorDocument.attachEvent('onmouseup',Doc_OnMouseDown);this.EditorDocument.body.attachEvent('onpaste',Doc_OnPaste);this.EditorDocument.attachEvent('oncontextmenu',Doc_OnContextMenu);if (FCKConfig.UseBROnCarriageReturn||FCKConfig.TabSpaces>0){if (FCKConfig.TabSpaces>0){window.FCKTabHTML='';for (i=0;i';if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(html)) sHtml+=FCK.TempBaseTag;sHtml=html.replace(FCKRegexLib.HeadCloser,sHtml+'');}else{sHtml=FCKConfig.DocType+''+'';sHtml+=FCK._BehaviorsStyle;sHtml+=FCK.TempBaseTag;sHtml+=''+html+'';};this.EditorDocument.open('','_self','',true);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){FCK.Focus();FCKUndo.SaveUndoStep();var oSel=FCK.EditorDocument.selection;if (oSel.type.toLowerCase()!="none") oSel.clear();oSel.createRange().pasteHTML(html);} +var FCKDebug=new Object();if (FCKConfig.Debug){FCKDebug.Output=function(A,B){if (!FCKConfig.Debug) return;if (A!=null&&isNaN(A)) A=A.replace(/=0;i--){A.options.remove(i);};};FCKTools.SelectNoCase=function(A,B,C){var D=B.toString().toLowerCase();for (var i=0;i/g,">");A=A.replace(/'/g,"'");return A;};FCKTools.GetResultingArray=function(A,B){switch (typeof(A)){case "string":return A.split(B);case "function":return B();default:if (isArray(A)) return A;else return new Array();};};FCKTools.GetElementPosition=function(A){var c={ X:0,Y:0 };while (A){c.X+=A.offsetLeft;c.Y+=A.offsetTop;A=A.offsetParent;};return c;};FCKTools.GetElementAscensor=function(A,B){var e=A;var C=","+B.toUpperCase()+",";while (e){if (C.indexOf(","+e.nodeName.toUpperCase()+",")!=-1) return e;e=e.parentNode;};return null;};FCKTools.Pause=function(A){var B=new Date();while (true){var C=new Date();if (A0) B[B.length]=C;};return B;};FCKTools.RemoveOuterTags=function(e){e.insertAdjacentHTML('beforeBegin',e.innerHTML);e.parentNode.removeChild(e);};FCKTools.CreateXmlObject=function(A){var B;switch (A){case 'XmlHttp':B=['MSXML2.XmlHttp','Microsoft.XmlHttp'];break;case 'DOMDocument':B=['MSXML2.DOMDocument','Microsoft.XmlDom'];break;};for (var i=0;i<2;i++){try { return new ActiveXObject(B[i]);}catch (e){};};if (FCKLang.NoActiveX){alert(FCKLang.NoActiveX);FCKLang.NoActiveX=null;};} +var FCKRegexLib=new Object();FCKRegexLib.AposEntity=/'/gi;FCKRegexLib.ObjectElements=/^(?:IMG|TABLE|TR|TD|INPUT|SELECT|TEXTAREA|HR|OBJECT)$/i;FCKRegexLib.BlockElements=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TD)$/i;FCKRegexLib.EmptyElements=/^(?:BASE|META|LINK|HR|BR|PARAM|IMG|AREA|INPUT)$/i;FCKRegexLib.NamedCommands=/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i;FCKRegexLib.BodyContents=/([\s\S]*\]*\>)([\s\S]*)(\<\/body\>[\s\S]*)/i;FCKRegexLib.ToReplace=/___fcktoreplace:([\w]+)/ig;FCKRegexLib.MetaHttpEquiv=/http-equiv\s*=\s*["']?([^"' ]+)/i;FCKRegexLib.HasBaseTag=/]*>/i;FCKRegexLib.HeadCloser=/<\/head\s*>/i;FCKRegexLib.TableBorderClass=/\s*FCK__ShowTableBorders\s*/;FCKRegexLib.ElementName=/^[A-Za-z_:][\w.-:]*$/;FCKRegexLib.ForceSimpleAmpersand=/___FCKAmp___/g;FCKRegexLib.SpaceNoClose=/\/>/g;FCKRegexLib.EmptyParagraph=/^<(p|div)>\s*<\/\1>$/i;FCKRegexLib.TagBody=/>])/gi;FCKRegexLib.StrongCloser=/<\/STRONG>/gi;FCKRegexLib.EmOpener=/])/gi;FCKRegexLib.EmCloser=/<\/EM>/gi;FCKRegexLib.GeckoEntitiesMarker=/#\?-\:/g; +FCKLanguageManager.GetActiveLanguage=function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;};};return this.DefaultLanguage;};FCKLanguageManager.TranslateElements=function(A,B,C){var e=A.getElementsByTagName(B);for (var i=0;i$/,'');D=D.replace(FCKRegexLib.SpaceNoClose,' />');if (FCKConfig.ForceSimpleAmpersand) D=D.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (C) D=FCKCodeFormatter.Format(D);for (var i=0;i0) FCKXHtml._AppendAttribute(A,'shape',C);};return A;};FCKXHtml.TagProcessors['label']=function(A,B){if (B.htmlFor.length>0) FCKXHtml._AppendAttribute(A,'for',B.htmlFor);FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['form']=function(A,B){if (B.acceptCharset.length>0&&B.acceptCharset!='UNKNOWN') FCKXHtml._AppendAttribute(A,'accept-charset',B.acceptCharset);if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['textarea']=FCKXHtml.TagProcessors['select']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);FCKXHtml._AppendChildNodes(A,B);return A;} +var FCKCodeFormatter;if (!(FCKCodeFormatter=NS.FCKCodeFormatter)){FCKCodeFormatter=NS.FCKCodeFormatter=new Object();FCKCodeFormatter.Regex=new Object();FCKCodeFormatter.Regex.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|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|AREA|OPTION)[^\>]*\>/gi;FCKCodeFormatter.Regex.NewLineTags=/\<(BR|HR)[^\>]\>/gi;FCKCodeFormatter.Regex.MainTags=/\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi;FCKCodeFormatter.Regex.LineSplitter=/\s*\n+\s*/g;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);FCKCodeFormatter.Format=function(A){var B=A.replace(this.Regex.BlocksOpener,'\n$&');;B=B.replace(this.Regex.BlocksCloser,'$&\n');B=B.replace(this.Regex.NewLineTags,'$&\n');B=B.replace(this.Regex.MainTags,'\n$&\n');var C='';var D=B.split(this.Regex.LineSplitter);B='';for (var i=0;i=0&&A==FCKUndo.SavedData[FCKUndo.CurrentIndex][0]) return;if (FCKUndo.CurrentIndex+1>=FCKConfig.MaxUndoLevels) FCKUndo.SavedData.shift();else FCKUndo.CurrentIndex++;var B;if (FCK.EditorDocument.selection.type=='Text') B=FCK.EditorDocument.selection.createRange().getBookmark();FCKUndo.SavedData[FCKUndo.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (FCKUndo.Typing||FCKUndo.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (!FCKUndo.Typing&&FCKUndo.CurrentIndex<(FCKUndo.SavedData.length-1));};FCKUndo.Undo=function(){if (FCKUndo.CheckUndoState()){if (FCKUndo.CurrentIndex==(FCKUndo.SavedData.length-1)){FCKUndo.SaveUndoStep();};FCKUndo._ApplyUndoLevel(--FCKUndo.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");};};FCKUndo.Redo=function(){if (FCKUndo.CheckRedoState()){FCKUndo._ApplyUndoLevel(++FCKUndo.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");};};FCKUndo._ApplyUndoLevel=function(A){var B=FCKUndo.SavedData[A];if (!B) return;FCK.SetInnerHtml(B[0]);if (B[1]){var C=FCK.EditorDocument.selection.createRange();C.moveToBookmark(B[1]);C.select();};FCKUndo.TypesCount=0;FCKUndo.Typing=false;} +FCK.Events=new FCKEvents(FCK);FCK.Toolbar=null;FCK.TempBaseTag=FCKConfig.BaseHref.length>0?'':'';FCK.StartEditor=function(){this.EditorWindow=window.frames['eEditorArea'];this.EditorDocument=this.EditorWindow.document;this.SetHTML(FCKTools.GetLinkedFieldValue());FCKTools.AttachToLinkedFieldFormSubmit(this.UpdateLinkedField);FCKUndo.SaveUndoStep();this.SetStatus(FCK_STATUS_ACTIVE);};function Window_OnFocus(){FCK.Focus();};FCK.SetStatus=function(A){this.Status=A;if (A==FCK_STATUS_ACTIVE){window.onfocus=window.document.body.onfocus=Window_OnFocus;if (FCKConfig.StartupFocus) FCK.Focus();if (FCKBrowserInfo.IsIE) FCKScriptLoader.AddScript('js/fckeditorcode_ie_2.js');else FCKScriptLoader.AddScript('js/fckeditorcode_gecko_2.js');};this.Events.FireEvent('OnStatusChange',A);};FCK.GetHTML=function(A){var B;if (FCK.EditMode==FCK_EDITMODE_WYSIWYG){if (FCKBrowserInfo.IsIE) B=this.EditorDocument.body.innerHTML.replace(FCKRegexLib.ToReplace,'$1');else B=this.EditorDocument.body.innerHTML;}else B=document.getElementById('eSourceField').value;if (A) return FCKCodeFormatter.Format(B);else return B;};FCK.GetXHTML=function(A){var B=(FCK.EditMode==FCK_EDITMODE_SOURCE);if (B) this.SwitchEditMode();var C;if (FCKConfig.FullPage) C=FCKXHtml.GetXHTML(this.EditorDocument.getElementsByTagName('html')[0],true,A);else{if (FCKConfig.IgnoreEmptyParagraphValue&&this.EditorDocument.body.innerHTML=='

 

') C='';else C=FCKXHtml.GetXHTML(this.EditorDocument.body,false,A);};if (B) this.SwitchEditMode();if (FCKBrowserInfo.IsIE) C=C.replace(FCKRegexLib.ToReplace,'$1');if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) C=FCK.DocTypeDeclaration+'\n'+C;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) C=FCK.XmlDeclaration+'\n'+C;return FCKConfig.ProtectedSource.Revert(C);};FCK.UpdateLinkedField=function(){if (FCKConfig.EnableXHTML) FCK.LinkedField.value=FCK.GetXHTML(FCKConfig.FormatOutput);else FCK.LinkedField.value=FCK.GetHTML(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(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName];if (B) B(A);};FCK.RegisterDoubleClickHandler=function(A,B){FCK.RegisteredDoubleClickHandlers[B.toUpperCase()]=A;};FCK.OnAfterSetHTML=function(){var A,i=0;while((A=FCKDocumentProcessors[i++])) A.ProcessDocument(FCK.EditorDocument);this.Events.FireEvent('OnAfterSetHTML');};var FCKDocumentProcessors=new Array();var FCKDocumentProcessors_CreateFakeImage=function(A,B){var C=FCK.EditorDocument.createElement('IMG');C.className=A;C.src=FCKConfig.FullBasePath+'images/spacer.gif';C.setAttribute('_fckfakelement','true',0);C.setAttribute('_fckrealelement',FCKTempBin.AddElement(B),0);return C;};var FCKAnchorsProcessor=new Object();FCKAnchorsProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('A');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.name.length>0&&(!C.getAttribute('href')||C.getAttribute('href').length==0)){var D=FCKDocumentProcessors_CreateFakeImage('FCK__Anchor',C.cloneNode(true));D.setAttribute('_fckanchor','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);};};};FCKDocumentProcessors.addItem(FCKAnchorsProcessor);var FCKPageBreaksProcessor=new Object();FCKPageBreaksProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('CENTER');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.style.pageBreakAfter=='always'&&C.innerHTML.trim().length==0){var D=FCKDocumentProcessors_CreateFakeImage('FCK__PageBreak',C.cloneNode(true));C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);};};};FCKDocumentProcessors.addItem(FCKPageBreaksProcessor);var FCKFlashProcessor=new Object();FCKFlashProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('EMBED');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.src.endsWith('.swf',true)){var D=FCKDocumentProcessors_CreateFakeImage('FCK__Flash',C.cloneNode(true));D.setAttribute('_fckflash','true',0);FCKFlashProcessor.RefreshView(D,C);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);};};};FCKFlashProcessor.RefreshView=function(A,B){if (B.width>0) A.style.width=FCKTools.ConvertHtmlSizeToStyle(B.width);if (B.height>0) A.style.height=FCKTools.ConvertHtmlSizeToStyle(B.height);};FCKDocumentProcessors.addItem(FCKFlashProcessor);FCK.GetRealElement=function(A){var e=FCKTempBin.Elements[A.getAttribute('_fckrealelement')];if (A.getAttribute('_fckflash')){if (A.style.width.length>0) e.width=FCKTools.ConvertStyleSizeToHtml(A.style.width);if (A.style.height.length>0) e.height=FCKTools.ConvertStyleSizeToHtml(A.style.height);};return e;}; +FCK.Description="FCKeditor for Internet Explorer 5.5+";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) return FCK.Events.FireEvent("OnPaste");else return false;};function Doc_OnContextMenu(){var e=FCK.EditorWindow.event;FCK.ShowContextMenu(e.screenX,e.screenY);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 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);this.EditorDocument.attachEvent('oncontextmenu',Doc_OnContextMenu);if (FCKConfig.TabSpaces>0){window.FCKTabHTML='';for (i=0;i';if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) C+=FCK.TempBaseTag;C=A.replace(FCKRegexLib.HeadOpener,'$&'+C);}else{C=FCKConfig.DocType+''+'';C+=FCK._BehaviorsStyle;C+=FCK.TempBaseTag;C+=''+A+'';};this.EditorDocument.open('','_self','',true);this.EditorDocument.write(C);this.EditorDocument.close();this.InitializeBehaviors();this.EditorDocument.body.contentEditable=true;FCK.OnAfterSetHTML();}else document.getElementById('eSourceField').value=A;};FCK.InsertHtml=function(A){FCK.Focus();FCKUndo.SaveUndoStep();var B=FCK.EditorDocument.selection;if (B.type.toLowerCase()!="none") B.clear();B.createRange().pasteHTML(A);};FCK.SetInnerHtml=function(A){var B=FCK.EditorDocument;B.body.innerHTML='
 
'+A;B.getElementById('__fakeFCKRemove__').removeNode(true);} Index: lams_central/web/fckeditor/editor/js/fckeditorcode_ie_2.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/js/fckeditorcode_ie_2.js (.../fckeditorcode_ie_2.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/js/fckeditorcode_ie_2.js (.../fckeditorcode_ie_2.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,47 +8,49 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * This file has been compacted for best loading performance. */ -FCK.RedirectNamedCommands=new Object();FCK.ExecuteNamedCommand=function(commandName,commandParameter){FCKUndo.SaveUndoStep();if (FCK.RedirectNamedCommands[commandName]!=null) FCK.ExecuteRedirectedNamedCommand(commandName,commandParameter);else{FCK.Focus();FCK.EditorDocument.execCommand(commandName,false,commandParameter);FCK.Events.FireEvent('OnSelectionChange');};};FCK.GetNamedCommandState=function(commandName){try{if (!FCK.EditorDocument.queryCommandEnabled(commandName)) return FCK_TRISTATE_DISABLED;else return FCK.EditorDocument.queryCommandState(commandName)?FCK_TRISTATE_ON:FCK_TRISTATE_OFF;}catch (e){return FCK_TRISTATE_OFF;};};FCK.GetNamedCommandValue=function(commandName){var sValue='';var eState=FCK.GetNamedCommandState(commandName);if (eState==FCK_TRISTATE_DISABLED) return null;try{sValue=this.EditorDocument.queryCommandValue(commandName);}catch(e) {};return sValue?sValue:'';};FCK.PasteFromWord=function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');};FCK.Preview=function(){var iWidth=screen.width*0.8;var iHeight=screen.height*0.7;var iLeft=(screen.width-iWidth) / 2;var oWindow=window.open('', null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + iWidth + ',height=' + iHeight + ',left=' + iLeft);var sHTML;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length > 0) sHTML=FCK.GetXHTML().replace( FCKRegexLib.HeadCloser, FCK.TempBaseTag + '');else sHTML=FCK.GetXHTML();}else{sHTML=FCKConfig.DocType + '' + '' + FCKLang.Preview + '' + '' + FCK.TempBaseTag + '' + FCK.GetXHTML() + '';};oWindow.document.write(sHTML);oWindow.document.close();};FCK.SwitchEditMode=function(){var bWYSIWYG=(FCK.EditMode==FCK_EDITMODE_WYSIWYG);document.getElementById('eWysiwyg').style.display = bWYSIWYG ? 'none' : '';document.getElementById('eSource').style.display = bWYSIWYG ? '' : 'none';if (bWYSIWYG){if (FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();document.getElementById('eSourceField').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ));}else FCK.SetHTML(FCK.GetHTML(), true);FCK.EditMode=bWYSIWYG ? FCK_EDITMODE_SOURCE : FCK_EDITMODE_WYSIWYG;FCKToolbarSet.RefreshModeState();FCK.Focus();};FCK.CreateElement=function(tag){var e=FCK.EditorDocument.createElement(tag);return FCK.InsertElementAndGetIt(e);};FCK.InsertElementAndGetIt=function(e){e.setAttribute('__FCKTempLabel', 1);this.InsertElement(e);var aEls=FCK.EditorDocument.getElementsByTagName(e.tagName);for (var i=0 ; i < aEls.length ; i++){if (aEls[i].getAttribute( '__FCKTempLabel' )){aEls[i].removeAttribute('__FCKTempLabel');return aEls[i];};};}; -FCK.Paste=function(){if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;}else if (FCKConfig.AutoDetectPasteFromWord){var sHTML=FCK.GetClipboardHTML();var re=/<\w[^>]* class="?MsoNormal"?/gi;if (re.test(sHTML)){if (confirm(FCKLang["PasteWordConfirm"])){FCK.PasteFromWord();return false;};};}else return true;};FCK.PasteAsPlainText=function(){var sText=FCKTools.HTMLEncode(clipboardData.getData("Text"));sText=sText.replace(/\n/g,'
');this.InsertHtml(sText);};FCK.InsertElement=function(element){FCK.InsertHtml(element.outerHTML);};FCK.GetClipboardHTML=function(){var oDiv=document.getElementById('___FCKHiddenDiv');if (!oDiv){var oDiv=document.createElement('DIV');oDiv.id='___FCKHiddenDiv';oDiv.style.visibility='hidden';oDiv.style.overflow='hidden';oDiv.style.position='absolute';oDiv.style.width=1;oDiv.style.height=1;document.body.appendChild(oDiv);};oDiv.innerHTML='';var oTextRange=document.body.createTextRange();oTextRange.moveToElementText(oDiv);oTextRange.execCommand('Paste');var sData=oDiv.innerHTML;oDiv.innerHTML='';return sData;};FCK.AttachToOnSelectionChange=function(functionPointer){this.Events.AttachEvent('OnSelectionChange',functionPointer);};FCK.CreateLink=function(url){FCK.ExecuteNamedCommand('Unlink');if (url.length>0){var sTempUrl='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',sTempUrl);var oLinks=this.EditorDocument.links;for (i=0;i0) E=FCK.GetXHTML().replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);else E=FCK.GetXHTML();}else{E=FCKConfig.DocType+''+''+FCKLang.Preview+''+''+FCK.TempBaseTag+''+FCK.GetXHTML()+'';};D.document.write(E);D.document.close();};FCK.SwitchEditMode=function(){var A=(FCK.EditMode==FCK_EDITMODE_WYSIWYG);document.getElementById('eWysiwyg').style.display=A?'none':'';document.getElementById('eSource').style.display=A?'':'none';if (A){if (FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();document.getElementById('eSourceField').value=(FCKConfig.EnableXHTML&&FCKConfig.EnableSourceXHTML?FCK.GetXHTML(FCKConfig.FormatSource):FCK.GetHTML(FCKConfig.FormatSource));}else FCK.SetHTML(FCK.GetHTML(),true);FCK.EditMode=A?FCK_EDITMODE_SOURCE:FCK_EDITMODE_WYSIWYG;FCKToolbarSet.RefreshModeState();FCK.Focus();};FCK.CreateElement=function(A){var e=FCK.EditorDocument.createElement(A);return FCK.InsertElementAndGetIt(e);};FCK.InsertElementAndGetIt=function(e){e.setAttribute('__FCKTempLabel',1);this.InsertElement(e);var A=FCK.EditorDocument.getElementsByTagName(e.tagName);for (var i=0;i]* class="?MsoNormal"?/gi;if (B.test(A)){if (confirm(FCKLang["PasteWordConfirm"])){FCK.PasteFromWord();return false;};};}else return true;};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;ithis.PanelDiv.offsetWidth)) var iWidth=this.PanelDiv.offsetWidth;else var iWidth=width;if (height==null||(autoSize&&height>this.PanelDiv.offsetHeight)) var iHeight=this.PanelDiv.offsetHeight;else var iHeight=height;this.PanelDiv.style.height=iHeight;this._Popup.show(panelX,panelY,iWidth,iHeight,relElement);};FCKPanel.prototype.Hide=function(){if (this._Popup) this._Popup.hide();} -var FCKTableHandler=new Object();FCKTableHandler.InsertRow=function(){var oRow=FCKSelection.MoveToAncestorNode("TR");if (!oRow) return;var oNewRow=oRow.cloneNode(true);oRow.parentNode.insertBefore(oNewRow,oRow);FCKTableHandler.ClearRow(oRow);};FCKTableHandler.DeleteRows=function(row){if (!row) row=FCKSelection.MoveToAncestorNode("TR");if (!row) return;var oTable=FCKTools.GetElementAscensor(row,'TABLE');if (oTable.rows.length==1){FCKTableHandler.DeleteTable(oTable);return;};row.parentNode.removeChild(row);};FCKTableHandler.DeleteTable=function(table){if (!table) table=FCKSelection.MoveToAncestorNode("TABLE");if (!table) return;table.parentNode.removeChild(table);};FCKTableHandler.InsertColumn=function(){var oCell=FCKSelection.MoveToAncestorNode("TD");if (!oCell) return;var oTable=FCKTools.GetElementAscensor(oCell,'TABLE');var iIndex=oCell.cellIndex+1;for (var i=0;i=0;i--){var oRow=oTable.rows[i];if (iIndex==0&&oRow.cells.length==1){FCKTableHandler.DeleteRows(oRow);continue;};if (oRow.cells[iIndex]) oRow.removeChild(oRow.cells[iIndex]);};};FCKTableHandler.InsertCell=function(cell){var oCell=cell?cell:FCKSelection.MoveToAncestorNode("TD");if (!oCell) return;var oNewCell=FCK.EditorDocument.createElement("TD");if (FCKBrowserInfo.IsGecko) oNewCell.innerHTML='
';if (oCell.cellIndex==oCell.parentNode.cells.lenght-1){oCell.parentNode.appendChild(oNewCell);}else{oCell.parentNode.insertBefore(oNewCell,oCell.nextSibling);};return oNewCell;};FCKTableHandler.DeleteCell=function(cell){if (cell.parentNode.cells.length==1){FCKTableHandler.DeleteRows(FCKTools.GetElementAscensor(cell,'TR'));return;};cell.parentNode.removeChild(cell);};FCKTableHandler.DeleteCells=function(){var aCells=FCKTableHandler.GetSelectedCells();for (var i=aCells.length-1;i>=0;i--){FCKTableHandler.DeleteCell(aCells[i]);};};FCKTableHandler.MergeCells=function(){var aCells=FCKTableHandler.GetSelectedCells();if (aCells.length<2) return;if (aCells[0].parentNode!=aCells[aCells.length-1].parentNode) return;var iColSpan=isNaN(aCells[0].colSpan)?1:aCells[0].colSpan;var sHtml='';for (var i=aCells.length-1;i>0;i--){iColSpan+=isNaN(aCells[i].colSpan)?1:aCells[i].colSpan;sHtml=aCells[i].innerHTML+sHtml;FCKTableHandler.DeleteCell(aCells[i]);};aCells[0].colSpan=iColSpan;aCells[0].innerHTML+=sHtml;};FCKTableHandler.SplitCell=function(){var aCells=FCKTableHandler.GetSelectedCells();if (aCells.length!=1) return;var aMap=this._CreateTableMap(aCells[0].parentNode.parentNode);var iCellIndex=FCKTableHandler._GetCellIndexSpan(aMap,aCells[0].parentNode.rowIndex,aCells[0]);var aCollCells=this._GetCollumnCells(aMap,iCellIndex);for (var i=0;i1) oNewCell.rowSpan=aCells[0].rowSpan;}else{if (isNaN(aCollCells[i].colSpan)) aCollCells[i].colSpan=2;else aCollCells[i].colSpan+=1;};};};FCKTableHandler._GetCellIndexSpan=function(tableMap,rowIndex,cell){if (tableMap.length=0&&oRange.compareEndPoints('StartToEnd',oCellRange)<=0)||(oRange.compareEndPoints('EndToStart',oCellRange)>=0&&oRange.compareEndPoints('EndToEnd',oCellRange)<=0)){aCells[aCells.length]=oParent.cells[i];};};};};return aCells;}; -var FCKXml;if (!(FCKXml=NS.FCKXml)){FCKXml=NS.FCKXml=function(){};FCKXml.prototype.LoadUrl=function(urlToCall){var oXmlHttp=FCKTools.CreateXmlObject('XmlHttp');oXmlHttp.open("GET",urlToCall,false);oXmlHttp.send(null);if (oXmlHttp.status==200) 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 alert('Error loading "'+urlToCall+'"');};FCKXml.prototype.SelectNodes=function(xpath,contextNode){if (contextNode) return contextNode.selectNodes(xpath);else return this.DOMDocument.selectNodes(xpath);};FCKXml.prototype.SelectSingleNode=function(xpath,contextNode){if (contextNode) return contextNode.selectSingleNode(xpath);else return this.DOMDocument.selectSingleNode(xpath);};} -var FCKStyleDef=function(name,element){this.Name=name;this.Element=element.toUpperCase();this.IsObjectElement=FCKRegexLib.ObjectElements.test(this.Element);this.Attributes=new Object();};FCKStyleDef.prototype.AddAttribute=function(name,value){this.Attributes[name]=value;};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(FCKSelection.GetSelectedElement());else this._RemoveMe(FCKSelection.GetParentElement());} -FCKStyleDef.prototype.ApplyToSelection=function(){var oSelection=FCK.EditorDocument.selection;if (oSelection.type=='Text'){var oRange=oSelection.createRange();var e=document.createElement(this.Element);e.innerHTML=oRange.htmlText;this._AddAttributes(e);this._RemoveDuplicates(e);oRange.pasteHTML(e.outerHTML);}else if (oSelection.type=='Control'){var oControl=FCKSelection.GetSelectedElement();if (oControl.tagName==this.Element) this._AddAttributes(oControl);};};FCKStyleDef.prototype._AddAttributes=function(targetElement){for (var a in this.Attributes){if (a.toLowerCase()=='style') targetElement.style.cssText=this.Attributes[a];else targetElement.setAttribute(a,this.Attributes[a],0);};};FCKStyleDef.prototype._RemoveDuplicates=function(parent){for (var i=0;i');else FCK.ExecuteNamedCommand('FormatBlock','<'+formatName+'>');};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 oForm=FCK.LinkedField.form;if (typeof(oForm.onsubmit)=='function'){var bRet=oForm.onsubmit();if (bRet!=null&&bRet===false) return;};oForm.submit();};FCKSaveCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;};var FCKNewPageCommand=function(){this.Name='NewPage';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetHTML('');};FCKNewPageCommand.prototype.GetState=function(){return FCK_TRISTATE_OFF;};var FCKSourceCommand=function(){this.Name='Source';};FCKSourceCommand.prototype.Execute=function(){if (FCKBrowserInfo.IsGecko){var iWidth=screen.width*0.65;var iHeight=screen.height*0.65;FCKDialog.OpenDialog('FCKDialog_Source',FCKLang.Source,'dialog/fck_source.html',iWidth,iHeight,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.Typing||FCKUndo.CurrentIndex>0?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.Typing&&FCKUndo.CurrentIndex<(FCKUndo.SavedData.length-1)?FCK_TRISTATE_OFF:FCK_TRISTATE_DISABLED);else return FCK.GetNamedCommandState('Redo');} -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 oIeSpell=new ActiveXObject("ieSpell.ieSpellExtension");oIeSpell.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(type){this.Name=type=='ForeColor'?'TextColor':'BGColor';this.Type=type;this._Panel=new FCKPanel();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._CreatePanelBody(this._Panel.Document,this._Panel.PanelDiv);};FCKTextColorCommand.prototype.Execute=function(panelX,panelY,relElement){FCK._ActiveColorPanelType=this.Type;this._Panel.Show(panelX,panelY,relElement);};FCKTextColorCommand.prototype.SetColor=function(color){if (FCK._ActiveColorPanelType=='ForeColor') FCK.ExecuteNamedCommand('ForeColor',color);else if (FCKBrowserInfo.IsGecko) FCK.ExecuteNamedCommand('hilitecolor',color);else FCK.ExecuteNamedCommand('BackColor',color);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(targetDocument,targetDiv){function CreateSelectionDiv(){var oDiv=targetDocument.createElement("DIV");oDiv.className='ColorDeselected';oDiv.onmouseover=FCKTextColorCommand_OnMouseOver;oDiv.onmouseout=FCKTextColorCommand_OnMouseOut;return oDiv;};var oTable=targetDiv.appendChild(targetDocument.createElement("TABLE"));oTable.style.tableLayout='fixed';oTable.cellPadding=0;oTable.cellSpacing=0;oTable.border=0;oTable.width=150;var oCell=oTable.insertRow(-1).insertCell(-1);oCell.colSpan=8;var oDiv=oCell.appendChild(CreateSelectionDiv());oDiv.innerHTML='\ \ \ \ \
'+FCKLang.ColorAutomatic+'
';oDiv.Command=this;oDiv.onclick=FCKTextColorCommand_AutoOnClick;var aColors=FCKConfig.FontColors.toString().split(',');var iCounter=0;while (iCounter
';oDiv.Command=this;oDiv.onclick=FCKTextColorCommand_OnClick;};};var oCell=oTable.insertRow(-1).insertCell(-1);oCell.colSpan=8;var oDiv=oCell.appendChild(CreateSelectionDiv());oDiv.innerHTML='
'+FCKLang.ColorMoreColors+'
';oDiv.Command=this;oDiv.onclick=FCKTextColorCommand_MoreOnClick;} +FCKSelection.GetType=function(){return FCK.EditorDocument.selection.type;};FCKSelection.GetSelectedElement=function(){if (this.GetType()=='Control'){var A=FCK.EditorDocument.selection.createRange();if (A&&A.item) return FCK.EditorDocument.selection.createRange().item(0);};};FCKSelection.GetParentElement=function(){switch (this.GetType()){case 'Control':return FCKSelection.GetSelectedElement().parentElement;case 'None':return;default:return FCK.EditorDocument.selection.createRange().parentElement();};};FCKSelection.SelectNode=function(A){FCK.Focus();FCK.EditorDocument.selection.empty();var B=FCK.EditorDocument.selection.createRange();B.moveToElementText(A);B.select();};FCKSelection.Collapse=function(A){FCK.Focus();var B=FCK.EditorDocument.selection.createRange();B.collapse(A==null||A===true);B.select();};FCKSelection.HasAncestorNode=function(A){var B;if (FCK.EditorDocument.selection.type=="Control"){B=this.GetSelectedElement();}else{var C=FCK.EditorDocument.selection.createRange();B=C.parentElement();};while (B){if (B.tagName==A) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B;if (FCK.EditorDocument.selection.type=="Control"){var C=FCK.EditorDocument.selection.createRange();for (i=0;ithis.PanelDiv.offsetWidth)) var G=this.PanelDiv.offsetWidth;else var G=D;if (E==null||(F&&E>this.PanelDiv.offsetHeight)) var I=this.PanelDiv.offsetHeight;else var I=E;this.PanelDiv.style.height=I;this._Popup.show(A,B,G,I,C);};FCKPanel.prototype.Hide=function(){if (this._Popup) this._Popup.hide();} +var FCKTableHandler=new Object();FCKTableHandler.InsertRow=function(){var A=FCKSelection.MoveToAncestorNode("TR");if (!A) return;var B=A.cloneNode(true);A.parentNode.insertBefore(B,A);FCKTableHandler.ClearRow(A);};FCKTableHandler.DeleteRows=function(A){if (!A) A=FCKSelection.MoveToAncestorNode("TR");if (!A) return;var B=FCKTools.GetElementAscensor(A,'TABLE');if (B.rows.length==1){FCKTableHandler.DeleteTable(B);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteTable=function(A){if (!A) A=FCKSelection.MoveToAncestorNode("TABLE");if (!A) return;A.parentNode.removeChild(A);};FCKTableHandler.InsertColumn=function(){var A=FCKSelection.MoveToAncestorNode("TD");if (!A) A=FCKSelection.MoveToAncestorNode("TH");if (!A) return;var B=FCKTools.GetElementAscensor(A,'TABLE');var C=A.cellIndex+1;for (var 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.lenght-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='';for (var i=A.length-1;i>0;i--){B+=isNaN(A[i].colSpan)?1:A[i].colSpan;C=A[i].innerHTML+C;FCKTableHandler.DeleteCell(A[i]);};A[0].colSpan=B;A[0].innerHTML+=C;};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;if (!(FCKXml=NS.FCKXml)){FCKXml=NS.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(FCKSelection.GetSelectedElement());else this._RemoveMe(FCKSelection.GetParentElement());} +FCKStyleDef.prototype.ApplyToSelection=function(){var A=FCK.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=FCKSelection.GetSelectedElement();if (C.tagName==this.Element) this._AddAttributes(C);};};FCKStyleDef.prototype._AddAttributes=function(A){for (var a in this.Attributes){if (a.toLowerCase()=='style') A.style.cssText=this.Attributes[a];else A.setAttribute(a,this.Attributes[a],0);};};FCKStyleDef.prototype._RemoveDuplicates=function(A){for (var i=0;i');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 (FCKBrowserInfo.IsGecko){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 A=FCK.EditorDocument.createElement('CENTER');A.style.pageBreakAfter='always';var B=FCKDocumentProcessors_CreateFakeImage('FCK__PageBreak',A);B=FCK.InsertElement(B);};FCKPageBreakCommand.prototype.GetState=function(){return 0;} +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;this._Panel=new FCKPanel();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._CreatePanelBody(this._Panel.Document,this._Panel.PanelDiv);};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.IsGecko) FCK.ExecuteNamedCommand('hilitecolor',A);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.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(command){this.Name=command;};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;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(styleName,styleComboItem){if (styleComboItem.Selected) styleComboItem.Style.RemoveFromSelection();else styleComboItem.Style.ApplyToSelection();FCK.Focus();FCK.Events.FireEvent("OnSelectionChange");};FCKStyleCommand.prototype.GetState=function(){var oSelection=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;else FCK_TRISTATE_OFF;}else return FCK_TRISTATE_OFF;};FCKStyleCommand.prototype.GetActiveStyles=function(){var aActiveStyles=new Array();if (FCKSelection.GetType()=='Control') this._CheckStyle(FCKSelection.GetSelectedElement(),aActiveStyles,false);else this._CheckStyle(FCKSelection.GetParentElement(),aActiveStyles,true);return aActiveStyles;};FCKStyleCommand.prototype._CheckStyle=function(element,targetArray,checkParent){if (!element) return;if (element.nodeType==1){var aStyleGroup=this.StylesLoader.StyleGroups[element.tagName];if (aStyleGroup){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) sHtml+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) sHtml+=''+this.Label+'';sHtml+=''+'';this.DOMDiv.innerHTML=sHtml;var oCell=parentToolbar.DOMRow.insertCell(-1);oCell.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarButton.prototype.RefreshState=function(){var eState=this.Command.GetState();if (eState==this.State) return;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;};};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();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};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;} -var FCKSpecialCombo=function(caption){this.FieldWidth=80;this.PanelWidth=130;this.PanelMaxHeight=150;this.Label=' ';this.Caption=caption;this.Enabled=true;this.Items=new Object();this._Panel=new FCKPanel();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._Panel.PanelDiv.className+=' SC_Panel';this._Panel.PanelDiv.innerHTML='
';this._ItemsHolderEl=this._Panel.PanelDiv.getElementsByTagName('TD')[0];};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(){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(id,html,label){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.FCKSpecialCombo=this;oDiv.Selected=false;oDiv.onmouseover=FCKSpecialCombo_ItemOnMouseOver;oDiv.onmouseout=FCKSpecialCombo_ItemOnMouseOut;oDiv.onclick=FCKSpecialCombo_ItemOnClick;this.Items[id.toString().toLowerCase()]=oDiv;return oDiv;};FCKSpecialCombo.prototype.SelectItem=function(itemId){itemId=itemId?itemId.toString().toLowerCase():'';var oDiv=this.Items[itemId];if (oDiv){oDiv.className=oDiv.originalClass='SC_ItemSelected';oDiv.Selected=true;};};FCKSpecialCombo.prototype.DeselectAll=function(){for (var i in this.Items){this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};};FCKSpecialCombo.prototype.SetLabelById=function(id){id=id?id.toString().toLowerCase():'';var oDiv=this.Items[id];this.SetLabel(oDiv?oDiv.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(text){this.Label=text.length==0?' ':text;if (this._LabelEl) this._LabelEl.innerHTML=this.Label;};FCKSpecialCombo.prototype.SetEnabled=function(isEnabled){this.Enabled=isEnabled;this._OuterTable.className=isEnabled?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(targetElement){this._OuterTable=targetElement.appendChild(document.createElement('TABLE'));this._OuterTable.cellPadding=0;this._OuterTable.cellSpacing=0;this._OuterTable.insertRow(-1);if (this.Caption&&this.Caption.length>0){var oCaptionCell=this._OuterTable.rows[0].insertCell(-1);oCaptionCell.unselectable='on';oCaptionCell.innerHTML=this.Caption;oCaptionCell.className='SC_FieldCaption';};var oField=this._OuterTable.rows[0].insertCell(-1).appendChild(document.createElement('DIV'));oField.className='SC_Field';oField.style.width=this.FieldWidth+'px';oField.innerHTML='
 
';this._LabelEl=oField.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;oField.SpecialCombo=this;oField.onmouseover=FCKSpecialCombo_OnMouseOver;oField.onmouseout=FCKSpecialCombo_OnMouseOut;oField.onclick=FCKSpecialCombo_OnClick;};function FCKSpecialCombo_OnMouseOver(){if (this.SpecialCombo.Enabled) this.className='SC_Field SC_FieldOver';};function FCKSpecialCombo_OnMouseOut(){this.className='SC_Field';};function FCKSpecialCombo_OnClick(e){if (e){e.stopPropagation();FCKPanelEventHandlers.OnDocumentClick(e);};if (this.SpecialCombo.Enabled){if (typeof(this.SpecialCombo.OnBeforeClick)=='function') this.SpecialCombo.OnBeforeClick(this.SpecialCombo);if (this.SpecialCombo._ItemsHolderEl.offsetHeight>this.SpecialCombo.PanelMaxHeight) this.SpecialCombo._Panel.PanelDiv.style.height=this.SpecialCombo.PanelMaxHeight+'px';else this.SpecialCombo._Panel.PanelDiv.style.height=this.SpecialCombo._ItemsHolderEl.offsetHeight+'px';this.SpecialCombo._Panel.PanelDiv.style.width=this.SpecialCombo.PanelWidth+'px';if (FCKBrowserInfo.IsGecko) this.SpecialCombo._Panel.PanelDiv.style.overflow='-moz-scrollbars-vertical';this.SpecialCombo._Panel.Show(0,this.offsetHeight,this,null,this.SpecialCombo.PanelMaxHeight,true);};return false;}; -var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};function FCKToolbarSpecialCombo_OnSelect(itemId,item){this.Command.Execute(itemId,item);};FCKToolbarSpecialCombo.prototype.CreateInstance=function(parentToolbar){this._Combo=new FCKSpecialCombo(this.GetLabel());this._Combo.FieldWidth=100;this._Combo.PanelWidth=150;this._Combo.PanelMaxHeight=150;this.CreateItems(this._Combo);this._Combo.Create(parentToolbar.DOMRow.insertCell(-1));this._Combo.Command=this.Command;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(combo,value){combo.DeselectAll();combo.SelectItem(value);combo.SetLabelById(value);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var eState;var sValue=this.Command.GetState();if (sValue!=FCK_TRISTATE_DISABLED){eState=FCK_TRISTATE_ON;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,sValue);else FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,sValue);}else eState=FCK_TRISTATE_DISABLED;if (eState==this.State) return;if (eState==FCK_TRISTATE_DISABLED){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=eState;this._Combo.SetEnabled(eState!=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(){this.Command=FCKCommands.GetCommand('FontName');};FCKToolbarFontsCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.CreateItems=function(targetSpecialCombo){var aFonts=FCKConfig.FontNames.split(';');for (var i=0;i'+aFonts[i]+'
');} -var FCKToolbarFontSizeCombo=function(){this.Command=FCKCommands.GetCommand('FontSize');};FCKToolbarFontSizeCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.CreateItems=function(targetSpecialCombo){targetSpecialCombo.FieldWidth=70;var aSizes=FCKConfig.FontSizes.split(';');for (var i=0;i'+aSizeParts[1]+'',aSizeParts[1]);};} -var FCKToolbarFontFormatCombo=function(){this.Command=FCKCommands.GetCommand('FontFormat');};FCKToolbarFontFormatCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.CreateItems=function(targetSpecialCombo){var aNames=FCKLang['FontFormats'].split(';');var oNames={p:aNames[0],pre:aNames[1],address:aNames[2],h1:aNames[3],h2:aNames[4],h3:aNames[5],h4:aNames[6],h5:aNames[7],h6:aNames[8],div:aNames[9]};var aTags=FCKConfig.FontFormats.split(';');for (var i=0;i'+oNames[aTags[i]]+'',oNames[aTags[i]]);};} -var FCKToolbarStyleCombo=function(){this.Command=FCKCommands.GetCommand('Style');};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.CreateItems=function(targetSpecialCombo){FCKTools.AppendStyleSheet(targetSpecialCombo._Panel.Document,FCKConfig.EditorAreaCSS);if (!FCKBrowserInfo.IsGecko) targetSpecialCombo.OnBeforeClick=this.RefreshVisibleItems;for (var s in this.Command.Styles){var oStyle=this.Command.Styles[s];if (oStyle.IsObjectElement) var oItem=targetSpecialCombo.AddItem(s,s);else var oItem=targetSpecialCombo.AddItem(s,oStyle.GetOpenerTag()+s+oStyle.GetCloserTag());oItem.Style=oStyle;};};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(targetSpecialCombo){targetSpecialCombo.DeselectAll();var aStyles=this.Command.GetActiveStyles();if (aStyles.length>0){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) sHtml+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) sHtml+=''+this.Label+'';sHtml+=''+''+'';this.DOMDiv.innerHTML=sHtml;var oCell=parentToolbar.DOMRow.insertCell(-1);oCell.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable; -var FCKToolbarItems=new Object();FCKToolbarItems.LoadedItems=new Object();FCKToolbarItems.RegisterItem=function(itemName,item){this.LoadedItems[itemName]=item;};FCKToolbarItems.GetItem=function(itemName){var oItem=FCKToolbarItems.LoadedItems[itemName];if (oItem) return oItem;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 '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 '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 '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 '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 '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 'UniversalKey':oItem=new FCKToolbarButton('UniversalKey',FCKLang.UniversalKeyboard);break;case 'Rule':oItem=new FCKToolbarButton('InsertHorizontalRule',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true);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 '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 'Find':oItem=new FCKToolbarButton('Find',FCKLang.Find);break;case 'Replace':oItem=new FCKToolbarButton('Replace',FCKLang.Replace);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;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,itemName));return;};FCKToolbarItems.LoadedItems[itemName]=oItem;return oItem;} -var FCKToolbar=function(){this.Items=new Array();this.DOMTable=document.createElement('table');this.DOMTable.className='TB_Toolbar';with (this.DOMTable){style.styleFloat=style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';cellPadding=0;cellSpacing=0;border=0;};this.DOMRow=this.DOMTable.insertRow(-1);var oCell=this.DOMRow.insertCell(-1);oCell.className='TB_Start';oCell.innerHTML='';FCKToolbarSet.DOMElement.appendChild(this.DOMTable);};FCKToolbar.prototype.AddItem=function(toolbarItem){this.Items[this.Items.length]=toolbarItem;toolbarItem.CreateInstance(this);};FCKToolbar.prototype.AddSeparator=function(){var oCell=this.DOMRow.insertCell(-1);oCell.unselectable='on';oCell.innerHTML='';};FCKToolbar.prototype.AddTerminator=function(){var oCell=this.DOMRow.insertCell(-1);oCell.className='TB_End';oCell.innerHTML='';}; -var FCKToolbarBreak=function(){var oBreakDiv=document.createElement('div');oBreakDiv.className='TB_Break';oBreakDiv.style.clear=FCKLang.Dir=='rtl'?'left':'right';FCKToolbarSet.DOMElement.appendChild(oBreakDiv);} -var FCKToolbarSet=FCK.ToolbarSet=new Object();document.getElementById('ExpandHandle').title=FCKLang.ToolbarExpand;document.getElementById('CollapseHandle').title=FCKLang.ToolbarCollapse;FCKToolbarSet.Toolbars=new Array();FCKToolbarSet.ItemsWysiwygOnly=new Array();FCKToolbarSet.ItemsContextSensitive=new Array();FCKToolbarSet.Expand=function(){document.getElementById('Collapsed').style.display='none';document.getElementById('Expanded').style.display='';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Collapse=function(){document.getElementById('Collapsed').style.display='';document.getElementById('Expanded').style.display='none';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Restart=function(){if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();document.getElementById('CollapseHandle').style.display=FCKConfig.ToolbarCanCollapse?'':'none';};FCKToolbarSet.Load=function(toolbarSetName){this.DOMElement=document.getElementById('eToolbar');var ToolbarSet=FCKConfig.ToolbarSets[toolbarSetName];if (!ToolbarSet){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,toolbarSetName));return;};this.Toolbars=new Array();for (var x=0;x';oCell=this._Row.insertCell(-1);oCell.className='CM_Label';oCell.unselectable='on';oCell.noWrap=true;oCell.innerHTML=this.Label;};FCKContextMenuItem.prototype.SetVisible=function(isVisible){this._Row.style.display=isVisible?'':'none';};FCKContextMenuItem.prototype.RefreshState=function(){switch (this.Command.GetState()){case FCK_TRISTATE_ON:case FCK_TRISTATE_OFF:this._Row.className='CM_Option';break;default:this._Row.className='CM_Disabled';break;};}; -var FCKContextMenuSeparator=function(){};FCKContextMenuSeparator.prototype.CreateTableRow=function(targetTable){this._Row=targetTable.insertRow(-1);this._Row.className='CM_Separator';var oCell=this._Row.insertCell(-1);oCell.className='CM_Icon';oCell=this._Row.insertCell(-1);oCell.className='CM_Label';oCell.innerHTML='
';};FCKContextMenuSeparator.prototype.SetVisible=function(isVisible){this._Row.style.display=isVisible?'':'none';};FCKContextMenuSeparator.prototype.RefreshState=function(){}; -var FCKContextMenuGroup=function(addSeparator,contextMenu,firstItemCommand,firstItemLabel,hasIcon){this.IsVisible=true;this.Items=new Array();if (addSeparator) this.Add(new FCKContextMenuSeparator());if (contextMenu&&firstItemCommand&&firstItemLabel) this.Add(new FCKContextMenuItem(contextMenu,firstItemCommand,firstItemLabel,hasIcon));this.ValidationFunction=null;};FCKContextMenuGroup.prototype.Add=function(contextMenuItem){this.Items[this.Items.length]=contextMenuItem;};FCKContextMenuGroup.prototype.CreateTableRows=function(table){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) B+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) B+=''+this.Label+'';B+=''+'';this.DOMDiv.innerHTML=B;var C=A.DOMRow.insertCell(-1);C.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarButton.prototype.RefreshState=function(){var A=this.Command.GetState();if (A==this.State) return;this.State=A;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;};};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();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};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;} +var FCKSpecialCombo=function(A){this.FieldWidth=80;this.PanelWidth=130;this.PanelMaxHeight=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();this._Panel.StyleSheet=FCKConfig.SkinPath+'fck_contextmenu.css';this._Panel.Create();this._Panel.PanelDiv.className+=' SC_Panel';this._Panel.PanelDiv.innerHTML='
';this._ItemsHolderEl=this._Panel.PanelDiv.getElementsByTagName('TD')[0];};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(){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){var D=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));D.className=D.originalClass='SC_Item';D.innerHTML=B;D.FCKItemID=A;D.FCKItemLabel=C?C:A;D.FCKSpecialCombo=this;D.Selected=false;D.onmouseover=FCKSpecialCombo_ItemOnMouseOver;D.onmouseout=FCKSpecialCombo_ItemOnMouseOut;D.onclick=FCKSpecialCombo_ItemOnClick;this.Items[A.toString().toLowerCase()]=D;return D;};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.DeselectAll=function(){for (var i in this.Items){this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};};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){this._OuterTable=A.appendChild(document.createElement('TABLE'));this._OuterTable.cellPadding=0;this._OuterTable.cellSpacing=0;this._OuterTable.insertRow(-1);var B;var C;switch (this.Style){case FCK_TOOLBARITEM_ONLYICON:B='TB_ButtonType_Icon';C=false;break;case FCK_TOOLBARITEM_ONLYTEXT:B='TB_ButtonType_Text';C=false;break;case FCK_TOOLBARITEM_ICONTEXT:C=true;break;};if (this.Caption&&this.Caption.length>0&&C){var D=this._OuterTable.rows[0].insertCell(-1);D.unselectable='on';D.innerHTML=this.Caption;D.className='SC_FieldCaption';};var E=this._OuterTable.rows[0].insertCell(-1).appendChild(document.createElement('DIV'));if (C){E.className='SC_Field';E.style.width=this.FieldWidth+'px';E.innerHTML='
 
';this._LabelEl=E.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{E.className='TB_Button_Off';E.innerHTML='
 
';E.innerHTML=''+''+''+''+''+'
'+this.Caption+'
';};E.SpecialCombo=this;E.onmouseover=FCKSpecialCombo_OnMouseOver;E.onmouseout=FCKSpecialCombo_OnMouseOut;E.onclick=FCKSpecialCombo_OnClick;};function FCKSpecialCombo_OnMouseOver(){if (this.SpecialCombo.Enabled){switch (this.SpecialCombo.Style){case FCK_TOOLBARITEM_ONLYICON:this.className='TB_Button_On';break;case FCK_TOOLBARITEM_ONLYTEXT:this.className='TB_Button_On';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){if (e){e.stopPropagation();FCKPanelEventHandlers.OnDocumentClick(e);};if (this.SpecialCombo.Enabled){var oPanel=this.SpecialCombo._Panel;if (typeof(this.SpecialCombo.OnBeforeClick)=='function') this.SpecialCombo.OnBeforeClick(this.SpecialCombo);if (this.SpecialCombo._ItemsHolderEl.offsetHeight>this.SpecialCombo.PanelMaxHeight) oPanel.PanelDiv.style.height=this.SpecialCombo.PanelMaxHeight+'px';else oPanel.PanelDiv.style.height=this.SpecialCombo._ItemsHolderEl.offsetHeight+'px';oPanel.PanelDiv.style.width=this.SpecialCombo.PanelWidth+'px';if (FCKBrowserInfo.IsGecko) oPanel.PanelDiv.style.overflow='-moz-scrollbars-vertical';oPanel.Show(0,this.offsetHeight,this,null,this.SpecialCombo.PanelMaxHeight,true);};return false;}; +var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};function FCKToolbarSpecialCombo_OnSelect(itemId,item){this.Command.Execute(itemId,item);};FCKToolbarSpecialCombo.prototype.CreateInstance=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel());this._Combo.FieldWidth=this.FieldWidth!=null?this.FieldWidth:100;this._Combo.PanelWidth=this.PanelWidth!=null?this.PanelWidth:150;this._Combo.PanelMaxHeight=this.PanelMaxHeight!=null?this.PanelMaxHeight:150;this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A.DOMRow.insertCell(-1));this._Combo.Command=this.Command;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=this.Command.GetState();if (B!=FCK_TRISTATE_DISABLED){A=FCK_TRISTATE_ON;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else 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.Command=FCKCommands.GetCommand('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.Command=FCKCommands.GetCommand('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.Command=FCKCommands.GetCommand('FontFormat');this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:FCK_TOOLBARITEM_ICONTEXT;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'+C[D[i]]+'',C[D[i]]);};} +var FCKToolbarStyleCombo=function(A,B){this.Command=FCKCommands.GetCommand('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){FCKTools.AppendStyleSheet(A._Panel.Document,FCKConfig.EditorAreaCSS);if (!FCKBrowserInfo.IsGecko) A.OnBeforeClick=this.RefreshVisibleItems;for (var s in this.Command.Styles){var B=this.Command.Styles[s];var C;if (B.IsObjectElement) C=A.AddItem(s,s);else C=A.AddItem(s,B.GetOpenerTag()+s+B.GetCloserTag());C.Style=B;};};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(A){A.DeselectAll();var B=this.Command.GetActiveStyles();if (B.length>0){for (var i=0;i'+'';if (this.Style!=FCK_TOOLBARITEM_ONLYTEXT) B+='';if (this.Style!=FCK_TOOLBARITEM_ONLYICON) B+=''+this.Label+'';B+=''+''+'';this.DOMDiv.innerHTML=B;var C=A.DOMRow.insertCell(-1);C.appendChild(this.DOMDiv);this.RefreshState();};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable; +var FCKToolbarItems=new Object();FCKToolbarItems.LoadedItems=new Object();FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case 'Source':B=new FCKToolbarButton('Source',FCKLang.Source,null,FCK_TOOLBARITEM_ICONTEXT,true,true);break;case 'DocProps':B=new FCKToolbarButton('DocProps',FCKLang.DocProps);break;case 'Templates':B=new FCKToolbarButton('Templates',FCKLang.Templates);break;case 'Save':B=new FCKToolbarButton('Save',FCKLang.Save,null,null,true);break;case 'NewPage':B=new FCKToolbarButton('NewPage',FCKLang.NewPage,null,null,true);break;case 'Preview':B=new FCKToolbarButton('Preview',FCKLang.Preview,null,null,true);break;case 'About':B=new FCKToolbarButton('About',FCKLang.About,null,null,true);break;case 'Cut':B=new FCKToolbarButton('Cut',FCKLang.Cut,null,null,false,true);break;case 'Copy':B=new FCKToolbarButton('Copy',FCKLang.Copy,null,null,false,true);break;case 'Paste':B=new FCKToolbarButton('Paste',FCKLang.Paste,null,null,false,true);break;case 'PasteText':B=new FCKToolbarButton('PasteText',FCKLang.PasteText,null,null,false,true);break;case 'PasteWord':B=new FCKToolbarButton('PasteWord',FCKLang.PasteWord,null,null,false,true);break;case 'Print':B=new FCKToolbarButton('Print',FCKLang.Print,null,null,false,true);break;case 'SpellCheck':B=new FCKToolbarButton('SpellCheck',FCKLang.SpellCheck);break;case 'Undo':B=new FCKToolbarButton('Undo',FCKLang.Undo,null,null,false,true);break;case 'Redo':B=new FCKToolbarButton('Redo',FCKLang.Redo,null,null,false,true);break;case 'SelectAll':B=new FCKToolbarButton('SelectAll',FCKLang.SelectAll);break;case 'RemoveFormat':B=new FCKToolbarButton('RemoveFormat',FCKLang.RemoveFormat,null,null,false,true);break;case 'Bold':B=new FCKToolbarButton('Bold',FCKLang.Bold,null,null,false,true);break;case 'Italic':B=new FCKToolbarButton('Italic',FCKLang.Italic,null,null,false,true);break;case 'Underline':B=new FCKToolbarButton('Underline',FCKLang.Underline,null,null,false,true);break;case 'StrikeThrough':B=new FCKToolbarButton('StrikeThrough',FCKLang.StrikeThrough,null,null,false,true);break;case 'Subscript':B=new FCKToolbarButton('Subscript',FCKLang.Subscript,null,null,false,true);break;case 'Superscript':B=new FCKToolbarButton('Superscript',FCKLang.Superscript,null,null,false,true);break;case 'OrderedList':B=new FCKToolbarButton('InsertOrderedList',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true);break;case 'UnorderedList':B=new FCKToolbarButton('InsertUnorderedList',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true);break;case 'Outdent':B=new FCKToolbarButton('Outdent',FCKLang.DecreaseIndent,null,null,false,true);break;case 'Indent':B=new FCKToolbarButton('Indent',FCKLang.IncreaseIndent,null,null,false,true);break;case 'Link':B=new FCKToolbarButton('Link',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true);break;case 'Unlink':B=new FCKToolbarButton('Unlink',FCKLang.RemoveLink,null,null,false,true);break;case 'Anchor':B=new FCKToolbarButton('Anchor',FCKLang.Anchor);break;case 'Image':B=new FCKToolbarButton('Image',FCKLang.InsertImageLbl,FCKLang.InsertImage);break;case 'Flash':B=new FCKToolbarButton('Flash',FCKLang.InsertFlashLbl,FCKLang.InsertFlash);break;case 'Table':B=new FCKToolbarButton('Table',FCKLang.InsertTableLbl,FCKLang.InsertTable);break;case 'SpecialChar':B=new FCKToolbarButton('SpecialChar',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar);break;case 'Smiley':B=new FCKToolbarButton('Smiley',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley);break;case 'PageBreak':B=new FCKToolbarButton('PageBreak',FCKLang.PageBreakLbl,FCKLang.PageBreak);break;case 'UniversalKey':B=new FCKToolbarButton('UniversalKey',FCKLang.UniversalKeyboard);break;case 'Rule':B=new FCKToolbarButton('InsertHorizontalRule',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true);break;case 'JustifyLeft':B=new FCKToolbarButton('JustifyLeft',FCKLang.LeftJustify,null,null,false,true);break;case 'JustifyCenter':B=new FCKToolbarButton('JustifyCenter',FCKLang.CenterJustify,null,null,false,true);break;case 'JustifyRight':B=new FCKToolbarButton('JustifyRight',FCKLang.RightJustify,null,null,false,true);break;case 'JustifyFull':B=new FCKToolbarButton('JustifyFull',FCKLang.BlockJustify,null,null,false,true);break;case 'Style':B=new FCKToolbarStyleCombo();break;case 'FontName':B=new FCKToolbarFontsCombo();break;case 'FontSize':B=new FCKToolbarFontSizeCombo();break;case 'FontFormat':B=new FCKToolbarFontFormatCombo();break;case 'TextColor':B=new FCKToolbarPanelButton('TextColor',FCKLang.TextColor);break;case 'BGColor':B=new FCKToolbarPanelButton('BGColor',FCKLang.BGColor);break;case 'Find':B=new FCKToolbarButton('Find',FCKLang.Find);break;case 'Replace':B=new FCKToolbarButton('Replace',FCKLang.Replace);break;case 'Form':B=new FCKToolbarButton('Form',FCKLang.Form);break;case 'Checkbox':B=new FCKToolbarButton('Checkbox',FCKLang.Checkbox);break;case 'Radio':B=new FCKToolbarButton('Radio',FCKLang.RadioButton);break;case 'TextField':B=new FCKToolbarButton('TextField',FCKLang.TextField);break;case 'Textarea':B=new FCKToolbarButton('Textarea',FCKLang.Textarea);break;case 'HiddenField':B=new FCKToolbarButton('HiddenField',FCKLang.HiddenField);break;case 'Button':B=new FCKToolbarButton('Button',FCKLang.Button);break;case 'Select':B=new FCKToolbarButton('Select',FCKLang.SelectionField);break;case 'ImageButton':B=new FCKToolbarButton('ImageButton',FCKLang.ImageButton);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;} +var FCKToolbar=function(){this.Items=new Array();var e=this.DOMTable=document.createElement('table');e.className='TB_Toolbar';e.style.styleFloat=e.style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';e.cellPadding=0;e.cellSpacing=0;e.border=0;this.DOMRow=e.insertRow(-1);var A=this.DOMRow.insertCell(-1);A.className='TB_Start';A.innerHTML='';FCKToolbarSet.DOMElement.appendChild(e);};FCKToolbar.prototype.AddItem=function(A){this.Items[this.Items.length]=A;A.CreateInstance(this);};FCKToolbar.prototype.AddSeparator=function(){var A=this.DOMRow.insertCell(-1);A.unselectable='on';A.innerHTML='';};FCKToolbar.prototype.AddTerminator=function(){var A=this.DOMRow.insertCell(-1);A.className='TB_End';A.innerHTML='';}; +var FCKToolbarBreak=function(){var A=document.createElement('div');A.className='TB_Break';A.style.clear=FCKLang.Dir=='rtl'?'left':'right';FCKToolbarSet.DOMElement.appendChild(A);} +var FCKToolbarSet=FCK.ToolbarSet=new Object();document.getElementById('ExpandHandle').title=FCKLang.ToolbarExpand;document.getElementById('CollapseHandle').title=FCKLang.ToolbarCollapse;FCKToolbarSet.Toolbars=new Array();FCKToolbarSet.ItemsWysiwygOnly=new Array();FCKToolbarSet.ItemsContextSensitive=new Array();FCKToolbarSet.Expand=function(){document.getElementById('Collapsed').style.display='none';document.getElementById('Expanded').style.display='';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Collapse=function(){document.getElementById('Collapsed').style.display='';document.getElementById('Expanded').style.display='none';if (!FCKBrowserInfo.IsIE){window.setTimeout("window.onresize()",1);};};FCKToolbarSet.Restart=function(){if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();document.getElementById('CollapseHandle').style.display=FCKConfig.ToolbarCanCollapse?'':'none';};FCKToolbarSet.Load=function(A){this.DOMElement=document.getElementById('eToolbar');var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=new Array();for (var x=0;x';B=this._Row.insertCell(-1);B.className='CM_Label';B.unselectable='on';B.noWrap=true;B.innerHTML=this.Label;};FCKContextMenuItem.prototype.SetVisible=function(A){this._Row.style.display=A?'':'none';};FCKContextMenuItem.prototype.RefreshState=function(){switch (this.Command.GetState()){case FCK_TRISTATE_ON:case FCK_TRISTATE_OFF:this._Row.className='CM_Option';break;default:this._Row.className='CM_Disabled';break;};}; +var FCKContextMenuSeparator=function(){};FCKContextMenuSeparator.prototype.CreateTableRow=function(A){this._Row=A.insertRow(-1);this._Row.className='CM_Separator';var B=this._Row.insertCell(-1);B.className='CM_Icon';B=this._Row.insertCell(-1);B.className='CM_Label';B.innerHTML='
';};FCKContextMenuSeparator.prototype.SetVisible=function(A){this._Row.style.display=A?'':'none';};FCKContextMenuSeparator.prototype.RefreshState=function(){}; +var FCKContextMenuGroup=function(A,B,C,D,E){this.IsVisible=true;this.Items=new Array();if (A) this.Add(new FCKContextMenuSeparator());if (B&&C&&D) this.Add(new FCKContextMenuItem(B,C,D,E));this.ValidationFunction=null;};FCKContextMenuGroup.prototype.Add=function(A){this.Items[this.Items.length]=A;};FCKContextMenuGroup.prototype.CreateTableRows=function(A){for (var i=0;i0){if (this.AvailableLangs.indexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) var sLang=FCKLanguageManager.ActiveLanguage.Code;else var sLang=this.AvailableLangs[0];FCKScriptLoader.AddScript(this.Path+'lang/'+sLang+'.js');};FCKScriptLoader.AddScript(this.Path+'fckplugin.js');} +if (!FCKConfig.PluginsPath.endsWith('/')) FCKConfig.PluginsPath+='/';var FCKPlugin=function(A,B,C){this.Name=A;this.BasePath=C?C:FCKConfig.PluginsPath;this.Path=this.BasePath+A+'/';if (!B||B.length==0) this.AvailableLangs=new Array();else this.AvailableLangs=B.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.indexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];FCKScriptLoader.AddScript(this.Path+'lang/'+A+'.js');};FCKScriptLoader.AddScript(this.Path+'fckplugin.js');} var FCKPlugins=FCK.Plugins=new Object();FCKPlugins.ItemsCount=0;FCKPlugins.Loaded=false;FCKPlugins.Items=new Object();for (var i=0;i0){FCKScriptLoader.OnEmpty=CompleteLoading;FCKPlugins.Load();}else CompleteLoading();function CompleteLoading(){FCKToolbarSet.Name=FCKURLParams['Toolbar']||'Default';FCKToolbarSet.Load(FCKToolbarSet.Name);FCKToolbarSet.Restart();FCK.AttachToOnSelectionChange(FCKToolbarSet.RefreshItemsState);FCK.SetStatus(FCK_STATUS_COMPLETE);if (typeof(window.parent.FCKeditor_OnComplete)=='function') window.parent.FCKeditor_OnComplete(FCK);} Index: lams_central/web/fckeditor/editor/lang/_translationstatus.txt =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/_translationstatus.txt (.../_translationstatus.txt) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/_translationstatus.txt (.../_translationstatus.txt) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,52 +8,60 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: _translationstatus.txt * Translation Status. + * A useful site with languages information: + * http://www.omniglot.com/ * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ -PROCESSING: ar.js Found: 376 Missing: 0 -PROCESSING: bg.js Found: 376 Missing: 0 -PROCESSING: bs.js Found: 232 Missing: 144 -PROCESSING: ca.js Found: 376 Missing: 0 -PROCESSING: cs.js Found: 353 Missing: 23 -PROCESSING: da.js Found: 376 Missing: 0 -PROCESSING: de.js Found: 376 Missing: 0 -PROCESSING: el.js Found: 232 Missing: 144 -PROCESSING: en-au.js Found: 376 Missing: 0 -PROCESSING: en-uk.js Found: 376 Missing: 0 -PROCESSING: eo.js Found: 353 Missing: 23 -PROCESSING: es.js Found: 376 Missing: 0 -PROCESSING: et.js Found: 232 Missing: 144 -PROCESSING: eu.js Found: 376 Missing: 0 -PROCESSING: fa.js Found: 359 Missing: 17 -PROCESSING: fi.js Found: 376 Missing: 0 -PROCESSING: fr.js Found: 376 Missing: 0 -PROCESSING: gl.js Found: 376 Missing: 0 -PROCESSING: he.js Found: 232 Missing: 144 -PROCESSING: hr.js Found: 376 Missing: 0 -PROCESSING: hu.js Found: 353 Missing: 23 -PROCESSING: it.js Found: 376 Missing: 0 -PROCESSING: ja.js Found: 376 Missing: 0 -PROCESSING: ko.js Found: 359 Missing: 17 -PROCESSING: lt.js Found: 376 Missing: 0 -PROCESSING: nl.js Found: 376 Missing: 0 -PROCESSING: no.js Found: 376 Missing: 0 -PROCESSING: pl.js Found: 353 Missing: 23 -PROCESSING: pt-br.js Found: 359 Missing: 17 -PROCESSING: pt.js Found: 359 Missing: 17 -PROCESSING: ro.js Found: 376 Missing: 0 -PROCESSING: ru.js Found: 376 Missing: 0 -PROCESSING: sk.js Found: 376 Missing: 0 -PROCESSING: sl.js Found: 376 Missing: 0 -PROCESSING: sr-latn.js Found: 376 Missing: 0 -PROCESSING: sr.js Found: 376 Missing: 0 -PROCESSING: sv.js Found: 376 Missing: 0 -PROCESSING: th.js Found: 353 Missing: 23 -PROCESSING: tr.js Found: 352 Missing: 24 -PROCESSING: uk.js Found: 376 Missing: 0 -PROCESSING: zh-cn.js Found: 376 Missing: 0 -PROCESSING: zh.js Found: 376 Missing: 0 \ No newline at end of file +PROCESSING: ar.js Found: 375 Missing: 2 +PROCESSING: bg.js Found: 375 Missing: 2 +PROCESSING: bs.js Found: 232 Missing: 145 +PROCESSING: ca.js Found: 375 Missing: 2 +PROCESSING: cs.js Found: 352 Missing: 25 +PROCESSING: da.js Found: 375 Missing: 2 +PROCESSING: de.js Found: 375 Missing: 2 +PROCESSING: el.js Found: 232 Missing: 145 +PROCESSING: en-au.js Found: 375 Missing: 2 +PROCESSING: en-uk.js Found: 375 Missing: 2 +PROCESSING: eo.js Found: 352 Missing: 25 +PROCESSING: es.js Found: 375 Missing: 2 +PROCESSING: et.js Found: 232 Missing: 145 +PROCESSING: eu.js Found: 375 Missing: 2 +PROCESSING: fa.js Found: 358 Missing: 19 +PROCESSING: fi.js Found: 375 Missing: 2 +PROCESSING: fo.js Found: 358 Missing: 19 +PROCESSING: fr.js Found: 375 Missing: 2 +PROCESSING: gl.js Found: 375 Missing: 2 +PROCESSING: he.js Found: 375 Missing: 2 +PROCESSING: hr.js Found: 375 Missing: 2 +PROCESSING: hu.js Found: 377 Missing: 0 +PROCESSING: it.js Found: 375 Missing: 2 +PROCESSING: ja.js Found: 375 Missing: 2 +PROCESSING: ko.js Found: 375 Missing: 2 +PROCESSING: lt.js Found: 375 Missing: 2 +PROCESSING: mn.js Found: 232 Missing: 145 +PROCESSING: ms.js Found: 358 Missing: 19 +PROCESSING: nl.js Found: 375 Missing: 2 +PROCESSING: no.js Found: 375 Missing: 2 +PROCESSING: pl.js Found: 352 Missing: 25 +PROCESSING: pt-br.js Found: 375 Missing: 2 +PROCESSING: pt.js Found: 375 Missing: 2 +PROCESSING: ro.js Found: 375 Missing: 2 +PROCESSING: ru.js Found: 375 Missing: 2 +PROCESSING: sk.js Found: 375 Missing: 2 +PROCESSING: sl.js Found: 375 Missing: 2 +PROCESSING: sr-latn.js Found: 375 Missing: 2 +PROCESSING: sr.js Found: 375 Missing: 2 +PROCESSING: sv.js Found: 375 Missing: 2 +PROCESSING: th.js Found: 352 Missing: 25 +PROCESSING: tr.js Found: 374 Missing: 3 +PROCESSING: uk.js Found: 375 Missing: 2 +PROCESSING: vi.js Found: 374 Missing: 3 +PROCESSING: zh-cn.js Found: 375 Missing: 2 +PROCESSING: zh.js Found: 375 Missing: 2 \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/ar.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/ar.js (.../ar.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/ar.js (.../ar.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: ar.js * Arabic language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "موافق", @@ -413,7 +416,7 @@ NumberedListProp : "خصائص التعداد الرقمي", DlgLstType : "النوع", DlgLstTypeCircle : "دائرة", -DlgLstTypeDisk : "قرص", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "مربع", DlgLstTypeNumbers : "أرقام (1، 2، 3)َ", DlgLstTypeLCase : "حروف صغيرة (a, b, c)َ", Index: lams_central/web/fckeditor/editor/lang/bg.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/bg.js (.../bg.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/bg.js (.../bg.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: bg.js * Bulgarian language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "ОК", @@ -413,7 +416,7 @@ NumberedListProp : "Параметри на нумерирания списък", DlgLstType : "Тип", DlgLstTypeCircle : "Окръжност", -DlgLstTypeDisk : "Диск", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Квадрат", DlgLstTypeNumbers : "Числа (1, 2, 3)", DlgLstTypeLCase : "Малки букви (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/bs.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/bs.js (.../bs.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/bs.js (.../bs.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: bs.js * Bosnian language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Numbered List Properties", //MISSING DlgLstType : "Type", //MISSING DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisk : "Disk", //MISSING +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Square", //MISSING DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING Index: lams_central/web/fckeditor/editor/lang/ca.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/ca.js (.../ca.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/ca.js (.../ca.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: ca.js * Catalan language file. * @@ -131,6 +133,7 @@ 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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Proprietats de llista numerada", DlgLstType : "Tipus", DlgLstTypeCircle : "Cercle", -DlgLstTypeDisk : "Disc", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Quadrat", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "Lletres minúscules (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/cs.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/cs.js (.../cs.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/cs.js (.../cs.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: cs.js * Czech language file. * @@ -132,6 +134,7 @@ 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.", //MISSING // Dialogs DlgBtnOK : "OK", @@ -414,7 +417,7 @@ NumberedListProp : "Vlastnosti číslovaného seznamu", DlgLstType : "Typ", DlgLstTypeCircle : "Kružnice", -DlgLstTypeDisk : "Plný kruh", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Čtverec", DlgLstTypeNumbers : "Čísla (1, 2, 3)", DlgLstTypeLCase : "Malá písmena (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/da.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/da.js (.../da.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/da.js (.../da.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: da.js * Danish language file. * @@ -132,6 +134,7 @@ UnknownCommand : "Ukendt kommando navn \"%1\"", NotImplemented : "Kommandoen er ikke implementeret", UnknownToolbarSet : "Værktøjslinjen \"%1\" eksisterer ikke", +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 // Dialogs DlgBtnOK : "OK", @@ -414,7 +417,7 @@ NumberedListProp : "Talopstilling egenskaber", DlgLstType : "Type", DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisk : "Prik", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Firkant", DlgLstTypeNumbers : "Nummereret (1, 2, 3)", DlgLstTypeLCase : "Små bogstaver (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/de.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/de.js (.../de.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/de.js (.../de.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: de.js * German language file. * @@ -132,6 +134,7 @@ UnknownCommand : "Unbekannter Befehl \"%1\"", NotImplemented : "Befehl nicht implementiert", UnknownToolbarSet : "Menüleiste \"%1\" existiert nicht", +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 // Dialogs DlgBtnOK : "OK", @@ -414,7 +417,7 @@ NumberedListProp : "Nummerierte Listen-Eigenschaften", DlgLstType : "Typ", DlgLstTypeCircle : "Kreis", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Quadrat", DlgLstTypeNumbers : "Nummern (1, 2, 3)", DlgLstTypeLCase : "Kleinbuchstaben (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/el.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/el.js (.../el.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/el.js (.../el.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: el.js * Greek language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Numbered List Properties", //MISSING DlgLstType : "Type", //MISSING DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisk : "Disk", //MISSING +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Square", //MISSING DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING Index: lams_central/web/fckeditor/editor/lang/en-au.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/en-au.js (.../en-au.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/en-au.js (.../en-au.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: en-au.js * English (Australia) language file. * @@ -132,6 +134,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.", //MISSING // Dialogs DlgBtnOK : "OK", @@ -414,7 +417,7 @@ NumberedListProp : "Numbered List Properties", DlgLstType : "Type", DlgLstTypeCircle : "Circle", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/en-uk.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/en-uk.js (.../en-uk.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/en-uk.js (.../en-uk.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: en-uk.js * English (United Kingdom) language file. * @@ -132,6 +134,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.", //MISSING // Dialogs DlgBtnOK : "OK", @@ -414,7 +417,7 @@ NumberedListProp : "Numbered List Properties", DlgLstType : "Type", DlgLstTypeCircle : "Circle", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/en.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/en.js (.../en.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/en.js (.../en.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: en.js * English language file. * @@ -83,6 +85,8 @@ Replace : "Replace", SpellCheck : "Check Spell", UniversalKeyboard : "Universal Keyboard", +PageBreakLbl : "Page Break", +PageBreak : "Insert Page Break", Form : "Form", Checkbox : "Checkbox", @@ -131,6 +135,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.", // Dialogs DlgBtnOK : "OK", @@ -413,7 +418,7 @@ NumberedListProp : "Numbered List Properties", DlgLstType : "Type", DlgLstTypeCircle : "Circle", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/eo.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/eo.js (.../eo.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/eo.js (.../eo.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: eo.js * Esperanto language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "Akcepti", @@ -413,7 +416,7 @@ NumberedListProp : "Atributoj de Numera Listo", DlgLstType : "Tipo", DlgLstTypeCircle : "Cirklo", -DlgLstTypeDisk : "Disko", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kvadrato", DlgLstTypeNumbers : "Ciferoj (1, 2, 3)", DlgLstTypeLCase : "Minusklaj Literoj (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/es.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/es.js (.../es.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/es.js (.../es.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: es.js * Spanish language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Nombre de comando desconocido \"%1\"", NotImplemented : "Comando no implementado", UnknownToolbarSet : "Nombre de barra \"%1\" no definido", +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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Propiedades de Numeraciones", DlgLstType : "Tipo", DlgLstTypeCircle : "Círculo", -DlgLstTypeDisk : "Disco", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Cuadrado", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "letras en minúsculas (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/et.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/et.js (.../et.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/et.js (.../et.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: et.js * Estonian language file. * @@ -131,6 +133,7 @@ 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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Numbered List Properties", //MISSING DlgLstType : "Type", //MISSING DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisk : "Disk", //MISSING +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Square", //MISSING DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING Index: lams_central/web/fckeditor/editor/lang/eu.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/eu.js (.../eu.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/eu.js (.../eu.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: eu.js * Basque language file. * Euskara hizkuntza fitxategia. @@ -132,6 +134,7 @@ UnknownCommand : "Komando izen ezezaguna \"%1\"", NotImplemented : "Komando ez inplementatua", UnknownToolbarSet : "Ataza barra \"%1\" taldea ez da existitzen", +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 // Dialogs DlgBtnOK : "Ados", @@ -414,7 +417,7 @@ NumberedListProp : "Zenbakidun Zerrendaren Ezarpenak", DlgLstType : "Mota", DlgLstTypeCircle : "Zirkulua", -DlgLstTypeDisk : "Diskoa", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Karratua", DlgLstTypeNumbers : "Zenbakiak (1, 2, 3)", DlgLstTypeLCase : "Letra xeheak (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/fa.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/fa.js (.../fa.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/fa.js (.../fa.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fa.js * Persian language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "تائيد", @@ -413,7 +416,7 @@ NumberedListProp : "ويژگيهای فهرست عددی", DlgLstType : "نوع", DlgLstTypeCircle : "دايره", -DlgLstTypeDisk : "قرص", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "مربع", DlgLstTypeNumbers : "شماره ها (1، 2، 3)", DlgLstTypeLCase : "حروف کوچک (a، b، c)", Index: lams_central/web/fckeditor/editor/lang/fcklanguagemanager.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/fcklanguagemanager.js (.../fcklanguagemanager.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/lang/fcklanguagemanager.js (.../fcklanguagemanager.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fcklanguagemanager.js * This file list all available languages in the editor. * @@ -36,6 +38,7 @@ 'eu' : 'Basque', 'fa' : 'Persian', 'fi' : 'Finnish', + 'fo' : 'Faroese', 'fr' : 'French', 'gl' : 'Galician', 'he' : 'Hebrew', @@ -45,6 +48,8 @@ 'ja' : 'Japanese', 'ko' : 'Korean', 'lt' : 'Lithuanian', + 'mn' : 'Mongolian', + 'ms' : 'Malay', 'nl' : 'Dutch', 'no' : 'Norwegian', 'pl' : 'Polish', @@ -60,6 +65,7 @@ 'th' : 'Thai', 'tr' : 'Turkish', 'uk' : 'Ukrainian', + 'vi' : 'Vietnamese', 'zh' : 'Chinese Traditional', 'zh-cn' : 'Chinese Simplified' } \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/fi.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/fi.js (.../fi.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/fi.js (.../fi.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fi.js * Finnish language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Tuntematon komento \"%1\"", NotImplemented : "Komentoa ei ole liitetty sovellukseen", UnknownToolbarSet : "Työkalukokonaisuus \"%1\" ei ole olemassa", +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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Numeroinnin ominaisuudet", DlgLstType : "Tyyppi", DlgLstTypeCircle : "Kehä", -DlgLstTypeDisk : "Ympyrä", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Neliö", DlgLstTypeNumbers : "Numerot (1, 2, 3)", DlgLstTypeLCase : "Pienet kirjaimet (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/fo.js =================================================================== diff -u --- lams_central/web/fckeditor/editor/lang/fo.js (revision 0) +++ lams_central/web/fckeditor/editor/lang/fo.js (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,476 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: fo.js + * Faroese language file. + * + * File Authors: + * Símin Lassaberg + * Helgi Arnthorsson + */ + +var FCKLang = +{ +// Language direction : "ltr" (left to right) or "rtl" (right to left). +Dir : "ltr", + +ToolbarCollapse : "Goym amboðalistan", +ToolbarExpand : "Vís amboðalistan", + +// Toolbar Items and Context Menu +Save : "Geim", +NewPage : "Nýggj síða", +Preview : "Vís dømi", +Cut : "Klipp", +Copy : "Avrita", +Paste : "Set inn", +PasteText : "Set inn sum reinan tekst", +PasteWord : "Set inn frá Word", +Print : "Prenta", +SelectAll : "Markera alt", +RemoveFormat : "Sletta sniðgeving", +InsertLinkLbl : "Leinkja", +InsertLink : "Seta inn/Broyta Leinkju", +RemoveLink : "Sletta Leinkju", +Anchor : "Seta inn/Broyta staðsetingarmerki", +InsertImageLbl : "Seta inn mynd", +InsertImage : "Seta inn/Broyta mynd", +InsertFlashLbl : "Flash", //MISSING +InsertFlash : "Insert/Edit Flash", //MISSING +InsertTableLbl : "Talva", +InsertTable : "Seta inn/Broyta talvu", +InsertLineLbl : "Linja", +InsertLine : "Seta inn vatnrætta linju", +InsertSpecialCharLbl: "Serlig tekn", +InsertSpecialChar : "Seta inn serligt tekn", +InsertSmileyLbl : "Smiley", +InsertSmiley : "Seta inn Smiley", +About : "Um FCKeditor", +Bold : "Feit", +Italic : "Skástillað", +Underline : "Undirstrikað", +StrikeThrough : "Strikað yvir", +Subscript : "Lækkað skrift", +Superscript : "Hækkað skrift", +LeftJustify : "Vinstristillað", +CenterJustify : "Miðstillað", +RightJustify : "Hægristillað", +BlockJustify : "Beinir tekstkantar", +DecreaseIndent : "Økja innrykk", +IncreaseIndent : "Minka innrykk", +Undo : "Angra", +Redo : "Broyt aftur í upprunamynd", +NumberedListLbl : "Talsettur listi", +NumberedList : "Seta inn/Sletta talsettan lista", +BulletedListLbl : "Punktsettur listi", +BulletedList : "Seta inn/Sletta punktsettan lista", +ShowTableBorders : "Vísa talvukantar ", +ShowDetails : "Vísa detaljur", +Style : "Tekstsnið", +FontFormat : "Sniðgeving", +Font : "Skrift", +FontSize : "Skriftstødd", +TextColor : "Tekstlitur", +BGColor : "Litur aftanfyri", +Source : "Kelda", +Find : "Leita", +Replace : "Set í staðin", +SpellCheck : "Stavseting", +UniversalKeyboard : "Universalt Tastatur", + +Form : "Seta inn Form", +Checkbox : "Seta inn Avmerkingarboks", +RadioButton : "Seta inn Radioknap", +TextField : "Seta inn Tekstteig", +Textarea : "Seta inn Tekstøki", +HiddenField : "Seta inn GoymdanTeig", +Button : "Seta inn knapp", +SelectionField : "Seta inn Valteig", +ImageButton : "Seta inn Myndaknapp", + +// Context Menu +EditLink : "Broyt leinkju", +InsertRow : "Seta inn rekkju", +DeleteRows : "Sletta rekkjur", +InsertColumn : "Seta inn søjlur", +DeleteColumns : "Sletta søjlur", +InsertCell : "Seta inn sellu", +DeleteCells : "Sletta sellu", +MergeCells : "Flætta sellur", +SplitCell : "Deila sellur", +CellProperties : "Eginleikar fyri sellu", +TableProperties : "Eginleikar fyri talvu", +ImageProperties : "Eginleikar fyri mynd", +FlashProperties : "Flash Properties", //MISSING + +AnchorProp : "Eginleikar fyri staðsetingarpunkt", +ButtonProp : "Eginleikar fyri knapp", +CheckboxProp : "Eginleikar fyri avmerkingarboks", +HiddenFieldProp : "Eginleikar fyri goymdan teig", +RadioButtonProp : "Eginleikar fyri radioknapp", +ImageButtonProp : "Eginleikar fyri myndaknapp", +TextFieldProp : "Eginleikar fyri Tekstateig", +SelectionFieldProp : "Eginleikar fyri Valteig", +TextareaProp : "Eginleikar fyri Tekstaøki", +FormProp : "Eginleikar fyri form", + +FontFormats : "Normalt;Sniðgevið;Adressa;Yvirskrift 1;Yvirskrift 2;Yvirskrift 3;Yvirskrift 4;Yvirskrift 5;Yvirskrift 6", + +// Alerts and Messages +ProcessingXHTML : "Viðgerir XHTML. Bíða...", +Done : "Liðugt", +PasteWordConfirm : "Teksturin, tú roynir at seta inn, sýnist at vera frá Word. Vilt tú reinsa tekstin, áðrenn hann verður settur inn?", +NotCompatiblePaste : "Hesin ordri er tøkur í Internet Explorer 5.5 og nýggjari. Vilt tú seta tekstin inn, uttan at reinsa hann?", +UnknownToolbarItem : "Ókendur lutur í amboðalinju \"%1\"", +UnknownCommand : "Kenni ikki ordra \"%1\"", +NotImplemented : "Ordrin er ikki gjørdur virkin", +UnknownToolbarSet : "Amboðalinjan \"%1\" finst ikki", +NoActiveX : "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 + +// Dialogs +DlgBtnOK : "OK", +DlgBtnCancel : "Angra", +DlgBtnClose : "Lukka", +DlgBtnBrowseServer : "Hyggja á servara", +DlgAdvancedTag : "Útvíðka", +DlgOpOther : "<Annað>", +DlgInfoTab : "Info", //MISSING +DlgAlertUrl : "Please insert the URL", //MISSING + +// General Dialogs Labels +DlgGenNotSet : "<ikki sett>", +DlgGenId : "Id", +DlgGenLangDir : "Tekstakós", +DlgGenLangDirLtr : "Vinstri móti høgri (LTR)", +DlgGenLangDirRtl : "Høgri móti vinstri (RTL)", +DlgGenLangCode : "Málkoda", +DlgGenAccessKey : "Atgongdslykil", +DlgGenName : "Navn", +DlgGenTabIndex : "Tabulator Indeks", +DlgGenLongDescr : "víðka frágreiðing", +DlgGenClass : "Typografiark", +DlgGenTitle : "Heiti", +DlgGenContType : "Innihaldsslag", +DlgGenLinkCharset : "Teknset", +DlgGenStyle : "Prentlist", + +// Image Dialog +DlgImgTitle : "Mynd eginleikar", +DlgImgInfoTab : "Mynd info", +DlgImgBtnUpload : "Send til serveren", +DlgImgURL : "URL", +DlgImgUpload : "Upload", +DlgImgAlt : "Annar tekstur", +DlgImgWidth : "Breidd", +DlgImgHeight : "Hædd", +DlgImgLockRatio : "Læs støddarlutfall", +DlgBtnResetSize : "Nulstilla stødd", +DlgImgBorder : "Ramma", +DlgImgHSpace : "HMargin", +DlgImgVSpace : "VMargin", +DlgImgAlign : "Justering", +DlgImgAlignLeft : "Vinstra", +DlgImgAlignAbsBottom: "Abs botnur", +DlgImgAlignAbsMiddle: "Abs Miðja", +DlgImgAlignBaseline : "Botnlinja", +DlgImgAlignBottom : "Botnur", +DlgImgAlignMiddle : "Miðja", +DlgImgAlignRight : "Høgra", +DlgImgAlignTextTop : "Tekstur ovast", +DlgImgAlignTop : "Ovast", +DlgImgPreview : "Vís dømi", +DlgImgAlertUrl : "Slá inn slóðina til myndina", +DlgImgLinkTab : "Leinkja", + +// 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 + +// Link Dialog +DlgLnkWindowTitle : "Leinkja", +DlgLnkInfoTab : "Leinkju info", +DlgLnkTargetTab : "Mál", + +DlgLnkType : "Leinkju slag", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "Akker á hesari síðuni", +DlgLnkTypeEMail : "Teldupostur", +DlgLnkProto : "Protokoll", +DlgLnkProtoOther : "<onnur>", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "VEl eitt akker", +DlgLnkAnchorByName : "Eftir akker navni", +DlgLnkAnchorById : "Eftir element Id", +DlgLnkNoAnchors : "<Tað eru ongi akker tøk í hesum dokumentinum;", +DlgLnkEMail : "Teldupost Adresse", +DlgLnkEMailSubject : "Evni", +DlgLnkEMailBody : "Boð", +DlgLnkUpload : "Upload", +DlgLnkBtnUpload : "Send til servaran", + +DlgLnkTarget : "Mál", +DlgLnkTargetFrame : "<ramma>", +DlgLnkTargetPopup : "<popup vindeyga>", +DlgLnkTargetBlank : "Nytt vindeyga (_blank)", +DlgLnkTargetParent : "Omaná liggjandi vindeyga (_parent)", +DlgLnkTargetSelf : "Sama vindeyga (_self)", +DlgLnkTargetTop : "ovasta vindeyga (_top)", +DlgLnkTargetFrameName : "vísa vindeygas navn", +DlgLnkPopWinName : "Popup vindeygas navn", +DlgLnkPopWinFeat : "Popup vindeygas eginleikar", +DlgLnkPopResize : "Skalering", +DlgLnkPopLocation : "Lokationslinja", +DlgLnkPopMenu : "Menulinja", +DlgLnkPopScroll : "Scrollbars", +DlgLnkPopStatus : "Statuslinja", +DlgLnkPopToolbar : "Værktøjslinja", +DlgLnkPopFullScrn : "Fullur skermur (IE)", +DlgLnkPopDependent : "Bundin (Netscape)", +DlgLnkPopWidth : "Breidd", +DlgLnkPopHeight : "Hædd", +DlgLnkPopLeft : "Positión frá vinstru", +DlgLnkPopTop : "Positión frá toppinum", + +DlnLnkMsgNoUrl : "Inntasta leinkju URL", +DlnLnkMsgNoEMail : "Inntasta teldupost addressuna", +DlnLnkMsgNoAnchor : "Vel akker", + +// Color Dialog +DlgColorTitle : "vel farvu", +DlgColorBtnClear : "sletta alt", +DlgColorHighlight : "Markera", +DlgColorSelected : "valt", + +// Smiley Dialog +DlgSmileyTitle : "Innset ein smiley", + +// Special Character Dialog +DlgSpecialCharTitle : "vel specialkarakter", + +// Table Dialog +DlgTableTitle : "Tabel eginleikar", +DlgTableRows : "Rekkjur", +DlgTableColumns : "Kolonnur", +DlgTableBorder : "Rammu stødd", +DlgTableAlign : "Justering", +DlgTableAlignNotSet : "", +DlgTableAlignLeft : "Vinstrastilla", +DlgTableAlignCenter : "Miðseta", +DlgTableAlignRight : "Høgrastilla", +DlgTableWidth : "Breidd", +DlgTableWidthPx : "pixels", +DlgTableWidthPc : "prosent", +DlgTableHeight : "Hædd", +DlgTableCellSpace : "Fjarstøða millum sellur", +DlgTableCellPad : "Sellu breddi", +DlgTableCaption : "Heiti", + +// Table Cell Dialog +DlgCellTitle : "Sellu eginleikar", +DlgCellWidth : "Breidd", +DlgCellWidthPx : "pixels", +DlgCellWidthPc : "prosent", +DlgCellHeight : "Hædd", +DlgCellWordWrap : "Orðbýti", +DlgCellWordWrapNotSet : "", +DlgCellWordWrapYes : "Ja", +DlgCellWordWrapNo : "Nej", +DlgCellHorAlign : "Horisontal justering", +DlgCellHorAlignNotSet : "", +DlgCellHorAlignLeft : "Vinstrastilla", +DlgCellHorAlignCenter : "Miðsett", +DlgCellHorAlignRight: "Høgrastilla", +DlgCellVerAlign : "Lodrøtt Justering", +DlgCellVerAlignNotSet : "", +DlgCellVerAlignTop : "Ovast", +DlgCellVerAlignMiddle : "Miðja", +DlgCellVerAlignBottom : "Niðast", +DlgCellVerAlignBaseline : "Botnlinja", +DlgCellRowSpan : "Tal av rekkjum sellan spennur yvir", +DlgCellCollSpan : "Tal av talrøðum sellan spennur yvir", +DlgCellBackColor : "Bakgrundsfarva", +DlgCellBorderColor : "rammufarva", +DlgCellBtnSelect : "Vel...", + +// Find Dialog +DlgFindTitle : "Finn", +DlgFindFindBtn : "Finn", +DlgFindNotFoundMsg : "Teksturin bleiv ikki funnin", + +// Replace Dialog +DlgReplaceTitle : "Set í staðin", +DlgReplaceFindLbl : "Finn:", +DlgReplaceReplaceLbl : "Set í staðin við:", +DlgReplaceCaseChk : "Munur á stórum og smáðum stavum", +DlgReplaceReplaceBtn : "Set í staðin", +DlgReplaceReplAllBtn : "Skift alt út", +DlgReplaceWordChk : "Bert heil orð", + +// Paste Operations / Dialog +PasteErrorPaste : "Leitarans trygdarinstillingar loyva ikki editorinum at innseta tekstin automatiskt. Brúka knappaborðið til at innseta tekstin (Ctrl+V).", +PasteErrorCut : "Leitarans trygdarinstillingar loyva ikki editorinum at klippa tekstin automatiskt. Brúka í staðin knappaborðið til at klippa tekstin (Ctrl+X).", +PasteErrorCopy : "Leitarans trygdarinstillingar loyva ikki editorinum at avrita tekstin automatiskt. Brúka í staðin knappaborðið til at avrita tekstin (Ctrl+V).", + +PasteAsText : "Seta inn som reinur tekstur", +PasteFromWord : "Seta inn fra Word", + +DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING +DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING +DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING +DlgPasteCleanBox : "Clean Up Box", //MISSING + + +// Color Picker +ColorAutomatic : "Automatisk", +ColorMoreColors : "Fleiri farvur...", + +// Document Properties +DocProps : "Dokument eginleikar", + +// Anchor Dialog +DlgAnchorTitle : "Akker eginleikar", +DlgAnchorName : "Akker navn", +DlgAnchorErrorName : "Slá innn akker navn", + +// Speller Pages Dialog +DlgSpellNotInDic : "Finnst ikki í orðabókini", +DlgSpellChangeTo : "broyta til", +DlgSpellBtnIgnore : "Ignorera", +DlgSpellBtnIgnoreAll : "Ignorera alt", +DlgSpellBtnReplace : "Skift út", +DlgSpellBtnReplaceAll : "Skift út alt", +DlgSpellBtnUndo : "Aftur", +DlgSpellNoSuggestions : "- Einki uppskot -", +DlgSpellProgress : "Stavarin arbeiðir...", +DlgSpellNoMispell : "Stavarain liðugur: Eingin feilur funnin", +DlgSpellNoChanges : "Stavarain liðugur: Einki orð broytt", +DlgSpellOneChange : "Stavarain liðugur: Eitt orð broytt", +DlgSpellManyChanges : "Stavarain liðugur: %1 orð broytt", + +IeSpellDownload : "Stavarin ikki lagdur inn. vilt tú heinta hann nú?", + +// Button Dialog +DlgButtonText : "Tekstur (Virði)", +DlgButtonType : "Slag", + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "Navn", +DlgCheckboxValue : "Virði", +DlgCheckboxSelected : "Valgt", + +// Form Dialog +DlgFormName : "Navn", +DlgFormAction : "Gerð", +DlgFormMethod : "Háttur", + +// Select Field Dialog +DlgSelectName : "Navn", +DlgSelectValue : "Virði", +DlgSelectSize : "Stødd", +DlgSelectLines : "linjir", +DlgSelectChkMulti : "Loyv fleiri valmøguleikar", +DlgSelectOpAvail : "valmøguleikar", +DlgSelectOpText : "Tekstur", +DlgSelectOpValue : "Virði", +DlgSelectBtnAdd : "Legg afturat", +DlgSelectBtnModify : "Broyt", +DlgSelectBtnUp : "Upp", +DlgSelectBtnDown : "Niður", +DlgSelectBtnSetValue : "Set sum útvald", +DlgSelectBtnDelete : "Sletta", + +// Textarea Dialog +DlgTextareaName : "Navn", +DlgTextareaCols : "talrøð", +DlgTextareaRows : "Rekkja", + +// Text Field Dialog +DlgTextName : "Navn", +DlgTextValue : "Virði", +DlgTextCharWidth : "Sjónligt tal av bókstavum", +DlgTextMaxChars : "Hægst loyvda tal av bókstavum", +DlgTextType : "Slag", +DlgTextTypeText : "Tekstur", +DlgTextTypePass : "Koduorð", + +// Hidden Field Dialog +DlgHiddenName : "Navn", +DlgHiddenValue : "Virði", + +// Bulleted List Dialog +BulletedListProp : "Punktteknsuppsetingar eginleikar", +NumberedListProp : "Taluppsetingar eginleikar", +DlgLstType : "Slag", +DlgLstTypeCircle : "Sirkul", +DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeSquare : "Fýrakantur", +DlgLstTypeNumbers : "Talmerkt (1, 2, 3)", +DlgLstTypeLCase : "Smáir bókstavir (a, b, c)", +DlgLstTypeUCase : "Stórir bókstavir (A, B, C)", +DlgLstTypeSRoman : "Smá rómaratøl (i, ii, iii)", +DlgLstTypeLRoman : "Stór rómaratøl (I, II, III)", + +// Document Properties Dialog +DlgDocGeneralTab : "Generelt", +DlgDocBackTab : "Bakgrund", +DlgDocColorsTab : "Farva og Breddin", +DlgDocMetaTab : "Meta Information", + +DlgDocPageTitle : "Síðu heiti", +DlgDocLangDir : "Mál", +DlgDocLangDirLTR : "Frá vinstru móti høgru (LTR)", +DlgDocLangDirRTL : "Frá høgru móti vinstru (RTL)", +DlgDocLangCode : "Landakoda", +DlgDocCharSet : "Karakter set kodu", +DlgDocCharSetOther : "Annar karakter set kodu", + +DlgDocDocType : "Dokument slag kategori", +DlgDocDocTypeOther : "Annað dokument slag kategori", +DlgDocIncXHTML : "Inkludere XHTML deklartion", +DlgDocBgColor : "Bakgrundsfarva", +DlgDocBgImage : "Bakgrundsmynd URL", +DlgDocBgNoScroll : "Ikki scrollbar bakgrund", +DlgDocCText : "Tekstur", +DlgDocCLink : "Leinkja", +DlgDocCVisited : "Vitja leinkja", +DlgDocCActive : "Aktiv leinkja", +DlgDocMargins : "Síðu breddi", +DlgDocMaTop : "Ovast", +DlgDocMaLeft : "Vinstra", +DlgDocMaRight : "Høgra", +DlgDocMaBottom : "Niðast", +DlgDocMeIndex : "Dokument index lyklaorð (komma sundurskilt)", +DlgDocMeDescr : "Dokument lýsing", +DlgDocMeAuthor : "Høvundur", +DlgDocMeCopy : "Copyright", +DlgDocPreview : "Vís", + +// Templates Dialog +Templates : "Frymlar", +DlgTemplatesTitle : "Innihaldsfrymlar", +DlgTemplatesSelMsg : "Vel tann frymilin, sum skal opnast í editorinum
(Tað verður skriva útyvir núverandi innihald):", +DlgTemplatesLoading : "Heintar lista yvir frymlar. Vinarliga bíða...", +DlgTemplatesNoTpl : "(Ongin frymil er valdur)", + +// About Dialog +DlgAboutAboutTab : "Um", +DlgAboutBrowserInfoTab : "Browsara upplýsingar", +DlgAboutVersion : "versión", +DlgAboutLicense : "Loyvi undir treytum fyri GNU Lesser General Public License", +DlgAboutInfo : "Fleiri upplýsingar, far til" +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/fr.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/fr.js (.../fr.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/fr.js (.../fr.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fr.js * French language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Nom de commande inconnu \"%1\"", NotImplemented : "Commande non encore écrite", UnknownToolbarSet : "La barre d'outils \"%1\" n'existe pas", +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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Propriétés de Numérotée", DlgLstType : "Type", DlgLstTypeCircle : "Cercle", -DlgLstTypeDisk : "Disque", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Carré", DlgLstTypeNumbers : "Nombres (1, 2, 3)", DlgLstTypeLCase : "Lettres Minuscules (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/gl.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/gl.js (.../gl.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/gl.js (.../gl.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: gl.js * Galician language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Nome de comando descoñecido \"%1\"", NotImplemented : "Comando non implementado", UnknownToolbarSet : "O conxunto de ferramentas \"%1\" non existe", +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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Propriedades da Lista de Numeración", DlgLstType : "Tipo", DlgLstTypeCircle : "Círculo", -DlgLstTypeDisk : "Disco", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Cuadrado", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/he.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/he.js (.../he.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/he.js (.../he.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,10 +8,13 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: he.js * Hebrew language file. * * File Authors: + * Tamir Mordo (tamir@tetitu.co.il) * Ophir Radnitz (ophir@liqweed.net) */ @@ -38,11 +41,11 @@ InsertLinkLbl : "קישור", InsertLink : "הוספת/עריכת קישור", RemoveLink : "הסרת הקישור", -Anchor : "Insert/Edit Anchor", //MISSING +Anchor : "הוספת/עריכת נקודת עיגון", InsertImageLbl : "תמונה", InsertImage : "הוספת/עריכת תמונה", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "פלאש", +InsertFlash : "הוסף/ערוך פלאש", InsertTableLbl : "טבלה", InsertTable : "הוספת/עריכת טבלה", InsertLineLbl : "קו", @@ -81,18 +84,18 @@ Source : "מקור", Find : "חיפוש", Replace : "החלפה", -SpellCheck : "Check Spell", //MISSING -UniversalKeyboard : "Universal Keyboard", //MISSING +SpellCheck : "בדיקת איות", +UniversalKeyboard : "מקלדת אוניברסלית", -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 : "לחצן אפשרויות", +TextField : "שדה טקסט", +Textarea : "איזור טקסט", +HiddenField : "שדה חבוי", +Button : "כפתור", +SelectionField : "שדה בחירה", +ImageButton : "כפתור תמונה", // Context Menu EditLink : "עריכת קישור", @@ -107,18 +110,18 @@ CellProperties : "תכונות התא", TableProperties : "תכונות הטבלה", ImageProperties : "תכונות התמונה", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "מאפייני פלאש", -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 : "מאפייני לחצן אפשרויות", +ImageButtonProp : "מאפיני כפתור תמונה", +TextFieldProp : "מאפייני שדה טקסט", +SelectionFieldProp : "מאפייני שדה בחירה", +TextareaProp : "מאפיני איזור טקסט", +FormProp : "מאפיני טופס", FontFormats : "נורמלי;קוד;כתובת;כותרת;כותרת 2;כותרת 3;כותרת 4;כותרת 5;כותרת 6", @@ -131,16 +134,17 @@ 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 // Dialogs DlgBtnOK : "אישור", 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 : "<לא נקבע>", @@ -153,7 +157,7 @@ DlgGenName : "שם", DlgGenTabIndex : "מספר טאב", DlgGenLongDescr : "קישור לתיאור מפורט", -DlgGenClass : "Stylesheet Classes", +DlgGenClass : "גיליונות עיצוב קבוצות", DlgGenTitle : "כותרת מוצעת", DlgGenContType : "Content Type מוצע", DlgGenLinkCharset : "קידוד המשאב המקושר", @@ -185,17 +189,17 @@ DlgImgAlignTop : "למעלה", DlgImgPreview : "תצוגה מקדימה", DlgImgAlertUrl : "נא להקליד את כתובת התמונה", -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 : "מאפיני פלאש", +DlgFlashChkPlay : "נגן אוטומטי", +DlgFlashChkLoop : "לולאה", +DlgFlashChkMenu : "אפשר תפריט פלאש", +DlgFlashScale : "גודל", +DlgFlashScaleAll : "הצג הכל", +DlgFlashScaleNoBorder : "ללא גבולות", +DlgFlashScaleFit : "התאמה מושלמת", // Link Dialog DlgLnkWindowTitle : "קישור", @@ -226,7 +230,7 @@ DlgLnkTargetParent : "חלון האב (_parent)", DlgLnkTargetSelf : "באותו החלון (_self)", DlgLnkTargetTop : "חלון ראשי (_top)", -DlgLnkTargetFrameName : "Target Frame Name", //MISSING +DlgLnkTargetFrameName : "שם frame היעד", DlgLnkPopWinName : "שם החלון הקופץ", DlgLnkPopWinFeat : "תכונות החלון הקופץ", DlgLnkPopResize : "בעל גודל ניתן לשינוי", @@ -325,147 +329,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 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit 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 : "Undo", +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 -DlgLstTypeDisk : "Disk", //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 : "מאפייני רשימה", +NumberedListProp : "מאפייני רשימה ממוספרת", +DlgLstType : "סוג", +DlgLstTypeCircle : "עיגול", +DlgLstTypeDisc : "Disc", //MISSING +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 : "URL לתמונת רקע", +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 : "גירסת דפדפן", DlgAboutVersion : "גירסא", DlgAboutLicense : "ברשיון תחת תנאי GNU Lesser General Public License", DlgAboutInfo : "מידע נוסף ניתן למצוא כאן:" Index: lams_central/web/fckeditor/editor/lang/hr.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/hr.js (.../hr.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/hr.js (.../hr.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: hr.js * Croatian language file. * @@ -36,15 +38,15 @@ SelectAll : "Odaberi sve", RemoveFormat : "Ukloni formatiranje", InsertLinkLbl : "Link", -InsertLink : "Ubaci/promjeni link", +InsertLink : "Ubaci/promijeni link", RemoveLink : "Ukloni link", -Anchor : "Ubaci/promjeni sidro", +Anchor : "Ubaci/promijeni sidro", InsertImageLbl : "Slika", -InsertImage : "Ubaci/promjeni sliku", +InsertImage : "Ubaci/promijeni sliku", InsertFlashLbl : "Flash", -InsertFlash : "Ubaci/promjeni Flash", +InsertFlash : "Ubaci/promijeni Flash", InsertTableLbl : "Tablica", -InsertTable : "Ubaci/promjeni tablicu", +InsertTable : "Ubaci/promijeni tablicu", InsertLineLbl : "Linija", InsertLine : "Ubaci vodoravnu liniju", InsertSpecialCharLbl: "Posebni karakteri", @@ -54,7 +56,7 @@ About : "O FCKeditoru", Bold : "Podebljaj", Italic : "Ukosi", -Underline : "Podcrtano", +Underline : "Potcrtano", StrikeThrough : "Precrtano", Subscript : "Subscript", Superscript : "Superscript", @@ -95,7 +97,7 @@ ImageButton : "Image Button", // Context Menu -EditLink : "Promjeni link", +EditLink : "Promijeni link", InsertRow : "Ubaci red", DeleteRows : "Izbriši redove", InsertColumn : "Ubaci kolonu", @@ -131,6 +133,7 @@ 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 // Dialogs DlgBtnOK : "OK", @@ -228,8 +231,8 @@ DlgLnkTargetTop : "Vršni prozor (_top)", DlgLnkTargetFrameName : "Ime ciljnog okvira", DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Mogučnosti popup prozora", -DlgLnkPopResize : "Promjenjljive veličine", +DlgLnkPopWinFeat : "Mogućnosti popup prozora", +DlgLnkPopResize : "Promjenljive veličine", DlgLnkPopLocation : "Traka za lokaciju", DlgLnkPopMenu : "Izborna traka", DlgLnkPopScroll : "Scroll traka", @@ -264,7 +267,7 @@ DlgTableColumns : "Kolona", DlgTableBorder : "Veličina okvira", DlgTableAlign : "Poravnanje", -DlgTableAlignNotSet : "", +DlgTableAlignNotSet : "<nije postavljeno>", DlgTableAlignLeft : "Lijevo", DlgTableAlignCenter : "Središnje", DlgTableAlignRight : "Desno", @@ -283,16 +286,16 @@ DlgCellWidthPc : "postotaka", DlgCellHeight : "Visina", DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "", +DlgCellWordWrapNotSet : "<nije postavljeno>", DlgCellWordWrapYes : "Da", DlgCellWordWrapNo : "Ne", DlgCellHorAlign : "Vodoravno poravnanje", -DlgCellHorAlignNotSet : "", +DlgCellHorAlignNotSet : "<nije postavljeno>", DlgCellHorAlignLeft : "Lijevo", DlgCellHorAlignCenter : "Središnje", DlgCellHorAlignRight: "Desno", DlgCellVerAlign : "Okomito poravnanje", -DlgCellVerAlignNotSet : "", +DlgCellVerAlignNotSet : "<nije postavljeno>", DlgCellVerAlignTop : "Gornje", DlgCellVerAlignMiddle : "Srednišnje", DlgCellVerAlignBottom : "Donje", @@ -311,7 +314,7 @@ // Replace Dialog DlgReplaceTitle : "Zamijeni", DlgReplaceFindLbl : "Pronađi:", -DlgReplaceReplaceLbl : "Zamijeni sa:", +DlgReplaceReplaceLbl : "Zamijeni s:", DlgReplaceCaseChk : "Usporedi mala/velika slova", DlgReplaceReplaceBtn : "Zamijeni", DlgReplaceReplAllBtn : "Zamijeni sve", @@ -345,7 +348,7 @@ // Speller Pages Dialog DlgSpellNotInDic : "Nije u rječniku", -DlgSpellChangeTo : "Promjeni u", +DlgSpellChangeTo : "Promijeni u", DlgSpellBtnIgnore : "Zanemari", DlgSpellBtnIgnoreAll : "Zanemari sve", DlgSpellBtnReplace : "Zamijeni", @@ -356,7 +359,7 @@ DlgSpellNoMispell : "Provjera završena: Nema grešaka", DlgSpellNoChanges : "Provjera završena: Nije napravljena promjena", DlgSpellOneChange : "Provjera završena: Jedna riječ promjenjena", -DlgSpellManyChanges : "Provjera završena: Promjenjeno %1 riječi", +DlgSpellManyChanges : "Provjera završena: Promijenjeno %1 riječi", IeSpellDownload : "Provjera pravopisa nije instalirana. Želite li skinuti provjeru pravopisa?", @@ -384,7 +387,7 @@ DlgSelectOpText : "Tekst", DlgSelectOpValue : "Vrijednost", DlgSelectBtnAdd : "Dodaj", -DlgSelectBtnModify : "Promjeni", +DlgSelectBtnModify : "Promijeni", DlgSelectBtnUp : "Gore", DlgSelectBtnDown : "Dolje", DlgSelectBtnSetValue : "Postavi kao odabranu vrijednost", @@ -398,7 +401,7 @@ // Text Field Dialog DlgTextName : "Ime", DlgTextValue : "Vrijednost", -DlgTextCharWidth : "irina", +DlgTextCharWidth : "Širina", DlgTextMaxChars : "Najviše karaktera", DlgTextType : "Vrsta", DlgTextTypeText : "Tekst", @@ -413,7 +416,7 @@ NumberedListProp : "Svojstva brojčane liste", DlgLstType : "Vrsta", DlgLstTypeCircle : "Krug", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kvadrat", DlgLstTypeNumbers : "Brojevi (1, 2, 3)", DlgLstTypeLCase : "Mala slova (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/hu.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/hu.js (.../hu.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/hu.js (.../hu.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: hu.js * Hungarian language file. * @@ -41,8 +43,8 @@ Anchor : "Horgony beillesztése/szerkesztése", InsertImageLbl : "Kép", InsertImage : "Kép beillesztése/módosítása", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "Flash", +InsertFlash : "Flash beillesztése, módosítása", InsertTableLbl : "Táblázat", InsertTable : "Táblázat beillesztése/módosítása", InsertLineLbl : "Vonal", @@ -107,7 +109,7 @@ CellProperties : "Cellák tulajdonsága", TableProperties : "Táblázat tulajdonsága", ImageProperties : "Kép tulajdonsága", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "Flash tulajdonsága", AnchorProp : "Horgony(ok) tulajdonsága(i)", ButtonProp : "Gomb(ok) tulajdonsága(i) ", @@ -131,6 +133,7 @@ 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.", // Dialogs DlgBtnOK : "OK", @@ -139,8 +142,8 @@ DlgBtnBrowseServer : "Szerver tallózása", DlgAdvancedTag : "Haladó", DlgOpOther : "Egyéb", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgInfoTab : "Információ", +DlgAlertUrl : "Illeszd be a hivatkozást", // General Dialogs Labels DlgGenNotSet : "<nincs beállítva>", @@ -185,17 +188,17 @@ DlgImgAlignTop : "Tetejére", DlgImgPreview : "Elõnézet", DlgImgAlertUrl : "Töltse ki a kép URL-ét", -DlgImgLinkTab : "Link", //MISSING +DlgImgLinkTab : "Hivatkozás", // 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 tulajdonsága", +DlgFlashChkPlay : "Automata lejátszás", +DlgFlashChkLoop : "Folyamatosan", +DlgFlashChkMenu : "Flash menü engedélyezése", +DlgFlashScale : "Méretezés", +DlgFlashScaleAll : "Mindent mutat", +DlgFlashScaleNoBorder : "Keret nélkül", +DlgFlashScaleFit : "Teljes kitöltés", // Link Dialog DlgLnkWindowTitle : "Hivatkozás", @@ -325,10 +328,10 @@ PasteAsText : "Beillesztés formázatlan szövegként", PasteFromWord : "Beillesztés Wordbõl", -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 : "Másold be az alábbi mezőbe a következő billentyűk használatával (Ctrl+V) és nyomj OK.", +DlgPasteIgnoreFont : "Betű formázások megszüntetése", +DlgPasteRemoveStyles : "Stíluslapok eltávolítása", +DlgPasteCleanBox : "Mező tartalmának törlése", // Color Picker @@ -413,7 +416,7 @@ NumberedListProp : "Számozás tulajdonságai", DlgLstType : "Típus", DlgLstTypeCircle : "Ciklus", -DlgLstTypeDisk : "Lemez", +DlgLstTypeDisc : "Lemez", DlgLstTypeSquare : "Négyzet", DlgLstTypeNumbers : "Számok (1, 2, 3)", DlgLstTypeLCase : "Kisbetűs (a, b, c)", @@ -457,11 +460,11 @@ DlgDocPreview : "Előnézet", // 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 : "Sablonok", +DlgTemplatesTitle : "Elérhető sablonok", +DlgTemplatesSelMsg : "Válaszd 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", Index: lams_central/web/fckeditor/editor/lang/it.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/it.js (.../it.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/it.js (.../it.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: it.js * Italian language file. * @@ -104,33 +106,34 @@ DeleteCells : "Elimina celle", MergeCells : "Unisce celle", SplitCell : "Dividi celle", -CellProperties : "Propriet cella", -TableProperties : "Propriet tabella", -ImageProperties : "Propriet immagine", -FlashProperties : "Propriet Oggetto Flash", +CellProperties : "Proprietà cella", +TableProperties : "Proprietà tabella", +ImageProperties : "Proprietà immagine", +FlashProperties : "Proprietà Oggetto Flash", -AnchorProp : "Propriet ancora", -ButtonProp : "Propriet bottone", -CheckboxProp : "Propriet checkbox", -HiddenFieldProp : "Propriet campo nascosto", -RadioButtonProp : "Propriet radio button", -ImageButtonProp : "Propriet bottone immagine", -TextFieldProp : "Propriet campo di testo", -SelectionFieldProp : "Propriet menu di selezione", -TextareaProp : "Propriet area di testo", -FormProp : "Propriet modulo", +AnchorProp : "Proprietà ancora", +ButtonProp : "Proprietà bottone", +CheckboxProp : "Proprietà checkbox", +HiddenFieldProp : "Proprietà campo nascosto", +RadioButtonProp : "Proprietà radio button", +ImageButtonProp : "Proprietà bottone immagine", +TextFieldProp : "Proprietà campo di testo", +SelectionFieldProp : "Proprietà menu di selezione", +TextareaProp : "Proprietà area di testo", +FormProp : "Proprietà modulo", FontFormats : "Normale;Formattato;Indirizzo;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", // Alerts and Messages ProcessingXHTML : "Elaborazione XHTML in corso. Attendere prego...", Done : "Completato", PasteWordConfirm : "Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?", -NotCompatiblePaste : "Questa funzione disponibile solo per Internet Explorer 5.5 o superiore. Desideri incollare il testo senza pulirlo?", +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", UnknownToolbarSet : "La barra di strumenti \"%1\" non esiste", +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 // Dialogs DlgBtnOK : "OK", @@ -160,7 +163,7 @@ DlgGenStyle : "Stile", // Image Dialog -DlgImgTitle : "Propriet immagine", +DlgImgTitle : "Proprietà immagine", DlgImgInfoTab : "Informazioni immagine", DlgImgBtnUpload : "Invia al server", DlgImgURL : "URL", @@ -188,7 +191,7 @@ DlgImgLinkTab : "Collegamento", // Flash Dialog -DlgFlashTitle : "Propriet Oggetto Flash", +DlgFlashTitle : "Proprietà Oggetto Flash", DlgFlashChkPlay : "Avvio Automatico", DlgFlashChkLoop : "Cicla", DlgFlashChkMenu : "Abilita Menu di Flash", @@ -259,7 +262,7 @@ DlgSpecialCharTitle : "Seleziona carattere speciale", // Table Dialog -DlgTableTitle : "Propriet tabella", +DlgTableTitle : "Proprietà tabella", DlgTableRows : "Righe", DlgTableColumns : "Colonne", DlgTableBorder : "Dimensione bordo", @@ -336,10 +339,10 @@ ColorMoreColors : "Altri colori...", // Document Properties -DocProps : "Propriet del Documento", +DocProps : "Proprietà del Documento", // Anchor Dialog -DlgAnchorTitle : "Propriet ancora", +DlgAnchorTitle : "Proprietà ancora", DlgAnchorName : "Nome ancora", DlgAnchorErrorName : "Inserici il nome dell'ancora", @@ -409,11 +412,11 @@ DlgHiddenValue : "Valore", // Bulleted List Dialog -BulletedListProp : "Propriet lista puntata", -NumberedListProp : "Propriet lista numerata", +BulletedListProp : "Proprietà lista puntata", +NumberedListProp : "Proprietà lista numerata", DlgLstType : "Tipo", DlgLstTypeCircle : "Tondo", -DlgLstTypeDisk : "Disco", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Quadrato", DlgLstTypeNumbers : "Numeri (1, 2, 3)", DlgLstTypeLCase : "Caratteri minuscoli (a, b, c)", @@ -459,7 +462,7 @@ // 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)", Index: lams_central/web/fckeditor/editor/lang/ja.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/ja.js (.../ja.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/ja.js (.../ja.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: ja.js * Japanese language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "段落番号 プロパティ", DlgLstType : "タイプ", DlgLstTypeCircle : "白丸", -DlgLstTypeDisk : "黒丸", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "四角", DlgLstTypeNumbers : "アラビア数字 (1, 2, 3)", DlgLstTypeLCase : "英字小文字 (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/ko.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/ko.js (.../ko.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/ko.js (.../ko.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,11 +8,14 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: ko.js * Korean language file. * * File Authors: * Taehwan Kwag (thkwag@nate.com) + * Hyung-chae, Kim (chaeya@gmail.com) */ var FCKLang = @@ -41,8 +44,8 @@ Anchor : "책갈피 삽입/변경", InsertImageLbl : "이미지", InsertImage : "이미지 삽입/변경", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "플래쉬", +InsertFlash : "플래쉬 삽입/변경", InsertTableLbl : "표", InsertTable : "표 삽입/변경", InsertLineLbl : "수평선", @@ -107,7 +110,7 @@ CellProperties : "셀 속성", TableProperties : "표 속성", ImageProperties : "이미지 속성", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "플래쉬 속성", AnchorProp : "책갈피 속성", ButtonProp : "버튼 속성", @@ -131,6 +134,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 // Dialogs DlgBtnOK : "예", @@ -139,8 +143,8 @@ DlgBtnBrowseServer : "서버 보기", DlgAdvancedTag : "자세히", DlgOpOther : "<기타>", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgInfoTab : "정보", +DlgAlertUrl : "URL을 입력하십시요", // General Dialogs Labels DlgGenNotSet : "<설정되지 않음>", @@ -188,14 +192,14 @@ 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 : "플래쉬 등록정보", +DlgFlashChkPlay : "자동재생", +DlgFlashChkLoop : "반복", +DlgFlashChkMenu : "플래쉬메뉴 가능", +DlgFlashScale : "영역", +DlgFlashScaleAll : "모두보기", +DlgFlashScaleNoBorder : "경계선없음", +DlgFlashScaleFit : "영역자동조절", // Link Dialog DlgLnkWindowTitle : "링크", @@ -325,10 +329,10 @@ PasteAsText : "텍스트로 붙여넣기", PasteFromWord : "MS 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 @@ -413,7 +417,7 @@ NumberedListProp : "순서있는 목록 속성", DlgLstType : "종류", DlgLstTypeCircle : "원(Circle)", -DlgLstTypeDisk : "둥근점(Disk)", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "네모점(Square)", DlgLstTypeNumbers : "번호 (1, 2, 3)", DlgLstTypeLCase : "소문자 (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/lt.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/lt.js (.../lt.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/lt.js (.../lt.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: lt.js * Lithuanian language file. * @@ -131,6 +133,7 @@ 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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Numeruoto sąrašo savybės", DlgLstType : "Tipas", DlgLstTypeCircle : "Apskritimas", -DlgLstTypeDisk : "Diskas", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kvadratas", DlgLstTypeNumbers : "Skaičiai (1, 2, 3)", DlgLstTypeLCase : "Mažosios raidės (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/mn.js =================================================================== diff -u --- lams_central/web/fckeditor/editor/lang/mn.js (revision 0) +++ lams_central/web/fckeditor/editor/lang/mn.js (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,475 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: mn.js + * Mongolian language file. + * + * File Authors: + * Lkamtseren ODONBAATAR (odonbaatarl@yahoo.com) + */ + +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 : "plain text-ээс буулгах", +PasteWord : "Word-оос буулгах", +Print : "Хэвлэх", +SelectAll : "Бүгдийг нь сонгох", +RemoveFormat : "Формат авч хаях", +InsertLinkLbl : "Линк", +InsertLink : "Линк Оруулах/Засварлах", +RemoveLink : "Линк авч хаях", +Anchor : "Insert/Edit Anchor", //MISSING +InsertImageLbl : "Зураг", +InsertImage : "Зураг Оруулах/Засварлах", +InsertFlashLbl : "Flash", //MISSING +InsertFlash : "Insert/Edit Flash", //MISSING +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 : "Check Spell", //MISSING +UniversalKeyboard : "Universal Keyboard", //MISSING + +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 + +// Context Menu +EditLink : "Холбоос засварлах", +InsertRow : "Мөр оруулах", +DeleteRows : "Мөр устгах", +InsertColumn : "Багана оруулах", +DeleteColumns : "Багана устгах", +InsertCell : "Нүх оруулах", +DeleteCells : "Нүх устгах", +MergeCells : "Нүх нэгтэх", +SplitCell : "Нүх тусгайрлах", +CellProperties : "Хоосон зайн шинж чанар", +TableProperties : "Хүснэгт", +ImageProperties : "Зураг", +FlashProperties : "Flash Properties", //MISSING + +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 + +FontFormats : "Хэвийн;Formatted;Хаяг;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", + +// Alerts and Messages +ProcessingXHTML : "XHTML үйл явц явагдаж байна. Хүлээнэ үү...", +Done : "Хийх", +PasteWordConfirm : "Word-оос хуулсан текстээ санаж байгааг нь буулгахыг та хүсч байна уу. Та текст-ээ буулгахын өмнө цэвэрлэх үү?", +NotCompatiblePaste : "Энэ комманд Internet Explorer-ын 5.5 буюу түүнээс дээш хувилбарт идвэхшинэ. Та цэвэрлэхгүйгээр буулгахыг хүсч байна?", +UnknownToolbarItem : "Багажны хэсгийн \"%1\" item мэдэгдэхгүй байна", +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 + +// Dialogs +DlgBtnOK : "OK", +DlgBtnCancel : "Болих", +DlgBtnClose : "Хаах", +DlgBtnBrowseServer : "Browse Server", //MISSING +DlgAdvancedTag : "Нэмэлт", +DlgOpOther : "<Other>", //MISSING +DlgInfoTab : "Info", //MISSING +DlgAlertUrl : "Please insert the URL", //MISSING + +// General Dialogs Labels +DlgGenNotSet : "<Оноохгүй>", +DlgGenId : "Id", +DlgGenLangDir : "Хэлний чиглэл", +DlgGenLangDirLtr : "Зүүнээс баруун (LTR)", +DlgGenLangDirRtl : "Баруунаас зүүн (RTL)", +DlgGenLangCode : "Хэлний код", +DlgGenAccessKey : "Холбох түлхүүр", +DlgGenName : "Нэр", +DlgGenTabIndex : "Tab индекс", +DlgGenLongDescr : "URL-ын тайлбар", +DlgGenClass : "Stylesheet классууд", +DlgGenTitle : "Зөвлөлдөх гарчиг", +DlgGenContType : "Зөвлөлдөх төрлийн агуулга", +DlgGenLinkCharset : "Тэмдэгт оноох нөөцөд холбогдсон", +DlgGenStyle : "Загвар", + +// Image Dialog +DlgImgTitle : "Зураг", +DlgImgInfoTab : "Зурагны мэдээлэл", +DlgImgBtnUpload : "Үүнийг сервэррүү илгээ", +DlgImgURL : "URL", +DlgImgUpload : "Хуулах", +DlgImgAlt : "Тайлбар текст", +DlgImgWidth : "Өргөн", +DlgImgHeight : "Өндөр", +DlgImgLockRatio : "Lock Ratio", +DlgBtnResetSize : "хэмжээ дахин оноох", +DlgImgBorder : "Хүрээ", +DlgImgHSpace : "Хөндлөн зай", +DlgImgVSpace : "Босоо зай", +DlgImgAlign : "Эгнээ", +DlgImgAlignLeft : "Зүүн", +DlgImgAlignAbsBottom: "Abs доод талд", +DlgImgAlignAbsMiddle: "Abs Дунд талд", +DlgImgAlignBaseline : "Baseline", +DlgImgAlignBottom : "Доод талд", +DlgImgAlignMiddle : "Дунд талд", +DlgImgAlignRight : "Баруун", +DlgImgAlignTextTop : "Текст дээр", +DlgImgAlignTop : "Дээд талд", +DlgImgPreview : "Уридчлан харах", +DlgImgAlertUrl : "Зурагны URL-ын төрлийн сонгоно уу", +DlgImgLinkTab : "Link", //MISSING + +// 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 + +// Link Dialog +DlgLnkWindowTitle : "Линк", +DlgLnkInfoTab : "Линкийн мэдээлэл", +DlgLnkTargetTab : "Байрлал", + +DlgLnkType : "Линкийн төрөл", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "Энэ хуудасандах холбоос", +DlgLnkTypeEMail : "E-Mail", +DlgLnkProto : "Протокол", +DlgLnkProtoOther : "<бусад>", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "Холбоос сонгох", +DlgLnkAnchorByName : "Холбоосын нэрээр", +DlgLnkAnchorById : "Элемэнт Id-гаар", +DlgLnkNoAnchors : "<Баримт бичиг холбоосгүй байна>", +DlgLnkEMail : "E-Mail Хаяг", +DlgLnkEMailSubject : "Message Subject", +DlgLnkEMailBody : "Message-ийн агуулга", +DlgLnkUpload : "Хуулах", +DlgLnkBtnUpload : "Үүнийг серверрүү илгээ", + +DlgLnkTarget : "Байрлал", +DlgLnkTargetFrame : "<Агуулах хүрээ>", +DlgLnkTargetPopup : "<popup цонх>", +DlgLnkTargetBlank : "Шинэ цонх (_blank)", +DlgLnkTargetParent : "Эцэг цонх (_parent)", +DlgLnkTargetSelf : "Төстэй цонх (_self)", +DlgLnkTargetTop : "Хамгийн түрүүн байх цонх (_top)", +DlgLnkTargetFrameName : "Target Frame Name", //MISSING +DlgLnkPopWinName : "Popup цонхны нэр", +DlgLnkPopWinFeat : "Popup цонхны онцлог", +DlgLnkPopResize : "Хэмжээ өөрчлөх", +DlgLnkPopLocation : "Location хэсэг", +DlgLnkPopMenu : "Meню хэсэг", +DlgLnkPopScroll : "Скрол хэсэгүүд", +DlgLnkPopStatus : "Статус хэсэг", +DlgLnkPopToolbar : "Багажны хэсэг", +DlgLnkPopFullScrn : "Цонх дүүргэх (IE)", +DlgLnkPopDependent : "Хамаатай (Netscape)", +DlgLnkPopWidth : "Өргөн", +DlgLnkPopHeight : "Өндөр", +DlgLnkPopLeft : "Зүүн байрлал", +DlgLnkPopTop : "Дээд байрлал", + +DlnLnkMsgNoUrl : "Линк URL-ээ төрөлжүүлнэ үү", +DlnLnkMsgNoEMail : "Е-mail хаягаа төрөлжүүлнэ үү", +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 : "Тайлбар", + +// Table Cell Dialog +DlgCellTitle : "Хоосон зайн шинж чанар", +DlgCellWidth : "Өргөн", +DlgCellWidthPx : "цэг", +DlgCellWidthPc : "хувь", +DlgCellHeight : "Өндөр", +DlgCellWordWrap : "Үг таслах", +DlgCellWordWrapNotSet : "<Оноохгүй>", +DlgCellWordWrapYes : "Тийм", +DlgCellWordWrapNo : "Үгүй", +DlgCellHorAlign : "Босоо эгнээ", +DlgCellHorAlignNotSet : "<Оноохгүй>", +DlgCellHorAlignLeft : "Зүүн", +DlgCellHorAlignCenter : "Төв", +DlgCellHorAlignRight: "Баруун", +DlgCellVerAlign : "Хөндлөн эгнээ", +DlgCellVerAlignNotSet : "<Оноохгүй>", +DlgCellVerAlignTop : "Дээд тал", +DlgCellVerAlignMiddle : "Дунд", +DlgCellVerAlignBottom : "Доод тал", +DlgCellVerAlignBaseline : "Baseline", +DlgCellRowSpan : "Нийт мөр", +DlgCellCollSpan : "Нийт багана", +DlgCellBackColor : "Фонны өнгө", +DlgCellBorderColor : "Хүрээний өнгө", +DlgCellBtnSelect : "Сонго...", + +// Find Dialog +DlgFindTitle : "Хайх", +DlgFindFindBtn : "Хайх", +DlgFindNotFoundMsg : "Хайсан текст олсонгүй.", + +// Replace Dialog +DlgReplaceTitle : "Солих", +DlgReplaceFindLbl : "Хайх үг/үсэг:", +DlgReplaceReplaceLbl : "Солих үг:", +DlgReplaceCaseChk : "Тэнцэх төлөв", +DlgReplaceReplaceBtn : "Солих", +DlgReplaceReplAllBtn : "Бүгдийг нь Солих", +DlgReplaceWordChk : "Тэнцэх бүтэн үг", + +// Paste Operations / Dialog +PasteErrorPaste : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар буулгах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+V) товчны хослолыг ашиглана уу.", +PasteErrorCut : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+X) товчны хослолыг ашиглана уу.", +PasteErrorCopy : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+C) товчны хослолыг ашиглана уу.", + +PasteAsText : "Plain Text-ээс буулгах", +PasteFromWord : "Word-оос буулгах", + +DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING +DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING +DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING +DlgPasteCleanBox : "Clean Up Box", //MISSING + + +// Color Picker +ColorAutomatic : "Автоматаар", +ColorMoreColors : "Нэмэлт өнгөнүүд...", + +// Document Properties +DocProps : "Document Properties", //MISSING + +// Anchor Dialog +DlgAnchorTitle : "Anchor Properties", //MISSING +DlgAnchorName : "Anchor Name", //MISSING +DlgAnchorErrorName : "Please type the anchor name", //MISSING + +// 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 + +IeSpellDownload : "Spell checker not installed. Do you want to download it now?", //MISSING + +// Button Dialog +DlgButtonText : "Text (Value)", //MISSING +DlgButtonType : "Type", //MISSING + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "Name", //MISSING +DlgCheckboxValue : "Value", //MISSING +DlgCheckboxSelected : "Selected", //MISSING + +// Form Dialog +DlgFormName : "Name", //MISSING +DlgFormAction : "Action", //MISSING +DlgFormMethod : "Method", //MISSING + +// 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 + +// Textarea Dialog +DlgTextareaName : "Name", //MISSING +DlgTextareaCols : "Columns", //MISSING +DlgTextareaRows : "Rows", //MISSING + +// 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 + +// Hidden Field Dialog +DlgHiddenName : "Name", //MISSING +DlgHiddenValue : "Value", //MISSING + +// 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 + +// Document Properties Dialog +DlgDocGeneralTab : "General", //MISSING +DlgDocBackTab : "Background", //MISSING +DlgDocColorsTab : "Colors and Margins", //MISSING +DlgDocMetaTab : "Meta Data", //MISSING + +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 + +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 + +// 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 + +// About Dialog +DlgAboutAboutTab : "About", //MISSING +DlgAboutBrowserInfoTab : "Browser Info", //MISSING +DlgAboutVersion : "Хувилбар", +DlgAboutLicense : "GNU цөөн ерөнхий нийтийн лицензийн ангилалд багтсан зөвшөөрөлтэй", +DlgAboutInfo : "Мэдээллээр туслах" +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/ms.js =================================================================== diff -u --- lams_central/web/fckeditor/editor/lang/ms.js (revision 0) +++ lams_central/web/fckeditor/editor/lang/ms.js (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,475 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: ms.js + * Malay language file. + * + * File Authors: + * Fairul Izham Mohd Mokhlas (eg86@hotmail.com) + */ + +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 : "Simpan", +NewPage : "Helaian Baru", +Preview : "Prebiu", +Cut : "Potong", +Copy : "Salin", +Paste : "Tampal", +PasteText : "Tampal sebagai Text Biasa", +PasteWord : "Tampal dari Word", +Print : "Cetak", +SelectAll : "Pilih Semua", +RemoveFormat : "Buang Format", +InsertLinkLbl : "Sambungan", +InsertLink : "Masukkan/Sunting Sambungan", +RemoveLink : "Buang Sambungan", +Anchor : "Masukkan/Sunting Pautan", +InsertImageLbl : "Gambar", +InsertImage : "Masukkan/Sunting Gambar", +InsertFlashLbl : "Flash", //MISSING +InsertFlash : "Insert/Edit Flash", //MISSING +InsertTableLbl : "Jadual", +InsertTable : "Masukkan/Sunting Jadual", +InsertLineLbl : "Garisan", +InsertLine : "Masukkan Garisan Membujur", +InsertSpecialCharLbl: "Huruf Istimewa", +InsertSpecialChar : "Masukkan Huruf Istimewa", +InsertSmileyLbl : "Smiley", +InsertSmiley : "Masukkan Smiley", +About : "Tentang FCKeditor", +Bold : "Bold", +Italic : "Italic", +Underline : "Underline", +StrikeThrough : "Strike Through", +Subscript : "Subscript", +Superscript : "Superscript", +LeftJustify : "Jajaran Kiri", +CenterJustify : "Jajaran Tengah", +RightJustify : "Jajaran Kanan", +BlockJustify : "Jajaran Blok", +DecreaseIndent : "Kurangkan Inden", +IncreaseIndent : "Tambahkan Inden", +Undo : "Batalkan", +Redo : "Ulangkan", +NumberedListLbl : "Senarai bernombor", +NumberedList : "Masukkan/Sunting Senarai bernombor", +BulletedListLbl : "Senarai tidak bernombor", +BulletedList : "Masukkan/Sunting Senarai tidak bernombor", +ShowTableBorders : "Tunjukkan Border Jadual", +ShowDetails : "Tunjukkan Butiran", +Style : "Stail", +FontFormat : "Format", +Font : "Font", +FontSize : "Saiz", +TextColor : "Warna Text", +BGColor : "Warna Latarbelakang", +Source : "Sumber", +Find : "Cari", +Replace : "Ganti", +SpellCheck : "Semak Ejaan", +UniversalKeyboard : "Papan Kekunci Universal", + +Form : "Borang", +Checkbox : "Checkbox", +RadioButton : "Butang Radio", +TextField : "Text Field", +Textarea : "Textarea", +HiddenField : "Field Tersembunyi", +Button : "Butang", +SelectionField : "Field Pilihan", +ImageButton : "Butang Bergambar", + +// Context Menu +EditLink : "Sunting Sambungan", +InsertRow : "Masukkan Baris", +DeleteRows : "Buangkan Baris", +InsertColumn : "Masukkan Lajur", +DeleteColumns : "Buangkan Lajur", +InsertCell : "Masukkan Sel", +DeleteCells : "Buangkan Sel-sel", +MergeCells : "Cantumkan Sel-sel", +SplitCell : "Bahagikan Sel", +CellProperties : "Ciri-ciri Sel", +TableProperties : "Ciri-ciri Jadual", +ImageProperties : "Ciri-ciri Gambar", +FlashProperties : "Flash Properties", //MISSING + +AnchorProp : "Ciri-ciri Pautan", +ButtonProp : "Ciri-ciri Butang", +CheckboxProp : "Ciri-ciri Checkbox", +HiddenFieldProp : "Ciri-ciri Field Tersembunyi", +RadioButtonProp : "Ciri-ciri Butang Radio", +ImageButtonProp : "Ciri-ciri Butang Bergambar", +TextFieldProp : "Ciri-ciri Text Field", +SelectionFieldProp : "Ciri-ciri Selection Field", +TextareaProp : "Ciri-ciri Textarea", +FormProp : "Ciri-ciri Borang", + +FontFormats : "Normal;Telah Diformat;Alamat;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Perenggan (DIV)", + +// Alerts and Messages +ProcessingXHTML : "Memproses XHTML. Sila tunggu...", +Done : "Siap", +PasteWordConfirm : "Text yang anda hendak tampal adalah berasal dari Word. Adakah anda mahu membuang semua format Word sebelum tampal ke dalam text?", +NotCompatiblePaste : "Arahan ini bole dilakukan jika anda mempuunyai Internet Explorer version 5.5 atau yang lebih tinggi. Adakah anda hendak tampal text tanpa membuang format Word?", +UnknownToolbarItem : "Toolbar item tidak diketahui\"%1\"", +UnknownCommand : "Arahan tidak diketahui \"%1\"", +NotImplemented : "Arahan tidak terdapat didalam sistem", +UnknownToolbarSet : "Set toolbar \"%1\" tidak wujud", +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 + +// Dialogs +DlgBtnOK : "OK", +DlgBtnCancel : "Batal", +DlgBtnClose : "Tutup", +DlgBtnBrowseServer : "Browse Server", +DlgAdvancedTag : "Advanced", +DlgOpOther : "<Lain-lain>", +DlgInfoTab : "Info", //MISSING +DlgAlertUrl : "Please insert the URL", //MISSING + +// General Dialogs Labels +DlgGenNotSet : "<tidak di set>", +DlgGenId : "Id", +DlgGenLangDir : "Arah Tulisan", +DlgGenLangDirLtr : "Kiri ke Kanan (LTR)", +DlgGenLangDirRtl : "Kanan ke Kiri (RTL)", +DlgGenLangCode : "Kod Bahasa", +DlgGenAccessKey : "Kunci Akses", +DlgGenName : "Nama", +DlgGenTabIndex : "Indeks Tab ", +DlgGenLongDescr : "Butiran Panjang URL", +DlgGenClass : "Kelas-kelas Stylesheet", +DlgGenTitle : "Tajuk Makluman", +DlgGenContType : "Jenis Kandungan Makluman", +DlgGenLinkCharset : "Linked Resource Charset", +DlgGenStyle : "Stail", + +// Image Dialog +DlgImgTitle : "Ciri-ciri Imej", +DlgImgInfoTab : "Info Imej", +DlgImgBtnUpload : "Hantar ke Server", +DlgImgURL : "URL", +DlgImgUpload : "Muat Naik", +DlgImgAlt : "Text Alternatif", +DlgImgWidth : "Lebar", +DlgImgHeight : "Tinggi", +DlgImgLockRatio : "Tetapkan Nisbah", +DlgBtnResetSize : "Saiz Set Semula", +DlgImgBorder : "Border", +DlgImgHSpace : "Ruang Melintang", +DlgImgVSpace : "Ruang Menegak", +DlgImgAlign : "Jajaran", +DlgImgAlignLeft : "Kiri", +DlgImgAlignAbsBottom: "Bawah Mutlak", +DlgImgAlignAbsMiddle: "Pertengahan Mutlak", +DlgImgAlignBaseline : "Garis Dasar", +DlgImgAlignBottom : "Bawah", +DlgImgAlignMiddle : "Pertengahan", +DlgImgAlignRight : "Kanan", +DlgImgAlignTextTop : "Atas Text", +DlgImgAlignTop : "Atas", +DlgImgPreview : "Prebiu", +DlgImgAlertUrl : "Sila taip URL untuk fail gambar", +DlgImgLinkTab : "Sambungan", + +// 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 + +// Link Dialog +DlgLnkWindowTitle : "Sambungan", +DlgLnkInfoTab : "Butiran Sambungan", +DlgLnkTargetTab : "Sasaran", + +DlgLnkType : "Jenis Sambungan", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "Pautan dalam muka surat ini", +DlgLnkTypeEMail : "E-Mail", +DlgLnkProto : "Protokol", +DlgLnkProtoOther : "<lain-lain>", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "Sila pilih pautan", +DlgLnkAnchorByName : "dengan menggunakan nama pautan", +DlgLnkAnchorById : "dengan menggunakan ID elemen", +DlgLnkNoAnchors : "<Tiada pautan terdapat dalam dokumen ini>", +DlgLnkEMail : "Alamat E-Mail", +DlgLnkEMailSubject : "Subjek Mesej", +DlgLnkEMailBody : "Isi Kandungan Mesej", +DlgLnkUpload : "Muat Naik", +DlgLnkBtnUpload : "Hantar ke Server", + +DlgLnkTarget : "Sasaran", +DlgLnkTargetFrame : "<bingkai>", +DlgLnkTargetPopup : "<tetingkap popup>", +DlgLnkTargetBlank : "Tetingkap Baru (_blank)", +DlgLnkTargetParent : "Tetingkap Parent (_parent)", +DlgLnkTargetSelf : "Tetingkap yang Sama (_self)", +DlgLnkTargetTop : "Tetingkap yang paling atas (_top)", +DlgLnkTargetFrameName : "Nama Bingkai Sasaran", +DlgLnkPopWinName : "Nama Tetingkap Popup", +DlgLnkPopWinFeat : "Ciri Tetingkap Popup", +DlgLnkPopResize : "Saiz bolehubah", +DlgLnkPopLocation : "Bar Lokasi", +DlgLnkPopMenu : "Bar Menu", +DlgLnkPopScroll : "Bar-bar skrol", +DlgLnkPopStatus : "Bar Status", +DlgLnkPopToolbar : "Toolbar", +DlgLnkPopFullScrn : "Skrin Penuh (IE)", +DlgLnkPopDependent : "Bergantungan (Netscape)", +DlgLnkPopWidth : "Lebar", +DlgLnkPopHeight : "Tinggi", +DlgLnkPopLeft : "Posisi Kiri", +DlgLnkPopTop : "Posisi Atas", + +DlnLnkMsgNoUrl : "Sila taip sambungan URL", +DlnLnkMsgNoEMail : "Sila taip alamat e-mail", +DlnLnkMsgNoAnchor : "Sila pilih pautan berkenaaan", + +// Color Dialog +DlgColorTitle : "Pilihan Warna", +DlgColorBtnClear : "Nyahwarna", +DlgColorHighlight : "Terang", +DlgColorSelected : "Dipilih", + +// Smiley Dialog +DlgSmileyTitle : "Masukkan Smiley", + +// Special Character Dialog +DlgSpecialCharTitle : "Sila pilih huruf istimewa", + +// Table Dialog +DlgTableTitle : "Ciri-ciri Jadual", +DlgTableRows : "Barisan", +DlgTableColumns : "Jaluran", +DlgTableBorder : "Saiz Border", +DlgTableAlign : "Penjajaran", +DlgTableAlignNotSet : "", +DlgTableAlignLeft : "Kiri", +DlgTableAlignCenter : "Tengah", +DlgTableAlignRight : "Kanan", +DlgTableWidth : "Lebar", +DlgTableWidthPx : "piksel-piksel", +DlgTableWidthPc : "peratus", +DlgTableHeight : "Tinggi", +DlgTableCellSpace : "Ruangan Antara Sel", +DlgTableCellPad : "Tambahan Ruang Sel", +DlgTableCaption : "Keterangan", + +// Table Cell Dialog +DlgCellTitle : "Ciri-ciri Sel", +DlgCellWidth : "Lebar", +DlgCellWidthPx : "piksel-piksel", +DlgCellWidthPc : "peratus", +DlgCellHeight : "Tinggi", +DlgCellWordWrap : "Mengulung Perkataan", +DlgCellWordWrapNotSet : "<Tidak diset>", +DlgCellWordWrapYes : "Ya", +DlgCellWordWrapNo : "Tidak", +DlgCellHorAlign : "Jajaran Membujur", +DlgCellHorAlignNotSet : "<Tidak diset>", +DlgCellHorAlignLeft : "Kiri", +DlgCellHorAlignCenter : "Tengah", +DlgCellHorAlignRight: "Kanan", +DlgCellVerAlign : "Jajaran Menegak", +DlgCellVerAlignNotSet : "<Tidak diset>", +DlgCellVerAlignTop : "Atas", +DlgCellVerAlignMiddle : "Tengah", +DlgCellVerAlignBottom : "Bawah", +DlgCellVerAlignBaseline : "Garis Dasar", +DlgCellRowSpan : "Penggunaan Baris", +DlgCellCollSpan : "Penggunaan Lajur", +DlgCellBackColor : "Warna Latarbelakang", +DlgCellBorderColor : "Warna Border", +DlgCellBtnSelect : "Pilih...", + +// Find Dialog +DlgFindTitle : "Carian", +DlgFindFindBtn : "Cari", +DlgFindNotFoundMsg : "Text yang dicari tidak dijumpai.", + +// Replace Dialog +DlgReplaceTitle : "Gantian", +DlgReplaceFindLbl : "Perkataan yang dicari:", +DlgReplaceReplaceLbl : "Diganti dengan:", +DlgReplaceCaseChk : "Padanan case huruf", +DlgReplaceReplaceBtn : "Ganti", +DlgReplaceReplAllBtn : "Ganti semua", +DlgReplaceWordChk : "Padana Keseluruhan perkataan", + +// Paste Operations / Dialog +PasteErrorPaste : "Keselamatan perisian browser anda tidak membenarkan operasi tampalan text/imej. Sila gunakan papan kekunci (Ctrl+V).", +PasteErrorCut : "Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl+X).", +PasteErrorCopy : "Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl+C).", + +PasteAsText : "Tampal sebagai text biasa", +PasteFromWord : "Tampal dari perisian \"Word\"", + +DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING +DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING +DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING +DlgPasteCleanBox : "Clean Up Box", //MISSING + + +// Color Picker +ColorAutomatic : "Otomatik", +ColorMoreColors : "Warna lain-lain...", + +// Document Properties +DocProps : "Ciri-ciri dokumen", + +// Anchor Dialog +DlgAnchorTitle : "Ciri-ciri Pautan", +DlgAnchorName : "Nama Pautan", +DlgAnchorErrorName : "Sila taip nama pautan", + +// Speller Pages Dialog +DlgSpellNotInDic : "Tidak terdapat didalam kamus", +DlgSpellChangeTo : "Tukarkan kepada", +DlgSpellBtnIgnore : "Biar", +DlgSpellBtnIgnoreAll : "Biarkan semua", +DlgSpellBtnReplace : "Ganti", +DlgSpellBtnReplaceAll : "Gantikan Semua", +DlgSpellBtnUndo : "Batalkan", +DlgSpellNoSuggestions : "- Tiada cadangan -", +DlgSpellProgress : "Pemeriksaan ejaan sedang diproses...", +DlgSpellNoMispell : "Pemeriksaan ejaan siap: Tiada salah ejaan", +DlgSpellNoChanges : "Pemeriksaan ejaan siap: Tiada perkataan diubah", +DlgSpellOneChange : "Pemeriksaan ejaan siap: Satu perkataan telah diubah", +DlgSpellManyChanges : "Pemeriksaan ejaan siap: %1 perkataan diubah", + +IeSpellDownload : "Pemeriksa ejaan tidak dipasang. Adakah anda mahu muat turun sekarang?", + +// Button Dialog +DlgButtonText : "Teks (Nilai)", +DlgButtonType : "Jenis", + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "Nama", +DlgCheckboxValue : "Nilai", +DlgCheckboxSelected : "Dipilih", + +// Form Dialog +DlgFormName : "Nama", +DlgFormAction : "Tindakan borang", +DlgFormMethod : "Cara borang dihantar", + +// Select Field Dialog +DlgSelectName : "Nama", +DlgSelectValue : "Nilai", +DlgSelectSize : "Saiz", +DlgSelectLines : "garisan", +DlgSelectChkMulti : "Benarkan pilihan pelbagai", +DlgSelectOpAvail : "Pilihan sediada", +DlgSelectOpText : "Teks", +DlgSelectOpValue : "Nilai", +DlgSelectBtnAdd : "Tambah Pilihan", +DlgSelectBtnModify : "Ubah Pilihan", +DlgSelectBtnUp : "Naik ke atas", +DlgSelectBtnDown : "Turun ke bawah", +DlgSelectBtnSetValue : "Set sebagai nilai terpilih", +DlgSelectBtnDelete : "Padam", + +// Textarea Dialog +DlgTextareaName : "Nama", +DlgTextareaCols : "Lajur", +DlgTextareaRows : "Baris", + +// Text Field Dialog +DlgTextName : "Nama", +DlgTextValue : "Nilai", +DlgTextCharWidth : "Lebar isian", +DlgTextMaxChars : "Isian Maksimum", +DlgTextType : "Jenis", +DlgTextTypeText : "Teks", +DlgTextTypePass : "Kata Laluan", + +// Hidden Field Dialog +DlgHiddenName : "Nama", +DlgHiddenValue : "Nilai", + +// Bulleted List Dialog +BulletedListProp : "Ciri-ciri senarai berpeluru", +NumberedListProp : "Ciri-ciri senarai bernombor", +DlgLstType : "Jenis", +DlgLstTypeCircle : "Circle", +DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeSquare : "Square", +DlgLstTypeNumbers : "Nombor-nombor (1, 2, 3)", +DlgLstTypeLCase : "Huruf-huruf kecil (a, b, c)", +DlgLstTypeUCase : "Huruf-huruf besar (A, B, C)", +DlgLstTypeSRoman : "Nombor Roman Kecil (i, ii, iii)", +DlgLstTypeLRoman : "Nombor Roman Besar (I, II, III)", + +// Document Properties Dialog +DlgDocGeneralTab : "Umum", +DlgDocBackTab : "Latarbelakang", +DlgDocColorsTab : "Warna dan margin", +DlgDocMetaTab : "Data Meta", + +DlgDocPageTitle : "Tajuk Muka Surat", +DlgDocLangDir : "Arah Tulisan", +DlgDocLangDirLTR : "Kiri ke Kanan (LTR)", +DlgDocLangDirRTL : "Kanan ke Kiri (RTL)", +DlgDocLangCode : "Kod Bahasa", +DlgDocCharSet : "Enkod Set Huruf", +DlgDocCharSetOther : "Enkod Set Huruf yang Lain", + +DlgDocDocType : "Jenis Kepala Dokumen", +DlgDocDocTypeOther : "Jenis Kepala Dokumen yang Lain", +DlgDocIncXHTML : "Masukkan pemula kod XHTML", +DlgDocBgColor : "Warna Latarbelakang", +DlgDocBgImage : "URL Gambar Latarbelakang", +DlgDocBgNoScroll : "Imej Latarbelakang tanpa Skrol", +DlgDocCText : "Teks", +DlgDocCLink : "Sambungan", +DlgDocCVisited : "Sambungan telah Dilawati", +DlgDocCActive : "Sambungan Aktif", +DlgDocMargins : "Margin Muka Surat", +DlgDocMaTop : "Atas", +DlgDocMaLeft : "Kiri", +DlgDocMaRight : "Kanan", +DlgDocMaBottom : "Bawah", +DlgDocMeIndex : "Kata Kunci Indeks Dokumen (dipisahkan oleh koma)", +DlgDocMeDescr : "Keterangan Dokumen", +DlgDocMeAuthor : "Penulis", +DlgDocMeCopy : "Hakcipta", +DlgDocPreview : "Prebiu", + +// Templates Dialog +Templates : "Templat", +DlgTemplatesTitle : "Templat Kandungan", +DlgTemplatesSelMsg : "Sila pilih templat untuk dibuka oleh editor
(kandungan sebenar akan hilang):", +DlgTemplatesLoading : "Senarai Templat sedang diproses. Sila Tunggu...", +DlgTemplatesNoTpl : "(Tiada Templat Disimpan)", + +// About Dialog +DlgAboutAboutTab : "Tentang", +DlgAboutBrowserInfoTab : "Maklumat Perisian Browser", +DlgAboutVersion : "versi", +DlgAboutLicense : "Perlesenan dibawah terma GNU Lesser General Public License", +DlgAboutInfo : "Untuk maklumat lanjut sila pergi ke" +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/nl.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/nl.js (.../nl.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/nl.js (.../nl.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: nl.js * Dutch language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Onbekende opdracht naam \"%1\"", NotImplemented : "Opdracht niet geïmplementeerd.", UnknownToolbarSet : "Menubalk \"%1\" bestaat niet.", +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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Eigenschappen genummerde opsommingslijst", DlgLstType : "Soort", DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisk : "Schijf", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Vierkant", DlgLstTypeNumbers : "Nummerks (1, 2, 3)", DlgLstTypeLCase : "Kleine letters (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/no.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/no.js (.../no.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/no.js (.../no.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: no.js * Norwegian language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Ukjent kommando \"%1\"", NotImplemented : "Kommando ikke ennå implimentert", UnknownToolbarSet : "Verktøylinjesett \"%1\" finnes ikke", +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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Ordnet listeegenskaper", DlgLstType : "Type", DlgLstTypeCircle : "Sirkel", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Firkant", DlgLstTypeNumbers : "Numre(1, 2, 3)", DlgLstTypeLCase : "Små bokstaver (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/pl.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/pl.js (.../pl.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/pl.js (.../pl.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: pl.js * Polish language file. * @@ -132,6 +134,7 @@ UnknownCommand : "Nieznana komenda \"%1\"", NotImplemented : "Komenda niezaimplementowana", UnknownToolbarSet : "Pasek narzędzi \"%1\" nie istnieje", +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 // Dialogs DlgBtnOK : "OK", @@ -414,7 +417,7 @@ NumberedListProp : "Właściwości listy numerowanej", DlgLstType : "Typ", DlgLstTypeCircle : "Koło", -DlgLstTypeDisk : "Dysk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kwadrat", DlgLstTypeNumbers : "Cyfry (1, 2, 3)", DlgLstTypeLCase : "Małe litery (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/pt-br.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/pt-br.js (.../pt-br.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/pt-br.js (.../pt-br.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,11 +8,14 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: pt-br.js * Brazilian Portuguese language file. * * File Authors: * Carlos Alberto Tomatis Loth (carlos.loth@conectait.com.br) + * GibaPhp (www.xoopstotal.com.br) */ var FCKLang = @@ -41,8 +44,8 @@ Anchor : "Inserir/Editar Âncora", InsertImageLbl : "Figura", InsertImage : "Inserir/Editar Figura", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "Flash", +InsertFlash : "Insere/Edita Flash", InsertTableLbl : "Tabela", InsertTable : "Inserir/Editar Tabela", InsertLineLbl : "Linha", @@ -107,7 +110,7 @@ CellProperties : "Formatar Célula", TableProperties : "Formatar Tabela", ImageProperties : "Formatar Figura", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "Propriedades Flash", AnchorProp : "Formatar Âncora", ButtonProp : "Formatar Botão", @@ -131,6 +134,7 @@ UnknownCommand : "O comando \"%1\" não é reconhecido", NotImplemented : "O comando não foi implementado", UnknownToolbarSet : "A barra de ferramentas \"%1\" não existe", +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 // Dialogs DlgBtnOK : "OK", @@ -139,8 +143,8 @@ DlgBtnBrowseServer : "Localizar no Servidor", DlgAdvancedTag : "Avançado", DlgOpOther : "<Outros>", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgInfoTab : "Info", +DlgAlertUrl : "Inserir a URL", // General Dialogs Labels DlgGenNotSet : "<não ajustado>", @@ -188,14 +192,14 @@ DlgImgLinkTab : "Hiperlink", // 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 : "Propriedades Flash", +DlgFlashChkPlay : "Tocar Automaticamente", +DlgFlashChkLoop : "Loop", +DlgFlashChkMenu : "Habilita Menu Flash", +DlgFlashScale : "Escala", +DlgFlashScaleAll : "Mostrar tudo", +DlgFlashScaleNoBorder : "Sem Borda", +DlgFlashScaleFit : "Escala Exata", // Link Dialog DlgLnkWindowTitle : "Hiperlink", @@ -325,10 +329,10 @@ PasteAsText : "Colar como Texto sem Formatação", PasteFromWord : "Colar do 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 : "Transfira o link usado no box usando o teclado com (Ctrl+V) e OK.", +DlgPasteIgnoreFont : "Ignorar definições de fonte", +DlgPasteRemoveStyles : "Remove definições de estilo", +DlgPasteCleanBox : "Limpar Box", // Color Picker @@ -353,7 +357,7 @@ DlgSpellBtnUndo : "Desfazer", DlgSpellNoSuggestions : "-sem sugestões de ortografia-", DlgSpellProgress : "Verificação ortográfica em andamento...", -DlgSpellNoMispell : "Verificação ortográfica encerrada: Não foram encontrados erros de ortografia", +DlgSpellNoMispell : "Verificação encerrada: Não foram encontrados erros de ortografia", DlgSpellNoChanges : "Verificação ortográfica encerrada: Não houve alterações", DlgSpellOneChange : "Verificação ortográfica encerrada: Uma palavra foi alterada", DlgSpellManyChanges : "Verificação ortográfica encerrada: %1 foram alteradas", @@ -413,7 +417,7 @@ NumberedListProp : "Formatar Numeração", DlgLstType : "Tipo", DlgLstTypeCircle : "Círculo", -DlgLstTypeDisk : "Disco", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Quadrado", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/pt.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/pt.js (.../pt.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/pt.js (.../pt.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: pt.js * Portuguese language file. * @@ -41,8 +43,8 @@ Anchor : " Inserir/Editar Âncora", InsertImageLbl : "Imagem", InsertImage : "Inserir/Editar Imagem", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "Flash", +InsertFlash : "Inserir/Editar Flash", InsertTableLbl : "Tabela", InsertTable : "Inserir/Editar Tabela", InsertLineLbl : "Linha", @@ -107,14 +109,14 @@ CellProperties : "Propriedades da Célula", TableProperties : "Propriedades da Tabela", ImageProperties : "Propriedades da Imagem", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "Propriedades do Flash", AnchorProp : "Propriedades da Âncora", ButtonProp : "Propriedades do Botão", CheckboxProp : "Propriedades da Caixa de Verificação", HiddenFieldProp : "Propriedades do Campo Escondido", RadioButtonProp : "Propriedades do Botão de Opção", -ImageButtonProp : " Propriedades do Botão de imagens", +ImageButtonProp : "Propriedades do Botão de imagens", TextFieldProp : "Propriedades do Campo de Texto", SelectionFieldProp : "Propriedades da Caixa de Combinação", TextareaProp : "Propriedades da Área de Texto", @@ -131,6 +133,7 @@ UnknownCommand : "Nome de comando desconhecido \"%1\"", NotImplemented : "Comando não implementado", UnknownToolbarSet : "Nome de barra \"%1\" não definido", +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 // Dialogs DlgBtnOK : "OK", @@ -139,8 +142,8 @@ DlgBtnBrowseServer : "Navegar no Servidor", DlgAdvancedTag : "Avançado", DlgOpOther : "<Outro>", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgInfoTab : "Informação", +DlgAlertUrl : "Por favor introduza o URL", // General Dialogs Labels DlgGenNotSet : "<Não definido>", @@ -188,14 +191,14 @@ DlgImgLinkTab : "Hiperligação", // 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 : "Propriedades do Flash", +DlgFlashChkPlay : "Reproduzir automaticamente", +DlgFlashChkLoop : "Loop", +DlgFlashChkMenu : "Permitir Menu do Flash", +DlgFlashScale : "Escala", +DlgFlashScaleAll : "Mostrar tudo", +DlgFlashScaleNoBorder : "Sem Limites", +DlgFlashScaleFit : "Tamanho Exacto", // Link Dialog DlgLnkWindowTitle : "Hiperligação", @@ -242,8 +245,8 @@ DlgLnkPopLeft : "Posição Esquerda", DlgLnkPopTop : "Posição Direita", -DlnLnkMsgNoUrl : "Por favor insira a hiperligação URL", -DlnLnkMsgNoEMail : "Por favor insira o endereço de e-mail", +DlnLnkMsgNoUrl : "Por favor introduza a hiperligação URL", +DlnLnkMsgNoEMail : "Por favor introduza o endereço de e-mail", DlnLnkMsgNoAnchor : "Por favor seleccione uma referência", // Color Dialog @@ -325,10 +328,10 @@ PasteAsText : "Colar como Texto Simples", PasteFromWord : "Colar do 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 : "Por favor, cole dentro da seguinte caixa usando o teclado (Ctrl+V) e prima OK.", +DlgPasteIgnoreFont : "Ignorar da definições do Tipo de Letra ", +DlgPasteRemoveStyles : "Remover as definições de Estilos", +DlgPasteCleanBox : "Caixa de Limpeza", // Color Picker @@ -413,7 +416,7 @@ NumberedListProp : "Propriedades da Numeração", DlgLstType : "Tipo", DlgLstTypeCircle : "Circulo", -DlgLstTypeDisk : "Disco", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Quadrado", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/ro.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/ro.js (.../ro.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/ro.js (.../ro.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: ro.js * Romanian language file. * @@ -132,6 +134,7 @@ UnknownCommand : "Comanda \"%1\" necunoscută", NotImplemented : "Comandă neimplementată", UnknownToolbarSet : "Grupul din bara cu opţiuni \"%1\" nu 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 // Dialogs DlgBtnOK : "Bine", @@ -414,7 +417,7 @@ NumberedListProp : "Proprietăţile listei numerotate (Numbered List)", DlgLstType : "Tip", DlgLstTypeCircle : "Cerc", -DlgLstTypeDisk : "Disc", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Pătrat", DlgLstTypeNumbers : "Numere (1, 2, 3)", DlgLstTypeLCase : "Minuscule-litere mici (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/ru.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/ru.js (.../ru.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/ru.js (.../ru.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: ru.js * Russian language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "ОК", @@ -413,7 +416,7 @@ NumberedListProp : "Свойства нумерованного списка", DlgLstType : "Тип", DlgLstTypeCircle : "Круг", -DlgLstTypeDisk : "Диск", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Квадрат", DlgLstTypeNumbers : "Номера (1, 2, 3)", DlgLstTypeLCase : "Буквы нижнего регистра (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/sk.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/sk.js (.../sk.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/sk.js (.../sk.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: sk.js * Slovak language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Neznámy príkaz \"%1\"", NotImplemented : "Príkaz nie je implementovaný", UnknownToolbarSet : "Panel nástrojov \"%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.", //MISSING // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Vlastnosti číslovania", DlgLstType : "Typ", DlgLstTypeCircle : "Krúžok", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Štvorec", DlgLstTypeNumbers : "Číslovanie (1, 2, 3)", DlgLstTypeLCase : "Malé písmená (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/sl.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/sl.js (.../sl.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/sl.js (.../sl.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: sl.js * Slovenian language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Neznano ime ukaza \"%1\"", NotImplemented : "Ukaz ni izdelan", UnknownToolbarSet : "Skupina orodnih vrstic \"%1\" ne obstoja", +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 // Dialogs DlgBtnOK : "V redu", @@ -413,7 +416,7 @@ NumberedListProp : "Lastnosti oštevilčenega seznama", DlgLstType : "Tip", DlgLstTypeCircle : "Pikica", -DlgLstTypeDisk : "Krožec", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kvadratek", DlgLstTypeNumbers : "Številke (1, 2, 3)", DlgLstTypeLCase : "Male črke (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/sr-latn.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/sr-latn.js (.../sr-latn.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/sr-latn.js (.../sr-latn.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: sr-latn.js * Serbian (Latin) language file. * @@ -24,25 +26,25 @@ ToolbarExpand : "Proiri liniju sa alatkama", // Toolbar Items and Context Menu -Save : "Sacuvaj", +Save : "Sačuvaj", NewPage : "Nova stranica", Preview : "Izgled stranice", Cut : "Iseci", Copy : "Kopiraj", Paste : "Zalepi", PasteText : "Zalepi kao neformatiran tekst", PasteWord : "Zalepi iz Worda", -Print : "tampa", -SelectAll : "Oznaci sve", +Print : "Štampa", +SelectAll : "Označi sve", RemoveFormat : "Ukloni formatiranje", InsertLinkLbl : "Link", InsertLink : "Unesi/izmeni link", RemoveLink : "Ukloni link", Anchor : "Unesi/izmeni sidro", InsertImageLbl : "Slika", InsertImage : "Unesi/izmeni sliku", -InsertFlashLbl : "Fle", -InsertFlash : "Unesi/izmeni fle", +InsertFlashLbl : "Fleš", +InsertFlash : "Unesi/izmeni fleš", InsertTableLbl : "Tabela", InsertTable : "Unesi/izmeni tabelu", InsertLineLbl : "Linija", @@ -54,7 +56,7 @@ About : "O FCKeditoru", Bold : "Podebljano", Italic : "Kurziv", -Underline : "Podvuceno", +Underline : "Podvučeno", StrikeThrough : "Precrtano", Subscript : "Indeks", Superscript : "Stepen", @@ -63,19 +65,19 @@ RightJustify : "Desno ravnanje", BlockJustify : "Obostrano ravnanje", DecreaseIndent : "Smanji levu marginu", -IncreaseIndent : "Uvecaj levu marginu", -Undo : "Poniti akciju", +IncreaseIndent : "Uvećaj levu marginu", +Undo : "Poni�ti akciju", Redo : "Ponovi akciju", NumberedListLbl : "Nabrojiva lista", NumberedList : "Unesi/ukloni nabrojivu listu", BulletedListLbl : "Nenabrojiva lista", BulletedList : "Unesi/ukloni nenabrojivu listu", -ShowTableBorders : "Prikai okvir tabele", -ShowDetails : "Prikai detalje", +ShowTableBorders : "Prikaži okvir tabele", +ShowDetails : "Prikaži detalje", Style : "Stil", FontFormat : "Format", Font : "Font", -FontSize : "Velicina fonta", +FontSize : "Veličina fonta", TextColor : "Boja teksta", BGColor : "Boja pozadine", Source : "Kôd", @@ -97,17 +99,17 @@ // Context Menu EditLink : "Izmeni link", InsertRow : "Unesi red", -DeleteRows : "Obrii redove", +DeleteRows : "Obriši redove", InsertColumn : "Unesi kolonu", -DeleteColumns : "Obrii kolone", -InsertCell : "Unesi celije", -DeleteCells : "Obrii celije", +DeleteColumns : "Obriši kolone", +InsertCell : "Unesi ćelije", +DeleteCells : "Obriši ćelije", MergeCells : "Spoj celije", SplitCell : "Razdvoji celije", CellProperties : "Osobine celije", TableProperties : "Osobine tabele", ImageProperties : "Osobine slike", -FlashProperties : "Osobine flea", +FlashProperties : "Osobine fleša", AnchorProp : "Osobine sidra", ButtonProp : "Osobine dugmeta", @@ -120,23 +122,24 @@ TextareaProp : "Osobine zone teksta", FormProp : "Osobine forme", -FontFormats : "Normal;Formatirano;Adresa;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", +FontFormats : "Normal;Formatirano;Adresa;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6", // Alerts and Messages ProcessingXHTML : "Obradujem XHTML. Malo strpljenja...", -Done : "Zavrio", -PasteWordConfirm : "Tekst koji elite da nalepite kopiran je iz Worda. Da li elite da bude ocicen od formata pre lepljenja?", -NotCompatiblePaste : "Ova komanda je dostupna samo za Internet Explorer od verzije 5.5. Da li elite da nalepim tekst bez cicenja?", +Done : "Završio", +PasteWordConfirm : "Tekst koji želite da nalepite kopiran je iz Worda. Da li želite da bude očišćen od formata pre lepljenja?", +NotCompatiblePaste : "Ova komanda je dostupna samo za Internet Explorer od verzije 5.5. Da li želite da nalepim tekst bez čišćenja?", UnknownToolbarItem : "Nepoznata stavka toolbara \"%1\"", UnknownCommand : "Nepoznata naredba \"%1\"", NotImplemented : "Naredba nije implementirana", UnknownToolbarSet : "Toolbar \"%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 // Dialogs DlgBtnOK : "OK", -DlgBtnCancel : "Otkai", +DlgBtnCancel : "Otkaži", DlgBtnClose : "Zatvori", -DlgBtnBrowseServer : "Pretrai server", +DlgBtnBrowseServer : "Pretraži server", DlgAdvancedTag : "Napredni tagovi", DlgOpOther : "<Ostali>", DlgInfoTab : "Info", @@ -155,21 +158,21 @@ DlgGenLongDescr : "Pun opis URL", DlgGenClass : "Stylesheet klase", DlgGenTitle : "Advisory naslov", -DlgGenContType : "Advisory vrsta sadraja", +DlgGenContType : "Advisory vrsta sadržaja", DlgGenLinkCharset : "Linked Resource Charset", DlgGenStyle : "Stil", // Image Dialog DlgImgTitle : "Osobine slika", DlgImgInfoTab : "Info slike", -DlgImgBtnUpload : "Poalji na server", +DlgImgBtnUpload : "Pošalji na server", DlgImgURL : "URL", -DlgImgUpload : "Poalji", +DlgImgUpload : "Pošalji", DlgImgAlt : "Alternativni tekst", -DlgImgWidth : "irina", +DlgImgWidth : "Širina", DlgImgHeight : "Visina", -DlgImgLockRatio : "Zakljucaj odnos", -DlgBtnResetSize : "Resetuj velicinu", +DlgImgLockRatio : "Zaključaj odnos", +DlgBtnResetSize : "Resetuj veličinu", DlgImgBorder : "Okvir", DlgImgHSpace : "HSpace", DlgImgVSpace : "VSpace", @@ -188,14 +191,14 @@ DlgImgLinkTab : "Link", // Flash Dialog -DlgFlashTitle : "Osobine flea", +DlgFlashTitle : "Osobine fleša", DlgFlashChkPlay : "Automatski start", DlgFlashChkLoop : "Ponavljaj", -DlgFlashChkMenu : "Ukljuci fle meni", +DlgFlashChkMenu : "Uključi fleš meni", DlgFlashScale : "Skaliraj", -DlgFlashScaleAll : "Prikai sve", +DlgFlashScaleAll : "Prikaži sve", DlgFlashScaleNoBorder : "Bez ivice", -DlgFlashScaleFit : "Popuni povrinu", +DlgFlashScaleFit : "Popuni površinu", // Link Dialog DlgLnkWindowTitle : "Link", @@ -215,9 +218,9 @@ DlgLnkNoAnchors : "<Nema dostupnih sidra>", DlgLnkEMail : "E-Mail adresa", DlgLnkEMailSubject : "Naslov", -DlgLnkEMailBody : "Sadraj poruke", -DlgLnkUpload : "Poalji", -DlgLnkBtnUpload : "Poalji na server", +DlgLnkEMailBody : "Sadržaj poruke", +DlgLnkUpload : "Pošalji", +DlgLnkBtnUpload : "Pošalji na server", DlgLnkTarget : "Meta", DlgLnkTargetFrame : "<okvir>", @@ -226,9 +229,9 @@ DlgLnkTargetParent : "Roditeljski prozor (_parent)", DlgLnkTargetSelf : "Isti prozor (_self)", DlgLnkTargetTop : "Prozor na vrhu (_top)", -DlgLnkTargetFrameName : "Naziv odredinog frejma", +DlgLnkTargetFrameName : "Naziv odredišnog frejma", DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Mogucnosti popup prozora", +DlgLnkPopWinFeat : "Mogućnosti popup prozora", DlgLnkPopResize : "Promenljiva velicina", DlgLnkPopLocation : "Lokacija", DlgLnkPopMenu : "Kontekstni meni", @@ -237,7 +240,7 @@ DlgLnkPopToolbar : "Toolbar", DlgLnkPopFullScrn : "Prikaz preko celog ekrana (IE)", DlgLnkPopDependent : "Zavisno (Netscape)", -DlgLnkPopWidth : "irina", +DlgLnkPopWidth : "Širina", DlgLnkPopHeight : "Visina", DlgLnkPopLeft : "Od leve ivice ekrana (px)", DlgLnkPopTop : "Od vrha ekrana (px)", @@ -248,7 +251,7 @@ // Color Dialog DlgColorTitle : "Odaberite boju", -DlgColorBtnClear : "Obrii", +DlgColorBtnClear : "Obriši", DlgColorHighlight : "Posvetli", DlgColorSelected : "Odaberi", @@ -262,37 +265,37 @@ DlgTableTitle : "Osobine tabele", DlgTableRows : "Redova", DlgTableColumns : "Kolona", -DlgTableBorder : "Velicina okvira", +DlgTableBorder : "Veličina okvira", DlgTableAlign : "Ravnanje", -DlgTableAlignNotSet : "", +DlgTableAlignNotSet : "<nije postavljeno>", DlgTableAlignLeft : "Levo", DlgTableAlignCenter : "Sredina", DlgTableAlignRight : "Desno", -DlgTableWidth : "irina", +DlgTableWidth : "Širina", DlgTableWidthPx : "piksela", DlgTableWidthPc : "procenata", DlgTableHeight : "Visina", -DlgTableCellSpace : "Celijski prostor", -DlgTableCellPad : "Razmak celija", +DlgTableCellSpace : "Ćelijski prostor", +DlgTableCellPad : "Razmak ćelija", DlgTableCaption : "Naslov tabele", // Table Cell Dialog -DlgCellTitle : "Osobine celije", -DlgCellWidth : "irina", +DlgCellTitle : "Osobine ćelije", +DlgCellWidth : "Širina", DlgCellWidthPx : "piksela", DlgCellWidthPc : "procenata", DlgCellHeight : "Visina", -DlgCellWordWrap : "Deljenje reci", -DlgCellWordWrapNotSet : "", +DlgCellWordWrap : "Deljenje reči", +DlgCellWordWrapNotSet : "<nije postavljeno>", DlgCellWordWrapYes : "Da", DlgCellWordWrapNo : "Ne", DlgCellHorAlign : "Vodoravno ravnanje", -DlgCellHorAlignNotSet : "", +DlgCellHorAlignNotSet : "<nije postavljeno>", DlgCellHorAlignLeft : "Levo", DlgCellHorAlignCenter : "Sredina", DlgCellHorAlignRight: "Desno", DlgCellVerAlign : "Vertikalno ravnanje", -DlgCellVerAlignNotSet : "", +DlgCellVerAlignNotSet : "<nije postavljeno>", DlgCellVerAlignTop : "Gornje", DlgCellVerAlignMiddle : "Sredina", DlgCellVerAlignBottom : "Donje", @@ -304,9 +307,9 @@ DlgCellBtnSelect : "Odaberi...", // Find Dialog -DlgFindTitle : "Pronadi", -DlgFindFindBtn : "Pronadi", -DlgFindNotFoundMsg : "Traeni tekst nije pronaden.", +DlgFindTitle : "Pronađi", +DlgFindFindBtn : "Pronađi", +DlgFindNotFoundMsg : "Traženi tekst nije pronađen.", // Replace Dialog DlgReplaceTitle : "Zameni", @@ -318,22 +321,22 @@ DlgReplaceWordChk : "Uporedi cele reci", // Paste Operations / Dialog -PasteErrorPaste : "Sigurnosna podeavanja Vaeg pretraivaca ne dozvoljavaju operacije automatskog lepljenja teksta. Molimo Vas da koristite precicu sa tastature (Ctrl+V).", -PasteErrorCut : "Sigurnosna podeavanja Vaeg pretraivaca ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite precicu sa tastature (Ctrl+X).", -PasteErrorCopy : "Sigurnosna podeavanja Vaeg pretraivaca ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite precicu sa tastature (Ctrl+C).", +PasteErrorPaste : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog lepljenja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+V).", +PasteErrorCut : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+X).", +PasteErrorCopy : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+C).", -PasteAsText : "Zalepi kao cist tekst", +PasteAsText : "Zalepi kao čist tekst", PasteFromWord : "Zalepi iz Worda", -DlgPasteMsg2 : "Molimo Vas da zalepite unutar donje povrine koristeci tastaturnu precicu (Ctrl+V) i da pritisnete OK.", -DlgPasteIgnoreFont : "Ignorii Font Face definicije", +DlgPasteMsg2 : "Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (Ctrl+V) i da pritisnete OK.", +DlgPasteIgnoreFont : "Ignoriši definicije fontova", DlgPasteRemoveStyles : "Ukloni definicije stilova", -DlgPasteCleanBox : "Obrii sve", +DlgPasteCleanBox : "Obriši sve", // Color Picker ColorAutomatic : "Automatski", -ColorMoreColors : "Vie boja...", +ColorMoreColors : "Više boja...", // Document Properties DocProps : "Osobine dokumenta", @@ -344,21 +347,21 @@ DlgAnchorErrorName : "Unesite ime sidra", // Speller Pages Dialog -DlgSpellNotInDic : "Nije u recniku", +DlgSpellNotInDic : "Nije u rečniku", DlgSpellChangeTo : "Izmeni", -DlgSpellBtnIgnore : "Ignorii", -DlgSpellBtnIgnoreAll : "Ignorii sve", +DlgSpellBtnIgnore : "Ignoriši", +DlgSpellBtnIgnoreAll : "Ignoriši sve", DlgSpellBtnReplace : "Zameni", DlgSpellBtnReplaceAll : "Zameni sve", DlgSpellBtnUndo : "Vrati akciju", DlgSpellNoSuggestions : "- Bez sugestija -", DlgSpellProgress : "Provera spelovanja u toku...", -DlgSpellNoMispell : "Provera spelovanja zavrena: greke nisu pronadene", -DlgSpellNoChanges : "Provera spelovanja zavrena: Nije izmenjena nijedna rec", -DlgSpellOneChange : "Provera spelovanja zavrena: Izmenjena je jedna rec", -DlgSpellManyChanges : "Provera spelovanja zavrena: %1 rec(i) je izmenjeno", +DlgSpellNoMispell : "Provera spelovanja završena: greške nisu pronadene", +DlgSpellNoChanges : "Provera spelovanja završena: Nije izmenjena nijedna rec", +DlgSpellOneChange : "Provera spelovanja završena: Izmenjena je jedna reč", +DlgSpellManyChanges : "Provera spelovanja završena: %1 reč(i) je izmenjeno", -IeSpellDownload : "Provera spelovanja nije instalirana. Da li elite da je skinete sa Interneta?", +IeSpellDownload : "Provera spelovanja nije instalirana. Da li želite da je skinete sa Interneta?", // Button Dialog DlgButtonText : "Tekst (vrednost)", @@ -367,7 +370,7 @@ // Checkbox and Radio Button Dialogs DlgCheckboxName : "Naziv", DlgCheckboxValue : "Vrednost", -DlgCheckboxSelected : "Oznaceno", +DlgCheckboxSelected : "Označeno", // Form Dialog DlgFormName : "Naziv", @@ -377,18 +380,18 @@ // Select Field Dialog DlgSelectName : "Naziv", DlgSelectValue : "Vrednost", -DlgSelectSize : "Velicina", +DlgSelectSize : "Veličina", DlgSelectLines : "linija", -DlgSelectChkMulti : "Dozvoli viestruku selekciju", +DlgSelectChkMulti : "Dozvoli višestruku selekciju", DlgSelectOpAvail : "Dostupne opcije", DlgSelectOpText : "Tekst", DlgSelectOpValue : "Vrednost", DlgSelectBtnAdd : "Dodaj", DlgSelectBtnModify : "Izmeni", DlgSelectBtnUp : "Gore", DlgSelectBtnDown : "Dole", -DlgSelectBtnSetValue : "Podesi kao oznacenu vrednost", -DlgSelectBtnDelete : "Obrii", +DlgSelectBtnSetValue : "Podesi kao označenu vrednost", +DlgSelectBtnDelete : "Obriši", // Textarea Dialog DlgTextareaName : "Naziv", @@ -398,7 +401,7 @@ // Text Field Dialog DlgTextName : "Naziv", DlgTextValue : "Vrednost", -DlgTextCharWidth : "irina (karaktera)", +DlgTextCharWidth : "Širina (karaktera)", DlgTextMaxChars : "Maksimalno karaktera", DlgTextType : "Tip", DlgTextTypeText : "Tekst", @@ -409,11 +412,11 @@ DlgHiddenValue : "Vrednost", // Bulleted List Dialog -BulletedListProp : "Osobine Bulleted liste", +BulletedListProp : "Osobine nenabrojive liste", NumberedListProp : "Osobine nabrojive liste", DlgLstType : "Tip", DlgLstTypeCircle : "Krug", -DlgLstTypeDisk : "Disk", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kvadrat", DlgLstTypeNumbers : "Brojevi (1, 2, 3)", DlgLstTypeLCase : "mala slova (a, b, c)", @@ -422,7 +425,7 @@ DlgLstTypeLRoman : "Velike rimske cifre (I, II, III)", // Document Properties Dialog -DlgDocGeneralTab : "Opte osobine", +DlgDocGeneralTab : "Opšte osobine", DlgDocBackTab : "Pozadina", DlgDocColorsTab : "Boje i margine", DlgDocMetaTab : "Metapodaci", @@ -431,7 +434,7 @@ DlgDocLangDir : "Smer jezika", DlgDocLangDirLTR : "Sleva nadesno (LTR)", DlgDocLangDirRTL : "Zdesna nalevo (RTL)", -DlgDocLangCode : "ifra jezika", +DlgDocLangCode : "Šifra jezika", DlgDocCharSet : "Kodiranje skupa karaktera", DlgDocCharSetOther : "Ostala kodiranja skupa karaktera", @@ -443,30 +446,30 @@ DlgDocBgNoScroll : "Fiksirana pozadina", DlgDocCText : "Tekst", DlgDocCLink : "Link", -DlgDocCVisited : "Poseceni link", +DlgDocCVisited : "Posećeni link", DlgDocCActive : "Aktivni link", DlgDocMargins : "Margine stranice", DlgDocMaTop : "Gornja", DlgDocMaLeft : "Leva", DlgDocMaRight : "Desna", DlgDocMaBottom : "Donja", -DlgDocMeIndex : "Kljucne reci za indeksiranje dokumenta (razdvojene zarezima)", +DlgDocMeIndex : "Ključne reci za indeksiranje dokumenta (razdvojene zarezima)", DlgDocMeDescr : "Opis dokumenta", DlgDocMeAuthor : "Autor", DlgDocMeCopy : "Autorska prava", DlgDocPreview : "Izgled stranice", // Templates Dialog Templates : "Obrasci", -DlgTemplatesTitle : "Obrasci za sadraj", -DlgTemplatesSelMsg : "Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadraj ce biti obrisan):", -DlgTemplatesLoading : "Ucitavam listu obrazaca. Malo strpljenja...", +DlgTemplatesTitle : "Obrasci za sadržaj", +DlgTemplatesSelMsg : "Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadržaj ce biti obrisan):", +DlgTemplatesLoading : "Učitavam listu obrazaca. Malo strpljenja...", DlgTemplatesNoTpl : "(Nema definisanih obrazaca)", // About Dialog DlgAboutAboutTab : "O editoru", -DlgAboutBrowserInfoTab : "Informacije o pretraivacu", +DlgAboutBrowserInfoTab : "Informacije o pretraživacu", DlgAboutVersion : "verzija", DlgAboutLicense : "Licencirano pod uslovima GNU Lesser General Public License", -DlgAboutInfo : "Za vie informacija posetite" +DlgAboutInfo : "Za više informacija posetite" } \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/sr.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/sr.js (.../sr.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/sr.js (.../sr.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: sr.js * Serbian (Cyrillic) language file. * @@ -131,6 +133,7 @@ UnknownCommand : "Непозната наредба \"%1\"", NotImplemented : "Наредба није имплементирана", UnknownToolbarSet : "Toolbar \"%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 // Dialogs DlgBtnOK : "OK", @@ -413,7 +416,7 @@ NumberedListProp : "Особине набројиве листе", DlgLstType : "Тип", DlgLstTypeCircle : "Круг", -DlgLstTypeDisk : "Диск", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Квадрат", DlgLstTypeNumbers : "Бројеви (1, 2, 3)", DlgLstTypeLCase : "мала слова (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/sv.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/sv.js (.../sv.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/sv.js (.../sv.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: sv.js * Swedish language file. * @@ -36,15 +38,15 @@ SelectAll : "Markera allt", RemoveFormat : "Radera formatering", InsertLinkLbl : "Länk", -InsertLink : "Infoga/Editera länk", +InsertLink : "Infoga/Redigera länk", RemoveLink : "Radera länk", -Anchor : "Infoga/Editera ankarlänk", +Anchor : "Infoga/Redigera ankarlänk", InsertImageLbl : "Bild", -InsertImage : "Infoga/Editera bild", +InsertImage : "Infoga/Redigera bild", InsertFlashLbl : "Flash", -InsertFlash : "Infoga/Editera Flash", +InsertFlash : "Infoga/Redigera Flash", InsertTableLbl : "Tabell", -InsertTable : "Infoga/Editera tabell", +InsertTable : "Infoga/Redigera tabell", InsertLineLbl : "Linje", InsertLine : "Infoga horisontal linje", InsertSpecialCharLbl: "Utökade tecken", @@ -82,7 +84,7 @@ Find : "Sök", Replace : "Ersätt", SpellCheck : "Stavningskontroll", -UniversalKeyboard : "Universalt tangentbord", +UniversalKeyboard : "Universellt tangentbord", Form : "Formulär", Checkbox : "Kryssruta", @@ -95,7 +97,7 @@ ImageButton : "Bildknapp", // Context Menu -EditLink : "Editera länk", +EditLink : "Redigera länk", InsertRow : "Infoga rad", DeleteRows : "Radera rad", InsertColumn : "Infoga kolumn", @@ -131,6 +133,7 @@ UnknownCommand : "Okänt kommando \"%1\"", NotImplemented : "Kommandot finns ej", UnknownToolbarSet : "Verktygsfält \"%1\" finns ej", +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 // Dialogs DlgBtnOK : "OK", @@ -213,7 +216,7 @@ DlgLnkAnchorByName : "efter ankarnamn", DlgLnkAnchorById : "efter objektid", DlgLnkNoAnchors : "<Inga ankare kunde hittas>", -DlgLnkEMail : "E-post adress", +DlgLnkEMail : "E-postadress", DlgLnkEMailSubject : "Ämne", DlgLnkEMailBody : "Innehåll", DlgLnkUpload : "Ladda upp", @@ -326,9 +329,9 @@ PasteFromWord : "Klistra in från Word", DlgPasteMsg2 : "Var god och klistra in Er text i rutan nedan genom att använda (Ctrl+V) klicka sen på OK.", -DlgPasteIgnoreFont : "Ignorera typsnitts definitioner", -DlgPasteRemoveStyles : "Radera Stil definitioner", -DlgPasteCleanBox : "Upprensningsruta", +DlgPasteIgnoreFont : "Ignorera typsnittsdefinitioner", +DlgPasteRemoveStyles : "Radera Stildefinitioner", +DlgPasteCleanBox : "Töm rutans innehåll", // Color Picker @@ -384,7 +387,7 @@ DlgSelectOpText : "Text", DlgSelectOpValue : "Värde", DlgSelectBtnAdd : "Lägg till", -DlgSelectBtnModify : "Editera", +DlgSelectBtnModify : "Redigera", DlgSelectBtnUp : "Upp", DlgSelectBtnDown : "Ner", DlgSelectBtnSetValue : "Markera som valt värde", @@ -413,19 +416,19 @@ NumberedListProp : "Egenskaper för numrerad lista", DlgLstType : "Typ", DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisk : "Skiva", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Ruta", DlgLstTypeNumbers : "Nummer (1, 2, 3)", DlgLstTypeLCase : "Gemener (a, b, c)", DlgLstTypeUCase : "Versaler (A, B, C)", DlgLstTypeSRoman : "Små romerska siffror (i, ii, iii)", -DlgLstTypeLRoman : "Stora romerska siffror (I,II,II)", +DlgLstTypeLRoman : "Stora romerska siffror (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Allmän", DlgDocBackTab : "Bakgrund", DlgDocColorsTab : "Färg och marginal", -DlgDocMetaTab : "Meta data", +DlgDocMetaTab : "Metadata", DlgDocPageTitle : "Sidtitel", DlgDocLangDir : "Språkriktning", Index: lams_central/web/fckeditor/editor/lang/th.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/th.js (.../th.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/th.js (.../th.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: th.js * Thai language file. * @@ -132,6 +134,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 // Dialogs DlgBtnOK : "ตกลง", @@ -414,7 +417,7 @@ NumberedListProp : "คุณสมบัติของ นัมเบอร์ลิสต์", DlgLstType : "ชนิด", DlgLstTypeCircle : "รูปวงกลม", -DlgLstTypeDisk : "รูปดิสก์", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "รูปสี่เหลี่ยม", DlgLstTypeNumbers : "หมายเลข (1, 2, 3)", DlgLstTypeLCase : "ตัวพิมพ์เล็ก (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/tr.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/tr.js (.../tr.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/tr.js (.../tr.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: tr.js * Turkish language file. * @@ -38,11 +40,11 @@ InsertLinkLbl : "Köprü", InsertLink : "Köprü Ekle/Düzenle", RemoveLink : "Köprü Kaldir", -Anchor : "Insert/Edit Anchor", //MISSING +Anchor : "Çapa Ekle/Düzenle", InsertImageLbl : "Resim", InsertImage : "Resim Ekle/Düzenle", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING +InsertFlashLbl : "Flash", +InsertFlash : "Flash Ekle/Düzenle", InsertTableLbl : "Tablo", InsertTable : "Tablo Ekle/Düzenle", InsertLineLbl : "Satir", @@ -107,7 +109,7 @@ CellProperties : "Hücre Özellikleri", TableProperties : "Tablo Özellikleri", ImageProperties : "Resim Özellikleri", -FlashProperties : "Flash Properties", //MISSING +FlashProperties : "Flash Özellikleri", AnchorProp : "Çapa Özellikleri", ButtonProp : "Dügme Özellikleri", @@ -131,6 +133,7 @@ UnknownCommand : "Bilinmeyen komut \"%1\"", NotImplemented : "Komut uyarlanamadi", UnknownToolbarSet : "\"%1\" araç çubugu ögesi mevcut degil", +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 // Dialogs DlgBtnOK : "Tamam", @@ -139,8 +142,8 @@ DlgBtnBrowseServer : "Sunucuyu Gez", DlgAdvancedTag : "Gelismis", DlgOpOther : "<Diger>", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING +DlgInfoTab : "Bilgi", +DlgAlertUrl : "Lütfen URL girin", // General Dialogs Labels DlgGenNotSet : "<tanimlanmamis>", @@ -185,17 +188,17 @@ DlgImgAlignTop : "Tepe", DlgImgPreview : "Ön Izleme", DlgImgAlertUrl : "Lütfen resimin URL'sini yaziniz", -DlgImgLinkTab : "Link", //MISSING +DlgImgLinkTab : "Köprü", // 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 Özellikleri", +DlgFlashChkPlay : "Otomatik Oynat", +DlgFlashChkLoop : "Döngü", +DlgFlashChkMenu : "Flash Mönüsünü Kullan", +DlgFlashScale : "Boyutlandır", +DlgFlashScaleAll : "Hepsini Göster", +DlgFlashScaleNoBorder : "Kenar Yok", +DlgFlashScaleFit : "Tam Sığdır", // Link Dialog DlgLnkWindowTitle : "Köprü", @@ -326,9 +329,9 @@ PasteFromWord : "Word'den yapistir", 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 +DlgPasteIgnoreFont : "Yazı Tipi tanımlarını yoksay", +DlgPasteRemoveStyles : "Sitil Tanımlarını çıkar", +DlgPasteCleanBox : "Temizlik Kutusu", // Color Picker @@ -413,7 +416,7 @@ NumberedListProp : "Numarali Liste Özellikleri", DlgLstType : "Tip", DlgLstTypeCircle : "Çember", -DlgLstTypeDisk : "Daire", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Kare", DlgLstTypeNumbers : "Sayilar (1, 2, 3)", DlgLstTypeLCase : "Küçük Harfler (a, b, c)", @@ -457,11 +460,11 @@ DlgDocPreview : "Ön Izleme", // 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 : "Düzenler", +DlgTemplatesTitle : "İçerik Düzenleri", +DlgTemplatesSelMsg : "Editörde açmak için lütfen bir düzen seçin.
(hali hazırdaki içerik kaybolacaktır.):", +DlgTemplatesLoading : "Düzenler listesi yüklenmekte. Lütfen bekleyiniz...", +DlgTemplatesNoTpl : "(Belirli bir düzen seçilmedi)", // About Dialog DlgAboutAboutTab : "Hakkinda", Index: lams_central/web/fckeditor/editor/lang/uk.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/uk.js (.../uk.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/uk.js (.../uk.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: uk.js * Ukrainian language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "ОК", @@ -413,7 +416,7 @@ NumberedListProp : "Властивості нумерованного списка", DlgLstType : "Тип", DlgLstTypeCircle : "Коло", -DlgLstTypeDisk : "Диск", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "Квадрат", DlgLstTypeNumbers : "Номери (1, 2, 3)", DlgLstTypeLCase : "Літери нижнього регістра(a, b, c)", Index: lams_central/web/fckeditor/editor/lang/vi.js =================================================================== diff -u --- lams_central/web/fckeditor/editor/lang/vi.js (revision 0) +++ lams_central/web/fckeditor/editor/lang/vi.js (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,475 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: vi.js + * Vietnamese language file. + * + * File Authors: + * Phan Binh Giang (bbbgiang@yahoo.com) + */ + +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 : "Ghi", +NewPage : "Trang Mới", +Preview : "Xem trước", +Cut : "Cắt", +Copy : "Sao", +Paste : "Dán", +PasteText : "Dán Ký tự đơn thuần", +PasteWord : "Dán với định dạng Word", +Print : "In", +SelectAll : "Chọn Tất cả", +RemoveFormat : "Xoá Định dạng", +InsertLinkLbl : "Liên kết", +InsertLink : "Chèn/Sửa Liên kết", +RemoveLink : "Xoá Liên kết", +Anchor : "Chèn/Sửa Neo", +InsertImageLbl : "Hình ảnh", +InsertImage : "Chèn/Sửa Hình ảnh", +InsertFlashLbl : "Flash", +InsertFlash : "Chèn/Sửa Flash", +InsertTableLbl : "Bảng", +InsertTable : "Chèn/Sửa bảng", +InsertLineLbl : "Đường phân cách", +InsertLine : "Chèn đường phân cách ngang", +InsertSpecialCharLbl: "Ký tự đặt biệt", +InsertSpecialChar : "Chèn Ký tự đặc biệt", +InsertSmileyLbl : "Hình cảm xúc", +InsertSmiley : "Chèn Hình cảm xúc", +About : "Giới thiệu về FCKeditor", +Bold : "Đậm", +Italic : "Nghiêng", +Underline : "Gạch chân", +StrikeThrough : "Gạch ngang", +Subscript : "Chỉ số dưới", +Superscript : "Chỉ số trên", +LeftJustify : "Canh bên Trái", +CenterJustify : "Canh Giữa", +RightJustify : "Canh bên Phải", +BlockJustify : "Canh Hai bên", +DecreaseIndent : "Dịch sang Trái", +IncreaseIndent : "Dịch sang Phải", +Undo : "Phục hồi Lùi", +Redo : "Phục hồi Tiến", +NumberedListLbl : "Số thứ tự", +NumberedList : "Chèn/Xoá Số thứ tự", +BulletedListLbl : "Danh sách Bulleted", +BulletedList : "Chèn/Xoá Danh sách Bulleted", +ShowTableBorders : "Hiện thị Đường viền bảng", +ShowDetails : "Hiện thị Chi tiết", +Style : "Mẫu", +FontFormat : "Định dạng", +Font : "Font", +FontSize : "Cỡ Chữ", +TextColor : "Màu Chữ", +BGColor : "Màu Nền", +Source : "Mã nguồn", +Find : "Tìm", +Replace : "Thay thế", +SpellCheck : "Kiểm tra Chính tả", +UniversalKeyboard : "Bàn phím quốc tế", + +Form : "Form", +Checkbox : "Nốt Kiểm", +RadioButton : "Nốt Đài", +TextField : "Text Field", +Textarea : "Textarea", +HiddenField : "Hidden Field", +Button : "Button", +SelectionField : "Selection Field", +ImageButton : "Image Button", + +// Context Menu +EditLink : "Sửa Liên kết", +InsertRow : "Chèn Dòng", +DeleteRows : "Xoá Dòng", +InsertColumn : "Chèn Cột", +DeleteColumns : "Xoá Cột", +InsertCell : "Chèn Ô", +DeleteCells : "Xoá Ô", +MergeCells : "Trộn Ô", +SplitCell : "Chia Ô", +CellProperties : "Thuộc tính Ô", +TableProperties : "Thuộc tính Bảng", +ImageProperties : "Thuộc tính Hình ảnh", +FlashProperties : "Thuộc tính Flash", + +AnchorProp : "Thuộc tính Neo", +ButtonProp : "Thuộc tính Button", +CheckboxProp : "Thuộc tính Nốt kiểm", +HiddenFieldProp : "Thuộc tính Hidden Field", +RadioButtonProp : "Thuộc tính Nốt đài", +ImageButtonProp : "Thuộc tính Image Button", +TextFieldProp : "Thuộc tính Text Field", +SelectionFieldProp : "Thuộc tính Selection Field", +TextareaProp : "Thuộc tính Textarea", +FormProp : "Thuộc tính Form", + +FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", + +// Alerts and Messages +ProcessingXHTML : "Đang xử lý XHTML. Xin hãy đợi...", +Done : "Đã hoàn thành", +PasteWordConfirm : "Văn bản bạn muốn dán có kèm định dạng của Word. Bạn có muốn loại bỏ định dạng Word trước khi dán?", +NotCompatiblePaste : "Lệnh này chỉ được hỗ trợ từ trình duyệt Internet Explorer phiên bản 5.5 hoặc mới hơn. Bạn có muốn dán nguyên mẫu?", +UnknownToolbarItem : "Không rõ Nốt \"%1\"", +UnknownCommand : "Không rõ lệnh \"%1\"", +NotImplemented : "Lệnh không được thi hành", +UnknownToolbarSet : "Thanh công cụ \"%1\" không tồn tại", +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 + +// Dialogs +DlgBtnOK : "Đồng ý", +DlgBtnCancel : "Bỏ qua", +DlgBtnClose : "Đóng", +DlgBtnBrowseServer : "Duyệt trên máy chủ", +DlgAdvancedTag : "Mở rộng", +DlgOpOther : "<Khác>", +DlgInfoTab : "Thông tin", +DlgAlertUrl : "Hãy đưa vào một URL", + +// General Dialogs Labels +DlgGenNotSet : "<không thiết lập>", +DlgGenId : "Định danh", +DlgGenLangDir : "Đường dẫn Ngôn ngữ", +DlgGenLangDirLtr : "Trái sang Phải (LTR)", +DlgGenLangDirRtl : "Phải sang Trái (RTL)", +DlgGenLangCode : "Mã Ngôn ngữ", +DlgGenAccessKey : "Phím Truy cập", +DlgGenName : "Tên", +DlgGenTabIndex : "Tab Index", +DlgGenLongDescr : "Mô tả URL", +DlgGenClass : "Stylesheet Classes", +DlgGenTitle : "Advisory Title", +DlgGenContType : "Advisory Content Type", +DlgGenLinkCharset : "Linked Resource Charset", +DlgGenStyle : "Mẫu", + +// Image Dialog +DlgImgTitle : "Thuộc tính Hình ảnh", +DlgImgInfoTab : "Thông tin Hình ảnh", +DlgImgBtnUpload : "Gửi lên Máy chủ", +DlgImgURL : "URL", +DlgImgUpload : "Tải lên", +DlgImgAlt : "Chú thích Hình ảnh", +DlgImgWidth : "Rộng", +DlgImgHeight : "Cao", +DlgImgLockRatio : "Giữ tỷ lệ", +DlgBtnResetSize : "Kích thước gốc", +DlgImgBorder : "Đường viền", +DlgImgHSpace : "HSpace", +DlgImgVSpace : "VSpace", +DlgImgAlign : "Vị trí", +DlgImgAlignLeft : "Trái", +DlgImgAlignAbsBottom: "Abs Bottom", +DlgImgAlignAbsMiddle: "Abs Middle", +DlgImgAlignBaseline : "Baseline", +DlgImgAlignBottom : "Dưới", +DlgImgAlignMiddle : "Giữa", +DlgImgAlignRight : "Phải", +DlgImgAlignTextTop : "Text Top", +DlgImgAlignTop : "Trên", +DlgImgPreview : "Xem trước", +DlgImgAlertUrl : "Hãy đưa vào URL của hình ảnh", +DlgImgLinkTab : "Liên kết", + +// Flash Dialog +DlgFlashTitle : "Thuộc tính Flash", +DlgFlashChkPlay : "Tự động Chạy", +DlgFlashChkLoop : "Lặp", +DlgFlashChkMenu : "Kích hoạt Menu Flash ", +DlgFlashScale : "Scale", +DlgFlashScaleAll : "Hiển thị tất cả", +DlgFlashScaleNoBorder : "Không đường viền", +DlgFlashScaleFit : "Exact Fit", + +// Link Dialog +DlgLnkWindowTitle : "Liên kết", +DlgLnkInfoTab : "Thông tin Liên kết", +DlgLnkTargetTab : "Hướng tới", + +DlgLnkType : "Kiểu Liên kết", +DlgLnkTypeURL : "URL", +DlgLnkTypeAnchor : "Neo trong trang này", +DlgLnkTypeEMail : "E-Mail", +DlgLnkProto : "Giao thức", +DlgLnkProtoOther : "<khác>", +DlgLnkURL : "URL", +DlgLnkAnchorSel : "Chọn một Neo", +DlgLnkAnchorByName : "Theo Tên Neo", +DlgLnkAnchorById : "Theo Định danh Element", +DlgLnkNoAnchors : "<Không có Neo nào trong tài liệu>", +DlgLnkEMail : "E-Mail", +DlgLnkEMailSubject : "Tựa đề Thông điệp", +DlgLnkEMailBody : "Nội dung Thông điệp", +DlgLnkUpload : "Tải lên", +DlgLnkBtnUpload : "Gửi lên Máy chủ", + +DlgLnkTarget : "Hướng tới", +DlgLnkTargetFrame : "<frame>", +DlgLnkTargetPopup : "<cửa sổ popup>", +DlgLnkTargetBlank : "Cửa sổ mới (_blank)", +DlgLnkTargetParent : "Cửa sổ cha (_parent)", +DlgLnkTargetSelf : "Cùng cửa sổ (_self)", +DlgLnkTargetTop : "Cửa sổ trên cùng(_top)", +DlgLnkTargetFrameName : "Tên Frame hướng tới", +DlgLnkPopWinName : "Tên Cửa sổ Popup", +DlgLnkPopWinFeat : "Cửa sổ Popup Đặc trưng", +DlgLnkPopResize : "Kích thước thay đổi", +DlgLnkPopLocation : "Location Bar", //MISSING +DlgLnkPopMenu : "Thanh Menu", +DlgLnkPopScroll : "Thanh cuộn", +DlgLnkPopStatus : "Thanh trạng thái", +DlgLnkPopToolbar : "Thanh công cụ", +DlgLnkPopFullScrn : "Toàn màn hình (IE)", +DlgLnkPopDependent : "Dependent (Netscape)", +DlgLnkPopWidth : "Rộng", +DlgLnkPopHeight : "Cao", +DlgLnkPopLeft : "Vị trí Trái", +DlgLnkPopTop : "Vị trí Trên", + +DlnLnkMsgNoUrl : "Hãy đưa vào Liên kết URL", +DlnLnkMsgNoEMail : "Hãy đưa vào địa chỉ e-mail", +DlnLnkMsgNoAnchor : "Hãy chọn một Neo", + +// Color Dialog +DlgColorTitle : "Chọn màu", +DlgColorBtnClear : "Xoá", +DlgColorHighlight : "Điểm sáng", +DlgColorSelected : "Đã chọn", + +// Smiley Dialog +DlgSmileyTitle : "Chèn một hình cảm xúc", + +// Special Character Dialog +DlgSpecialCharTitle : "Chọn ký tự đặc biệt", + +// Table Dialog +DlgTableTitle : "Thuộc tính bảng", +DlgTableRows : "Dòng", +DlgTableColumns : "Cột", +DlgTableBorder : "Cỡ Đường viền", +DlgTableAlign : "Alignment", +DlgTableAlignNotSet : "", +DlgTableAlignLeft : "Trái", +DlgTableAlignCenter : "Giữa", +DlgTableAlignRight : "Phải", +DlgTableWidth : "Rộng", +DlgTableWidthPx : "điểm", +DlgTableWidthPc : "%", +DlgTableHeight : "Cao", +DlgTableCellSpace : "Khoảng cách Ô", +DlgTableCellPad : "Đệm Ô", +DlgTableCaption : "Đầu đề", + +// Table Cell Dialog +DlgCellTitle : "Thuộc tính Ô", +DlgCellWidth : "Rộng", +DlgCellWidthPx : "điểm", +DlgCellWidthPc : "%", +DlgCellHeight : "Cao", +DlgCellWordWrap : "Dàn từ", +DlgCellWordWrapNotSet : "<Không thiết lập>", +DlgCellWordWrapYes : "Đồng ý", +DlgCellWordWrapNo : "Không", +DlgCellHorAlign : "Sắp xếp Ngang", +DlgCellHorAlignNotSet : "<Không thiết lập>", +DlgCellHorAlignLeft : "Trái", +DlgCellHorAlignCenter : "Giữa", +DlgCellHorAlignRight: "Phải", +DlgCellVerAlign : "Sắp xếp Dọc", +DlgCellVerAlignNotSet : "<Không thiết lập>", +DlgCellVerAlignTop : "Trên", +DlgCellVerAlignMiddle : "Giữa", +DlgCellVerAlignBottom : "Dưới", +DlgCellVerAlignBaseline : "Baseline", +DlgCellRowSpan : "Rows Span", +DlgCellCollSpan : "Columns Span", +DlgCellBackColor : "Màu nền", +DlgCellBorderColor : "Màu viền", +DlgCellBtnSelect : "Chọn...", + +// Find Dialog +DlgFindTitle : "Tìm", +DlgFindFindBtn : "Tìm", +DlgFindNotFoundMsg : "Chuỗi cần tìm không thấy.", + +// Replace Dialog +DlgReplaceTitle : "Thay thế", +DlgReplaceFindLbl : "Tìm gì:", +DlgReplaceReplaceLbl : "Thay bằng:", +DlgReplaceCaseChk : "Đúng chứ HOA/thường", +DlgReplaceReplaceBtn : "Thay thế", +DlgReplaceReplAllBtn : "Thay thế Tất cả", +DlgReplaceWordChk : "Đúng từ", + +// Paste Operations / Dialog +PasteErrorPaste : "An ninh trình duyệt của bạn được thiết lập không cho phép trình soạn thảo tự động thực thi lệnh dán. Hãy sử dụng bàn phím cho lệnh này (Ctrl+V).", +PasteErrorCut : "An ninh trình duyệt của bạn được thiết lập không cho phép trình soạn thảo tự động thực thi lệnh cắt. Hãy sử dụng bàn phím cho lệnh này (Ctrl+X).", +PasteErrorCopy : "An ninh trình duyệt của bạn được thiết lập không cho phép trình soạn thảo tự động thực thi lệnh sao chép. Hãy sử dụng bàn phím cho lệnh này (Ctrl+C).", + +PasteAsText : "Dán ký tự đơn thuần", +PasteFromWord : "Dán với định dạng Word", + +DlgPasteMsg2 : "Hãy dán vào trong khung bên dưới, sử dụng tổ hợp phím (Ctrl+V) và nhấn vào nốt Đồng ý.", +DlgPasteIgnoreFont : "Chấp nhận các định dạng Font", +DlgPasteRemoveStyles : "Xoá tất cả các định dạng Styles", +DlgPasteCleanBox : "Xoá sạch", + + +// Color Picker +ColorAutomatic : "Tự động", +ColorMoreColors : "Màu khác...", + +// Document Properties +DocProps : "Thuộc tính tài liệu", + +// Anchor Dialog +DlgAnchorTitle : "Thuộc tính Neo", +DlgAnchorName : "Tên Neo", +DlgAnchorErrorName : "Hãy đưa vào tên Neo", + +// Speller Pages Dialog +DlgSpellNotInDic : "Không trong từ điển", +DlgSpellChangeTo : "Change to", +DlgSpellBtnIgnore : "Bỏ qua", +DlgSpellBtnIgnoreAll : "Bỏ qua Tất cả", +DlgSpellBtnReplace : "Thay thế", +DlgSpellBtnReplaceAll : "Thay thế Tất cả", +DlgSpellBtnUndo : "Phục hồi lại", +DlgSpellNoSuggestions : "- Không đề xuất -", +DlgSpellProgress : "Đang tiến hành kiểm tra chính tả...", +DlgSpellNoMispell : "Hoàn tất kiểm tra chính tả: Không có lỗi chính tả", +DlgSpellNoChanges : "Hoàn tất kiểm tra chính tả: Không từ nào được thay đổi", +DlgSpellOneChange : "Hoàn tất kiểm tra chính tả: Một từ đã được thay đổi", +DlgSpellManyChanges : "Hoàn tất kiểm tra chính tả: %1 từ đã được thay đổi", + +IeSpellDownload : "Chức năng kiểm tra chính tả chưa được cài đặt. Bạn có tải về ngay bây giờ?", + +// Button Dialog +DlgButtonText : "Text (Value)", +DlgButtonType : "Kiểu", + +// Checkbox and Radio Button Dialogs +DlgCheckboxName : "Tên", +DlgCheckboxValue : "Giá trị", +DlgCheckboxSelected : "Đã chọn", + +// Form Dialog +DlgFormName : "Tên", +DlgFormAction : "Action", +DlgFormMethod : "Phương thức", + +// Select Field Dialog +DlgSelectName : "Tên", +DlgSelectValue : "Giá trị", +DlgSelectSize : "Kích cỡ", +DlgSelectLines : "dòng", +DlgSelectChkMulti : "Chấp nhận chọn nhiều", +DlgSelectOpAvail : "Available Options", +DlgSelectOpText : "Text", +DlgSelectOpValue : "Giá trị", +DlgSelectBtnAdd : "Thêm", +DlgSelectBtnModify : "Thay đổi", +DlgSelectBtnUp : "Lên", +DlgSelectBtnDown : "Xuống", +DlgSelectBtnSetValue : "Giá trị được chọn", +DlgSelectBtnDelete : "Xoá", + +// Textarea Dialog +DlgTextareaName : "Tên", +DlgTextareaCols : "Cột", +DlgTextareaRows : "Dòng", + +// Text Field Dialog +DlgTextName : "Tên", +DlgTextValue : "Giá trị", +DlgTextCharWidth : "Rộng", +DlgTextMaxChars : "Số Ký tự tối đa", +DlgTextType : "Kiểu", +DlgTextTypeText : "Ký tự", +DlgTextTypePass : "Mật khẩu", + +// Hidden Field Dialog +DlgHiddenName : "Tên", +DlgHiddenValue : "Giá trị", + +// Bulleted List Dialog +BulletedListProp : "Thuộc tính Danh sách Bulleted", +NumberedListProp : "Thuộc tính Danh sách Số", +DlgLstType : "Kiểu", +DlgLstTypeCircle : "Tròn", +DlgLstTypeDisc : "Disc", //MISSING +DlgLstTypeSquare : "Vuông", +DlgLstTypeNumbers : "Số (1, 2, 3)", +DlgLstTypeLCase : "Chữ cái thường (a, b, c)", +DlgLstTypeUCase : "Chữ cái hoa (A, B, C)", +DlgLstTypeSRoman : "Số LaMa thường (i, ii, iii)", +DlgLstTypeLRoman : "Số LaMa hoa (I, II, III)", + +// Document Properties Dialog +DlgDocGeneralTab : "Toàn thể", +DlgDocBackTab : "Nền", +DlgDocColorsTab : "Màu sắc và Biên", +DlgDocMetaTab : "Meta Data", + +DlgDocPageTitle : "Tiêu đề Trang", +DlgDocLangDir : "Đường dẫn Ngôn Ngữ", +DlgDocLangDirLTR : "Trái sang Phải (LTR)", +DlgDocLangDirRTL : "Phải sang Trái (RTL)", +DlgDocLangCode : "Mã Ngôn ngữ", +DlgDocCharSet : "Character Set Encoding", +DlgDocCharSetOther : "Other Character Set Encoding", + +DlgDocDocType : "Kiểu Đề mục Tài liệu", +DlgDocDocTypeOther : "Kiểu Đề mục Tài liệu khác", +DlgDocIncXHTML : "Bao gồm cả định nghĩa XHTML", +DlgDocBgColor : "Màu nền", +DlgDocBgImage : "Background Image URL", +DlgDocBgNoScroll : "Không cuộn nền", +DlgDocCText : "Text", +DlgDocCLink : "Liên kết", +DlgDocCVisited : "Liên kết Đã viếng thăm", +DlgDocCActive : "Liên kết Hoạt động", +DlgDocMargins : "Biên của Trang", +DlgDocMaTop : "Trên", +DlgDocMaLeft : "Trái", +DlgDocMaRight : "Phải", +DlgDocMaBottom : "Dưới", +DlgDocMeIndex : "Document Indexing Keywords (comma separated)", +DlgDocMeDescr : "Mô tả tài liệu", +DlgDocMeAuthor : "Tác giả", +DlgDocMeCopy : "Bản quyền", +DlgDocPreview : "Xem trước", + +// Templates Dialog +Templates : "Mẫu dựng sẵn", +DlgTemplatesTitle : "Nội dung Mẫu dựng sẵn", +DlgTemplatesSelMsg : "Please select the template to open in the editor
(the actual contents will be lost):", +DlgTemplatesLoading : "Đang nạp Danh sách Mẫu dựng sẵn. Xin hãy chờ...", +DlgTemplatesNoTpl : "(Không có Mẫu dựng sẵn nào được định nghĩa)", + +// About Dialog +DlgAboutAboutTab : "Giới thiệu", +DlgAboutBrowserInfoTab : "Thông tin trình duyệt", +DlgAboutVersion : "phiên bản", +DlgAboutLicense : "Licensed under the terms of the GNU Lesser General Public License", +DlgAboutInfo : "Thông tin thêm hãy đến" +} \ No newline at end of file Index: lams_central/web/fckeditor/editor/lang/zh-cn.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/zh-cn.js (.../zh-cn.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/zh-cn.js (.../zh-cn.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: zh-cn.js * Chinese Simplified language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "确定", @@ -413,7 +416,7 @@ NumberedListProp : "编号列表属性", DlgLstType : "列表类型", DlgLstTypeCircle : "圆圈", -DlgLstTypeDisk : "圆点", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "方块", DlgLstTypeNumbers : "数字 (1, 2, 3)", DlgLstTypeLCase : "小写字母 (a, b, c)", Index: lams_central/web/fckeditor/editor/lang/zh.js =================================================================== diff -u -re7bc7c1b21c5e95239af85cf7d5e5ab01b18e279 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/lang/zh.js (.../zh.js) (revision e7bc7c1b21c5e95239af85cf7d5e5ab01b18e279) +++ lams_central/web/fckeditor/editor/lang/zh.js (.../zh.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: zh.js * Chinese Traditional language file. * @@ -131,6 +133,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 // Dialogs DlgBtnOK : "確定", @@ -413,7 +416,7 @@ NumberedListProp : "編號清單屬性", DlgLstType : "清單類型", DlgLstTypeCircle : "圓圈", -DlgLstTypeDisk : "圓點", +DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "方塊", DlgLstTypeNumbers : "數字 (1, 2, 3)", DlgLstTypeLCase : "小寫字母 (a, b, c)", Index: lams_central/web/fckeditor/editor/plugins/placeholder/fck_placeholder.html =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/plugins/placeholder/fck_placeholder.html (.../fck_placeholder.html) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/plugins/placeholder/fck_placeholder.html (.../fck_placeholder.html) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -9,6 +9,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_placeholder.html * Placeholder Plugin. * @@ -45,29 +47,31 @@ return ; if ( eSelected.tagName == 'SPAN' && eSelected._fckplaceholder ) - txtName.value = eSelected._fckplaceholder ; + document.getElementById('txtName').value = eSelected._fckplaceholder ; else eSelected == null ; } function Ok() { - if ( eSelected && eSelected._fckplaceholder == document.getElementById('txtName').value ) + var sValue = document.getElementById('txtName').value ; + + if ( eSelected && eSelected._fckplaceholder == sValue ) return true ; - if ( document.getElementById('txtName').value.length == 0 ) + if ( sValue.length == 0 ) { alert( FCKLang.PlaceholderErrNoName ) ; return false ; } - if ( FCKPlaceholders.Exist( document.getElementById('txtName').value ) ) + if ( FCKPlaceholders.Exist( sValue ) ) { alert( FCKLang.PlaceholderErrNameInUse ) ; return false ; } - FCKPlaceholders.Add( txtName.value ) ; + FCKPlaceholders.Add( sValue ) ; return true ; } Index: lams_central/web/fckeditor/editor/plugins/placeholder/fckplugin.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/plugins/placeholder/fckplugin.js (.../fckplugin.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/plugins/placeholder/fckplugin.js (.../fckplugin.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckplugin.js * Plugin to insert "Placeholders" in the editor. * Index: lams_central/web/fckeditor/editor/plugins/placeholder/lang/de.js =================================================================== diff -u --- lams_central/web/fckeditor/editor/plugins/placeholder/lang/de.js (revision 0) +++ lams_central/web/fckeditor/editor/plugins/placeholder/lang/de.js (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,23 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: de.js + * Placholder German language file. + * + * File Authors: + * José Fontanil + */ +FCKLang.PlaceholderBtn = 'Einfügen/editieren Platzhalter' ; +FCKLang.PlaceholderDlgTitle = 'Platzhalter Eigenschaften' ; +FCKLang.PlaceholderDlgName = 'Platzhalter Name' ; +FCKLang.PlaceholderErrNoName = 'Bitte den Namen des Platzhalters schreiben' ; +FCKLang.PlaceholderErrNameInUse = 'Der angegebene Namen ist schon in Gebrauch' ; \ No newline at end of file Index: lams_central/web/fckeditor/editor/plugins/placeholder/lang/en.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/plugins/placeholder/lang/en.js (.../en.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/plugins/placeholder/lang/en.js (.../en.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: en.js * Placholder English language file. * Index: lams_central/web/fckeditor/editor/plugins/placeholder/lang/fr.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/plugins/placeholder/lang/fr.js (.../fr.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/plugins/placeholder/lang/fr.js (.../fr.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fr.js * Placholder Italian language file. * Index: lams_central/web/fckeditor/editor/plugins/placeholder/lang/it.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/plugins/placeholder/lang/it.js (.../it.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/plugins/placeholder/lang/it.js (.../it.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: it.js * Placholder Italian language file. * Index: lams_central/web/fckeditor/editor/plugins/simplecommands/fckplugin.js =================================================================== diff -u --- lams_central/web/fckeditor/editor/plugins/simplecommands/fckplugin.js (revision 0) +++ lams_central/web/fckeditor/editor/plugins/simplecommands/fckplugin.js (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -0,0 +1,25 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: fckplugin.js + * This plugin register Toolbar items for the combos modifying the style to + * not show the box. + * + * File Authors: + * Frederico Caldeira Knabben (fredck@fckeditor.net) + */ + +FCKToolbarItems.RegisterItem( 'SourceSimple' , new FCKToolbarButton( 'Source', FCKLang.Source, null, FCK_TOOLBARITEM_ONLYICON, true, true ) ) ; +FCKToolbarItems.RegisterItem( 'StyleSimple' , new FCKToolbarStyleCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; +FCKToolbarItems.RegisterItem( 'FontNameSimple' , new FCKToolbarFontsCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; +FCKToolbarItems.RegisterItem( 'FontSizeSimple' , new FCKToolbarFontSizeCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; +FCKToolbarItems.RegisterItem( 'FontFormatSimple', new FCKToolbarFontFormatCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; Index: lams_central/web/fckeditor/editor/plugins/tablecommands/fckplugin.js =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/plugins/tablecommands/fckplugin.js (.../fckplugin.js) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/plugins/tablecommands/fckplugin.js (.../fckplugin.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckplugin.js * This plugin register the required Toolbar items to be able to insert the * toolbar commands in the toolbar. Index: lams_central/web/fckeditor/editor/skins/default/fck_contextmenu.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/default/fck_contextmenu.css (.../fck_contextmenu.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/default/fck_contextmenu.css (.../fck_contextmenu.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_contextmenu.css * Styles used by the context menu and panels. * Index: lams_central/web/fckeditor/editor/skins/default/fck_dialog.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/default/fck_dialog.css (.../fck_dialog.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/default/fck_dialog.css (.../fck_dialog.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_dialog.css * Styles used by the dialog boxes. * Index: lams_central/web/fckeditor/editor/skins/default/fck_editor.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/default/fck_editor.css (.../fck_editor.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/default/fck_editor.css (.../fck_editor.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_editor.css * Styles used by the editor IFRAME and Toolbar. * @@ -69,6 +71,11 @@ border-bottom: #efefde 1px outset; } +.TB_SideBorder +{ + background-color: #696969; +} + .TB_ToolbarSet, .TB_ToolbarSet * { font-size: 11px; Index: lams_central/web/fckeditor/editor/skins/default/toolbar/pagebreak.gif =================================================================== diff -u Binary files differ Index: lams_central/web/fckeditor/editor/skins/default/toolbar/universalkey.gif =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 Binary files differ Index: lams_central/web/fckeditor/editor/skins/office2003/fck_contextmenu.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/office2003/fck_contextmenu.css (.../fck_contextmenu.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/office2003/fck_contextmenu.css (.../fck_contextmenu.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_contextmenu.css * Styles used by the context menu. * Index: lams_central/web/fckeditor/editor/skins/office2003/fck_dialog.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/office2003/fck_dialog.css (.../fck_dialog.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/office2003/fck_dialog.css (.../fck_dialog.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_dialog.css * Styles used by the dialog boxes. * Index: lams_central/web/fckeditor/editor/skins/office2003/fck_editor.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/office2003/fck_editor.css (.../fck_editor.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/office2003/fck_editor.css (.../fck_editor.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_editor.css * Styles used by the editor IFRAME and Toolbar. * @@ -79,6 +81,11 @@ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } +.TB_SideBorder +{ + background-color: #696969; +} + .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; Index: lams_central/web/fckeditor/editor/skins/office2003/toolbar/pagebreak.gif =================================================================== diff -u Binary files differ Index: lams_central/web/fckeditor/editor/skins/silver/fck_contextmenu.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/silver/fck_contextmenu.css (.../fck_contextmenu.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/silver/fck_contextmenu.css (.../fck_contextmenu.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_contextmenu.css * Styles used by the context menu. * Index: lams_central/web/fckeditor/editor/skins/silver/fck_dialog.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/silver/fck_dialog.css (.../fck_dialog.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/silver/fck_dialog.css (.../fck_dialog.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_dialog.css * Styles used by the dialog boxes. * Index: lams_central/web/fckeditor/editor/skins/silver/fck_editor.css =================================================================== diff -u -rec7cf4ccd30c2f44920a59691c6055f714e5e36c -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/editor/skins/silver/fck_editor.css (.../fck_editor.css) (revision ec7cf4ccd30c2f44920a59691c6055f714e5e36c) +++ lams_central/web/fckeditor/editor/skins/silver/fck_editor.css (.../fck_editor.css) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fck_editor.css * Styles used by the editor IFRAME and Toolbar. * @@ -78,6 +80,11 @@ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } +.TB_SideBorder +{ + background-color: #696969; +} + .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; Index: lams_central/web/fckeditor/editor/skins/silver/toolbar/pagebreak.gif =================================================================== diff -u Binary files differ Index: lams_central/web/fckeditor/fckconfig.js =================================================================== diff -u -r9246d74cc29bddf589578018ab76659307cc4fa1 -r55b56043d9d88eeb96bb4f8680fe9d2b0491dc12 --- lams_central/web/fckeditor/fckconfig.js (.../fckconfig.js) (revision 9246d74cc29bddf589578018ab76659307cc4fa1) +++ lams_central/web/fckeditor/fckconfig.js (.../fckconfig.js) (revision 55b56043d9d88eeb96bb4f8680fe9d2b0491dc12) @@ -8,6 +8,8 @@ * For further information visit: * http://www.fckeditor.net/ * + * "Support Open Source software. What about a donation today?" + * * File Name: fckconfig.js * Editor configuration settings. * See the documentation for more info. @@ -34,6 +36,11 @@ // FCKConfig.Plugins.Add( 'placeholder', 'en,it' ) ; +FCKConfig.ProtectedSource.Add( //gi ) ; //