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

Last change on this file since 8401 was 8401, checked in by rvelices, 13 years ago

index.tpl and thumbnails change: category description above thumbs and enclosing ul moved to index.tpl
fix some combine_xxx

  • Property svn:eol-style set to LF
File size: 925 bytes
Line 
1
2{if !empty($thumbnails)}
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}" title="{$thumbnail.TN_TITLE}">
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" 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        </span>
31        </li>
32{/foreach}
33{/if}
Note: See TracBrowser for help on using the repository browser.