aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/attachment.html
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-08-13 18:46:31 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-08-13 18:46:31 +0200
commitda6be75a18896481caea7fda6582a9a6b9502e0a (patch)
tree93d7641760b1a80fb7825d987b0b00fa797eec7c /phpBB/styles/prosilver/template/attachment.html
parentfffcb2a6afd3176453183dcb420a559b26f529b7 (diff)
parenta4436fb54d6b3f18d183bf919d873459eb54a9e2 (diff)
downloadforums-da6be75a18896481caea7fda6582a9a6b9502e0a.tar
forums-da6be75a18896481caea7fda6582a9a6b9502e0a.tar.gz
forums-da6be75a18896481caea7fda6582a9a6b9502e0a.tar.bz2
forums-da6be75a18896481caea7fda6582a9a6b9502e0a.tar.xz
forums-da6be75a18896481caea7fda6582a9a6b9502e0a.zip
Merge branch '3.2.x' into 3.3.x
Diffstat (limited to 'phpBB/styles/prosilver/template/attachment.html')
-rw-r--r--phpBB/styles/prosilver/template/attachment.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/attachment.html b/phpBB/styles/prosilver/template/attachment.html
index 49c49f52a0..45b9dc2145 100644
--- a/phpBB/styles/prosilver/template/attachment.html
+++ b/phpBB/styles/prosilver/template/attachment.html
@@ -8,14 +8,14 @@
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
- <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
+ <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
</dl>
<!-- ENDIF -->
<!-- IF _file.S_IMAGE -->
<dl class="file">
- <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
+ <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" onclick="viewableArea(this);" /></dt>
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
</dl>