source: extensions/gally/thumbnails.tpl @ 4446

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

[Template:Gally] Add template to subversion

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