Last change
on this file since 13918 was
12920,
checked in by rvelices, 13 years ago
|
feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
|
-
Property svn:eol-style set to
LF
|
File size:
1.2 KB
|
Line | |
---|
1 | {strip}{html_style} |
---|
2 | .thumbnailCategory DIV.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} |
---|
12 | <li> |
---|
13 | <div class="thumbnailCategory"> |
---|
14 | <div class="illustration"> |
---|
15 | <a href="{$cat.URL}"> |
---|
16 | <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}"> |
---|
17 | </a> |
---|
18 | </div> |
---|
19 | <div class="description"> |
---|
20 | <h3> |
---|
21 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
22 | {if !empty($cat.icon_ts)} |
---|
23 | <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="(!)"> |
---|
24 | {/if} |
---|
25 | </h3> |
---|
26 | <div class="text"> |
---|
27 | {if isset($cat.INFO_DATES) } |
---|
28 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
29 | {/if} |
---|
30 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
31 | {if not empty($cat.DESCRIPTION)} |
---|
32 | <p>{$cat.DESCRIPTION}</p> |
---|
33 | {/if} |
---|
34 | </div> |
---|
35 | </div> |
---|
36 | </div> |
---|
37 | </li> |
---|
38 | {/foreach} |
---|
39 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.