Line | |
---|
1 | {define_derivative name='derivative_params' width=80 height=80 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 | {if isset($cat.INFO_DATES) } |
---|
10 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
11 | {/if} |
---|
12 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
13 | {if not empty($cat.DESCRIPTION)} |
---|
14 | <p>{$cat.DESCRIPTION}</p> |
---|
15 | {/if} |
---|
16 | </a> |
---|
17 | </li> |
---|
18 | {/foreach} |
---|
19 | </ul> |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.