Changeset 18905 for extensions/Slim/template
- Timestamp:
- Nov 3, 2012, 7:30:12 PM (12 years ago)
- Location:
- extensions/Slim/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Slim/template/mainpage_categories.tpl
r18811 r18905 1 {define_derivative name='carousel' width='300' height='300' min_width='300'} 2 3 4 {html_style} 5 .jcarousel-skin-cat .jcarousel-list li{ldelim} 6 min-width:{$carousel->max_width()}px; 7 {/html_style} 8 9 1 10 <div id="carouselcat"> 2 11 … … 7 16 8 17 9 <li >18 <li class="test"> 10 19 <div class="illustration"> 11 20 <a href="{$cat.URL}"> 12 <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}" min-width="{$derivative_params->max_width()}" height="{$derivative_params->max_height()-22}"/>21 <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}"/> 13 22 </a> 14 23 </div> -
extensions/Slim/template/thumbnails.tpl
r18811 r18905 1 {define_derivative name='carousel' width='300' height='300' min_width='300'} 1 2 {php} 2 3 global $page, $template; … … 18 19 <div class="illustration"> 19 20 <a href="{$cat.URL}"> 20 <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}" min-width="{$derivative_params->max_width()}" height="{$derivative_params->max_height()}"/>21 <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()}"/> 21 22 </a> 22 23 </div> … … 36 37 37 38 {foreach from=$thumbnails item=thumbnail} 38 {assign var=derivative value=$pwg->derivative($ derivative_params, $thumbnail.src_image)}39 {assign var=derivative value=$pwg->derivative($carousel, $thumbnail.src_image)} 39 40 <li> 40 41 <div class="iIllustration"> 41 42 <a href="{if ($Slim.style_slim)!=3}{$thumbnail.path}" class="lytebox" rev="slide:true group:name showNavigation:true navType:1 slideInterval:6000"{else}{$thumbnail.URL}"{/if} title="{$thumbnail.NAME|strip_tags:false|replace:'\'':'''|replace:'"':'"'}"> 42 <img class="thumbnail" src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" min-width="{$derivative_params->max_width()}" height="{$derivative_params->max_height()}"/>43 <img class="thumbnail" src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" height="{$carousel->max_height()}"/> 43 44 44 45 {if $SHOW_THUMBNAIL_CAPTION }
Note: See TracChangeset
for help on using the changeset viewer.