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

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

version 1.5.0 update

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