Changeset 17858 for extensions/stripped_black_bloc/template/thumbnails.tpl
- Timestamp:
- Sep 11, 2012, 2:59:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/template/thumbnails.tpl
r17844 r17858 15 15 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big, $thumbnail.src_image)} 16 16 {assign var=TN_CLASS value='twocol'} 17 {elseif (($thumbnail.width < $thumbnail.height) and $stripped_black_bloc. portrait_limitation=="yes")}17 {elseif (($thumbnail.width < $thumbnail.height) and $stripped_black_bloc.orientation_option=="max_heigth")} 18 18 {if $thumbnail.TN_CLASS=="twocol" and $thumbnail.width>$stripped_black_bloc.thumbnail_width+$stripped_black_bloc.column_width} 19 19 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big_vert, $thumbnail.src_image)} … … 21 21 {else} 22 22 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_vert, $thumbnail.src_image)} 23 {assign var=TN_CLASS value='onecol'} 24 {/if} 25 {elseif $stripped_black_bloc.orientation_option=="big_landscape"} 26 {if ($thumbnail.TN_CLASS=="twocol" or $thumbnail.width > $thumbnail.height) and ($thumbnail.width>$stripped_black_bloc.thumbnail_width+$stripped_black_bloc.column_width)} 27 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big, $thumbnail.src_image)} 28 {assign var=TN_CLASS value='twocol'} 29 {else} 30 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc, $thumbnail.src_image)} 23 31 {assign var=TN_CLASS value='onecol'} 24 32 {/if}
Note: See TracChangeset
for help on using the changeset viewer.