source: extensions/stripped/template/picture_content.tpl @ 11685

Last change on this file since 11685 was 9960, checked in by Zaphod, 14 years ago

[extension] stripped - version 1.3.0

File size: 1.1 KB
Line 
1{php}
2        global $pwg_loaded_plugins, $conf;
3        $this->assign('HDShadowbox_loaded', isset($pwg_loaded_plugins[ 'HDShadowbox' ]));
4        $config = unserialize( $conf['stripped'] );
5        $this->assign( 'stripped', $config );
6{/php}
7{if isset($high)}
8        {if ($HDShadowbox_loaded)}
9                {assign var='pwghigh' value=true}
10        {else}
11                {assign var='winhigh' value=true}
12        {/if}
13{/if}
14<div id="theImg" {if ($stripped.useNavigationArrows)}class="img_frame"{/if}>
15        {if ($stripped.useNavigationArrows) && ($DISPLAY_NAV_THUMB)}
16                {if isset($previous)}
17                        <a href="{$previous.U_IMG}" class="img_nav img_prev">&nbsp;</a>
18                {/if}
19                {if isset($next)}
20                        <a href="{$next.U_IMG}" class="img_nav img_next">&nbsp;</a>
21                {/if}
22        {/if}
23
24        {if isset($pwghigh)}<a href="{$high.U_HIGH}" rel="shadowbox">{/if}
25        <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" {if isset($winhigh) }onclick="openDisplayHigh('{$high.U_HIGH}');" class="pointer"{/if}
26                {if isset($high)}
27                        title="{'Click on the photo to see it in high definition'|@translate}"
28                {/if}>
29        {if isset($pwghigh)}</a>{/if}
30</div>
Note: See TracBrowser for help on using the repository browser.