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()-22}"/> |
---|
11 | </a> |
---|
12 | </div> |
---|
13 | <div class="CatMPdescription"> |
---|
14 | <h3> |
---|
15 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
16 | </h3> |
---|
17 | <div> |
---|
18 | {$cat.CAPTION_NB_IMAGES} |
---|
19 | </div> |
---|
20 | </div> |
---|
21 | </li> |
---|
22 | {/foreach} |
---|
23 | </ul> |
---|
24 | </div> |
---|
25 | </div> |
---|
26 | <a href="#" class="jcarousel-control-prev">‹</a> |
---|
27 | <a href="#" class="jcarousel-control-next">›</a> |
---|
28 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.