mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 19:23:01 +02:00
Issue #1044 : Design fixes
This commit is contained in:
@@ -282,13 +282,17 @@ while ($user_row = pwg_db_fetch_assoc($result))
|
||||
$row['added_by'] = $user_row['username'];
|
||||
}
|
||||
|
||||
$extTab = explode('.',$row['file']);
|
||||
|
||||
$intro_vars = array(
|
||||
'file' => l10n('Original file : %s', $row['file']),
|
||||
'add_date' => l10n('Posted %s on %s', time_since($row['date_available'], 'year'), format_date($row['date_available'], array('day', 'month', 'year'))),
|
||||
'file' => l10n('%s', $row['file']),
|
||||
'date' => l10n('Posted the %s', format_date($row['date_available'], array('day', 'month', 'year'))),
|
||||
'age' => l10n(ucfirst(time_since($row['date_available'], 'year'))),
|
||||
'added_by' => l10n('Added by %s', $row['added_by']),
|
||||
'size' => $row['width'].'×'.$row['height'].' pixels, '.sprintf('%.2f', $row['filesize']/1024).'MB',
|
||||
'stats' => l10n('Visited %d times', $row['hit']),
|
||||
'id' => l10n('Numeric identifier : %d', $row['id']),
|
||||
'id' => l10n($row['id']),
|
||||
'ext' => l10n('%s file type',strtoupper(end($extTab)))
|
||||
);
|
||||
|
||||
if ($conf['rate'] and !empty($row['rating_score']))
|
||||
|
||||
Reference in New Issue
Block a user