source: extensions/floPure/mainpage_categories.tpl @ 3333

Revision 3333, 764 bytes checked in by flop25, 11 years ago (diff)

first commit

Line 
1
2
3<ul class="thumbnailCategories">
4  {foreach from=$category_thumbnails item=cat}
5  <li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" >
6    <div class="thumbnailCategory">
7      <div class="illustration">
8        <a href="{$cat.URL}">
9          <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" title="{'hint_category'|@translate}">
10        </a>
11      </div>
12      <div class="description">
13        <h3>
14          <a href="{$cat.URL}">{$cat.NAME|truncate:30:" [...]"}</a>
15          {$cat.ICON}
16        </h3>
17        {if isset($cat.INFO_DATES) }
18        <p>{$cat.INFO_DATES}</p>
19        {/if}
20        <p>{$cat.CAPTION_NB_IMAGES}</p>
21        <p class="cat_description">{$cat.DESCRIPTION}</p>
22      </div>
23    </div>
24  </li>
25  {/foreach}
26</ul>
27
Note: See TracBrowser for help on using the repository browser.