1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #3804 from rxu/ticket/14065

[ticket/14065] Add template events to attachment.html
This commit is contained in:
Marc Alexander
2015-08-22 08:10:27 +02:00
3 changed files with 40 additions and 3 deletions

View File

@@ -1,9 +1,11 @@
<!-- EVENT attachment_file_before -->
<!-- BEGIN _file -->
<!-- IF _file.S_DENIED -->
<span class="genmed">[{_file.DENIED_MESSAGE}]</span><br />
<!-- ELSE -->
<!-- EVENT attachment_file_prepend -->
<!-- IF _file.COMMENT -->
<span class="gensmall"><b>{L_FILE_COMMENT}{L_COLON}</b> {_file.COMMENT}</span><br />
@@ -115,7 +117,9 @@
<span class="gensmall"><a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span>
<!-- ENDIF -->
<!-- EVENT attachment_file_append -->
<br />
<!-- ENDIF -->
<!-- END _file -->
<!-- EVENT attachment_file_after -->