From 28255b81a0789cf9129a3024c0df50b80cfd0cce Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 16 Apr 2012 03:11:43 +0000 Subject: "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 --- themes/default/template/picture_content.tpl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'themes/default/template/picture_content.tpl') 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 @@ -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}> +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} - + {assign var='size' value=$derivative->get_size()} {if isset($previous)} {$previous.TITLE} @@ -14,4 +11,4 @@ {$next.TITLE} {/if} -{/strip}{/foreach} +{/strip}{/foreach} \ No newline at end of file -- cgit v1.2.3