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
This commit is contained in:
mistic100 2011-11-12 12:45:19 +00:00
parent 7f28ff8de0
commit 0fbc085f52
5 changed files with 12 additions and 6 deletions

View file

@ -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

View file

@ -67,6 +67,11 @@ pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#da
</tr>
{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>

View file

@ -328,6 +328,7 @@ $lang['Hide'] = "Hide";
$lang['High definition enabled'] = "High definition enabled";
$lang['High definition'] = "High definition";
$lang['High filesize'] = "High resolution filesize";
$lang['High dimensions'] = 'High resolution dimensions';
$lang['high'] = "high";
$lang['History'] = "History";
$lang['Hit'] = "Hit";

View file

@ -466,6 +466,7 @@ $lang['Hour'] = "Heure";
$lang['guest'] = "invité";
$lang['default values'] = "valeurs par défaut";
$lang['High filesize'] = "Taille du fichier haute résolution";
$lang['High dimensions'] = 'Dimensions du fichier haute résolution';
$lang['Guest cannot be deleted'] = "L'invité ne peut pas être supprimé";
$lang['Default user cannot be deleted'] = "L'utilisateur par défaut ne peut pas être supprimé";
$lang['Purge history detail'] = "Purger le détail de l'historique";

View file

@ -459,6 +459,7 @@ $lang['Hour'] = "Heure";
$lang['guest'] = "invité";
$lang['default values'] = "valeurs par défaut";
$lang['High filesize'] = "Taille du fichier haute résolution";
$lang['High dimensions'] = 'Dimensions du fichier haute résolution';
$lang['Guest cannot be deleted'] = "L'invité ne peut pas être supprimé";
$lang['Default user cannot be deleted'] = "L'utilisateur par défaut ne peut pas être supprimé";
$lang['Purge history detail'] = "Purger le détail de l'historique";