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

Revision 11778, 1.4 KB checked in by Zaphod, 8 years ago (diff)

version 1.4.1

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($high)}
17                        {if isset($pwghigh)}<a href="{$high.U_HIGH}" rel="shadowbox" class="hd_link">&nbsp;</a>{/if}
18                        {if isset($winhigh)}<div onclick="openDisplayHigh('{$high.U_HIGH}');" class="hd_link">&nbsp;</div>{/if}
19                {/if}
20                {if isset($previous)}
21                        <a href="{$previous.U_IMG}" class="img_nav img_prev">&nbsp;</a>
22                {/if}
23                {if isset($next)}
24                        <a href="{$next.U_IMG}" class="img_nav img_next">&nbsp;</a>
25                {/if}
26                <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}">
27        {else}
28        {if isset($pwghigh)}<a href="{$high.U_HIGH}" rel="shadowbox">{/if}
29                <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}
30                        {if isset($high)}
31                                title="{'Click on the photo to see it in high definition'|@translate}"
32                        {/if}>
33                {if isset($pwghigh)}</a>{/if}
34        {/if}
35</div>
Note: See TracBrowser for help on using the repository browser.