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

Last change on this file since 3197 was 3189, checked in by nikrou, 16 years ago

fix html warnings. unclosed monotags

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 981 bytes
Line 
1{* $Id: thumbnails.tpl 3189 2009-03-11 19:41:21Z nikrou $ *}
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                {if !empty($thumbnail.icon_ts)}
16                <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)">
17                {/if}
18                {if isset($thumbnail.NB_COMMENTS)}
19                <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
20                <br>
21                {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
22                </span>
23                {/if}
24
25                {if isset($thumbnail.NB_HITS)}
26                <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
27                <br>
28                {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
29                </span>
30                {/if}
31                </span>
32        </span>
33        </li>
34{/foreach}
35</ul>
36{/if}
37
38
Note: See TracBrowser for help on using the repository browser.