diff --git a/main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js b/main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js index cdcadfbaac..df1f25ce1d 100644 --- a/main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js +++ b/main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js @@ -607,7 +607,7 @@ FCKSaveCommand.prototype.Execute = function() ************************************************************************************** */ -// Making a new alternative command for prcessing Images. +// Making a new alternative command for processing Images. var FCKImageCommand = function( name ) { this.Name = name ; @@ -804,6 +804,18 @@ FCKCommands.GetCommand = function( commandName ) return oCommand ; } +// Upgrading the language subsystem, so it could be able to translate new nice buttons. +FCKLanguageManager.TranslatePage = function( targetDocument ) +{ + this.TranslateElements( targetDocument, 'INPUT', 'value' ) ; + this.TranslateElements( targetDocument, 'SPAN', 'innerHTML' ) ; + this.TranslateElements( targetDocument, 'LABEL', 'innerHTML' ) ; + this.TranslateElements( targetDocument, 'OPTION', 'innerHTML', true ) ; + this.TranslateElements( targetDocument, 'LEGEND', 'innerHTML' ) ; + // The following tag has been added for searching: + this.TranslateElements( targetDocument, 'BUTTON', 'innerHTML' ) ; +} + /* ************************************************************************************** diff --git a/main/inc/lib/fckeditor/editor/skins/silver/fck_dialog.css b/main/inc/lib/fckeditor/editor/skins/silver/fck_dialog.css index 6e5f0c4572..b0f6fbd4cf 100644 --- a/main/inc/lib/fckeditor/editor/skins/silver/fck_dialog.css +++ b/main/inc/lib/fckeditor/editor/skins/silver/fck_dialog.css @@ -98,9 +98,15 @@ body, .BackColor #btnOk { - width: 100px; + width: 110px; } +#btnCancel +{ + width: 110px; +} + + .DarkBackground { background-color: #f2f2f2; @@ -505,4 +511,4 @@ button.next { /*including "back" image*/ button.back { background-image:url(images/button_back.gif); -} \ No newline at end of file +}