Ignore:
Timestamp:
Jan 13, 2013, 12:13:46 AM (8 years ago)
Author:
mistic100
Message:

the link includes thumbLegend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/template/gthumb.tpl

    r18124 r20096  
    33{assign var=derivative value=$pwg->derivative($GThumb_derivative_params, $thumbnail.src_image)}
    44<li class="gthumb">
     5  <a href="{$thumbnail.URL}">
    56  {if $SHOW_THUMBNAIL_CAPTION }
    6   <span class="thumbLegend">
    7     <span class="thumbName">
    8       {$thumbnail.NAME}
    9       {if !empty($thumbnail.icon_ts)}
    10       <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
     7    <span class="thumbLegend">
     8      <span class="thumbName">
     9        {$thumbnail.NAME}
     10        {if !empty($thumbnail.icon_ts)}
     11        <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
     12        {/if}
     13      </span>
     14      {if isset($thumbnail.NB_COMMENTS)}
     15      <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
     16        {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
     17      </span>
     18      {/if}
     19      {if isset($thumbnail.NB_HITS)}
     20      <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
     21        {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
     22      </span>
    1123      {/if}
    1224    </span>
    13     {if isset($thumbnail.NB_COMMENTS)}
    14     <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
    15       {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
    16     </span>
    17     {/if}
    18     {if isset($thumbnail.NB_HITS)}
    19     <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
    20       {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
    21     </span>
    22     {/if}
    23   </span>
    2425  {/if}
    25   <a href="{$thumbnail.URL}">
    2626    <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" {$derivative->get_size_htm()}>
    2727  </a>
Note: See TracChangeset for help on using the changeset viewer.