aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-02-10 17:02:54 +0000
committermistic100 <mistic@piwigo.org>2012-02-10 17:02:54 +0000
commitb82ddfb655145a59feee7ce3e7cefa6c6a2c3084 (patch)
tree222fe093aa816df672fe140a0ef55f2bbc75aaa8 /admin/picture_modify.php
parent69a704f13875cfbc1c090239d9d54d871f2ff8f7 (diff)
feature 2564: small changes in infos list
git-svn-id: http://piwigo.org/svn/trunk@13086 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/picture_modify.php')
-rw-r--r--admin/picture_modify.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 4de5f00e8..db8e08aae 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -301,9 +301,10 @@ while ($user_row = pwg_db_fetch_assoc($result))
$intro_vars = array(
'file' => sprintf(l10n('Original file : %s'), $row['file']),
- 'added' => sprintf(l10n('Posted %s on %s by %s'), time_since($row['date_available'], 'month'), format_date($row['date_available'], false, false), $row['added_by']),
+ 'add_date' => sprintf(l10n('Posted %s on %s'), time_since($row['date_available'], 'year'), format_date($row['date_available'], false, false)),
+ 'added_by' => sprintf(l10n('Added by %s'), $row['added_by']),
'size' => $row['width'].'&times;'.$row['height'].' pixels, '.sprintf('%.2f', $row['filesize']/1024).'MB',
- 'hits' => sprintf(l10n('%d visits'), $row['hit']),
+ 'stats' => sprintf(l10n('Visited %d times'), $row['hit']),
'id' => sprintf(l10n('Numeric identifier : %d'), $row['id']),
);
@@ -317,7 +318,7 @@ SELECT
;';
list($row['nb_rates']) = pwg_db_fetch_row(pwg_query($query));
- $intro_vars['rate'] = sprintf(l10n('Rated %d times, score : %f'), $row['nb_rates'], $row['rating_score']);
+ $intro_vars['stats'].= ', '.sprintf(l10n('Rated %d times, score : %.2f'), $row['nb_rates'], $row['rating_score']);
}
$template->assign('INTRO', $intro_vars);