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

Revision 12153, 1.6 KB checked in by Zaphod, 8 years ago (diff)

version 1.5.0

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