X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fliststyle%2Fdialogs%2Fliststyle.js;h=e8e2ee98e36b4cd88f791256240f5ac53621f95b;hp=b874d53e1b01813b1c036d0ae2a1ac118f1fcda2;hb=66f4ae0bf0280ed56bf7c0f4ab175424dd1d47a0;hpb=f8fc585c18d287eb325c575596d183122486b641 diff --git a/_source/plugins/liststyle/dialogs/liststyle.js b/_source/plugins/liststyle/dialogs/liststyle.js index b874d53..e8e2ee9 100644 --- a/_source/plugins/liststyle/dialogs/liststyle.js +++ b/_source/plugins/liststyle/dialogs/liststyle.js @@ -37,6 +37,8 @@ contents : [ { + id : 'info', + accessKey : 'I', elements : [ { @@ -90,6 +92,27 @@ } else if ( startupPage == 'numberedListStyle' ) { + + var listStyleOptions = + [ + [ editor.lang.list.notset, '' ], + [ editor.lang.list.lowerRoman, 'lower-roman' ], + [ editor.lang.list.upperRoman, 'upper-roman' ], + [ editor.lang.list.lowerAlpha, 'lower-alpha' ], + [ editor.lang.list.upperAlpha, 'upper-alpha' ], + [ editor.lang.list.decimal, 'decimal' ] + ]; + + if ( !CKEDITOR.env.ie || CKEDITOR.env.version > 7 ) + { + listStyleOptions.concat( [ + [ editor.lang.list.armenian, 'armenian' ], + [ editor.lang.list.decimalLeadingZero, 'decimal-leading-zero' ], + [ editor.lang.list.georgian, 'georgian' ], + [ editor.lang.list.lowerGreek, 'lower-greek' ] + ]); + } + return { title : editor.lang.list.numberedTitle, minWidth : 300, @@ -97,6 +120,8 @@ contents : [ { + id : 'info', + accessKey : 'I', elements : [ { @@ -123,19 +148,7 @@ label : editor.lang.list.type, id : 'type', style : 'width: 100%;', - items : - [ - [ editor.lang.list.notset, '' ], - [ editor.lang.list.armenian, 'armenian' ], - [ editor.lang.list.georgian, 'georgian' ], - [ editor.lang.list.lowerRoman, 'lower-roman' ], - [ editor.lang.list.upperRoman, 'upper-roman' ], - [ editor.lang.list.lowerAlpha, 'lower-alpha' ], - [ editor.lang.list.upperAlpha, 'upper-alpha' ], - [ editor.lang.list.lowerGreek, 'lower-greek' ], - [ editor.lang.list.decimal, 'decimal' ], - [ editor.lang.list.decimalLeadingZero, 'decimal-leading-zero' ] - ], + items : listStyleOptions, setup : function( element ) { var value = element.getStyle( 'list-style-type' )