source:
trunk/themes/smartpocket/template/mainpage_categories.tpl
@
13235
Last change on this file since 13235 was 13235, checked in by , 12 years ago | |
---|---|
File size: 408 bytes |
Line | |
---|---|
1 | {define_derivative name='derivative_params' width=120 height=120 crop=true} |
2 | |
3 | <ul data-role="listview" data-inset="true"> |
4 | {foreach from=$category_thumbnails item=cat} |
5 | <li> |
6 | <a href="{$cat.URL}"> |
7 | <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}"> |
8 | <h3>{$cat.NAME}</h3> |
9 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
10 | </a> |
11 | </li> |
12 | {/foreach} |
13 | </ul> |
14 |
Note: See TracBrowser
for help on using the repository browser.