source: extensions/gally/gally-black-graphite/template/mainpage_categories.tpl @ 12602

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

feature:2499 - compatibility with Piwigo 2.3

  • Property svn:executable set to *
File size: 1.2 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" onclick="window.location='{$cat.URL}';">
7      <div class="description">
8
9        <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
10
11        <h3>
12          {$cat.NAME}
13            {if !empty($cat.icon_ts)}
14            <span class="button {if $cat.icon_ts.IS_CHILD_DATE}id_recent_cat_by_child{else}id_recent_cat{/if}"></span>
15            {/if}
16        </h3>
17
18        <div class="illustration">
19          <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
20        </div>
21
22        <div class="text">
23
24          {if isset($cat.INFO_DATES) }
25          <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
26          {/if}
27
28          {if not empty($cat.DESCRIPTION)}
29          <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
30          {/if}
31        </div>
32
33
34      </div>
35
36
37    </div>
38  </li>
39  {/foreach}
40</ul>
41
42<!-- **GBL** <MAINPAGE_CATEGORIES< -->
Note: See TracBrowser for help on using the repository browser.