aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/picture.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-31 14:34:21 +0000
committerplegall <plg@piwigo.org>2010-03-31 14:34:21 +0000
commit9f0034807aad2b0e09f11c3579aa9458cfb142c7 (patch)
treec5d896a68b13fece6a405a9f3a41e028abdcbb9f /themes/default/template/picture.tpl
parent66144706f1468fdcfe0c8ad7e5d99ead7aa69fac (diff)
feature 1559: remove "standard deviation" in rating.
git-svn-id: http://piwigo.org/svn/trunk@5500 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/picture.tpl')
-rw-r--r--themes/default/template/picture.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index 1676d2eaa..9ac9b430b 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -186,8 +186,8 @@ y.callService(
<td class="label">{'Average rate'|@translate}</td>
<td class="value" id="ratingSummary">
{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) }
+ {assign var='rate_text' value='%.2f (rated %d times)'|@translate }
+ {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count) }
{else}
{'no rate'|@translate}
{/if}
@@ -215,7 +215,7 @@ y.callService(
<script type="text/javascript">
makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id},
updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),
- ratingSummaryText: "{'%.2f (rated %d times, standard deviation = %.2f)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} );
+ ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} );
</script>
</div>
</form>