source: branches/2.4/themes/default/template/picture_content.tpl @ 16930

Last change on this file since 16930 was 16930, checked in by flop25, 12 years ago

revert bug:2684 on tpl files

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1<img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}">
2
3{foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip}
4<map name="map{$derivative->get_type()}">
5{assign var='size' value=$derivative->get_size()}
6{if isset($previous)}
7<area shape=rect coords="0,0,{$size[0]/4|@intval},{$size[1]}" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" alt="{$previous.TITLE}">
8{/if}
9<area shape=rect coords="{$size[0]/4|@intval},0,{$size[0]/1.34|@intval},{$size[1]/4|@intval}" href="{$U_UP}" title="{'Thumbnails'|@translate}" alt="{'Thumbnails'|@translate}">
10{if isset($next)}
11<area shape=rect coords="{$size[0]/1.33|@intval},0,{$size[0]},{$size[1]}" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" alt="{$next.TITLE}">
12{/if}
13</map>
14{/strip}{/foreach}
Note: See TracBrowser for help on using the repository browser.