aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-08-22 08:10:27 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-08-22 08:10:27 +0200
commit697ccd41c40cf5f9edffd73186f02b2b943a27a2 (patch)
tree893600d0b356b13c27b9a6cfb71acc14fcfa275a /phpBB/styles/prosilver
parent6c98b01ad1216f89695dbf2cc59d985e53544751 (diff)
parent6a7978965d0a2dd820bf21e13ee6206473c0cf5e (diff)
downloadforums-697ccd41c40cf5f9edffd73186f02b2b943a27a2.tar
forums-697ccd41c40cf5f9edffd73186f02b2b943a27a2.tar.gz
forums-697ccd41c40cf5f9edffd73186f02b2b943a27a2.tar.bz2
forums-697ccd41c40cf5f9edffd73186f02b2b943a27a2.tar.xz
forums-697ccd41c40cf5f9edffd73186f02b2b943a27a2.zip
Merge pull request #3804 from rxu/ticket/14065
[ticket/14065] Add template events to attachment.html
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/attachment.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/styles/prosilver/template/attachment.html b/phpBB/styles/prosilver/template/attachment.html
index c227e710b1..4546f53d6c 100644
--- a/phpBB/styles/prosilver/template/attachment.html
+++ b/phpBB/styles/prosilver/template/attachment.html
@@ -1,8 +1,10 @@
+<!-- EVENT attachment_file_before -->
<!-- BEGIN _file -->
<!-- IF _file.S_DENIED -->
<p>[{_file.DENIED_MESSAGE}]</p>
<!-- ELSE -->
+ <!-- EVENT attachment_file_prepend -->
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
@@ -11,7 +13,6 @@
</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>
@@ -28,8 +29,6 @@
</dl>
<!-- ENDIF -->
-
-
<!-- IF _file.S_WM_FILE -->
<!-- method used here from http://alistapart.com/articles/byebyeembed / autosizing seems to not work always, this will not fix -->
<object width="320" height="285" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="wmstream_{_file.ATTACH_ID}">
@@ -118,5 +117,7 @@
<a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</p>
<!-- ENDIF -->
+ <!-- EVENT attachment_file_append -->
<!-- ENDIF -->
<!-- END _file -->
+<!-- EVENT attachment_file_after -->