From 34717c1391166b847e4236cb3e519dfd7b0cbbd1 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 5 Jan 2012 22:06:21 +0000 Subject: feature 2548 multisize - improved picture.php display (original...) + code cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture_content.tpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'themes/default') diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl index 6fc743a02..47dcd5560 100644 --- a/themes/default/template/picture_content.tpl +++ b/themes/default/template/picture_content.tpl @@ -2,7 +2,7 @@ {if isset($COMMENT_IMG)} title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" {/if}> -{if count($current.available_derivative_types)>1} +{if count($current.unique_derivatives)>1} {footer_script}{literal} function changeImgSrc(url,type,display) { @@ -34,8 +34,11 @@ function toggleDerivativeSwitchBox() {/literal}{/footer_script} {$current.selected_derivative->get_type()|@translate} {/if} \ No newline at end of file -- cgit v1.2.3