Ignore:
Timestamp:
Jun 26, 2013, 12:09:21 AM (11 years ago)
Author:
mistic100
Message:

many corrections & optimizations + remove useless code + clean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/template/thumbnails_colorbox.tpl

    r20097 r23551  
    11{combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'}
    2 {combine_css path="themes/default/js/plugins/colorbox/style2/colorbox.css"}
     2{combine_css path='themes/default/js/plugins/colorbox/style2/colorbox.css'}
    33
    44{footer_script}
     
    88  title: function() {ldelim}
    99    var title = $(this).children("img.thumbnail").attr("alt");
    10     {if $F_ACTION} title+= ' · <a href="{$collection_toggle_url}&amp;collection_toggle='+ $(this).data('id') +'" class="addCollection" data-id="'+ $(this).data('id') +'">{'Remove from collection'|@translate}</a>';{/if}
     10    {if $F_ACTION} title+= ' · <a class="addCollection" data-id="'+ $(this).data('id') +'" rel="nofollow">{'Remove from collection'|@translate}</a>';{/if}
    1111    title+= ' · <a href="'+ $(this).attr('href') +'" target="_blank">{'jump to photo'|@translate} →</a>';
    1212    return  title;
Note: See TracChangeset for help on using the changeset viewer.