source: extensions/gally/piwigo-2.0/mainpage_categories.tpl @ 6769

Last change on this file since 6769 was 4489, checked in by grum, 14 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.0 KB
Line 
1<!-- **GBL** >MAINPAGE_CATEGORIES> -->
2
3<ul class="thumbnailCategories">
4  {foreach from=$category_thumbnails item=cat name=catloop}
5  <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}">
6    <div class="thumbnailCategory">
7      <div class="illustration">
8        <a href="{$cat.URL}">
9          <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'hint_category'|@translate}">
10        </a>
11      </div>
12      <div class="description">
13        <h3>
14          <a href="{$cat.URL}">{$cat.NAME}</a>
15          {$cat.ICON_TS}
16        </h3>
17        <div class="text">
18          {if isset($cat.INFO_DATES) }
19          <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
20          {/if}
21          <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
22          {if not empty($cat.DESCRIPTION)}
23          <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
24          {/if}
25        </div>
26      </div>
27    </div>
28  </li>
29  {/foreach}
30</ul>
31
32<!-- **GBL** <MAINPAGE_CATEGORIES< -->
Note: See TracBrowser for help on using the repository browser.