source: extensions/gally/gally-default/template/mainpage_categories.tpl @ 16016

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

feature:2664- compatibility with Piwigo 2.4

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1<!-- **GBL** >MAINPAGE_CATEGORIES> -->
2
3<ul class="thumbnailCategories">
4  {foreach from=$category_thumbnails item=cat name=cat_loop}
5  <li class="odd{if ($smarty.foreach.cat_loop.iteration-1) % 2 == 0}0{else}1{/if}">
6    <div class="thumbnailCategory"  onclick="window.location='{$cat.URL}';" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false}<br>{'display this album'|@translate}">
7      <div class="illustration">
8
9          <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}">
10
11      </div>
12      <div class="description">
13        <h3>
14          {$cat.NAME}
15            {if !empty($cat.icon_ts)}
16              <span title="{$cat.icon_ts.TITLE}" class="button id_recent_cat{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}">&nbsp;</span>
17            {/if}
18        </h3>
19        <div class="text">
20          {if isset($cat.INFO_DATES) }
21          <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
22          {/if}
23          <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
24          {if not empty($cat.DESCRIPTION)}
25          <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
26          {/if}
27        </div>
28      </div>
29      <div class='fixHeight'></div>
30    </div>
31  </li>
32  {/foreach}
33</ul>
34
35<!-- **GBL** <MAINPAGE_CATEGORIES< -->
Note: See TracBrowser for help on using the repository browser.