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

Last change on this file since 2967 was 2832, checked in by rvelices, 16 years ago

merge -c2831 from branch 2.0 to trunk

  • remove some unnecessary modifiers from template - it should be somehow faster (arguably though)
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 852 bytes
Line 
1{* $Id: thumbnails.tpl 2832 2008-11-06 01:19:55Z 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                {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.