[branches 2.1] - add average_rate for thumbnail template // rename RAGE -> RATE

git-svn-id: http://piwigo.org/svn/branches/2.1@8252 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
ddtddt 2010-12-23 13:37:33 +00:00
parent 134acbb724
commit 3c0301d199

View file

@ -123,7 +123,7 @@ foreach ($pictures as $row)
'FILE_SIZE' => $row['filesize'],
'FILE_WIDTH' => $row['width'],
'FILE_HEIGHT' => $row['height'],
'FILE_RAGE' => $row['average_rate'],
'FILE_RATE' => $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 */