- Timestamp:
- Sep 10, 2012, 4:58:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/template/mainpage_categories.tpl
r17828 r17843 10 10 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_wide, $cat.representative.src_image)} 11 11 {assign var='size' value=$derivative->get_size()} 12 <div class="bloc _bigalbum">12 <div class="bloc twocol album"> 13 13 <a href="{$cat.URL}" style="background: url({$derivative->get_url()}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" > 14 14 {$cat.NAME} … … 18 18 {else} 19 19 {if $cat.representative.width < $cat.representative.height and $stripped_black_bloc.catthumb=="yes"} 20 {if $cat.TN_CLASS==" bloc_big" and $stripped_black_bloc.catthumb=="same"}20 {if $cat.TN_CLASS=="twocol" and $stripped_black_bloc.catthumb=="same"} 21 21 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big_vert, $cat.representative.src_image)} 22 22 {elseif $stripped_black_bloc.catthumb=="all"} … … 26 26 {/if} 27 27 {else} 28 {if $cat.TN_CLASS==" bloc_big" and $stripped_black_bloc.catthumb=="same"}28 {if $cat.TN_CLASS=="twocol" and $stripped_black_bloc.catthumb=="same"} 29 29 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big, $cat.representative.src_image)} 30 30 {elseif $stripped_black_bloc.catthumb=="all"} … … 35 35 {/if} 36 36 {assign var='size' value=$derivative->get_size()} 37 <div class=" {if $stripped_black_bloc.catthumb=="all"}bloc_big{else}{$cat.TN_CLASS}{/if} album">37 <div class="bloc {if $stripped_black_bloc.catthumb=="all"}twocol{else}{$cat.TN_CLASS}{/if} album"> 38 38 <a href="{$cat.URL}" style="background: url({$derivative->get_url()}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" > 39 39 {$cat.NAME}
Note: See TracChangeset
for help on using the changeset viewer.