CKEDITOR.dialog.add('code',function(a){return{title:a.lang.code,minWidth:350,minHeight:240,onShow:function(){},onOk:function(){var b=this.getValueOf('info','type'),c=this.getContentElement('info','content').getInputElement().getValue(),d=a.document.createElement('textarea');d.setAttribute('name','__code__');d.setAttribute('class',b);d.setHtml(c);a.insertElement(d);},contents:[{id:'info',label:a.lang.code,title:a.lang.code,elements:[{id:'type',type:'select',label:a.lang.insert_code.type,items:[['php','Php'],['xml','Xml'],['CSS','Css'],['javascript','JScript'],['C#','CSharp'],['JAVA','Java'],['sql','Sql']]},{type:'html',id:'content',style:'width:340px;height:170px',html:'<textarea style="width:346px;height:170px;resize: none;direction:'+a.config.contentsLangDirection+';'+'border:1px solid black;'+'background-color:white">'+'</textarea>'}]}]};});
