source: trunk/themes/default/template/thumbnails.tpl @ 12882

Last change on this file since 12882 was 11990, checked in by flop25, 13 years ago

bug:1729
revert of changes : the TN_TITLE will be changed in php

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