Ignore:
Timestamp:
Sep 4, 2012, 6:18:08 PM (12 years ago)
Author:
flop25
Message:

$confshow_thumbnail_caption = false Compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/template/stuffs_thumbnails.tpl

    r14166 r17740  
    77    {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc, $thumbnail.src_image)}
    88    {assign var='size' value=$derivative->get_size()}
    9  <div class="{$thumbnail.TN_CLASS}">
    10 <a href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}>
     9<div class="{$thumbnail.TN_CLASS}">
     10  <a href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}>
    1111    {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if}
    12     </a>
    13     <div class="title">{if isset($block.TITLE)}{$block.TITLE}{elseif isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div>
    14   </div>
     12  </a>
     13  {if $SHOW_THUMBNAIL_CAPTION }
     14  <div class="title">{if isset($block.TITLE)}{$block.TITLE}{elseif isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div>
     15  {/if}
     16</div>
    1517  {/foreach}
    1618{/if}
Note: See TracChangeset for help on using the changeset viewer.