source: extensions/gally/gally-black-graphite/template/thumbnails.tpl @ 12602

Last change on this file since 12602 was 12602, checked in by grum, 12 years ago

feature:2499 - compatibility with Piwigo 2.3

  • Property svn:executable set to *
File size: 1.5 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 {if isset($thumbnail.LONGDESC) and $thumbnail.LONGDESC!=""}longdesc="{$thumbnail.LONGDESC}"{/if}
12                  class="thumbnail {if isset($thumbnail.EXTRA_CLASS)}{$thumbnail.EXTRA_CLASS}{/if}"
13                  src="{$thumbnail.TN_SRC}"
14                  alt="{$thumbnail.TN_ALT}"
15                  {if isset($thumbnail.NB_COMMENTS) or isset($thumbnail.NB_HITS) }
16                  title="{if isset($thumbnail.NB_COMMENTS)}<span class='{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments'>{$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}</span>{/if}
17                         {if isset($thumbnail.NB_HITS)}<span class='{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits'>{$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}</span>{/if}"
18                  />
19                  {/if}
20          </a>
21          </span>
22        </td>
23      </tr>
24      <tr>
25        <td>
26          {if $SHOW_THUMBNAIL_CAPTION }
27            <span class="thumbLegend">
28
29            {if !empty($thumbnail.icon_ts)}
30              <span class="newImage button id_recent"></span>
31            {/if}
32            {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
33
34            </span>
35          {/if}
36        </td>
37      </tr>
38    </table>
39  </li>
40{/foreach}
41</ul>
42{/if}
43
44
45<!-- **GBL** <THUMBNAILS< -->
Note: See TracBrowser for help on using the repository browser.