aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-11-12 12:45:19 +0000
committermistic100 <mistic@piwigo.org>2011-11-12 12:45:19 +0000
commit0fbc085f52bb2921f2272b1d5f20372d55ffde48 (patch)
tree11e4c927881ed1500a3f1e5a51fd904aaa357ef9 /admin/picture_modify.php
parent7f28ff8de0110ad9f095ecc57d437e561de2cfbe (diff)
feature:2466 Display high-definition dimensions in picture_modify
(file size was already displayed) git-svn-id: http://piwigo.org/svn/trunk@12612 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/picture_modify.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index fb39a16a6..daf17939f 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -312,12 +312,10 @@ $template->assign(
if ($row['has_high'] == 'true')
{
- $template->assign(
- 'HIGH_FILESIZE',
- isset($row['high_filesize'])
- ? $row['high_filesize'].' KB'
- : l10n('unknown')
- );
+ $template->assign(array(
+ 'HIGH_FILESIZE' => isset($row['high_filesize']) ? $row['high_filesize'].' KB' : l10n('unknown'),
+ 'HIGH_DIMENSIONS' => isset($row['high_width']) ? $row['high_width'].' * '.$row['high_height'] : l10n('unknown'),
+ ));
}
// image level options