From c9efc7e0bf4db8a8e8381afdfa5a182300e25ae8 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 26 Sep 2008 01:40:05 +0000 Subject: - put the privacy level change select last in the table, added title attribute for the rating stars git-svn-id: http://piwigo.org/svn/trunk@2594 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/picture.tpl | 81 ++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 40 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index e86e24ee9..756434c4a 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -153,45 +153,20 @@ y.callService( {'Visits'|@translate} {$INFO_VISITS} - {if isset($available_permission_levels) } - - {'Privacy level'|@translate}: - - - - - {/if} - {if isset($rate_summary) } - - {'Average rate'|@translate} - - {if $rate_summary.count} - {assign var='rate_text' value='%.2f (rated %d times, standard deviation = %.2f)'|@translate } - {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count, $rate_summary.std) } - {else} - {'no_rate'|@translate} - {/if} - - - {/if} +{if isset($rate_summary) } + + {'Average rate'|@translate} + + {if $rate_summary.count} + {assign var='rate_text' value='%.2f (rated %d times, standard deviation = %.2f)'|@translate } + {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count, $rate_summary.std) } + {else} + {'no_rate'|@translate} + {/if} + + +{/if} {if isset($rating)} @@ -204,9 +179,9 @@ y.callService( {foreach from=$rating.marks item=mark name=rate_loop} {if !$smarty.foreach.rate_loop.first} | {/if} {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} - + {else} - + {/if} {/foreach} @@ -221,6 +196,32 @@ y.callService( {/if} +{if isset($available_permission_levels) } + + {'Privacy level'|@translate}: + + + + +{/if} + {if isset($metadata)} -- cgit v1.2.3