Changeset 17740


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

$confshow_thumbnail_caption = false Compatible

Location:
extensions/stripped_black_bloc/template
Files:
2 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}
  • extensions/stripped_black_bloc/template/thumbnails.tpl

    r13920 r17740  
    1111    {/if}
    1212    {assign var='size' value=$derivative->get_size()}
    13  <div class="{$thumbnail.TN_CLASS}">
    14 <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}>
     13<div class="{$thumbnail.TN_CLASS}">
     14  <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}>
    1515    {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if}
    16     </a>
    17     <div class="title">{if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div>
    18   </div>
     16  </a>
     17  {if $SHOW_THUMBNAIL_CAPTION }
     18  <div class="title">{if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div>
     19  {/if}
     20</div>
    1921  {/foreach}
    2022{/if}
Note: See TracChangeset for help on using the changeset viewer.