source: extensions/PwgCarbon_dft/template/picture_content.tpl @ 22016

Last change on this file since 22016 was 18803, checked in by Miklfe, 12 years ago
File size: 1.2 KB
Line 
1<div id="imgContent">
2       
3
4        <img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage"  title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}">
5
6       
7
8{if $DISPLAY_NAV_THUMB}
9        <div class="navThumbs">
10               
11                        <a class="navThumb" id="thumbPrevHov" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
12                {if isset($previous)}
13                <img class="linkPrev" src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE}">
14               
15                        </a>
16                {/if}
17                {if isset($next)}
18                        <a class="navThumb" id="thumbNextHov" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
19                                <img class="linkNext" src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE}">
20                        </a>
21                {/if}
22        </div>
23
24{else}
25        <div id="imgHoverNav">
26                {if isset($previous)}
27                <a id="imgPrevHov" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" alt="{$previous.TITLE}">
28                </a>
29                {/if}
30
31                {if isset($next)}
32                <a id="imgNextHov" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" alt="{$next.TITLE}">
33                </a>
34                {/if}
35        </div>
36
37{/if}
38
39</div>
Note: See TracBrowser for help on using the repository browser.