source: extensions/gally/gally-default/template/thumbnails.tpl @ 6109

Last change on this file since 6109 was 6109, checked in by grum, 14 years ago

Gally's themes compatibles with piwigo 2.1

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