Changeset 23289


Ignore:
Timestamp:
06/17/13 15:23:36 (6 years ago)
Author:
nikrou
Message:

Fix issue with jQuery.noConflict()
Prepare change (allowCreation key rename in allowFreeTagging) in jquery.tokeninput plugin

Location:
extensions/user_tags
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/js/jquery.addtags.js

    r22062 r23289  
    1 eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('3 $j=12.16();(2($,1c){$.n=2(y,4){$(y).H(\'\');$(y).17().A(4).W(Z).1d(15)};$.14.n=2(4){8.I(2(){13 $.n(8,4)})};E 8})($j);$j(2(){3 6=[];$j(\'#B\').D(2(){$j(8).18(\'D\');$j(\'#5-d\').1b(\'1a\').I(2(){6.x({l:$j(8).w(),v:$j(8).U()})});$j(8).H($j(\'#5-h-d\').R());$j(\'#5-d\').S(V,{10:m.Y,X:m.11,T:m.19,1h:m.1y,1s:1r,1q:1t,1x:1w,o:o,k:k,t:t});$j(\'#5-h-d\').1v(2(e){3 7=\'1u=\'+$j(\'#5-1p-l\').w();7+=\'&J=\'+$j(\'#5-J\').w();7+=\'&d=\';3 f=6.u;Q(3 i=0;i<f;i++){7+=6[i].l+\',\'}7=7.1i(0,7.u-1);$j.1g($j(8).O(\'1f\'),7,2(4,s){N(4,s)},\'1e\');e.1j()})});3 t=2 t(C){E C.c};3 k=2 k(g){6.x(g);q()};3 o=2 o(g){3 f=6.u,r=[];Q(3 i=0;i<f;i++){p(6[i].v!=g.v){r.x(6[i])}}6=r;q()};3 q=2 q(){$j(\'#5-h\').1l(\'5-b\').1o(\'b\')};3 N=2 1m(4,s){3 a=\'\';$j(\'#5-h\').1n(\'5-b\').O(\'b\',\'b\');p(4.c.P){a=\'<9 z="L">\'+4.c.P+\'</9>\'}K p(4.c.M){a=\'<9 z="1k">\'+4.c.M+\'</9>\'}K{a=\'<9 z="L">\'+s+\'</9>\'}p(a!==\'\'){$j(\'#B\').A(\'<9 l="F-G"></9>\');$j(\'#F-G\').n(a)}}});',62,97,'||function|var|data|t4u|existing_tags|serialized_form|this|div|message|disabled|result|tags||nbItems|item|update|||onAdd|id|vocab|flashMessage|onDelete|if|onChange||textStatus|onResult|length|name|val|push|source|class|append|Tags|results|click|return|flash|messages|html|each|referer|else|infos|error|formSuccess|attr|info|for|show|tokenInput|searchingText|text|t4u_list_script|fadeIn|noResultsText|start_to_type|500|hintText|no_results|jQuery|new|fn|3000|noConflict|hide|unbind|searching_text|option|children|undefined|fadeOut|json|action|post|newText|substring|preventDefault|errors|removeClass|formSucess|addClass|removeAttr|image|preventDuplicates|false|animateDropdown|true|image_id|submit|t4u_allow_creation|allowCreation|new_text'.split('|'),0,{})) 
     1eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('(2($,1c){$.o=2(x,4){$(x).E(\'\');$(x).1i().A(4).1m(1k).13(12)};$.11.o=2(4){9.C(2(){Z $.o(9,4)})};$(2(){3 6=[];$(\'#z\').D(2(){$(9).10(\'D\');$(\'#5-b\').14(\'15\').C(2(){6.v({p:$(9).w(),y:$(9).18()})});$(9).E($(\'#5-f-b\').Y());$(\'#5-b\').1a(R,{Q:h.S,X:h.W,T:h.V,U:h.16,1x:1r,1b:1q,1p:F,1o:F,k:k,j:j,n:n});$(\'#5-f-b\').1t(2(e){3 7=\'1w=\'+$(\'#5-1v-p\').w();7+=\'&H=\'+$(\'#5-H\').w();7+=\'&b=\';3 g=6.t;N(3 i=0;i<g;i++){7+=6[i].p+\',\'}7=7.1n(0,7.t-1);$.1f($(9).G(\'1d\'),7,2(4,s){K(4,s)},\'1g\');e.1l()})});3 n=2 n(I){1j I.d};3 j=2 j(l){6.v(l);m()};3 k=2 k(l){3 g=6.t,r=[];N(3 i=0;i<g;i++){q(6[i].y!=l.y){r.v(6[i])}}6=r;m()};3 m=2 m(){$(\'#5-f\').1e(\'5-c\').1u(\'c\')};3 K=2 1s(4,s){3 a=\'\';$(\'#5-f\').19(\'5-c\').G(\'c\',\'c\');q(4.d.L){a=\'<8 u="P">\'+4.d.L+\'</8>\'}M q(4.d.O){a=\'<8 u="17">\'+4.d.O+\'</8>\'}M{a=\'<8 u="P">\'+s+\'</8>\'}q(a!==\'\'){$(\'#z\').A(\'<8 p="B-J"></8>\');$(\'#B-J\').o(a)}}})})(1h);',62,96,'||function|var|data|t4u|existing_tags|serialized_form|div|this|message|tags|disabled|result||update|nbItems|vocab||onAdd|onDelete|item|onChange|onResult|flashMessage|id|if||textStatus|length|class|push|val|source|name|Tags|append|flash|each|click|html|t4u_allow_creation|attr|referer|results|messages|formSuccess|info|else|for|error|infos|hintText|t4u_list_script|start_to_type|searchingText|newText|searching_text|no_results|noResultsText|show|new|unbind|fn|3000|fadeOut|children|option|new_text|errors|text|addClass|tokenInput|preventDuplicates|undefined|action|removeClass|post|json|jQuery|hide|return|500|preventDefault|fadeIn|substring|allowFreeTagging|allowCreation|true|false|formSucess|submit|removeAttr|image|image_id|animateDropdown'.split('|'),0,{})) 
  • extensions/user_tags/main.inc.php

    r22063 r23289  
    2222/* 
    2323Plugin Name: User Tags 
    24 Version: 0.8.1 
     24Version: 0.8.2 
    2525Description: Allow visitors to add tag to images 
    2626Plugin URI: http://piwigo.org/ext/extension_view.php?eid=441 
Note: See TracChangeset for help on using the changeset viewer.