From a84dfe716ba6130f3dc0f9ecc6fec80b7fdacb38 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Sun, 11 Aug 2019 05:21:36 +0200 Subject: [ticket/16129] Enhance attachment's ALT tag PHPBB3-16129 --- phpBB/styles/prosilver/template/attachment.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/styles/prosilver/template/attachment.html') diff --git a/phpBB/styles/prosilver/template/attachment.html b/phpBB/styles/prosilver/template/attachment.html index 0978d9189e..143afdba6b 100644 --- a/phpBB/styles/prosilver/template/attachment.html +++ b/phpBB/styles/prosilver/template/attachment.html @@ -8,14 +8,14 @@
-
{_file.DOWNLOAD_NAME}
+
{% if _file.COMMENT %}{{ _file.COMMENT }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}
{_file.COMMENT}
-
{_file.DOWNLOAD_NAME}
+
{% if _file.COMMENT %}{{ _file.COMMENT }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}
{_file.COMMENT}
{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}
-- cgit v1.2.1