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

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

Version 1.3.1, fix bug:1654, bug:1767

  • 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} class="thumbnail {if isset($thumbnail.EXTRA_CLASS)}{$thumbnail.EXTRA_CLASS}{/if}" 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.