diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/picture_modify.php | 10 | ||||
-rw-r--r-- | admin/themes/default/template/picture_modify.tpl | 5 |
2 files changed, 9 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 diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl index 3832d60fb..807ff7a57 100644 --- a/admin/themes/default/template/picture_modify.tpl +++ b/admin/themes/default/template/picture_modify.tpl @@ -68,6 +68,11 @@ pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#da {if isset($HIGH_FILESIZE) } <tr> + <td><strong>{'High dimensions'|@translate}</strong></td> + <td>{$HIGH_DIMENSIONS}</td> + </tr> + + <tr> <td><strong>{'High filesize'|@translate}</strong></td> <td>{$HIGH_FILESIZE}</td> </tr> |