aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/mainpage_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/mainpage_categories.tpl')
-rw-r--r--template/yoga/mainpage_categories.tpl29
1 files changed, 14 insertions, 15 deletions
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
index dcf589b51..b28c619fb 100644
--- a/template/yoga/mainpage_categories.tpl
+++ b/template/yoga/mainpage_categories.tpl
@@ -1,28 +1,27 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- BEGIN categories -->
-<!-- $Id$ -->
+{* $Id$ *}
+
<ul class="thumbnailCategories">
- <!-- BEGIN category -->
+ {foreach from=$category_thumbnails item=cat}
<li>
<div class="thumbnailCategory">
<div class="illustration">
- <a href="{categories.category.URL}">
- <img src="{categories.category.SRC}" alt="{categories.category.ALT}" title="{categories.category.TITLE}">
+ <a href="{$cat.URL}">
+ <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" title="{'hint_category'|@translate}">
</a>
</div>
<div class="description">
<h3>
- <a href="{categories.category.URL}">{categories.category.NAME}</a>
- {categories.category.ICON}
+ <a href="{$cat.URL}">{$cat.NAME}</a>
+ {$cat.ICON}
</h3>
- <!-- BEGIN dates -->
- <p>{categories.category.dates.INFO}</p>
- <!-- END dates -->
- <p>{categories.category.CAPTION_NB_IMAGES}&nbsp;</p>
- <p>{categories.category.DESCRIPTION}&nbsp;</p>
+ {if isset($cat.INFO_DATES) }
+ <p>{$cat.INFO_DATES}</p>
+ {/if}
+ <p>{$cat.CAPTION_NB_IMAGES}</p>
+ <p>{$cat.DESCRIPTION}</p>
</div>
</div>
</li>
- <!-- END category -->
+ {/foreach}
</ul>
-<!-- END categories -->
+