Line | |
---|
1 | {php} |
---|
2 | global $pwg_loaded_plugins, $conf, $stripped; |
---|
3 | $this->assign('HDShadowbox_loaded', isset($pwg_loaded_plugins[ 'HDShadowbox' ])); |
---|
4 | $this->assign( 'stripped', $stripped ); |
---|
5 | {/php} |
---|
6 | {if isset($U_ORIGINAL)} |
---|
7 | {if ($HDShadowbox_loaded)} |
---|
8 | {assign var='pwghigh' value=true} |
---|
9 | {else} |
---|
10 | {assign var='winhigh' value=true} |
---|
11 | {/if} |
---|
12 | {/if} |
---|
13 | <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} |
---|
18 | {/if} |
---|
19 | {if ($stripped.imageArrows) } |
---|
20 | <!-- {if isset($U_UP)} |
---|
21 | <a href="{$U_UP}" class="cat_up"> </a> |
---|
22 | {/if}--> |
---|
23 | {if isset($previous)} |
---|
24 | <a href="{$previous.U_IMG}" class="img_nav img_prev"> </a> |
---|
25 | {/if} |
---|
26 | {if isset($next)} |
---|
27 | <a href="{$next.U_IMG}" class="img_nav img_next"> </a> |
---|
28 | {/if} |
---|
29 | {/if} |
---|
30 | {define_derivative name='derivative_stripped_pict' type='xlarge'} |
---|
31 | {assign var=derivative value=$pwg->derivative($derivative_stripped_pict, $current.src_image)} |
---|
32 | <img src="{$derivative->get_url()}" {$derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" class="hideTabs"> |
---|
33 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.