1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 00:02:18 +02:00

[ticket/15915] Add template events to posting_attach_body.html

PHPBB3-15915
This commit is contained in:
rxu 2018-12-20 01:21:07 +07:00
parent f9c251c7af
commit f07ce4f7b5
No known key found for this signature in database
GPG Key ID: 955F0567380E586A
2 changed files with 48 additions and 0 deletions

View File

@ -1693,6 +1693,34 @@ overall_header_stylesheets_after
* Purpose: Add asset calls after stylesheets within the `</head>` tag.
Note that INCLUDECSS will not work with this event.
posting_attach_body_attach_row_after
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.6-RC1
* Purpose: Add content after attachment row in the file list
posting_attach_body_attach_row_before
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.6-RC1
* Purpose: Add content before attachment row in the file list
posting_attach_body_attach_row_append
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.6-RC1
* Purpose: Add content appending the attachment row in the file list
posting_attach_body_attach_row_prepend
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.6-RC1
* Purpose: Add content prepending attachment row in the file list
posting_attach_body_attach_row_controls_append
===
* Locations:
@ -1707,6 +1735,20 @@ posting_attach_body_attach_row_controls_prepend
* Since: 3.2.2-RC1
* Purpose: Add content before attachment control elements
posting_attach_body_file_list_after
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.6-RC1
* Purpose: Add content after attachments list
posting_attach_body_file_list_before
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.6-RC1
* Purpose: Add content before attachments list
posting_editor_add_panel_tab
===
* Locations:

View File

@ -21,6 +21,7 @@
<input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" />
</div>
<!-- EVENT posting_attach_body_file_list_before -->
<div class="panel<!-- IF not .attach_row --> hidden<!-- ENDIF --> file-list-container" id="file-list-container">
<div class="inner">
<table class="table1 zebra-list fixed-width-table">
@ -55,7 +56,9 @@
<span class="file-status"></span>
</td>
</tr>
<!-- EVENT posting_attach_body_attach_row_before -->
<!-- BEGIN attach_row -->
<!-- EVENT posting_attach_body_attach_row_prepend -->
<tr class="attach-row" data-attach-id="{attach_row.ATTACH_ID}">
<td class="attach-name">
<span class="file-name ellipsis-text"><a href="{attach_row.U_VIEW_ATTACHMENT}">{attach_row.FILENAME}</a></span>
@ -78,10 +81,13 @@
<span class="file-status file-uploaded"></span>
</td>
</tr>
<!-- EVENT posting_attach_body_attach_row_append -->
<!-- END attach_row -->
<!-- EVENT posting_attach_body_attach_row_after -->
</tbody>
</table>
</div>
</div>
<!-- EVENT posting_attach_body_file_list_after -->
</div>
</div>