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 | |
---|
16 | {if !empty($cat.icon_ts)} |
---|
17 | <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> |
---|
18 | {/if} |
---|
19 | </h3> |
---|
20 | <div class="text"> |
---|
21 | {if isset($cat.INFO_DATES) } |
---|
22 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
23 | {/if} |
---|
24 | <p class="Nb_images">{if (strpos($cat.NAME,'<!--hide-counters-->') == 0)}{$cat.CAPTION_NB_IMAGES}{else}{'Auto categorie'|@translate}{/if}</p> |
---|
25 | {if not empty($cat.DESCRIPTION)} |
---|
26 | <p>{$cat.DESCRIPTION}</p> |
---|
27 | {/if} |
---|
28 | </div> |
---|
29 | </div> |
---|
30 | </div> |
---|
31 | </li> |
---|
32 | {/foreach} |
---|
33 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.