mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 11:13:02 +02:00
New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata synchronization. Bug fixed: in getAttribute XML function, when asking "filesize", it was returning high_filesize. The regex was too simple. git-svn-id: http://piwigo.org/svn/trunk@1883 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -262,6 +262,18 @@ $template->assign_vars(
|
||||
)
|
||||
);
|
||||
|
||||
if ($row['has_high'] == 'true')
|
||||
{
|
||||
$template->assign_block_vars(
|
||||
'high',
|
||||
array(
|
||||
'FILESIZE' => isset($row['high_filesize'])
|
||||
? $row['high_filesize'].' KB'
|
||||
: l10n('unknown'),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// creation date
|
||||
unset($day, $month, $year);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user