source: trunk/template/yoga/thumbnails.tpl @ 2738

Last change on this file since 2738 was 2515, checked in by rvelices, 16 years ago
  • fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION (extend_for_templates) and F_C13Y_ACTION (check_integrity)
  • normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now)
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 829 bytes
Line 
1{* $Id: thumbnails.tpl 2515 2008-09-10 01:16:13Z rvelices $ *}
2
3{if !empty($thumbnails)}
4<ul class="thumbnails">
5{foreach from=$thumbnails item=thumbnail}
6        <li>
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                {$thumbnail.NAME|@default}
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.