Ignore:
Timestamp:
Jul 12, 2012, 12:33:33 AM (12 years ago)
Author:
plg
Message:

Compatibility with Piwigo 2.4

Better "zoom" feature on gallery side and admin side

Bug fixed: the "Upload Photos" link in menubar is hidden when Advanced Menu Manager is activated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/add_photos.tpl

    r12616 r16637  
    377377  <div>
    378378  {foreach from=$thumbnails item=thumbnail}
    379     <a href="{$thumbnail.link}" class="externalLink">
     379    <a href="{$thumbnail.link}"  class="{if isset($thumbnail.lightbox)}colorboxThumb{else}externalLink{/if}">
    380380      <img src="{$thumbnail.src}" alt="{$thumbnail.file}" title="{$thumbnail.title}" class="thumbnail">
    381381    </a>
     
    523523
    524524</div> <!-- photosAddContent -->
     525
     526{* Community specific *}
     527{footer_script}{literal}
     528jQuery(document).ready(function(){
     529  jQuery("a.colorboxThumb").colorbox({rel:"colorboxThumb"});
     530
     531  jQuery("a.externalLink").click(function() {
     532    window.open($(this).attr("href"));
     533    return false;
     534  });
     535});
     536{/literal}{/footer_script}
Note: See TracChangeset for help on using the changeset viewer.