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

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

feature:2499 - compatibility with Piwigo 2.3

  • Property svn:executable set to *
File size: 1.6 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                  title="{$thumbnail.TN_TITLE}" />
16          </a>
17          </span>
18        </td>
19      </tr>
20      <tr>
21        <td>
22          {if $SHOW_THUMBNAIL_CAPTION }
23            <span class="thumbLegend">
24
25            {if !empty($thumbnail.icon_ts)}
26              <span class="newImage button id_recent"></span>
27            {/if}
28            {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
29
30
31            {if isset($thumbnail.NB_COMMENTS)}
32            <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
33            <br />
34            {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
35            </span>
36            {/if}
37
38            {if isset($thumbnail.NB_HITS)}
39            <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
40            <br />
41            {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
42            </span>
43            {/if}
44            </span>
45          {/if}
46        </td>
47      </tr>
48    </table>
49  </li>
50{/foreach}
51</ul>
52{/if}
53
54
55<!-- **GBL** <THUMBNAILS< -->
Note: See TracBrowser for help on using the repository browser.