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

Last change on this file since 8469 was 8469, checked in by rvelices, 10 years ago

thumbnails.tpl is smarty "stripped" to reduce payload-> increased margins of thumbnails in css

  • Property svn:eol-style set to LF
File size: 939 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                <span class="thumbLegend">
11                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
12                {if !empty($thumbnail.icon_ts)}
13                <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
14                {/if}
15                {if isset($thumbnail.NB_COMMENTS)}
16                <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
17                <br>
18                {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
19                </span>
20                {/if}
21
22                {if isset($thumbnail.NB_HITS)}
23                <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
24                <br>
25                {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
26                </span>
27                {/if}
28                </span>
29        </span>
30        </li>
31{/foreach}{/strip}
32{/if}
Note: See TracBrowser for help on using the repository browser.