diff --git a/phpBB/adm/style/acp_attachments.html b/phpBB/adm/style/acp_attachments.html index 9da12234ab..bc6380ff9d 100644 --- a/phpBB/adm/style/acp_attachments.html +++ b/phpBB/adm/style/acp_attachments.html @@ -421,26 +421,25 @@ - + {% for attachments in attachments %} - {# File info of attachments in private messages is hidden #} - {attachments.REAL_FILENAME}
- {L_EXTENSION_GROUP}{L_COLON} {attachments.EXT_GROUP_NAME}{L_NO_EXT_GROUP}
- - {attachments.L_DOWNLOAD_COUNT}
- - {L_IN} {L_PRIVATE_MESSAGE} - {attachments.COMMENT}
- - {L_TOPIC}{L_COLON} {attachments.TOPIC_TITLE} - + {{ lang('EXTENSION_GROUP') ~ lang('COLON') }} {% if attachments.EXT_GROUP_NAME %}{{ attachments.EXT_GROUP_NAME }}{% else %}{{ lang('NO_EXT_GROUP') }}{% endif %} + {% if attachments.S_IN_MESSAGE %} +
{{ attachments.L_DOWNLOAD_COUNT }} +
{{ lang('IN') }} {{ lang('PRIVATE_MESSAGE') }} + {% else %} +
{{ attachments.REAL_FILENAME }} + {% if attachments.COMMENT %}
{{ attachments.COMMENT }}{% endif %} +
{{ attachments.L_DOWNLOAD_COUNT }} +
{{ lang('TOPIC') ~ lang('COLON') }} {{ attachments.TOPIC_TITLE }} + {% endif %} - {attachments.FILETIME}
{L_POST_BY_AUTHOR} {attachments.ATTACHMENT_POSTER} - {attachments.FILESIZE} - + {{ attachments.FILETIME }}
{{ lang('POST_BY_AUTHOR') }} {{ attachments.ATTACHMENT_POSTER }} + {{ attachments.FILESIZE }} + - + {% endfor %}