source: extensions/floPure/thumbnails.tpl @ 4021

Last change on this file since 4021 was 3474, checked in by flop25, 15 years ago

refresh all the tpl with current yoga tpl.

maj avec le yoga de pwg 2.0.2

File size: 971 bytes
Line 
1{* $Id: thumbnails.tpl 2274 2008-03-11 02:04:27Z rvelices $ *}
2
3{if !empty($thumbnails)}
4<ul class="thumbnails">
5{foreach from=$thumbnails item=thumbnail}
6        <li class="thumb_{"1"|mt_rand:5}" >
7        <span class="wrap1">
8                <span class="wrap2">
9                <a href="{$thumbnail.URL}">
10                        <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />
11                </a>
12                </span>
13                <span class="thumbLegend">
14                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
15                {$thumbnail.ICON_TS}
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        </span>
31        </li>
32{/foreach}
33</ul>
34{/if}
35
36
Note: See TracBrowser for help on using the repository browser.