diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-09-25 14:16:23 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2018-10-12 10:05:41 +0200 |
commit | d48ffde25d66c47186d89e9556a3b29e2c2390d0 (patch) | |
tree | 7d4315f53ef6a0a92955711cbf674d7bb91f5634 | |
parent | 001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff) | |
download | forums-d48ffde25d66c47186d89e9556a3b29e2c2390d0.tar forums-d48ffde25d66c47186d89e9556a3b29e2c2390d0.tar.gz forums-d48ffde25d66c47186d89e9556a3b29e2c2390d0.tar.bz2 forums-d48ffde25d66c47186d89e9556a3b29e2c2390d0.tar.xz forums-d48ffde25d66c47186d89e9556a3b29e2c2390d0.zip |
[ticket/15792] Add confirm_delete_body_delete_reason_before
PHPBB3-15792
-rw-r--r-- | phpBB/docs/events.md | 7 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/confirm_delete_body.html | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6672353296..28f9e82a69 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -652,6 +652,13 @@ attachment_file_prepend * Since: 3.1.6-RC1 * Purpose: Add custom attachment types displaying to the top of attachment block. +confirm_delete_body_delete_reason_before +=== +* Locations: + + styles/prosilver/template/confirm_delete_body.html +* Since: 3.2.4-RC1 +* Purpose: Add custom text to the confirmation of a post that is deleted. + forumlist_body_category_header_after === * Locations: diff --git a/phpBB/styles/prosilver/template/confirm_delete_body.html b/phpBB/styles/prosilver/template/confirm_delete_body.html index 98974963c0..637830a5bc 100644 --- a/phpBB/styles/prosilver/template/confirm_delete_body.html +++ b/phpBB/styles/prosilver/template/confirm_delete_body.html @@ -49,6 +49,8 @@ </dl> <!-- ENDIF --> + {% EVENT confirm_delete_body_delete_reason_before %} + <dl> <dt><label for="delete_reason">{L_DELETE_REASON}{L_COLON}</label><br /><span>{L_DELETE_REASON_EXPLAIN}</span></dt> <dd><input type="text" name="delete_reason" id="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" /></dd> |