Last change
on this file since 12324 was
3283,
checked in by plg, 15 years ago
|
complement to r3282, remove all $Id$ in source code.
|
-
Property svn:eol-style set to
LF
|
File size:
966 bytes
|
Rev | Line | |
---|
[2434] | 1 | <!-- This is a sample of template extensions --> |
---|
| 2 | {if !empty($thumbnails)} |
---|
| 3 | <ul class="thumbnails"> |
---|
| 4 | {foreach from=$thumbnails item=thumbnail} |
---|
| 5 | <li> |
---|
| 6 | <span class="wrap1"> |
---|
| 7 | <span class="wrap2"> |
---|
[2515] | 8 | <a href="{$thumbnail.URL}"> |
---|
[3185] | 9 | <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> |
---|
[2434] | 10 | </a> |
---|
| 11 | </span> |
---|
| 12 | <span class="thumbLegend" style="color:#F36;"> |
---|
[3185] | 13 | © 2008 Piwigo<br> |
---|
[2515] | 14 | {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if} |
---|
| 15 | {if !empty($thumbnail.ICON_TS)}{$thumbnail.ICON_TS}{/if} |
---|
[2434] | 16 | |
---|
| 17 | {if isset($thumbnail.NB_COMMENTS)} |
---|
| 18 | <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |
---|
[3185] | 19 | <br> |
---|
[2434] | 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"> |
---|
[3185] | 26 | <br> |
---|
[2434] | 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> |
---|
[3185] | 35 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.