Ignore:
Timestamp:
Mar 5, 2013, 8:01:31 PM (11 years ago)
Author:
flop25
Message:

* version 2.4.0

  • update for 2.5:

--website for comments (r21215)
--ajax loader and thumbnails icons
--navigation bar updated (r21210)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/thumbnails.tpl

    r20443 r21216  
    33        $this->assign( 'stripped', $stripped );
    44{/php}
     5{footer_script}
     6  var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests};
     7{/footer_script}
    58{if !empty($thumbnails)}{strip}
    6 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
    7 {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
    89<ul class="thumbList">
    910        {foreach from=$thumbnails item=thumbnail}
    1011                {assign var=derivative value=$pwg->derivative($stripped.thumbSize, $thumbnail.src_image)}
    11                 {php}
     12  {if !$derivative->is_cached()}
     13  {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
     14  {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
     15  {/if}
     16  {php}
    1217                        global $pwg_loaded_plugins, $conf, $stripped;
    13                         $this->assign('downloadMulti_loaded', isset($pwg_loaded_plugins[ 'download_multi' ]));
    1418                        $this->assign( 'stripped', $stripped );
    1519                {/php}
     
    1822                                <span class="wrap2 {if !($stripped.showThumbLegend)}wrap2full{/if}">
    1923                                        <a href="{$thumbnail.URL}"><div class="thumbframe"><div class="thumbpos">
    20                                                 <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" {if ((isset($thumbnail.NAME))&!($downloadMulti_loaded))}title="{$thumbnail.NAME|@replace:'"':' '}"{else}title="{$thumbnail.TN_TITLE}"{/if} />
     24                                                <img class="thumbnail" {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$thumbnail.TN_ALT}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|@replace:'"':' '}{else}{$thumbnail.TN_TITLE}{/if}">
    2125                                                {if (isset($stripped.imagePreload) & isset($stripped.imagePreloadThumbs))}
    2226                                                        {assign var=preload value=$pwg->derivative($stripped.imageSize, $thumbnail.src_image)}
Note: See TracChangeset for help on using the changeset viewer.