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

Last change on this file since 8534 was 8534, checked in by grum, 13 years ago

New theme for gally's themes

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1
2<!-- **GBL** >MAINPAGE_CATEGORIES> -->
3
4<ul class="thumbnailCategories">
5  {foreach from=$category_thumbnails item=cat name=catloop}
6  <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}">
7    <div class="thumbnailCategory" onclick="window.location='{$cat.URL}';">
8      <div class="description">
9
10        <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
11
12        <h3>
13          {$cat.NAME}
14            {if !empty($cat.icon_ts)}
15            <span class="button {if $cat.icon_ts.IS_CHILD_DATE}id_recent_cat_by_child{else}id_recent_cat{/if}"></span>
16            {/if}
17        </h3>
18
19
20          <div class="illustration">
21            <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}">
22          </div>
23
24
25        <div class="text">
26
27          {if isset($cat.INFO_DATES) }
28          <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
29          {/if}
30
31          {if not empty($cat.DESCRIPTION)}
32          <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
33          {/if}
34        </div>
35
36
37      </div>
38
39
40    </div>
41  </li>
42  {/foreach}
43</ul>
44
45<!-- **GBL** <MAINPAGE_CATEGORIES< -->
Note: See TracBrowser for help on using the repository browser.