From 4e4dc79e5162a7d1315b12e94153443552530b9e Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 25 Jul 2011 18:04:50 +0000 Subject: feature 2384: improve average rating calculation (still need to update language files) git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/configuration.tpl | 2 +- admin/themes/default/template/rating.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index 85574ed4b..9162cad18 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -415,7 +415,7 @@ jQuery(document).ready(function () {
  • diff --git a/admin/themes/default/template/rating.tpl b/admin/themes/default/template/rating.tpl index 0c001437a..a6d107a69 100644 --- a/admin/themes/default/template/rating.tpl +++ b/admin/themes/default/template/rating.tpl @@ -37,6 +37,7 @@ {'File'|@translate} {'Number of rates'|@translate} + {'Rating score'|@translate} {'Average rate'|@translate} {'Sum of rates'|@translate} {'Rate'|@translate} @@ -48,6 +49,7 @@ {$image.FILE} {$image.NB_RATES}/{$image.NB_RATES_TOTAL} + {$image.SCORE_RATE} {$image.AVG_RATE} {$image.SUM_RATE} -- cgit v1.2.3