source: extensions/simple_themes/simple/template/thumbnails.tpl @ 13552

Last change on this file since 13552 was 13546, checked in by plg, 13 years ago

import theme Simple, version 2.0

  • adaptation of the theme for Piwigo 2.1
File size: 920 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    <p>
9      {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
10          {if !empty($thumbnail.icon_ts)}
11          <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)">
12          {/if}
13      {if isset($thumbnail.NB_COMMENTS)}
14      <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
15        {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
16      </span>
17      {/if}
18{*      {if isset($thumbnail.NB_HITS)}
19      <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
20        {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
21      </span>
22      {/if} *}
23    </p>
24  </li>
25  {/foreach}
26</ul>
27{/if}
Note: See TracBrowser for help on using the repository browser.