Last change
on this file since 3282 was
3282,
checked in by plg, 15 years ago
|
change: according to topic:15067, svn:keywords property was removed
|
-
Property svn:eol-style set to
LF
|
File size:
1.1 KB
|
Line | |
---|
1 | {* $Id: /piwigo/trunk/template-extension/distributed/samples/my-thumbnails.tpl 7025 2009-03-09T19:41:45.898712Z nikrou $ *} |
---|
2 | <!-- This is a sample of template extensions --> |
---|
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" style="color:#F36;"> |
---|
14 | © 2008 Piwigo<br> |
---|
15 | {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if} |
---|
16 | {if !empty($thumbnail.ICON_TS)}{$thumbnail.ICON_TS}{/if} |
---|
17 | |
---|
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} |
---|
Note: See
TracBrowser
for help on using the repository browser.