source: extensions/gally/piwigo-2.0/thumbnails.tpl @ 26235

Last change on this file since 26235 was 4489, checked in by grum, 15 years ago

[Template:Gally] feature 1096, feature 1097, feature 1098, feature 1099, feature 1313
And some other improvments...

  • Property svn:executable set to *
File size: 1.2 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.NAME)}{$thumbnail.NAME}{/if}
21          {if !empty($thumbnail.ICON_TS)}{$thumbnail.ICON_TS}{/if}
22
23          {if isset($thumbnail.NB_COMMENTS)}
24          <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
25          <br />
26          {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
27          </span>
28          {/if}
29
30          {if isset($thumbnail.NB_HITS)}
31          <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
32          <br />
33          {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
34          </span>
35          {/if}
36          </span>
37        </td>
38      </tr>
39    </table>
40  </li>
41{/foreach}
42</ul>
43{/if}
44
45
46<!-- **GBL** <THUMBNAILS< -->
Note: See TracBrowser for help on using the repository browser.