- {# 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 %}