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

Last change on this file since 9274 was 7989, checked in by Zaphod, 14 years ago

[extension] stripped - first release

File size: 693 bytes
Line 
1{php}
2        global $pwg_loaded_plugins;
3        $this->assign('HDShadowbox_loaded', isset($pwg_loaded_plugins[ 'HDShadowbox' ]));
4{/php}
5{if isset($high)}
6        {if ($HDShadowbox_loaded)}
7                {assign var='pwghigh' value=true}
8        {else}
9                {assign var='winhigh' value=true}
10        {/if}
11{/if}
12<div id="theImg" {if isset($winhigh) }onclick="openDisplayHigh('{$high.U_HIGH}');" class="pointer"{/if}>
13        {if isset($pwghigh)}<a href="{$high.U_HIGH}" rel="shadowbox">{/if}
14        <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
15                {if isset($high)}
16                        title="{'Click on the picture to see it in high definition'|@translate}"
17                {/if}>
18        {if isset($pwghigh)}</a>{/if}
19</div>
Note: See TracBrowser for help on using the repository browser.