mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-18 01:08:52 +00:00
[ticket/12332] Restore some changes back to original state
PHPBB3-12332
This commit is contained in:
parent
2b9b6412b8
commit
92fa39b79d
2 changed files with 2 additions and 2 deletions
|
@ -1058,7 +1058,7 @@ class acp_attachments
|
||||||
$template->assign_block_vars('orphan', array(
|
$template->assign_block_vars('orphan', array(
|
||||||
'FILESIZE' => get_formatted_filesize($row['filesize']),
|
'FILESIZE' => get_formatted_filesize($row['filesize']),
|
||||||
'FILETIME' => $user->format_date($row['filetime']),
|
'FILETIME' => $user->format_date($row['filetime']),
|
||||||
'REAL_FILENAME' => utf8_basename((string) $row['real_filename']),
|
'REAL_FILENAME' => utf8_basename($row['real_filename']),
|
||||||
'PHYSICAL_FILENAME' => utf8_basename($row['physical_filename']),
|
'PHYSICAL_FILENAME' => utf8_basename($row['physical_filename']),
|
||||||
'ATTACH_ID' => $row['attach_id'],
|
'ATTACH_ID' => $row['attach_id'],
|
||||||
'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$row['attach_id']] : '',
|
'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$row['attach_id']] : '',
|
||||||
|
|
|
@ -2082,7 +2082,7 @@ class acp_users
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_block_vars('attach', array(
|
$template->assign_block_vars('attach', array(
|
||||||
'REAL_FILENAME' => utf8_basename((string) $row['real_filename']),
|
'REAL_FILENAME' => $row['real_filename'],
|
||||||
'COMMENT' => nl2br($row['attach_comment']),
|
'COMMENT' => nl2br($row['attach_comment']),
|
||||||
'EXTENSION' => $row['extension'],
|
'EXTENSION' => $row['extension'],
|
||||||
'SIZE' => get_formatted_filesize($row['filesize']),
|
'SIZE' => get_formatted_filesize($row['filesize']),
|
||||||
|
|
Loading…
Add table
Reference in a new issue