aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2010-12-23 13:17:05 +0000
committerddtddt <ddtddt@piwigo.org>2010-12-23 13:17:05 +0000
commit134acbb724e7899e10149f00ed0a5d92358a06ba (patch)
tree791afa6967dd6621f22a8b89ec3c14a5c6cd5e90 /include
parenteb9f4c2aa6485c9401bf3fce6c638d29ae84c531 (diff)
[branches 2.1] - add average_rate for thumbnail template
git-svn-id: http://piwigo.org/svn/branches/2.1@8251 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/category_default.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 5f7fe5382..fcc3d0b22 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -123,6 +123,7 @@ foreach ($pictures as $row)
'FILE_SIZE' => $row['filesize'],
'FILE_WIDTH' => $row['width'],
'FILE_HEIGHT' => $row['height'],
+ 'FILE_RAGE' => $row['average_rate'],
'FILE_METADATE' => $row['date_metadata_update'],
'FILE_HAS_HD' => ($row['has_high'] and $user['enabled_high']=='true') ?
true:false, /* lack of include/functions_picture.inc.php */