芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/tvc.mgaplay.com.br/web/dist/vendor/ckeditor/plugins/table/dialogs/table.js
!function(){function e(e){return function(){var t=this.getValue();return(t=!!(CKEDITOR.dialog.validate.integer().call(this,t)&&0
n&&(n=l)}return n}(e))},commit:n},{type:"html",html:" "},{type:"select",id:"selHeaders",requiredContent:"th",default:"",label:t.lang.table.headers,items:[[t.lang.table.headersNone,""],[t.lang.table.headersRow,"row"],[t.lang.table.headersColumn,"col"],[t.lang.table.headersBoth,"both"]],setup:function(e){var t=this.getDialog();t.hasColumnHeaders=!0;for(var l=0;l
o.getSize("width")?"100%":500:0,getValue:l,validate:CKEDITOR.dialog.validate.cssLength(t.lang.common.invalidCssLength.replace("%1",t.lang.common.width)),onChange:function(){var e=this.getDialog().getContentElement("advanced","advStyles");e&&e.updateStyle("width",this.getValue())},setup:function(e){e=e.getStyle("width"),this.setValue(e)},commit:n}]},{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtHeight",requiredContent:"table{height}",controlStyle:"width:5em",label:t.lang.common.height,title:t.lang.common.cssLengthTooltip,default:"",getValue:l,validate:CKEDITOR.dialog.validate.cssLength(t.lang.common.invalidCssLength.replace("%1",t.lang.common.height)),onChange:function(){var e=this.getDialog().getContentElement("advanced","advStyles");e&&e.updateStyle("height",this.getValue())},setup:function(e){(e=e.getStyle("height"))&&this.setValue(e)},commit:n}]},{type:"html",html:" "},{type:"text",id:"txtCellSpace",requiredContent:"table[cellspacing]",controlStyle:"width:3em",label:t.lang.table.cellSpace,default:t.filter.check("table[cellspacing]")?1:0,validate:CKEDITOR.dialog.validate.number(t.lang.table.invalidCellSpacing),setup:function(e){this.setValue(e.getAttribute("cellSpacing")||"")},commit:function(e,t){this.getValue()?t.setAttribute("cellSpacing",this.getValue()):t.removeAttribute("cellSpacing")}},{type:"text",id:"txtCellPad",requiredContent:"table[cellpadding]",controlStyle:"width:3em",label:t.lang.table.cellPad,default:t.filter.check("table[cellpadding]")?1:0,validate:CKEDITOR.dialog.validate.number(t.lang.table.invalidCellPadding),setup:function(e){this.setValue(e.getAttribute("cellPadding")||"")},commit:function(e,t){this.getValue()?t.setAttribute("cellPadding",this.getValue()):t.removeAttribute("cellPadding")}}]}]},{type:"html",align:"right",html:""},{type:"vbox",padding:0,children:[{type:"text",id:"txtCaption",requiredContent:"caption",label:t.lang.table.caption,setup:function(e){if(this.enable(),0<(e=e.getElementsByTag("caption")).count()){var t=(e=e.getItem(0)).getFirst(CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT));t&&!t.equals(e.getBogus())?(this.disable(),this.setValue(e.getText())):(e=CKEDITOR.tools.trim(e.getText()),this.setValue(e))}},commit:function(e,l){if(this.isEnabled()){var n=this.getValue(),i=l.getElementsByTag("caption");if(n)0