Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r19370: =LJSUP-9159: Update and improve RTE by C...

Committer: vkurkin
=LJSUP-9159: Update and improve RTE by CKEditor 3.6.1
A   trunk/htdocs/stc/ck/plugins/pastefromword/
A   trunk/htdocs/stc/ck/plugins/pastefromword/filter/
A   trunk/htdocs/stc/ck/plugins/pastefromword/filter/default.js
A   trunk/htdocs/stc/ck/plugins/pastetext/
A   trunk/htdocs/stc/ck/plugins/pastetext/dialogs/
A   trunk/htdocs/stc/ck/plugins/pastetext/dialogs/pastetext.js
A   trunk/htdocs/stc/ck/plugins/placeholder/
A   trunk/htdocs/stc/ck/plugins/placeholder/dialogs/
A   trunk/htdocs/stc/ck/plugins/placeholder/dialogs/placeholder.js
A   trunk/htdocs/stc/ck/plugins/placeholder/lang/
A   trunk/htdocs/stc/ck/plugins/placeholder/lang/en.js
A   trunk/htdocs/stc/ck/plugins/placeholder/lang/he.js
A   trunk/htdocs/stc/ck/plugins/placeholder/placeholder.gif
A   trunk/htdocs/stc/ck/plugins/placeholder/plugin.js
A   trunk/htdocs/stc/ck/plugins/scayt/
A   trunk/htdocs/stc/ck/plugins/scayt/dialogs/
A   trunk/htdocs/stc/ck/plugins/scayt/dialogs/options.js
A   trunk/htdocs/stc/ck/plugins/scayt/dialogs/toolbar.css
A   trunk/htdocs/stc/ck/plugins/showblocks/
A   trunk/htdocs/stc/ck/plugins/showblocks/images/
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_address.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_blockquote.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_div.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_h1.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_h2.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_h3.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_h4.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_h5.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_h6.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_p.png
A   trunk/htdocs/stc/ck/plugins/showblocks/images/block_pre.png
A   trunk/htdocs/stc/ck/plugins/smiley/
A   trunk/htdocs/stc/ck/plugins/smiley/dialogs/
A   trunk/htdocs/stc/ck/plugins/smiley/dialogs/smiley.js
A   trunk/htdocs/stc/ck/plugins/smiley/images/
A   trunk/htdocs/stc/ck/plugins/smiley/images/angel_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/angry_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/broken_heart.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/confused_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/cry_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/devil_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/embaressed_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/envelope.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/heart.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/kiss.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/lightbulb.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/omg_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/regular_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/sad_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/shades_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/teeth_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/thumbs_down.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/thumbs_up.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/tounge_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/whatchutalkingabout_smile.gif
A   trunk/htdocs/stc/ck/plugins/smiley/images/wink_smile.gif
A   trunk/htdocs/stc/ck/plugins/specialchar/
A   trunk/htdocs/stc/ck/plugins/specialchar/dialogs/
A   trunk/htdocs/stc/ck/plugins/specialchar/dialogs/specialchar.js
A   trunk/htdocs/stc/ck/plugins/specialchar/lang/
A   trunk/htdocs/stc/ck/plugins/specialchar/lang/en.js
A   trunk/htdocs/stc/ck/plugins/styles/
A   trunk/htdocs/stc/ck/plugins/styles/styles/
A   trunk/htdocs/stc/ck/plugins/styles/styles/default.js
A   trunk/htdocs/stc/ck/plugins/stylesheetparser/
A   trunk/htdocs/stc/ck/plugins/stylesheetparser/plugin.js
A   trunk/htdocs/stc/ck/plugins/table/
A   trunk/htdocs/stc/ck/plugins/table/dialogs/
A   trunk/htdocs/stc/ck/plugins/table/dialogs/table.js
A   trunk/htdocs/stc/ck/plugins/tableresize/
A   trunk/htdocs/stc/ck/plugins/tableresize/plugin.js
A   trunk/htdocs/stc/ck/plugins/tabletools/
A   trunk/htdocs/stc/ck/plugins/tabletools/dialogs/
A   trunk/htdocs/stc/ck/plugins/tabletools/dialogs/tableCell.js
A   trunk/htdocs/stc/ck/plugins/templates/
A   trunk/htdocs/stc/ck/plugins/templates/dialogs/
A   trunk/htdocs/stc/ck/plugins/templates/dialogs/templates.js
A   trunk/htdocs/stc/ck/plugins/templates/templates/
A   trunk/htdocs/stc/ck/plugins/templates/templates/default.js
A   trunk/htdocs/stc/ck/plugins/templates/templates/images/
A   trunk/htdocs/stc/ck/plugins/templates/templates/images/template1.gif
A   trunk/htdocs/stc/ck/plugins/templates/templates/images/template2.gif
A   trunk/htdocs/stc/ck/plugins/templates/templates/images/template3.gif
A   trunk/htdocs/stc/ck/plugins/uicolor/
A   trunk/htdocs/stc/ck/plugins/uicolor/dialogs/
A   trunk/htdocs/stc/ck/plugins/uicolor/dialogs/uicolor.js
A   trunk/htdocs/stc/ck/plugins/uicolor/lang/
A   trunk/htdocs/stc/ck/plugins/uicolor/lang/en.js
A   trunk/htdocs/stc/ck/plugins/uicolor/lang/he.js
A   trunk/htdocs/stc/ck/plugins/uicolor/plugin.js
A   trunk/htdocs/stc/ck/plugins/uicolor/uicolor.gif
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/assets/
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/assets/hue_bg.png
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/assets/hue_thumb.png
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/assets/picker_mask.png
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/assets/picker_thumb.png
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/assets/yui.css
A   trunk/htdocs/stc/ck/plugins/uicolor/yui/yui.js
A   trunk/htdocs/stc/ck/plugins/wsc/
A   trunk/htdocs/stc/ck/plugins/wsc/dialogs/
A   trunk/htdocs/stc/ck/plugins/wsc/dialogs/ciframe.html
A   trunk/htdocs/stc/ck/plugins/wsc/dialogs/tmpFrameset.html
A   trunk/htdocs/stc/ck/plugins/wsc/dialogs/wsc.css
A   trunk/htdocs/stc/ck/plugins/wsc/dialogs/wsc.js
A   trunk/htdocs/stc/ck/plugins/xml/
A   trunk/htdocs/stc/ck/plugins/xml/plugin.js
Added: trunk/htdocs/stc/ck/plugins/pastefromword/filter/default.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/pastefromword/filter/default.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/pastefromword/filter/default.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function(){var a=CKEDITOR.htmlParser.fragment.prototype,b=CKEDITOR.htmlParser.element.prototype;a.onlyChild=b.onlyChild=function(){var u=this.children,v=u.length,w=v==1&&u[0];return w||null;};b.removeAnyChildWithName=function(u){var v=this.children,w=[],x;for(var y=0;y<v.length;y++){x=v[y];if(!x.name)continue;if(x.name==u){w.push(x);v.splice(y--,1);}w=w.concat(x.removeAnyChildWithName(u));}return w;};b.getAncestor=function(u){var v=this.parent;while(v&&!(v.name&&v.name.match(u)))v=v.parent;return v;};a.firstChild=b.firstChild=function(u){var v;for(var w=0;w<this.children.length;w++){v=this.children[w];if(u(v))return v;else if(v.name){v=v.firstChild(u);if(v)return v;}}return null;};b.addStyle=function(u,v,w){var A=this;var x,y='';if(typeof v=='string')y+=u+':'+v+';';else{if(typeof u=='object')for(var z in u){if(u.hasOwnProperty(z))y+=z+':'+u[z]+';';}else y+=u;w=v;}if(!A.attributes)A.attributes={};x=A.attributes.style||'';x=(w?[y,x]:[x,y]).join(';');A.attributes.style=x.replace(/^;|;(?=;)/,'');};CKEDITOR.dtd.parentOf=function(u){var v={};for(var w in this){if(w.indexOf('$')==-1&&this[w][u])v[w]=1;}return v;};function c(u){var v=u.children,w,x,y=u.children.length,z,A,B=/list-style-type:(.*?)(?:;|$)/,C=CKEDITOR.plugins.pastefromword.filters.stylesFilter;x=u.attributes;if(B.exec(x.style))return;for(var D=0;D<y;D++){w=v[D];if(w.attributes.value&&Number(w.attributes.value)==D+1)delete w.attributes.value;z=B.exec(w.attributes.style);if(z)if(z[1]==A||!A)A=z[1];else{A=null;break;}}if(A){for(D=0;D<y;D++){x=v[D].attributes;x.style&&(x.style=C([['list-style-type']])(x.style)||'');}u.addStyle('list-style-type',A);}};var d=/^([.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i,e=/^(?:\b0[^\s]*\s*){1,4}$/,f='^m{0,4}(cm|cd|d?c{0,3})(xc|xl|l?x{0,3})(ix|iv|v?i{0,3})$',g=new RegExp(f),h=new RegExp(f.toUpperCase()),i={decimal:/\d+/,'lower-roman':g,'upper-roman':h,'lower-alpha':/^[a-z]+$/,'upper-alpha':/^[A-Z]+$/},j={disc:/[l\u00B7\u2002]/,circle:/[\u006F\u00D8]/,square:/[\u006E\u25C6]/},k={ol:i,ul:j},l=[[1000,'M'],[900,'CM'],[500,'D'],[400,'CD'],[100,'C'],[90,'XC'],[50,'L'],[40,'XL'],[10,'X'],[9,'IX'],[5,'V'],[4,'IV'],[1,'I']],m='ABCDEFGHIJKLMNOPQRSTUVWXYZ';function n(u){u=u.toUpperCase();var v=l.length,w=0;for(var x=0;x<v;++x)for(var y=l[x],z=y[1].length;u.substr(0,z)==y[1];u=u.substr(z))w+=y[0];return w;};function o(u){u=u.toUpperCase();var v=m.length,w=1;for(var x=1;u.length>0;x*=v){w+=m.indexOf(u.charAt(u.length-1))*x;u=u.substr(0,u.length-1);}return w;
+};var p=0,q=null,r,s=CKEDITOR.plugins.pastefromword={utils:{createListBulletMarker:function(u,v){var w=new CKEDITOR.htmlParser.element('cke:listbullet');w.attributes={'cke:listsymbol':u[0]};w.add(new CKEDITOR.htmlParser.text(v));return w;},isListBulletIndicator:function(u){var v=u.attributes&&u.attributes.style;if(/mso-list\s*:\s*Ignore/i.test(v))return true;},isContainingOnlySpaces:function(u){var v;return(v=u.onlyChild())&&/^(:?\s|&nbsp;)+$/.test(v.value);},resolveList:function(u){var v=u.attributes,w;if((w=u.removeAnyChildWithName('cke:listbullet'))&&w.length&&(w=w[0])){u.name='cke:li';if(v.style)v.style=s.filters.stylesFilter([['text-indent'],['line-height'],[/^margin(:?-left)?$/,null,function(x){var y=x.split(' ');x=CKEDITOR.tools.convertToPx(y[3]||y[1]||y[0]);if(!p&&q!==null&&x>q)p=x-q;q=x;v['cke:indent']=p&&Math.ceil(x/p)+1||1;}],[/^mso-list$/,null,function(x){x=x.split(' ');var y=Number(x[0].match(/\d+/)),z=Number(x[1].match(/\d+/));if(z==1){y!==r&&(v['cke:reset']=1);r=y;}v['cke:indent']=z;}]])(v.style,u)||'';if(!v['cke:indent']){q=0;v['cke:indent']=1;}CKEDITOR.tools.extend(v,w.attributes);return true;}else r=q=p=null;return false;},getStyleComponents:(function(){var u=CKEDITOR.dom.element.createFromHtml('<div style="position:absolute;left:-9999px;top:-9999px;"></div>',CKEDITOR.document);CKEDITOR.document.getBody().append(u);return function(v,w,x){u.setStyle(v,w);var y={},z=x.length;for(var A=0;A<z;A++)y[x[A]]=u.getStyle(x[A]);return y;};})(),listDtdParents:CKEDITOR.dtd.parentOf('ol')},filters:{flattenList:function(u,v){v=typeof v=='number'?v:1;var w=u.attributes,x;switch(w.type){case 'a':x='lower-alpha';break;case '1':x='decimal';break;}var y=u.children,z;for(var A=0;A<y.length;A++){z=y[A];if(z.name in CKEDITOR.dtd.$listItem){var B=z.attributes,C=z.children,D=C.length,E=C[D-1];if(E.name in CKEDITOR.dtd.$list){u.add(E,A+1);if(!--C.length)y.splice(A--,1);}z.name='cke:li';w.start&&!A&&(B.value=w.start);s.filters.stylesFilter([['tab-stops',null,function(H){var I=H.split(' ')[1].match(d);I&&(q=CKEDITOR.tools.convertToPx(I[0]));}],v==1?['mso-list',null,function(H){H=H.split(' ');var I=Number(H[0].match(/\d+/));I!==r&&(B['cke:reset']=1);r=I;}]:null])(B.style);B['cke:indent']=v;B['cke:listtype']=u.name;B['cke:list-style-type']=x;}else if(z.name in CKEDITOR.dtd.$list){arguments.callee.apply(this,[z,v+1]);y=y.slice(0,A).concat(z.children).concat(y.slice(A+1));u.children=[];for(var F=0,G=y.length;F<G;F++)u.add(y[F]);}}delete u.name;w['cke:list']=1;},assembleList:function(u){var v=u.children,w,x,y,z,A,B,C,D=[],E,F,G,H,I,J;
+for(var K=0;K<v.length;K++){w=v[K];if('cke:li'==w.name){w.name='li';x=w;y=x.attributes;G=y['cke:listsymbol'];G=G&&G.match(/^(?:[(]?)([^\s]+?)([.)]?)$/);H=I=J=null;if(y['cke:ignored']){v.splice(K--,1);continue;}y['cke:reset']&&(C=A=B=null);z=Number(y['cke:indent']);if(z!=A)F=E=null;if(!G){H=y['cke:listtype']||'ol';I=y['cke:list-style-type'];}else{if(F&&k[F][E].test(G[1])){H=F;I=E;}else for(var L in k)for(var M in k[L]){if(k[L][M].test(G[1]))if(L=='ol'&&/alpha|roman/.test(M)){var N=/roman/.test(M)?n(G[1]):o(G[1]);if(!J||N<J){J=N;H=L;I=M;}}else{H=L;I=M;break;}}!H&&(H=G[2]?'ol':'ul');}F=H;E=I||(H=='ol'?'decimal':'disc');if(I&&I!=(H=='ol'?'decimal':'disc'))x.addStyle('list-style-type',I);if(H=='ol'&&G){switch(I){case 'decimal':J=Number(G[1]);break;case 'lower-roman':case 'upper-roman':J=n(G[1]);break;case 'lower-alpha':case 'upper-alpha':J=o(G[1]);break;}x.attributes.value=J;}if(!C){D.push(C=new CKEDITOR.htmlParser.element(H));C.add(x);v[K]=C;}else{if(z>A){D.push(C=new CKEDITOR.htmlParser.element(H));C.add(x);B.add(C);}else if(z<A){var O=A-z,P;while(O--&&(P=C.parent))C=P.parent;C.add(x);}else C.add(x);v.splice(K--,1);}B=x;A=z;}else if(C)C=A=B=null;}for(K=0;K<D.length;K++)c(D[K]);C=A=B=r=q=p=null;},falsyFilter:function(u){return false;},stylesFilter:function(u,v){return function(w,x){var y=[];(w||'').replace(/&quot;/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(A,B,C){B=B.toLowerCase();B=='font-family'&&(C=C.replace(/["']/g,''));var D,E,F,G;for(var H=0;H<u.length;H++){if(u[H]){D=u[H][0];E=u[H][1];F=u[H][2];G=u[H][3];if(B.match(D)&&(!E||C.match(E))){B=G||B;v&&(F=F||C);if(typeof F=='function')F=F(C,x,B);if(F&&F.push)B=F[0],F=F[1];if(typeof F=='string')y.push([B,F]);return;}}}!v&&y.push([B,C]);});for(var z=0;z<y.length;z++)y[z]=y[z].join(':');return y.length?y.join(';')+';':false;};},elementMigrateFilter:function(u,v){return function(w){var x=v?new CKEDITOR.style(u,v)._.definition:u;w.name=x.element;CKEDITOR.tools.extend(w.attributes,CKEDITOR.tools.clone(x.attributes));w.addStyle(CKEDITOR.style.getStyleText(x));};},styleMigrateFilter:function(u,v){var w=this.elementMigrateFilter;return function(x,y){var z=new CKEDITOR.htmlParser.element(null),A={};A[v]=x;w(u,A)(z);z.children=y.children;y.children=[z];};},bogusAttrFilter:function(u,v){if(v.name.indexOf('cke:')==-1)return false;},applyStyleFilter:null},getRules:function(u){var v=CKEDITOR.dtd,w=CKEDITOR.tools.extend({},v.$block,v.$listItem,v.$tableContent),x=u.config,y=this.filters,z=y.falsyFilter,A=y.stylesFilter,B=y.elementMigrateFilter,C=CKEDITOR.tools.bind(this.filters.styleMigrateFilter,this.filters),D=this.utils.createListBulletMarker,E=y.flattenList,F=y.assembleList,G=this.utils.isListBulletIndicator,H=this.utils.isContainingOnlySpaces,I=this.utils.resolveList,J=function(O){O=CKEDITOR.tools.convertToPx(O);
+return isNaN(O)?O:O+'px';},K=this.utils.getStyleComponents,L=this.utils.listDtdParents,M=x.pasteFromWordRemoveFontStyles!==false,N=x.pasteFromWordRemoveStyles!==false;return{elementNames:[[/meta|link|script/,'']],root:function(O){O.filterChildren();F(O);},elements:{'^':function(O){var P;if(CKEDITOR.env.gecko&&(P=y.applyStyleFilter))P(O);},$:function(O){var P=O.name||'',Q=O.attributes;if(P in w&&Q.style)Q.style=A([[/^(:?width|height)$/,null,J]])(Q.style)||'';if(P.match(/h\d/)){O.filterChildren();if(I(O))return;B(x['format_'+P])(O);}else if(P in v.$inline){O.filterChildren();if(H(O))delete O.name;}else if(P.indexOf(':')!=-1&&P.indexOf('cke')==-1){O.filterChildren();if(P=='v:imagedata'){var R=O.attributes['o:href'];if(R)O.attributes.src=R;O.name='img';return;}delete O.name;}if(P in L){O.filterChildren();F(O);}},style:function(O){if(CKEDITOR.env.gecko){var P=O.onlyChild().value.match(/\/\* Style Definitions \*\/([\s\S]*?)\/\*/),Q=P&&P[1],R={};if(Q){Q.replace(/[\n\r]/g,'').replace(/(.+?)\{(.+?)\}/g,function(S,T,U){T=T.split(',');var V=T.length,W;for(var X=0;X<V;X++)CKEDITOR.tools.trim(T[X]).replace(/^(\w+)(\.[\w-]+)?$/g,function(Y,Z,aa){Z=Z||'*';aa=aa.substring(1,aa.length);if(aa.match(/MsoNormal/))return;if(!R[Z])R[Z]={};if(aa)R[Z][aa]=U;else R[Z]=U;});});y.applyStyleFilter=function(S){var T=R['*']?'*':S.name,U=S.attributes&&S.attributes['class'],V;if(T in R){V=R[T];if(typeof V=='object')V=V[U];V&&S.addStyle(V,true);}};}}return false;},p:function(O){if(/MsoListParagraph/.exec(O.attributes['class'])){var P=O.firstChild(function(S){return S.type==CKEDITOR.NODE_TEXT&&!H(S.parent);}),Q=P&&P.parent,R=Q&&Q.attributes;R&&!R.style&&(R.style='mso-list: Ignore;');}O.filterChildren();if(I(O))return;if(x.enterMode==CKEDITOR.ENTER_BR){delete O.name;O.add(new CKEDITOR.htmlParser.element('br'));}else B(x['format_'+(x.enterMode==CKEDITOR.ENTER_P?'p':'div')])(O);},div:function(O){var P=O.onlyChild();if(P&&P.name=='table'){var Q=O.attributes;P.attributes=CKEDITOR.tools.extend(P.attributes,Q);Q.style&&P.addStyle(Q.style);var R=new CKEDITOR.htmlParser.element('div');R.addStyle('clear','both');O.add(R);delete O.name;}},td:function(O){if(O.getAncestor('thead'))O.name='th';},ol:E,ul:E,dl:E,font:function(O){if(G(O.parent)){delete O.name;return;}O.filterChildren();var P=O.attributes,Q=P.style,R=O.parent;if('font'==R.name){CKEDITOR.tools.extend(R.attributes,O.attributes);Q&&R.addStyle(Q);delete O.name;}else{Q=Q||'';if(P.color){P.color!='#000000'&&(Q+='color:'+P.color+';');delete P.color;
+}if(P.face){Q+='font-family:'+P.face+';';delete P.face;}if(P.size){Q+='font-size:'+(P.size>3?'large':P.size<3?'small':'medium')+';';delete P.size;}O.name='span';O.addStyle(Q);}},span:function(O){if(G(O.parent))return false;O.filterChildren();if(H(O)){delete O.name;return null;}if(G(O)){var P=O.firstChild(function(Y){return Y.value||Y.name=='img';}),Q=P&&(P.value||'l.'),R=Q&&Q.match(/^(?:[(]?)([^\s]+?)([.)]?)$/);if(R){var S=D(R,Q),T=O.getAncestor('span');if(T&&/ mso-hide:\s*all|display:\s*none /.test(T.attributes.style))S.attributes['cke:ignored']=1;return S;}}var U=O.children,V=O.attributes,W=V&&V.style,X=U&&U[0];if(W)V.style=A([['line-height'],[/^font-family$/,null,!M?C(x.font_style,'family'):null],[/^font-size$/,null,!M?C(x.fontSize_style,'size'):null],[/^color$/,null,!M?C(x.colorButton_foreStyle,'color'):null],[/^background-color$/,null,!M?C(x.colorButton_backStyle,'color'):null]])(W,O)||'';return null;},b:B(x.coreStyles_bold),i:B(x.coreStyles_italic),u:B(x.coreStyles_underline),s:B(x.coreStyles_strike),sup:B(x.coreStyles_superscript),sub:B(x.coreStyles_subscript),a:function(O){var P=O.attributes;if(P&&!P.href&&P.name)delete O.name;else if(CKEDITOR.env.webkit&&P.href&&P.href.match(/file:\/\/\/[\S]+#/i))P.href=P.href.replace(/file:\/\/\/[^#]+/i,'');},'cke:listbullet':function(O){if(O.getAncestor(/h\d/)&&!x.pasteFromWordNumberedHeadingToList)delete O.name;}},attributeNames:[[/^onmouse(:?out|over)/,''],[/^onload$/,''],[/(?:v|o):\w+/,''],[/^lang/,'']],attributes:{style:A(N?[[/^list-style-type$/,null],[/^margin$|^margin-(?!bottom|top)/,null,function(O,P,Q){if(P.name in {p:1,div:1}){var R=x.contentsLangDirection=='ltr'?'margin-left':'margin-right';if(Q=='margin')O=K(Q,O,[R])[R];else if(Q!=R)return null;if(O&&!e.test(O))return[R,O];}return null;}],[/^clear$/],[/^border.*|margin.*|vertical-align|float$/,null,function(O,P){if(P.name=='img')return O;}],[/^width|height$/,null,function(O,P){if(P.name in {table:1,td:1,th:1,img:1})return O;}]]:[[/^mso-/],[/-color$/,null,function(O){if(O=='transparent')return false;if(CKEDITOR.env.gecko)return O.replace(/-moz-use-text-color/g,'transparent');}],[/^margin$/,e],['text-indent','0cm'],['page-break-before'],['tab-stops'],['display','none'],M?[/font-?/]:null],N),width:function(O,P){if(P.name in v.$tableContent)return false;},border:function(O,P){if(P.name in v.$tableContent)return false;},'class':z,bgcolor:z,valign:N?z:function(O,P){P.addStyle('vertical-align',O);return false;}},comment:!CKEDITOR.env.ie?function(O,P){var Q=O.match(/<img.*?>/),R=O.match(/^\[if !supportLists\]([\s\S]*?)\[endif\]$/);
+if(R){var S=R[1]||Q&&'l.',T=S&&S.match(/>(?:[(]?)([^\s]+?)([.)]?)</);return D(T,S);}if(CKEDITOR.env.gecko&&Q){var U=CKEDITOR.htmlParser.fragment.fromHtml(Q[0]).children[0],V=P.previous,W=V&&V.value.match(/<v:imagedata[^>]*o:href=['"](.*?)['"]/),X=W&&W[1];X&&(U.attributes.src=X);return U;}return false;}:z};}},t=function(){this.dataFilter=new CKEDITOR.htmlParser.filter();};t.prototype={toHtml:function(u){var v=CKEDITOR.htmlParser.fragment.fromHtml(u,false),w=new CKEDITOR.htmlParser.basicWriter();v.writeHtml(w,this.dataFilter);return w.getHtml(true);}};CKEDITOR.cleanWord=function(u,v){if(CKEDITOR.env.gecko)u=u.replace(/(<!--\[if[^<]*?\])-->([\S\s]*?)<!--(\[endif\]-->)/gi,'$1$2$3');var w=new t(),x=w.dataFilter;x.addRules(CKEDITOR.plugins.pastefromword.getRules(v));v.fire('beforeCleanWord',{filter:x});try{u=w.toHtml(u,false);}catch(y){alert(v.lang.pastefromword.error);}u=u.replace(/cke:.*?".*?"/g,'');u=u.replace(/style=""/g,'');u=u.replace(/<span>/g,'');return u;};})();

Added: trunk/htdocs/stc/ck/plugins/pastetext/dialogs/pastetext.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/pastetext/dialogs/pastetext.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/pastetext/dialogs/pastetext.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.setupContent();},onOk:function(){this.commitContent();},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'textarea',id:'content',className:'cke_pastetext',onLoad:function(){var b=this.getDialog().getContentElement('general','pasteMsg').getElement(),c=this.getElement().getElementsByTag('textarea').getItem(0);c.setAttribute('aria-labelledby',b.$.id);c.setStyle('direction',a.config.contentsLangDirection);},focus:function(){this.getElement().focus();},setup:function(){this.setValue('');},commit:function(){var b=this.getValue();setTimeout(function(){a.fire('paste',{text:b});},0);}}]}]};});})();

Added: trunk/htdocs/stc/ck/plugins/placeholder/dialogs/placeholder.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/placeholder/dialogs/placeholder.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/placeholder/dialogs/placeholder.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function(){function a(b,c){var d=b.lang.placeholder,e=b.lang.common.generalTab;return{title:d.title,minWidth:300,minHeight:80,contents:[{id:'info',label:e,title:e,elements:[{id:'text',type:'text',style:'width: 100%;',label:d.text,'default':'',required:true,validate:CKEDITOR.dialog.validate.notEmpty(d.textMissing),setup:function(f){if(c)this.setValue(f.getText().slice(2,-2));},commit:function(f){var g='[['+this.getValue()+']]';CKEDITOR.plugins.placeholder.createPlaceholder(b,f,g);}}]}],onShow:function(){if(c)this._element=CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b);this.setupContent(this._element);},onOk:function(){this.commitContent(this._element);delete this._element;}};};CKEDITOR.dialog.add('createplaceholder',function(b){return a(b);});CKEDITOR.dialog.add('editplaceholder',function(b){return a(b,1);});})();

Added: trunk/htdocs/stc/ck/plugins/placeholder/lang/en.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/placeholder/lang/en.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/placeholder/lang/en.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',textMissing:'The placeholder must contain text.'}});

Added: trunk/htdocs/stc/ck/plugins/placeholder/lang/he.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/placeholder/lang/he.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/placeholder/lang/he.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שומר המקום חייב להכיל טקסט.'}});

Added: trunk/htdocs/stc/ck/plugins/placeholder/placeholder.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/placeholder/placeholder.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/placeholder/plugin.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/placeholder/plugin.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/placeholder/plugin.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function(){var a=/\[\[[^\]]+\]\]/g;CKEDITOR.plugins.add('placeholder',{requires:['dialog'],lang:['en','he'],init:function(b){var c=b.lang.placeholder;b.addCommand('createplaceholder',new CKEDITOR.dialogCommand('createplaceholder'));b.addCommand('editplaceholder',new CKEDITOR.dialogCommand('editplaceholder'));b.ui.addButton('CreatePlaceholder',{label:c.toolbar,command:'createplaceholder',icon:this.path+'placeholder.gif'});if(b.addMenuItems){b.addMenuGroup('placeholder',20);b.addMenuItems({editplaceholder:{label:c.edit,command:'editplaceholder',group:'placeholder',order:1,icon:this.path+'placeholder.gif'}});if(b.contextMenu)b.contextMenu.addListener(function(d,e){if(!d||!d.data('cke-placeholder'))return null;return{editplaceholder:CKEDITOR.TRISTATE_OFF};});}b.on('doubleclick',function(d){if(CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b))d.data.dialog='editplaceholder';});b.addCss('.cke_placeholder{background-color: #ffff00;'+(CKEDITOR.env.gecko?'cursor: default;':'')+'}');b.on('contentDom',function(){b.document.getBody().on('resizestart',function(d){if(b.getSelection().getSelectedElement().data('cke-placeholder'))d.data.preventDefault();});});CKEDITOR.dialog.add('createplaceholder',this.path+'dialogs/placeholder.js');CKEDITOR.dialog.add('editplaceholder',this.path+'dialogs/placeholder.js');},afterInit:function(b){var c=b.dataProcessor,d=c&&c.dataFilter,e=c&&c.htmlFilter;if(d)d.addRules({text:function(f){return f.replace(a,function(g){return CKEDITOR.plugins.placeholder.createPlaceholder(b,null,g,1);});}});if(e)e.addRules({elements:{span:function(f){if(f.attributes&&f.attributes['data-cke-placeholder'])delete f.name;}}});}});})();CKEDITOR.plugins.placeholder={createPlaceholder:function(a,b,c,d){var e=new CKEDITOR.dom.element('span',a.document);e.setAttributes({contentEditable:'false','data-cke-placeholder':1,'class':'cke_placeholder'});c&&e.setText(c);if(d)return e.getOuterHtml();if(b){if(CKEDITOR.env.ie){e.insertAfter(b);setTimeout(function(){b.remove();e.focus();},10);}else e.replace(b);}else a.insertElement(e);return null;},getSelectedPlaceHoder:function(a){var b=a.getSelection().getRanges()[0];b.shrink(CKEDITOR.SHRINK_TEXT);var c=b.startContainer;while(c&&!(c.type==CKEDITOR.NODE_ELEMENT&&c.data('cke-placeholder')))c=c.getParent();return c;}};

Added: trunk/htdocs/stc/ck/plugins/scayt/dialogs/options.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/scayt/dialogs/options.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/scayt/dialogs/options.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add('scaytcheck',function(a){var b=true,c,d=CKEDITOR.document,e=a.name,f=CKEDITOR.plugins.scayt.getUiTabs(a),g,h=[],i=0,j=['dic_create_'+e+',dic_restore_'+e,'dic_rename_'+e+',dic_delete_'+e],k=['mixedCase','mixedWithDigits','allCaps','ignoreDomainNames'];function l(){if(typeof document.forms['optionsbar_'+e]!='undefined')return document.forms['optionsbar_'+e].options;return[];};function m(){if(typeof document.forms['languagesbar_'+e]!='undefined')return document.forms['languagesbar_'+e].scayt_lang;return[];};function n(z,A){if(!z)return;var B=z.length;if(B==undefined){z.checked=z.value==A.toString();return;}for(var C=0;C<B;C++){z[C].checked=false;if(z[C].value==A.toString())z[C].checked=true;}};var o=a.lang.scayt,p=[{id:'options',label:o.optionsTab,elements:[{type:'html',id:'options',html:'<form name="optionsbar_'+e+'"><div class="inner_options">'+'\t<div class="messagebox"></div>'+'\t<div style="display:none;">'+'\t\t<input type="checkbox" name="options"  id="allCaps_'+e+'" />'+'\t\t<label for="allCaps" id="label_allCaps_'+e+'"></label>'+'\t</div>'+'\t<div style="display:none;">'+'\t\t<input name="options" type="checkbox"  id="ignoreDomainNames_'+e+'" />'+'\t\t<label for="ignoreDomainNames" id="label_ignoreDomainNames_'+e+'"></label>'+'\t</div>'+'\t<div style="display:none;">'+'\t<input name="options" type="checkbox"  id="mixedCase_'+e+'" />'+'\t\t<label for="mixedCase" id="label_mixedCase_'+e+'"></label>'+'\t</div>'+'\t<div style="display:none;">'+'\t\t<input name="options" type="checkbox"  id="mixedWithDigits_'+e+'" />'+'\t\t<label for="mixedWithDigits" id="label_mixedWithDigits_'+e+'"></label>'+'\t</div>'+'</div></form>'}]},{id:'langs',label:o.languagesTab,elements:[{type:'html',id:'langs',html:'<form name="languagesbar_'+e+'"><div class="inner_langs">'+'\t<div class="messagebox"></div>\t'+'   <div style="float:left;width:45%;margin-left:5px;" id="scayt_lcol_'+e+'" ></div>'+'   <div style="float:left;width:45%;margin-left:15px;" id="scayt_rcol_'+e+'"></div>'+'</div></form>'}]},{id:'dictionaries',label:o.dictionariesTab,elements:[{type:'html',style:'',id:'dictionaries',html:'<form name="dictionarybar_'+e+'"><div class="inner_dictionary" style="text-align:left; white-space:normal; width:320px; overflow: hidden;">'+'\t<div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message_'+e+'"> </div>'+'\t<div style="margin:5px auto; width:80%;white-space:normal;"> '+'       <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>'+'\t\t<span class="cke_dialog_ui_labeled_content" >'+'\t\t\t<div class="cke_dialog_ui_input_text">'+'\t\t\t\t<input id="dic_name_'+e+'" type="text" class="cke_dialog_ui_input_text"/>'+'\t\t</div></span></div>'+'\t\t<div style="margin:5px auto; width:80%;white-space:normal;">'+'\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_create_'+e+'">'+'\t\t\t\t</a>'+'\t\t\t<a  style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_delete_'+e+'">'+'\t\t\t\t</a>'+'\t\t\t<a  style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_rename_'+e+'">'+'\t\t\t\t</a>'+'\t\t\t<a  style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_restore_'+e+'">'+'\t\t\t\t</a>'+'\t\t</div>'+'\t<div style="margin:5px auto; width:95%;white-space:normal;" id="dic_info_'+e+'"></div>'+'</div></form>'}]},{id:'about',label:o.aboutTab,elements:[{type:'html',id:'about',style:'margin: 5px 5px;',html:'<div id="scayt_about_'+e+'"></div>'}]}],q={title:o.title,minWidth:360,minHeight:220,onShow:function(){var z=this;
+z.data=a.fire('scaytDialog',{});z.options=z.data.scayt_control.option();z.chosed_lang=z.sLang=z.data.scayt_control.sLang;if(!z.data||!z.data.scayt||!z.data.scayt_control){alert('Error loading application service');z.hide();return;}var A=0;if(b)z.data.scayt.getCaption(a.langCode||'en',function(B){if(A++>0)return;c=B;s.apply(z);t.apply(z);b=false;});else t.apply(z);z.selectPage(z.data.tab);},onOk:function(){var z=this.data.scayt_control;z.option(this.options);var A=this.chosed_lang;z.setLang(A);z.refresh();},onCancel:function(){var z=l();for(var A in z)z[A].checked=false;n(m(),'');},contents:h},r=CKEDITOR.plugins.scayt.getScayt(a);for(g=0;g<f.length;g++){if(f[g]==1)h[h.length]=p[g];}if(f[2]==1)i=1;var s=function(){var z=this,A=z.data.scayt.getLangList(),B=['dic_create','dic_delete','dic_rename','dic_restore'],C=[],D=[],E=k,F;if(i){for(F=0;F<B.length;F++){C[F]=B[F]+'_'+e;d.getById(C[F]).setHtml('<span class="cke_dialog_ui_button">'+c['button_'+B[F]]+'</span>');}d.getById('dic_info_'+e).setHtml(c.dic_info);}if(f[0]==1)for(F in E){var G='label_'+E[F],H=G+'_'+e,I=d.getById(H);if('undefined'!=typeof I&&'undefined'!=typeof c[G]&&'undefined'!=typeof z.options[E[F]]){I.setHtml(c[G]);var J=I.getParent();J.$.style.display='block';}}var K='<p><img src="'+window.scayt.getAboutInfo().logoURL+'" /></p>'+'<p>'+c.version+window.scayt.getAboutInfo().version.toString()+'</p>'+'<p>'+c.about_throwt_copy+'</p>';d.getById('scayt_about_'+e).setHtml(K);var L=function(U,V){var W=d.createElement('label');W.setAttribute('for','cke_option'+U);W.setHtml(V[U]);if(z.sLang==U)z.chosed_lang=U;var X=d.createElement('div'),Y=CKEDITOR.dom.element.createFromHtml('<input id="cke_option'+U+'" type="radio" '+(z.sLang==U?'checked="checked"':'')+' value="'+U+'" name="scayt_lang" />');Y.on('click',function(){this.$.checked=true;z.chosed_lang=U;});X.append(Y);X.append(W);return{lang:V[U],code:U,radio:X};};if(f[1]==1){for(F in A.rtl)D[D.length]=L(F,A.ltr);for(F in A.ltr)D[D.length]=L(F,A.ltr);D.sort(function(U,V){return V.lang>U.lang?-1:1;});var M=d.getById('scayt_lcol_'+e),N=d.getById('scayt_rcol_'+e);for(F=0;F<D.length;F++){var O=F<D.length/2?M:N;O.append(D[F].radio);}}var P={};P.dic_create=function(U,V,W){var X=W[0]+','+W[1],Y=c.err_dic_create,Z=c.succ_dic_create;window.scayt.createUserDictionary(V,function(aa){x(X);w(W[1]);Z=Z.replace('%s',aa.dname);v(Z);},function(aa){Y=Y.replace('%s',aa.dname);u(Y+'( '+(aa.message||'')+')');});};P.dic_rename=function(U,V){var W=c.err_dic_rename||'',X=c.succ_dic_rename||'';
+window.scayt.renameUserDictionary(V,function(Y){X=X.replace('%s',Y.dname);y(V);v(X);},function(Y){W=W.replace('%s',Y.dname);y(V);u(W+'( '+(Y.message||'')+' )');});};P.dic_delete=function(U,V,W){var X=W[0]+','+W[1],Y=c.err_dic_delete,Z=c.succ_dic_delete;window.scayt.deleteUserDictionary(function(aa){Z=Z.replace('%s',aa.dname);x(X);w(W[0]);y('');v(Z);},function(aa){Y=Y.replace('%s',aa.dname);u(Y);});};P.dic_restore=z.dic_restore||(function(U,V,W){var X=W[0]+','+W[1],Y=c.err_dic_restore,Z=c.succ_dic_restore;window.scayt.restoreUserDictionary(V,function(aa){Z=Z.replace('%s',aa.dname);x(X);w(W[1]);v(Z);},function(aa){Y=Y.replace('%s',aa.dname);u(Y);});});function Q(U){var V=d.getById('dic_name_'+e).getValue();if(!V){u(' Dictionary name should not be empty. ');return false;}try{var W=U.data.getTarget().getParent(),X=/(dic_\w+)_[\w\d]+/.exec(W.getId())[1];P[X].apply(null,[W,V,j]);}catch(Y){u(' Dictionary error. ');}return true;};var R=(j[0]+','+j[1]).split(','),S;for(F=0,S=R.length;F<S;F+=1){var T=d.getById(R[F]);if(T)T.on('click',Q,this);}},t=function(){var z=this;if(f[0]==1){var A=l();for(var B=0,C=A.length;B<C;B++){var D=A[B].id,E=d.getById(D);if(E){A[B].checked=false;if(z.options[D.split('_')[0]]==1)A[B].checked=true;if(b)E.on('click',function(){z.options[this.getId().split('_')[0]]=this.$.checked?1:0;});}}}if(f[1]==1){var F=d.getById('cke_option'+z.sLang);n(F.$,z.sLang);}if(i){window.scayt.getNameUserDictionary(function(G){var H=G.dname;x(j[0]+','+j[1]);if(H){d.getById('dic_name_'+e).setValue(H);w(j[1]);}else w(j[0]);},function(){d.getById('dic_name_'+e).setValue('');});v('');}};function u(z){d.getById('dic_message_'+e).setHtml('<span style="color:red;">'+z+'</span>');};function v(z){d.getById('dic_message_'+e).setHtml('<span style="color:blue;">'+z+'</span>');};function w(z){z=String(z);var A=z.split(',');for(var B=0,C=A.length;B<C;B+=1)d.getById(A[B]).$.style.display='inline';};function x(z){z=String(z);var A=z.split(',');for(var B=0,C=A.length;B<C;B+=1)d.getById(A[B]).$.style.display='none';};function y(z){d.getById('dic_name_'+e).$.value=z;};return q;});

Added: trunk/htdocs/stc/ck/plugins/scayt/dialogs/toolbar.css
===================================================================
--- trunk/htdocs/stc/ck/plugins/scayt/dialogs/toolbar.css	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/scayt/dialogs/toolbar.css	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+a{text-decoration:none;padding:2px 4px 4px 6px;display:block;border-width:1px;border-style:solid;margin:0;}a.cke_scayt_toogle:hover,a.cke_scayt_toogle:focus,a.cke_scayt_toogle:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;margin:0;}a.cke_scayt_toogle{color:#316ac5;border-color:#fff;}.scayt_enabled a.cke_scayt_item{color:#316ac5;border-color:#fff;margin:0;}.scayt_disabled a.cke_scayt_item{color:gray;border-color:#fff;}.scayt_enabled a.cke_scayt_item:hover,.scayt_enabled a.cke_scayt_item:focus,.scayt_enabled a.cke_scayt_item:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;}.scayt_disabled a.cke_scayt_item:hover,.scayt_disabled a.cke_scayt_item:focus,.scayt_disabled a.cke_scayt_item:active{border-color:gray;background-color:#dff1ff;color:gray;cursor:no-drop;}.cke_scayt_set_on,.cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_on{display:none;}.scayt_disabled .cke_scayt_set_on{display:inline;}.scayt_disabled .cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_off{display:inline;}

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_address.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_address.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_blockquote.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_blockquote.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_div.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_div.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h1.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h2.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h3.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h3.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h4.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h4.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h5.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h5.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h6.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_h6.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_p.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_p.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/showblocks/images/block_pre.png
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/showblocks/images/block_pre.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/dialogs/smiley.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/smiley/dialogs/smiley.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/smiley/dialogs/smiley.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,7 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add('smiley',function(a){var b=a.config,c=a.lang.smiley,d=b.smiley_images,e=b.smiley_columns||8,f,g,h=function(o){var p=o.data.getTarget(),q=p.getName();if(q=='a')p=p.getChild(0);else if(q!='img')return;var r=p.getAttribute('cke_src'),s=p.getAttribute('title'),t=a.document.createElement('img',{attributes:{src:r,'data-cke-saved-src':r,title:s,alt:s,width:p.$.width,height:p.$.height}});a.insertElement(t);g.hide();o.data.preventDefault();},i=CKEDITOR.tools.addFunction(function(o,p){o=new CKEDITOR.dom.event(o);p=new CKEDITOR.dom.element(p);var q,r,s=o.getKeystroke(),t=a.lang.dir=='rtl';switch(s){case 38:if(q=p.getParent().getParent().getPrevious()){r=q.getChild([p.getParent().getIndex(),0]);r.focus();}o.preventDefault();break;case 40:if(q=p.getParent().getParent().getNext()){r=q.getChild([p.getParent().getIndex(),0]);if(r)r.focus();}o.preventDefault();break;case 32:h({data:o});o.preventDefault();break;case t?37:39:case 9:if(q=p.getParent().getNext()){r=q.getChild(0);r.focus();o.preventDefault(true);}else if(q=p.getParent().getParent().getNext()){r=q.getChild([0,0]);if(r)r.focus();o.preventDefault(true);}break;case t?39:37:case CKEDITOR.SHIFT+9:if(q=p.getParent().getPrevious()){r=q.getChild(0);r.focus();o.preventDefault(true);}else if(q=p.getParent().getParent().getPrevious()){r=q.getLast().getChild(0);r.focus();o.preventDefault(true);}break;default:return;}}),j=CKEDITOR.tools.getNextId()+'_smiley_emtions_label',k=['<div><span id="'+j+'" class="cke_voice_label">'+c.options+'</span>','<table role="listbox" aria-labelledby="'+j+'" style="width:100%;height:100%" cellspacing="2" cellpadding="2"',CKEDITOR.env.ie&&CKEDITOR.env.quirks?' style="position:absolute;"':'','><tbody>'],l=d.length;for(f=0;f<l;f++){if(f%e===0)k.push('<tr>');var m='cke_smile_label_'+f+'_'+CKEDITOR.tools.getNextNumber();k.push('<td class="cke_dark_background cke_centered" style="vertical-align: middle;"><a href="javascript:void(0)" role="option"',' aria-posinset="'+(f+1)+'"',' aria-setsize="'+l+'"',' aria-labelledby="'+m+'"',' class="cke_smile cke_hand" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ',i,', event, this );">','<img class="cke_hand" title="',b.smiley_descriptions[f],'" cke_src="',CKEDITOR.tools.htmlEncode(b.smiley_path+d[f]),'" alt="',b.smiley_descriptions[f],'"',' src="',CKEDITOR.tools.htmlEncode(b.smiley_path+d[f]),'"',CKEDITOR.env.ie?" onload=\"this.setAttribute('width', 2); this.removeAttribute('width');\" ":'','><span id="'+m+'" class="cke_voice_label">'+b.smiley_descriptions[f]+'</span>'+'</a>','</td>');
+if(f%e==e-1)k.push('</tr>');}if(f<e-1){for(;f<e-1;f++)k.push('<td></td>');k.push('</tr>');}k.push('</tbody></table></div>');var n={type:'html',id:'smileySelector',html:k.join(''),onLoad:function(o){g=o.sender;},focus:function(){var o=this;setTimeout(function(){var p=o.getElement().getElementsByTag('a').getItem(0);p.focus();},0);},onClick:h,style:'width: 100%; border-collapse: separate;'};return{title:a.lang.smiley.title,minWidth:270,minHeight:120,contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[n]}],buttons:[CKEDITOR.dialog.cancelButton]};});

Added: trunk/htdocs/stc/ck/plugins/smiley/images/angel_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/angel_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/angry_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/angry_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/broken_heart.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/broken_heart.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/confused_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/confused_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/cry_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/cry_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/devil_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/devil_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/embaressed_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/embaressed_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/envelope.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/envelope.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/heart.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/heart.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/kiss.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/kiss.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/lightbulb.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/lightbulb.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/omg_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/omg_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/regular_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/regular_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/sad_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/sad_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/shades_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/shades_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/teeth_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/teeth_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/thumbs_down.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/thumbs_down.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/thumbs_up.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/thumbs_up.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/tounge_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/tounge_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/whatchutalkingabout_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/whatchutalkingabout_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/smiley/images/wink_smile.gif
===================================================================
(Binary files differ)


Property changes on: trunk/htdocs/stc/ck/plugins/smiley/images/wink_smile.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/htdocs/stc/ck/plugins/specialchar/dialogs/specialchar.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/specialchar/dialogs/specialchar.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/specialchar/dialogs/specialchar.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,7 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add('specialchar',function(a){var b,c=a.lang.specialChar,d=function(j){var k,l;if(j.data)k=j.data.getTarget();else k=new CKEDITOR.dom.element(j);if(k.getName()=='a'&&(l=k.getChild(0).getHtml())){k.removeClass('cke_light_background');b.hide();var m=a.document.createElement('span');m.setHtml(l);a.insertText(m.getText());}},e=CKEDITOR.tools.addFunction(d),f,g=function(j,k){var l;k=k||j.data.getTarget();if(k.getName()=='span')k=k.getParent();if(k.getName()=='a'&&(l=k.getChild(0).getHtml())){if(f)h(null,f);var m=b.getContentElement('info','htmlPreview').getElement();b.getContentElement('info','charPreview').getElement().setHtml(l);m.setHtml(CKEDITOR.tools.htmlEncode(l));k.getParent().addClass('cke_light_background');f=k;}},h=function(j,k){k=k||j.data.getTarget();if(k.getName()=='span')k=k.getParent();if(k.getName()=='a'){b.getContentElement('info','charPreview').getElement().setHtml('&nbsp;');b.getContentElement('info','htmlPreview').getElement().setHtml('&nbsp;');k.getParent().removeClass('cke_light_background');f=undefined;}},i=CKEDITOR.tools.addFunction(function(j){j=new CKEDITOR.dom.event(j);var k=j.getTarget(),l,m,n=j.getKeystroke(),o=a.lang.dir=='rtl';switch(n){case 38:if(l=k.getParent().getParent().getPrevious()){m=l.getChild([k.getParent().getIndex(),0]);m.focus();h(null,k);g(null,m);}j.preventDefault();break;case 40:if(l=k.getParent().getParent().getNext()){m=l.getChild([k.getParent().getIndex(),0]);if(m&&m.type==1){m.focus();h(null,k);g(null,m);}}j.preventDefault();break;case 32:d({data:j});j.preventDefault();break;case o?37:39:case 9:if(l=k.getParent().getNext()){m=l.getChild(0);if(m.type==1){m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);}else if(l=k.getParent().getParent().getNext()){m=l.getChild([0,0]);if(m&&m.type==1){m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);}break;case o?39:37:case CKEDITOR.SHIFT+9:if(l=k.getParent().getPrevious()){m=l.getChild(0);m.focus();h(null,k);g(null,m);j.preventDefault(true);}else if(l=k.getParent().getParent().getPrevious()){m=l.getLast().getChild(0);m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);break;default:return;}});return{title:c.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,onLoad:function(){var j=this.definition.charColumns,k=a.config.extraSpecialChars,l=a.config.specialChars,m=CKEDITOR.tools.getNextId()+'_specialchar_table_label',n=['<table role="listbox" aria-labelledby="'+m+'"'+' style="width: 320px; height: 100%; border-collapse: separate;"'+' align="center" cellspacing="2" cellpadding="2" border="0">'],o=0,p=l.length,q,r;
+while(o<p){n.push('<tr>');for(var s=0;s<j;s++,o++){if(q=l[o]){r='';if(q instanceof Array){r=q[1];q=q[0];}else{var t=q.toLowerCase().replace('&','').replace(';','').replace('#','');r=c[t]||q;}var u='cke_specialchar_label_'+o+'_'+CKEDITOR.tools.getNextNumber();n.push('<td class="cke_dark_background" style="cursor: default" role="presentation"><a href="javascript: void(0);" role="option" aria-posinset="'+(o+1)+'"',' aria-setsize="'+p+'"',' aria-labelledby="'+u+'"',' style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="',CKEDITOR.tools.htmlEncode(r),'" onkeydown="CKEDITOR.tools.callFunction( '+i+', event, this )"'+' onclick="CKEDITOR.tools.callFunction('+e+', this); return false;"'+' tabindex="-1">'+'<span style="margin: 0 auto;cursor: inherit">'+q+'</span>'+'<span class="cke_voice_label" id="'+u+'">'+r+'</span></a>');}else n.push('<td class="cke_dark_background">&nbsp;');n.push('</td>');}n.push('</tr>');}n.push('</tbody></table>','<span id="'+m+'" class="cke_voice_label">'+c.options+'</span>');this.getContentElement('info','charContainer').getElement().setHtml(n.join(''));},contents:[{id:'info',label:a.lang.common.generalTab,title:a.lang.common.generalTab,padding:0,align:'top',elements:[{type:'hbox',align:'top',widths:['320px','90px'],children:[{type:'html',id:'charContainer',html:'',onMouseover:g,onMouseout:h,focus:function(){var j=this.getElement().getElementsByTag('a').getItem(0);setTimeout(function(){j.focus();g(null,j);},0);},onShow:function(){var j=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){j.focus();g(null,j);},0);},onLoad:function(j){b=j.sender;}},{type:'hbox',align:'top',widths:['100%'],children:[{type:'vbox',align:'top',children:[{type:'html',html:'<div></div>'},{type:'html',id:'charPreview',className:'cke_dark_background',style:"border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div>&nbsp;</div>'},{type:'html',id:'htmlPreview',className:'cke_dark_background',style:"border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div>&nbsp;</div>'}]}]}]}]}]};});

Added: trunk/htdocs/stc/ck/plugins/specialchar/lang/en.js
===================================================================
--- trunk/htdocs/stc/ck/plugins/specialchar/lang/en.js	                        (rev 0)
+++ trunk/htdocs/stc/ck/plugins/specialchar/lang/en.js	2011-06-27 07:19:30 UTC (rev 19370)
@@ -0,0 +1,6 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang('specialchar','en',{euro:'Euro sign',lsquo:'Left single quotation mark',rsquo:'Right single quotation mark',ldquo:'Left double quotation mark',rdquo:'Right double quotation mark',ndash:'En dash',mdash:'Em dash',iexcl:'Inverted exclamation mark',cent:'Cent sign',pound:'Pound sign',curren:'Currency sign',yen:'Yen sign',brvbar:'Broken bar',sect:'Section sign',uml:'Diaeresis',copy:'Copyright sign',ordf:'Feminine ordinal indicator',laquo:'Left-pointing double angle quotation mark',not:'Not sign',reg:'Registered sign',macr:'Macron',deg:'Degree sign',sup2:'Superscript two',sup3:'Superscript three',acute:'Acute accent',micro:'Micro sign',para:'Pilcrow sign',middot:'Middle dot',cedil:'Cedilla',sup1:'Superscript one',ordm:'Masculine ordinal indicator',frac14:'Vulgar fraction one quarter',frac12:'Vulgar fraction one half',frac34:'Vulgar fraction three quarters',iquest:'Inverted question mark',agrave:'Latin small letter a with grave',aacute:'Latin small letter a with acute',acirc:'Latin small letter a with circumflex',atilde:'Latin small letter a with tilde',auml:'Latin small letter a with diaeresis',aring:'Latin small letter a with ring above',aelig:'Latin small letter ae',ccedil:'Latin small lett...
 (truncated)
Tags: b_vladi, css, gif, html, js, livejournal, png
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments