source: extensions/stripped/template/thumbnails.tpl @ 9125

Last change on this file since 9125 was 8081, checked in by Zaphod, 14 years ago

title changed on thumbnails (name instead of tn_title)

File size: 1.1 KB
Line 
1{if !empty($thumbnails)}
2<ul>
3  {foreach from=$thumbnails item=thumbnail}
4  <li>
5        <span class="wrap1">
6                <span class="wrap2">
7                        <a href="{$thumbnail.URL}">
8                                <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}"{if isset($thumbnail.NAME)}title="{$thumbnail.NAME}"{else}title="{$thumbnail.TN_TITLE}{/if}" />
9                        </a>
10                </span>
11                <span class="thumbLegend">
12                        {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
13                        {if !empty($thumbnail.icon_ts)}
14                                <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)">
15                        {/if}
16                        {if isset($thumbnail.NB_COMMENTS)}
17                                <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
18                                        {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
19                                </span>
20                        {/if}
21{*      {if isset($thumbnail.NB_HITS)}
22      <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
23        {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
24      </span>
25      {/if} *}
26                </span>
27        </span>
28  </li>
29  {/foreach}
30</ul>
31{/if}
Note: See TracBrowser for help on using the repository browser.