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

Last change on this file since 5164 was 5095, checked in by plg, 14 years ago

feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives)

  • Property svn:eol-style set to LF
File size: 970 bytes
Line 
1
2{if !empty($thumbnails)}
3<ul class="thumbnails">
4{foreach from=$thumbnails item=thumbnail}
5        <li>
6        <span class="wrap1">
7                <span class="wrap2">
8                <a href="{$thumbnail.URL}">
9                        <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
10                </a>
11                </span>
12                <span class="thumbLegend">
13                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
14                {if !empty($thumbnail.icon_ts)}
15                <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)">
16                {/if}
17                {if isset($thumbnail.NB_COMMENTS)}
18                <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
19                <br>
20                {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
21                </span>
22                {/if}
23
24                {if isset($thumbnail.NB_HITS)}
25                <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
26                <br>
27                {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
28                </span>
29                {/if}
30                </span>
31        </span>
32        </li>
33{/foreach}
34</ul>
35{/if}
36
37
Note: See TracBrowser for help on using the repository browser.