Changeset 623520
- Timestamp:
- 11/11/2012 03:41:56 AM (13 years ago)
- Location:
- wp-easyarchives/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
js/wp-easyarchives.dev.js (modified) (5 diffs)
-
js/wp-easyarchives.js (modified) (1 diff)
-
wp-easyarchives.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-easyarchives/trunk/README.txt
r609870 r623520 5 5 Requires at least: 2.2 6 6 Tested up to: 3.4.2 7 Stable tag: 3.1 7 Stable tag: 3.1.1 8 8 9 9 Display your archive tree on custom page. … … 68 68 69 69 VERSION DATE TYPE CHANGES 70 3.1.1 2012/11/11 FIX Fixed for failure to expand and collapse folders on Firefox when using normal JavaScript lib. 70 71 3.1 2012/10/08 NEW Added 'comment counts' option. 71 72 NEW Added 'open link in new tab/window' option. -
wp-easyarchives/trunk/js/wp-easyarchives.dev.js
r609870 r623520 1 1 /** 2 2 * @author mg12 3 * @update 2010/1 0/093 * @update 2010/11/11 4 4 * @website http://www.neoease.com/ 5 5 */ … … 50 50 for(var i=0,len=expandButtons.length; i<len; i++) { 51 51 _self._addListener(expandButtons[i], 'click', function(ev){ 52 _self._toggle(ev.srcElement); 52 var button = ev.target || ev.srcElement; 53 _self._toggle(button); 53 54 }); 54 55 } … … 57 58 for(var i=0,len=collapseButtons.length; i<len; i++) { 58 59 _self._addListener(collapseButtons[i], 'click', function(ev){ 59 _self._toggle(ev.srcElement); 60 var button = ev.target || ev.srcElement; 61 _self._toggle(button); 60 62 }); 61 63 } … … 78 80 if(yearButton) { 79 81 _self._addListener(yearButton, 'change', function(ev){ 80 _self._changeYear({_self:_self, year:ev.srcElement.value}); 82 var button = ev.target || ev.srcElement; 83 _self._changeYear({_self:_self, year:button.value}); 81 84 }); 82 85 } … … 89 92 var year = yearButton.value; 90 93 } 91 var authorId = ev.srcElement.value; 94 var button = ev.target || ev.srcElement; 95 var authorId = button.value; 92 96 _self._changeAuthor({year:year, authorId:authorId, _self:_self}); 93 97 }); -
wp-easyarchives/trunk/js/wp-easyarchives.js
r609870 r623520 1 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(' M=5(){7.w=2t;7.6={G:\'2T-2k\',21:\'k-V\',X:\'k-h-1y\',p:\'k-1O-1y\',P:\'k-1v\',K:\'k-1z\',1G:\'k-1v-13\',1J:\'k-1z-13\',1N:\'k-14\',1T:\'k-2R\',1X:\'k-2i\',20:\'19-h\',1t:\'k-2v\'}};M.2L={T:5(6){7.6=6||7.6;3 15=b.d(7.6.p);9(15){15.1K=0}3 16=b.d(7.6.X);9(16){16.1K=0}7.1d({2:7})},1d:5(j){3 2=j.2;3 C=b.d(2.6.G);3 A=2.t(2.6.P,\'a\',C);z(3 i=0,n=A.y;i<n;i++){2.v(A[i],\'Q\',5(c){2.B(c.W)})}3 D=2.t(2.6.K,\'a\',C);z(3 i=0,n=D.y;i<n;i++){2.v(D[i],\'Q\',5(c){2.B(c.W)})}3 1g=b.d(2.6.1G);9(1g){2.v(1g,\'Q\',5(c){2.23()})}3 1n=b.d(2.6.1J);9(1n){2.v(1n,\'Q\',5(c){2.1u()})}3 H=b.d(2.6.X);9(H){2.v(H,\'1w\',5(c){2.1x({2:2,h:c.W.1o})})}3 17=b.d(2.6.p);9(17){2.v(17,\'1w\',5(c){H=b.d(2.6.X);9(H){3 h=H.1o}3 p=c.W.1o;2.1B({h:h,p:p,2:2})})}9(2.w.2o){2.1E({U:C,2:2})}},1B:5(j){3 2=j.2;3 h=j.h;3 p=j.p;3 r=2.w.2x;r+=\'?2E=k-2H-2J\';r+=\'&h=\'+h;r+=\'&1O=\'+p;r+=\'&2K=\'+2c.2Q(o 2c());2.1L(\'2g\',r,{1m:5(){2.1k(\'2l\');2.1R()},1i:5(19){2.1W(19);2.1k(\'2u\')}})},1x:5(j){3 2=j.2;3 h=j.h;3 1h=2.t(2.6.1X,\'2w\',b.d(2.6.G));z(3 i=0,n=1h.y;i<n;i++){3 J=1h[i];9(h.y<=0||J.34(2.6.20)===h){9(2.w.2F===\'22\'){3 D=2.t(2.6.K,\'a\',J);9(D&&D[0]){2.B(D[0])}}u{3 A=2.t(2.6.P,\'a\',J);9(A&&A[0]){2.B(A[0])}}2.24(J)}u{2.26(J)}}},1W:5(2a){3 C=b.d(7.6.G);9(C){C.1q=2a}7.1d({2:7})},1R:5(){3 V=b.d(7.6.21);9(V){V.1q=\'<1r 2d="\'+7.6.1t+\'">\'+7.w.2f+\'...<1r>\'}},1k:5(1s){b.d(7.6.G).1e.2j=1s},B:5(S){3 N=S.2n;3 18=N.2p;9(S.l===7.6.K){S.l=7.6.P;18.l=7.6.1T}u{S.l=7.6.K;18.l=7.6.1N}},23:5(){3 L=7.t(7.6.P,\'a\',b.d(7.6.G));z(3 i=0,n=L.y;i<n;i++){7.B(L[i])}},1u:5(){3 L=7.t(7.6.K,\'a\',b.d(7.6.G));z(3 i=0,n=L.y;i<n;i++){7.B(L[i])}},1E:5(j){3 2=j.2;3 U=j.U;3 1f=U.1A(\'a\');z(3 i=0;i<1f.y;i++){3 I=1f[i];9(I.1C){2.v(I,\'Q\',2.1D,{I:I})}}},1D:5(c,j){1p.14(j.I.1C);9(c.1F){c.1F()}u{c.2I=12}},24:5(x){x.1e.1I=\'\'},26:5(x){x.1e.1I=\'22\'},t:5(l,1a,N){3 1b=(1a===\'*\'&&N.13)?N.13:N.1A(1a);3 1c=[];l=l.2V(/\\-/g,\'\\\\-\');3 1M=o 2e(\'(^|\\\\s)\'+l+\'(\\\\s|$)\');3 x;z(3 i=0;i<1b.y;i++){x=1b[i];9(1M.11(x.l)){1c.2h(x)}}R 1c},1P:5(){1Q{f=o 2m()}1S(e){1Q{f=o 1U(\'2q.1V\')}1S(e){f=o 1U(\'2s.1V\')}}R f},1L:5(m,r,E){3 2=7;3 f=2.1P();f.1Y=5(c){2.1Z(f,E)};f.14(m,r,1j);f.2y(\'2z-m\',\'2A=2B-8\');f.2C(2D)},1Z:5(f,E){9(E.1m&&f.O===1){E.1m()}9(E.1i&&(f.O===4||f.O===\'1l\')){E.1i(f.2G)}},v:5(q,m,F,25){3 w=25||{};9(q.Z){q.Z(m,5(c){F(c,w)},12);R 1j}u 9(q.27){q[\'e\'+m+F]=F;q[m+F]=5(){q[\'e\'+m+F](1p.2M,w)};q.27(\'2N\'+m,q[m+F]);R 1j}R 12}};9(b.Z){b.Z("2O",5(){(o M()).T()},12)}u 9(/2P/i.11(28.29)){b.2S(\'<Y 2U="2b" 2W 2X="2Y:2Z(0)"></Y>\');3 Y=b.d(\'2b\');Y.1Y=5(){9(7.O===\'1l\'){(o M()).T()}}}u 9(/30/i.11(28.29)){3 1H=31(5(){9(/32|1l/.11(b.O)){33(1H);(o M()).T()}},10)}u{1p.2r=5(e){(o M()).T()}}',62,191,'||_self|var||function|config|this||if||document|ev|getElementById||xmlHttp||year||args|ea|className|type|len|new|authorId|node|url||_getElementsByClassName|else|_addListener|param|element|length|for|expandButtons|_toggle|container|collapseButtons|actions|listener|containerId|yearButton|link|item|collapseButtonClass|elements|EasyArchives|parent|readyState|expandButtonClass|click|return|button|init|wrap|filter|srcElement|yearId|script|addEventListener||test|false|all|open|authorSelected|yearSelected|authorButton|dailyArchives|data|tag|allTags|matchingElements|_bindAction|style|links|expandAllButton|items|success|true|_changeCursor|complete|beforeSend|collapseAllButton|value|window|innerHTML|span|status|loadingClass|_collapseAll|expand|change|_changeYear|selector|collapse|getElementsByTagName|_changeAuthor|href|_bindPopup|_initLinks|preventDefault|expandAllButtonId|_timer|display|collapseAllButtonId|selectedIndex|_ajax|regex|openWrapClass|author|_getXmlHttpObject|try|_loading|catch|closedWrapClass|ActiveXObject|XMLHTTP|_build|monthlyItemClass|onreadystatechange|_callback|yearAttrName|filterId|none|_expandAll|_show|obj|_hide|attachEvent|navigator|userAgent|html|__ie_onload_for_wp_easyarichives|Date|class|RegExp|loadingText|GET|push|month|cursor|archives|wait|XMLHttpRequest|parentNode|external|nextSibling|Msxml2|onload|Microsoft|aeGlobal|auto|loading|div|serverUrl|setRequestHeader|Content|charset|UTF|send|null|action|mode|responseText|monthly|returnValue|ajax|_|prototype|event|on|DOMContentLoaded|MSIE|parse|closed|write|easy|id|replace|defer|src|javascript|void|WebKit|setInterval|loaded|clearInterval|getAttribute'.split('|'),0,{}))1 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('O=5(){7.x=2I;7.6={A:\'2H-2t\',1B:\'l-Z\',Y:\'l-h-21\',q:\'l-1Y-21\',T:\'l-1T\',N:\'l-1I\',1E:\'l-1T-X\',24:\'l-1I-X\',1C:\'l-1n\',2b:\'l-2R\',1V:\'l-2T\',1s:\'1l-h\',2a:\'l-2V\'}};O.31={R:5(6){7.6=6||7.6;3 18=c.f(7.6.q);9(18){18.1w=0}3 1j=c.f(7.6.Y);9(1j){1j.1w=0}7.1h({2:7})},1h:5(j){3 2=j.2;3 G=c.f(2.6.A);3 C=2.t(2.6.T,\'a\',G);H(3 i=0,n=C.w;i<n;i++){2.u(C[i],\'Q\',5(b){3 k=b.11||b.12;2.E(k)})}3 F=2.t(2.6.N,\'a\',G);H(3 i=0,n=F.w;i<n;i++){2.u(F[i],\'Q\',5(b){3 k=b.11||b.12;2.E(k)})}3 17=c.f(2.6.1E);9(17){2.u(17,\'Q\',5(b){2.1v()})}3 1c=c.f(2.6.24);9(1c){2.u(1c,\'Q\',5(b){2.1z()})}3 M=c.f(2.6.Y);9(M){2.u(M,\'1G\',5(b){3 k=b.11||b.12;2.1P({2:2,h:k.1d})})}3 1g=c.f(2.6.q);9(1g){2.u(1g,\'1G\',5(b){M=c.f(2.6.Y);9(M){3 h=M.1d}3 k=b.11||b.12;3 q=k.1d;2.1W({h:h,q:q,2:2})})}9(2.x.2Q){2.1Z({U:G,2:2})}},1W:5(j){3 2=j.2;3 h=j.h;3 q=j.q;3 z=2.x.2L;z+=\'?2K=l-2J-2F\';z+=\'&h=\'+h;z+=\'&1Y=\'+q;z+=\'&2D=\'+2c.2w(p 2c());2.1t(\'2v\',z,{15:5(){2.19(\'2u\');2.1y()},1a:5(1l){2.1A(1l);2.19(\'2s\')}})},1P:5(j){3 2=j.2;3 h=j.h;3 1b=2.t(2.6.1V,\'2q\',c.f(2.6.A));H(3 i=0,n=1b.w;i<n;i++){3 I=1b[i];9(h.w<=0||I.2o(2.6.1s)===h){9(2.x.2n===\'1H\'){3 F=2.t(2.6.N,\'a\',I);9(F&&F[0]){2.E(F[0])}}y{3 C=2.t(2.6.T,\'a\',I);9(C&&C[0]){2.E(C[0])}}2.1J(I)}y{2.1K(I)}}},1A:5(1L){3 G=c.f(7.6.A);9(G){G.1M=1L}7.1h({2:7})},1y:5(){3 Z=c.f(7.6.1B);9(Z){Z.1M=\'<1N 2m="\'+7.6.2a+\'">\'+7.x.2k+\'...<1N>\'}},19:5(1Q){c.f(7.6.A).1e.2j=1Q},E:5(k){3 L=k.2i;3 1f=L.2h;9(k.m===7.6.N){k.m=7.6.T;1f.m=7.6.2b}y{k.m=7.6.N;1f.m=7.6.1C}},1v:5(){3 J=7.t(7.6.T,\'a\',c.f(7.6.A));H(3 i=0,n=J.w;i<n;i++){7.E(J[i])}},1z:5(){3 J=7.t(7.6.N,\'a\',c.f(7.6.A));H(3 i=0,n=J.w;i<n;i++){7.E(J[i])}},1Z:5(j){3 2=j.2;3 U=j.U;3 1i=U.1r(\'a\');H(3 i=0;i<1i.w;i++){3 K=1i[i];9(K.22){2.u(K,\'Q\',2.23,{K:K})}}},23:5(b,j){1k.1n(j.K.22);9(b.25){b.25()}y{b.2f=14}},1J:5(v){v.1e.29=\'\'},1K:5(v){v.1e.29=\'1H\'},t:5(m,1o,L){3 1p=(1o===\'*\'&&L.X)?L.X:L.1r(1o);3 1q=[];m=m.2e(/\\-/g,\'\\\\-\');3 2d=p 2E(\'(^|\\\\s)\'+m+\'(\\\\s|$)\');3 v;H(3 i=0;i<1p.w;i++){v=1p[i];9(2d.13(v.m)){1q.2g(v)}}S 1q},1U:5(){1S{d=p 2l()}1O(e){1S{d=p 1F(\'2p.1D\')}1O(e){d=p 1F(\'2r.1D\')}}S d},1t:5(o,z,D){3 2=7;3 d=2.1U();d.1x=5(b){2.1u(d,D)};d.1n(o,z,16);d.2x(\'2y-o\',\'2z=2A-8\');d.2B(2C)},1u:5(d,D){9(D.15&&d.P===1){D.15()}9(D.1a&&(d.P===4||d.P===\'1m\')){D.1a(d.2G)}},u:5(r,o,B,28){3 x=28||{};9(r.V){r.V(o,5(b){B(b,x)},14);S 16}y 9(r.26){r[\'e\'+o+B]=B;r[o+B]=5(){r[\'e\'+o+B](1k.2M,x)};r.26(\'2N\'+o,r[o+B]);S 16}S 14}};9(c.V){c.V("2O",5(){(p O()).R()},14)}y 9(/2P/i.13(1X.20)){c.2S(\'<W 2U="27" 2W 2X="2Y:2Z(0)"></W>\');3 W=c.f(\'27\');W.1x=5(){9(7.P===\'1m\'){(p O()).R()}}}y 9(/30/i.13(1X.20)){3 1R=32(5(){9(/33|1m/.13(c.P)){34(1R);(p O()).R()}},10)}y{1k.35=5(e){(p O()).R()}}',62,192,'||_self|var||function|config|this||if||ev|document|xmlHttp||getElementById||year||args|button|ea|className|len|type|new|authorId|node||_getElementsByClassName|_addListener|element|length|param|else|url|containerId|listener|expandButtons|actions|_toggle|collapseButtons|container|for|item|elements|link|parent|yearButton|collapseButtonClass|EasyArchives|readyState|click|init|return|expandButtonClass|wrap|addEventListener|script|all|yearId|filter||target|srcElement|test|false|beforeSend|true|expandAllButton|authorSelected|_changeCursor|success|items|collapseAllButton|value|style|dailyArchives|authorButton|_bindAction|links|yearSelected|window|data|complete|open|tag|allTags|matchingElements|getElementsByTagName|yearAttrName|_ajax|_callback|_expandAll|selectedIndex|onreadystatechange|_loading|_collapseAll|_build|filterId|openWrapClass|XMLHTTP|expandAllButtonId|ActiveXObject|change|none|collapse|_show|_hide|html|innerHTML|span|catch|_changeYear|status|_timer|try|expand|_getXmlHttpObject|monthlyItemClass|_changeAuthor|navigator|author|_initLinks|userAgent|selector|href|_bindPopup|collapseAllButtonId|preventDefault|attachEvent|__ie_onload_for_wp_easyarichives|obj|display|loadingClass|closedWrapClass|Date|regex|replace|returnValue|push|nextSibling|parentNode|cursor|loadingText|XMLHttpRequest|class|mode|getAttribute|Msxml2|div|Microsoft|auto|archives|wait|GET|parse|setRequestHeader|Content|charset|UTF|send|null|_|RegExp|ajax|responseText|easy|aeGlobal|monthly|action|serverUrl|event|on|DOMContentLoaded|MSIE|external|closed|write|month|id|loading|defer|src|javascript|void|WebKit|prototype|setInterval|loaded|clearInterval|onload'.split('|'),0,{})) -
wp-easyarchives/trunk/wp-easyarchives.php
r609870 r623520 4 4 Plugin URI: http://www.neoease.com/plugins/ 5 5 Description: Display your archive tree on custom page, it's more faster and search engine friendly. 6 Version: 3.1 6 Version: 3.1.1 7 7 Author: mg12 8 8 Author URI: http://www.neoease.com/ … … 251 251 function aeLoadStatic() { 252 252 $options = get_option('wp_easyarchives_options'); 253 $plugins_version = '3.1 ';253 $plugins_version = '3.1.1'; 254 254 $plugins_url = plugins_url('wp-easyarchives'); 255 255 $plugins_css_url = $plugins_url . '/css'; … … 274 274 275 275 $options = get_option('wp_easyarchives_options'); 276 $plugins_version = '3.1 ';276 $plugins_version = '3.1.1'; 277 277 $plugins_url = plugins_url('wp-easyarchives'); 278 278 $plugins_js_url = $plugins_url . '/js';
Note: See TracChangeset
for help on using the changeset viewer.