mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 23:41:29 +02:00
[ticket/11915] Provide the attachment file size to the template.
PHPBB3-11915
This commit is contained in:
@@ -862,6 +862,7 @@ function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_a
|
||||
'ATTACH_ID' => $attach_row['attach_id'],
|
||||
'S_IS_ORPHAN' => $attach_row['is_orphan'],
|
||||
'ASSOC_INDEX' => $count,
|
||||
'FILESIZE' => get_formatted_filesize($attach_row['filesize']),
|
||||
|
||||
'U_VIEW_ATTACHMENT' => $download_link,
|
||||
'S_HIDDEN' => $hidden)
|
||||
|
Reference in New Issue
Block a user