diff options
author | plegall <plg@piwigo.org> | 2007-03-09 16:28:49 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2007-03-09 16:28:49 +0000 |
commit | b0478ef330b8f729554aec55baa81d9e3d02a063 (patch) | |
tree | 2be4688f02ba35fe2297f2b7d7de03e8f9eaf5e2 /admin/picture_modify.php | |
parent | 81030a7ab40a481d6d8c93539162a4a035ea09d1 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | admin/picture_modify.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 0dd6a237b..052b03330 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -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); |