source: trunk/themes/smartpocket/template/mainpage_categories.tpl @ 13472

Last change on this file since 13472 was 13472, checked in by patdenice, 12 years ago

Multisize and mobile theme.
Use ajax loader for thumbnails in mobile theme.
Use standard square parameters for mobile theme.
Change square parameters to 120px.

File size: 405 bytes
Line 
1{define_derivative name='derivative_params_square' type='square'}
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_square, $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.