Changeset 23715 for trunk/themes
- Timestamp:
- Jun 30, 2013, 9:41:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/smartpocket/template/thumbnails.tpl
r23713 r23715 9 9 {foreach from=$thumbnails item=thumbnail}{strip} 10 10 {assign var=derivative value=$pwg->derivative($thumbnail_derivative_params, $thumbnail.src_image)} 11 {if isset($page_selection[$thumbnail.id]) }11 {if isset($page_selection[$thumbnail.id]) and !isset($thumbnail.representative_ext)} 12 12 <li> 13 13 <a href="{$pwg->derivative_url($picture_derivative_params, $thumbnail.src_image)}" data-picture-url="{$thumbnail.URL}" rel="external"> 14 <img {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}"> 15 </a> 16 </li> 17 {elseif isset($thumbnail.representative_ext)} 18 <li> 19 <a href="{$thumbnail.URL}" target="_blank" onClick="window.location='{$thumbnail.URL}'"> 14 20 <img {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}"> 15 21 </a>
Note: See TracChangeset
for help on using the changeset viewer.