diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-04-16 03:11:43 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-04-16 03:11:43 +0000 |
commit | 28255b81a0789cf9129a3024c0df50b80cfd0cce (patch) | |
tree | da64be29eeda9dc937651483aefbb1410203ea06 /themes/default/template/picture_content.tpl | |
parent | c63d6a36e7a510089dfbb80fb359ac1c9ed4a77c (diff) |
"home url" is not always absolute with host name + html compaction - through removal of unused attributes, some white spaces ...
git-svn-id: http://piwigo.org/svn/trunk@14180 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/picture_content.tpl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl index abf3766c6..d0fb1e178 100644 --- a/themes/default/template/picture_content.tpl +++ b/themes/default/template/picture_content.tpl @@ -1,10 +1,7 @@ -<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()}" -{if isset($COMMENT_IMG)} - title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" -{/if}> +<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}"> {foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip} -<map name="map{$derivative->get_type()}" id="map{$derivative->get_type()}"> +<map name="map{$derivative->get_type()}"> {assign var='size' value=$derivative->get_size()} {if isset($previous)} <area shape=rect coords="0,0,{$size[0]/4|@intval},{$size[1]}" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" alt="{$previous.TITLE}"> @@ -14,4 +11,4 @@ <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}"> {/if} </map> -{/strip}{/foreach} +{/strip}{/foreach}
\ No newline at end of file |