Line | |
---|
1 | {strip}{html_style} |
---|
2 | .thumbnailCategory .illustration{ldelim} |
---|
3 | width: {$derivative_params->max_width()+5}px; |
---|
4 | } |
---|
5 | |
---|
6 | .content .thumbnailCategory .description{ldelim} |
---|
7 | height: {$derivative_params->max_height()+5}px; |
---|
8 | } |
---|
9 | {/html_style}{/strip} |
---|
10 | <ul class="thumbnailCategories"> |
---|
11 | {foreach from=$category_thumbnails item=cat name=cat_loop} |
---|
12 | <li> |
---|
13 | <div class="illustration"> |
---|
14 | <a href="{$cat.URL}"> |
---|
15 | <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> |
---|
16 | </a> |
---|
17 | </div> |
---|
18 | <div class="description"> |
---|
19 | <h3> |
---|
20 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
21 | {if !empty($cat.icon_ts)} |
---|
22 | <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)"> |
---|
23 | {/if} |
---|
24 | </h3> |
---|
25 | {if isset($cat.INFO_DATES) } |
---|
26 | <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p> |
---|
27 | {/if} |
---|
28 | <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p> |
---|
29 | {if not empty($cat.DESCRIPTION)} |
---|
30 | <p class="thumbCatDesc">{$cat.DESCRIPTION}</p> |
---|
31 | {/if} |
---|
32 | </div> |
---|
33 | </li> |
---|
34 | {/foreach} |
---|
35 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.