source: extensions/floOS/thumbnails.tpl @ 4811

Last change on this file since 4811 was 3618, checked in by flop25, 15 years ago

update global with pwg 2.0.3

File size: 901 bytes
Line 
1{if !empty($thumbnails)}
2<ul class="thumbnails">
3{foreach from=$thumbnails item=thumbnail}
4        <li class="thumb_{"1"|mt_rand:5}" >
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}" title="{$thumbnail.TN_TITLE}" />
9                </a>
10                </span>
11                <span class="thumbLegend">
12                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
13                {$thumbnail.ICON_TS}
14                {if isset($thumbnail.NB_COMMENTS)}
15                <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
16                <br />
17                {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
18                </span>
19                {/if}
20
21                {if isset($thumbnail.NB_HITS)}
22                <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
23                <br />
24                {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
25                </span>
26                {/if}
27                </span>
28        </span>
29        </li>
30{/foreach}
31</ul>
32{/if}
Note: See TracBrowser for help on using the repository browser.