Last change
on this file since 13557 was
13557,
checked in by plg, 12 years ago
|
import theme Simple version 2.5.2
- more flexible layout for thumbnails
- more flexible layout for categories
- restore the possibility to hide thumbnails caption.
- center image in slideshow
|
File size:
979 bytes
|
Line | |
---|
1 | {if !empty($thumbnails)} |
---|
2 | <ul> |
---|
3 | {foreach from=$thumbnails item=thumbnail} |
---|
4 | <li> |
---|
5 | <a href="{$thumbnail.URL}"> |
---|
6 | <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /> |
---|
7 | </a> |
---|
8 | {if $SHOW_THUMBNAIL_CAPTION } |
---|
9 | <p> |
---|
10 | {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} |
---|
11 | {if !empty($thumbnail.icon_ts)} |
---|
12 | <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)"> |
---|
13 | {/if} |
---|
14 | {if isset($thumbnail.NB_COMMENTS)} |
---|
15 | <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |
---|
16 | ({$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}) |
---|
17 | </span> |
---|
18 | {/if} |
---|
19 | {* |
---|
20 | {if isset($thumbnail.NB_HITS)} |
---|
21 | <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> |
---|
22 | {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} |
---|
23 | </span> |
---|
24 | {/if} |
---|
25 | *} |
---|
26 | </p> |
---|
27 | {/if} |
---|
28 | </li> |
---|
29 | {/foreach} |
---|
30 | </ul> |
---|
31 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.