source: extensions/sobre/template/mainpage_categories.tpl @ 6302

Last change on this file since 6302 was 6302, checked in by Gotcha, 14 years ago

Daily MAJ

File size: 942 bytes
Line 
1{* $Id: mainpage_categories.tpl 2010-04-03 Par Gotcha pour son thème "Sobre" $ *}
2
3<ul class="thumbnailCategories">
4{foreach from=$category_thumbnails item=cat}
5        <li>
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:'"':' '} - {'shows images at the root of this 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="dates">{$cat.INFO_DATES}</p>
20                                {/if}
21                                <p class="Nb_images">{if (strpos($cat.NAME,'<!--hide-counters-->') == 0)}{$cat.CAPTION_NB_IMAGES}{else}{'Auto categorie'|@translate}{/if}</p>
22                                {if not empty($cat.DESCRIPTION)}
23                                <p>{$cat.DESCRIPTION}</p>
24                                {/if}
25                </div>
26                        </div>
27                </div>
28        </li>
29{/foreach}
30</ul>
Note: See TracBrowser for help on using the repository browser.