Changeset 20985


Ignore:
Timestamp:
02/23/13 17:13:48 (6 years ago)
Author:
nikrou
Message:

Fix issue with some themes when selection #Tags too small.
(Thanks to Tim Mohr for reporting issue)

Location:
extensions/user_tags
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/CHANGELOG

    r20762 r20985  
     1User Tags 0.7.4 - 2013-02-23 
     2================================ 
     3* Fix issue with some themes when selection #Tags too small. 
     4 
    15User Tags 0.7.3 - 2013-02-15 
    26================================ 
  • extensions/user_tags/MANIFEST

    r20251 r20985  
    3232user_tags/language/lv_LV/help/index.php 
    3333user_tags/language/lv_LV/help/readme.html 
     34user_tags/language/da_DK/plugin.lang.php 
     35user_tags/language/da_DK/description.txt 
     36user_tags/language/da_DK/help/readme.html 
    3437user_tags/language/tr_TR/plugin.lang.php 
    3538user_tags/language/tr_TR/index.php 
     
    3740user_tags/language/tr_TR/help/index.php 
    3841user_tags/language/tr_TR/help/readme.html 
    39 user_tags/language/no_NO/plugin.lang.php 
    40 user_tags/language/no_NO/index.php 
    41 user_tags/language/no_NO/description.txt 
    42 user_tags/language/no_NO/help/index.php 
    43 user_tags/language/no_NO/help/readme.html 
     42user_tags/language/nl_NL/plugin.lang.php 
     43user_tags/language/nl_NL/description.txt 
     44user_tags/language/nl_NL/help/readme.html 
     45user_tags/language/cs_CZ/description.txt 
    4446user_tags/language/nb_NO/plugin.lang.php 
    4547user_tags/language/nb_NO/index.php 
     
    4749user_tags/language/nb_NO/help/index.php 
    4850user_tags/language/nb_NO/help/readme.html 
     51user_tags/language/pl_PL/plugin.lang.php 
     52user_tags/language/pl_PL/description.txt 
     53user_tags/language/pl_PL/help/readme.html 
     54user_tags/language/el_GR/plugin.lang.php 
     55user_tags/language/el_GR/description.txt 
     56user_tags/language/el_GR/help/readme.html 
     57user_tags/language/sk_SK/plugin.lang.php 
     58user_tags/language/sk_SK/description.txt 
     59user_tags/language/sk_SK/help/readme.html 
    4960user_tags/language/it_IT/plugin.lang.php 
    5061user_tags/language/it_IT/index.php 
     
    5263user_tags/language/it_IT/help/index.php 
    5364user_tags/language/it_IT/help/readme.html 
     65user_tags/language/pt_BR/plugin.lang.php 
     66user_tags/language/pt_BR/description.txt 
     67user_tags/language/pt_BR/help/readme.html 
    5468user_tags/language/zh_CN/plugin.lang.php 
    5569user_tags/language/zh_CN/index.php 
  • extensions/user_tags/css/style.css

    r20251 r20985  
    77#t4u-edit{margin-left:5px;} 
    88#t4u-update-tags .t4u-disabled{color:#999;border-color:#666;cursor:default;} 
    9 #Tags{background:transparent url(imgs/edit.png) no-repeat left top;padding-left:20px;cursor:pointer;} 
     9#Tags{background:transparent url(imgs/edit.png) no-repeat left top;padding-left:20px;cursor:pointer;min-width:20px;min-height:20px;} 
    1010ul.token-input-list{overflow:hidden;height:auto!important;height:1%;width:400px;border:1px solid #8496ba;cursor:text;font-size:12px;font-family:Verdana;min-height:1px;z-index:999;margin:0;padding:0;background-color:#fff;list-style-type:none;clear:left;} 
    1111ul.token-input-list li input{border:0;width:100px;padding:3px 8px;background-color:white;margin:2px 0;} 
  • extensions/user_tags/js/jquery.addtags.js

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

    r20794 r20985  
    11<?php 
    22// +-----------------------------------------------------------------------+ 
    3 // | Piwigo - a PHP based photo gallery                                    | 
     3// | User Tags  - a plugin for Piwigo                                      | 
    44// +-----------------------------------------------------------------------+ 
    5 // | Copyright(C) 2008-2013 Piwigo Team                  http://piwigo.org | 
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net | 
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick | 
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  | 
    86// +-----------------------------------------------------------------------+ 
    97// | This program is free software; you can redistribute it and/or modify  | 
    10 // | it under the terms of the GNU General Public License as published by  | 
    11 // | the Free Software Foundation                                          | 
     8// | it under the terms of the GNU General Public License version 2 as     | 
     9// | published by the Free Software Foundation                             | 
    1210// |                                                                       | 
    1311// | This program is distributed in the hope that it will be useful, but   | 
     
    1816// | You should have received a copy of the GNU General Public License     | 
    1917// | along with this program; if not, write to the Free Software           | 
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 
    21 // | USA.                                                                  | 
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            | 
     19// | MA 02110-1301 USA.                                                    | 
    2220// +-----------------------------------------------------------------------+ 
     21 
    2322$lang['Tags updated'] = 'Labels bijgewerkt'; 
    2423$lang['Update tags'] = 'Labels bijwerken'; 
     
    3534$lang['You are not allowed to delete tags'] = 'U mag geen labels verwijderen'; 
    3635$lang['Start to type'] = 'Begin te typen'; 
    37 ?> 
  • extensions/user_tags/main.inc.php

    r20762 r20985  
    2222/* 
    2323Plugin Name: User Tags 
    24 Version: 0.7.3 
     24Version: 0.7.4 
    2525Description: Allow visitors to add tag to images 
    2626Plugin URI: http://piwigo.org/ext/extension_view.php?eid=441 
  • extensions/user_tags/template/add_tags.tpl

    r20251 r20985  
    1010vocab['no_results'] = "{'No results'|@translate}", 
    1111vocab['searching_text'] = "{'Searching...'|@translate}", 
    12 vocab['new_text'] = " ({'new'|@translate})", 
     12vocab['new_text'] = " ({'new'|@translate})"; 
    1313{/footer_script} 
    1414 
Note: See TracChangeset for help on using the changeset viewer.