Line | |
---|
1 | {if !empty($thumbnails)} |
---|
2 | <ul> |
---|
3 | {foreach from=$thumbnails item=thumbnail} |
---|
4 | <li> |
---|
5 | <a href="{$thumbnail.URL}"> |
---|
6 | <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /> |
---|
7 | </a> |
---|
8 | <p> |
---|
9 | {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if} |
---|
10 | {if !empty($thumbnail.ICON_TS)}{$thumbnail.ICON_TS}{/if} |
---|
11 | {if isset($thumbnail.NB_COMMENTS)} |
---|
12 | <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |
---|
13 | {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} |
---|
14 | </span> |
---|
15 | {/if} |
---|
16 | {* {if isset($thumbnail.NB_HITS)} |
---|
17 | <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> |
---|
18 | {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} |
---|
19 | </span> |
---|
20 | {/if} *} |
---|
21 | </p> |
---|
22 | </li> |
---|
23 | {/foreach} |
---|
24 | </ul> |
---|
25 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.