Changeset 14687 for extensions/stripped/template/picture_content.tpl
- Timestamp:
- May 2, 2012, 10:18:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/template/picture_content.tpl
r14481 r14687 4 4 $this->assign( 'stripped', $stripped ); 5 5 {/php} 6 {if isset($U_ORIGINAL)} 6 {if ($stripped.hdSize == 'original')} 7 {if isset($U_ORIGINAL)} 8 {assign var='displayHD' value=true} 9 {assign var='HD_url' value=$U_ORIGINAL} 10 {/if} 11 {else} 12 {assign var='displayHD' value=true} 13 {assign var='HDderivative' value=$pwg->derivative($stripped.hdSize, $current.src_image)} 14 {assign var='HD_url' value=$HDderivative->get_url()} 15 {/if} 16 {if isset($displayHD)} 7 17 {if ($HDShadowbox_loaded)} 8 18 {assign var='pwghigh' value=true} … … 12 22 {/if} 13 23 <div id="theImg" {if ($stripped.imageFrame)}class="img_frame"{/if}> 14 {if isset($ U_ORIGINAL)}15 {if isset($pwghigh)}<a href="{$ U_ORIGINAL}" rel="shadowbox" class="hd_link"> </a>{/if}16 {if isset($winhigh)}<div onclick="openDisplayHigh('{$ U_ORIGINAL}');" class="hd_link"> </div>{/if}17 {if ($stripped.imagePreloadHD)}<div class="preload" style="display:none;">{$ U_ORIGINAL}</div>{/if}24 {if isset($displayHD)} 25 {if isset($pwghigh)}<a href="{$HD_url}" rel="shadowbox" class="hd_link"> </a>{/if} 26 {if isset($winhigh)}<div onclick="openDisplayHigh('{$HD_url}');" class="hd_link"> </div>{/if} 27 {if ($stripped.imagePreloadHD)}<div class="preload" style="display:none;">{$HD_url}</div>{/if} 18 28 {/if} 19 29 {if ($stripped.imageArrows) } … … 28 38 {/if} 29 39 {/if} 30 {define_derivative name='derivative_stripped_pict' type='xlarge'} 31 {assign var=derivative value=$pwg->derivative($derivative_stripped_pict, $current.src_image)} 40 {assign var=derivative value=$pwg->derivative($stripped.imageSize, $current.src_image)} 32 41 <img src="{$derivative->get_url()}" {$derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" class="hideTabs"> 33 42 </div>
Note: See TracChangeset
for help on using the changeset viewer.