From 2bb08f853ea6ed60987f9886cd72eaa74ebd6c44 Mon Sep 17 00:00:00 2001 From: kasimi Date: Sun, 21 Jul 2019 10:23:44 +0200 Subject: [PATCH 1/2] [ticket/16107] Add mcp_move_destination_forum_before|after PHPBB3-16107 --- phpBB/docs/events.md | 14 ++++++++++++++ phpBB/styles/prosilver/template/mcp_move.html | 2 ++ 2 files changed, 16 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index c77691a048..aa38ea6a50 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -988,6 +988,20 @@ mcp_move_before * Since: 3.1.10-RC1 * Purpose: Add content before move topic/post form +mcp_move_destination_forum_after +=== +* Locations: + + styles/prosilver/template/mcp_move.html +* Since: 3.2.8-RC1 +* Purpose: Add content after the destination select element in the move topic/post form + +mcp_move_destination_forum_before +=== +* Locations: + + styles/prosilver/template/mcp_move.html +* Since: 3.2.8-RC1 +* Purpose: Add content before the destination select element in the move topic/post form + mcp_post_additional_options === * Locations: diff --git a/phpBB/styles/prosilver/template/mcp_move.html b/phpBB/styles/prosilver/template/mcp_move.html index 45a9ae83bc..d2ad71b241 100644 --- a/phpBB/styles/prosilver/template/mcp_move.html +++ b/phpBB/styles/prosilver/template/mcp_move.html @@ -43,12 +43,14 @@

{ADDITIONAL_MSG}

+
+
 
{MESSAGE_TEXT}
From 1a00b4a5658fa98fa86f9c596387c23dcc63408d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 27 Jul 2019 16:02:01 +0200 Subject: [PATCH 2/2] [ticket/16107] Use twig syntax for event PHPBB3-16107 --- phpBB/styles/prosilver/template/mcp_move.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/template/mcp_move.html b/phpBB/styles/prosilver/template/mcp_move.html index d2ad71b241..63197ef274 100644 --- a/phpBB/styles/prosilver/template/mcp_move.html +++ b/phpBB/styles/prosilver/template/mcp_move.html @@ -43,14 +43,14 @@

{ADDITIONAL_MSG}

- + {% EVENT mcp_move_destination_forum_before %}
- + {% EVENT mcp_move_destination_forum_after %}
 
{MESSAGE_TEXT}