Line | |
---|
1 | {define_derivative name='carousel' width='300' height='300' min_width='300'} |
---|
2 | <div id="carousel"> |
---|
3 | <div id="wrap"> |
---|
4 | <div class="jcarousel"> |
---|
5 | <ul> |
---|
6 | {foreach from=$category_thumbnails item=cat} |
---|
7 | <li> |
---|
8 | <div class="illustration"> |
---|
9 | <a href="{$cat.URL}"> |
---|
10 | <img src="{$pwg->derivative_url($carousel, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}" min-width="{$carousel->max_width()}" height="{$carousel->max_height()}"/> |
---|
11 | <div class="CatMPdescription"> |
---|
12 | <h3> |
---|
13 | {$cat.NAME} |
---|
14 | {if !empty($cat.icon_ts)} |
---|
15 | <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="(!)"> |
---|
16 | {/if} |
---|
17 | </h3> |
---|
18 | |
---|
19 | {if isset($cat.INFO_DATES) } |
---|
20 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
21 | {/if} |
---|
22 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
23 | {if not empty($cat.DESCRIPTION)} |
---|
24 | <p>{$cat.DESCRIPTION}</p> |
---|
25 | {/if} |
---|
26 | </div> |
---|
27 | </a> |
---|
28 | </div> |
---|
29 | </li> |
---|
30 | {/foreach} |
---|
31 | </ul> |
---|
32 | </div> |
---|
33 | </div> |
---|
34 | <a href="#" class="jcarousel-control-prev">‹</a> |
---|
35 | <a href="#" class="jcarousel-control-next">›</a> |
---|
36 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.