Changeset 16393 for extensions/flop_style/mainpage_categories/polaroid.tpl
- Timestamp:
- Jul 6, 2012, 4:32:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flop_style/mainpage_categories/polaroid.tpl
r9834 r16393 1 1 {combine_css path="template-extension/flop_style/mainpage_categories/polaroid.css"} 2 {html_style}{literal} 3 ul.polaroids a { 4 height:{/literal}{$derivative_params->max_height()+30}{literal}px; 5 } 6 ul.polaroids li 7 { 8 height:{/literal}{$derivative_params->max_height()+70}{literal}px; 9 } 10 {/literal}{/html_style} 2 11 12 {define_derivative name='derivative_polaroid' width=$derivative_params->max_width() height=$derivative_params->max_height() crop=true} 3 13 <ul class="polaroids"> 4 14 {foreach from=$category_thumbnails item=cat} 5 15 <li> 6 16 <a href="{$cat.URL}" title="{$cat.NAME|truncate:20:" [...]"|@replace:'"':' '}"> 7 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" >17 <img src="{$pwg->derivative_url($derivative_polaroid, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" > 8 18 </a> 9 19 </li>
Note: See TracChangeset
for help on using the changeset viewer.