Changeset 16501 for extensions/flop_style/thumbnails/jPolaroid.tpl
- Timestamp:
- Jul 8, 2012, 5:45:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flop_style/thumbnails/jPolaroid.tpl
r16393 r16501 2 2 {combine_css path="template-extension/flop_style/mainpage_categories/jPolaroid/jpolaroid.minified.css"} 3 3 {combine_script id="jquery.jpolaroid.minified" load="header" path="template-extension/flop_style/mainpage_categories/jPolaroid/jquery.jpolaroid.min.js"} 4 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} 5 {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} 4 6 {html_head} 5 7 {literal} … … 32 34 {if !empty($thumbnails)} 33 35 {strip}{foreach from=$thumbnails item=thumbnail} 36 {assign var=derivative value=$pwg->derivative($derivative_jPolaroid, $thumbnail.src_image)} 34 37 <li> 35 36 <img src="{$pwg->derivative_url($derivative_jPolaroid, $thumbnail.src_image)}"class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" >37 38 <a href="{$thumbnail.URL}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|truncate:11:" [...]"|@replace:'"':' '}{/if}"> 39 <img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax-loader-big.gif" data-src="{$derivative->get_url()}"{/if} class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" > 40 </a> 38 41 </li> 39 42 {/foreach}{/strip}
Note: See TracChangeset
for help on using the changeset viewer.