X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Felementspath%2Fplugin.js;h=eaab6f8403c787e8e70087f9ec537bf84e1c069a;hb=059b4c2fef02528bf1af189f7996e80652faddfb;hp=75fc4ee7b609511adcb557f2a5ae012635ab47dc;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/plugins/elementspath/plugin.js b/_source/plugins/elementspath/plugin.js index 75fc4ee..eaab6f8 100644 --- a/_source/plugins/elementspath/plugin.js +++ b/_source/plugins/elementspath/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -49,7 +49,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license editor.on( 'themeSpace', function( event ) { if ( event.data.space == 'bottom' ) - event.data.html += '
' + emptyHtml + '
'; + { + event.data.html += + '' + editor.lang.elementsPath.eleLabel + '' + + '
' + emptyHtml + '
'; + } }); editor.on( 'selectionChange', function( ev ) @@ -86,19 +90,22 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( env.gecko ) extra += ' onblur="this.style.cssText = this.style.cssText;"'; + var label = editor.lang.elementsPath.eleTitle.replace( /%1/, name ); html.unshift( '', + ' onclick="return CKEDITOR._.elementsPath.click(\'', this.name, '\',', index, ');"', + ' role="button" aria-labelledby="' + idBase + index + '_label">', name, + '' + label + '', '' ); if ( name == 'body' )