From 766ecaed5a12bd01dfcd9b54f97ead8141739d1e Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 16 May 2024 11:55:24 +0100 Subject: [PATCH 1/2] [ticket/17315] Add template events to acp_groups PHPBB3-17315 --- phpBB/adm/style/acp_groups.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/adm/style/acp_groups.html b/phpBB/adm/style/acp_groups.html index 8651b63b7f..b91f91f12e 100644 --- a/phpBB/adm/style/acp_groups.html +++ b/phpBB/adm/style/acp_groups.html @@ -225,6 +225,7 @@
{L_ADD_USERS} + {% EVENT acp_groups_add_user_form_before %}
@@ -235,11 +236,13 @@
+ {% EVENT acp_groups_add_user_form_during %}

{L_USERNAMES_EXPLAIN}
[ {L_FIND_USERNAME} ]
+ {% EVENT acp_groups_add_user_form_after %}

From b2d2216b8741128cfa48a5af8540af0cd04c1535 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 16 May 2024 16:43:24 +0200 Subject: [PATCH 2/2] [ticket/17315] Rename events and add them to events.md PHPBB3-17315 --- phpBB/adm/style/acp_groups.html | 6 +++--- phpBB/docs/events.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/phpBB/adm/style/acp_groups.html b/phpBB/adm/style/acp_groups.html index b91f91f12e..0df24bb175 100644 --- a/phpBB/adm/style/acp_groups.html +++ b/phpBB/adm/style/acp_groups.html @@ -225,7 +225,7 @@

{L_ADD_USERS} - {% EVENT acp_groups_add_user_form_before %} + {% EVENT acp_groups_add_user_options_before %}
@@ -236,13 +236,13 @@
- {% EVENT acp_groups_add_user_form_during %} + {% EVENT acp_groups_add_user_usernames_before %}

{L_USERNAMES_EXPLAIN}
[ {L_FIND_USERNAME} ]
- {% EVENT acp_groups_add_user_form_after %} + {% EVENT acp_groups_add_user_options_after %}

diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index d05cb876fd..48a6c22630 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -184,6 +184,24 @@ acp_group_types_prepend * Since: 3.2.9-RC1 * Purpose: Add additional group type options to group settings (prepend the list) +acp_groups_add_user_options_after +=== +* Location: adm/style/acp_groups.html +* Since: 3.3.13-RC1 +* Purpose: Add content after options for adding user to group in the ACP + +acp_groups_add_user_options_before +=== +* Location: adm/style/acp_groups.html +* Since: 3.3.13-RC1 +* Purpose: Add content before options for adding user to group in the ACP + +acp_groups_add_user_usernames_before +=== +* Location: adm/style/acp_groups.html +* Since: 3.3.13-RC1 +* Purpose: Add content before usernames option for adding user to group in the ACP + acp_groups_find_username_append === * Location: adm/style/acp_groups.html