Line | |
---|
1 | {php} |
---|
2 | global $stripped; |
---|
3 | $this->assign( 'stripped', $stripped ); |
---|
4 | {/php} |
---|
5 | <ul class="thumbnailCategories"> |
---|
6 | {foreach from=$category_thumbnails item=cat name=catloop} |
---|
7 | <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}" {if ($stripped.albumFrame)}onclick="window.location='{$cat.URL}';"{/if}> |
---|
8 | <div class="thumbnailCategory"> |
---|
9 | <div class="illustration"> |
---|
10 | <a href="{$cat.URL}"> |
---|
11 | <img src="{$pwg->derivative_url($stripped.albumSize, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> |
---|
12 | </a> |
---|
13 | </div> |
---|
14 | <div class="description"> |
---|
15 | <h3> |
---|
16 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
17 | {if !empty($cat.icon_ts)} |
---|
18 | <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="(!)"> |
---|
19 | {/if} |
---|
20 | </h3> |
---|
21 | <div class="text" {if !$stripped.albumFrame}onclick="window.location='{$cat.URL}';"{/if}> |
---|
22 | {if isset($cat.INFO_DATES) } |
---|
23 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
24 | {/if} |
---|
25 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
26 | {if not empty($cat.DESCRIPTION)} |
---|
27 | <p>{$cat.DESCRIPTION}</p> |
---|
28 | {/if} |
---|
29 | </div> |
---|
30 | </div> |
---|
31 | </div> |
---|
32 | </li> |
---|
33 | {/foreach} |
---|
34 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.