From 7434783b0733cebc6b57d1dfd884da24e7bf9bc1 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 3 Jan 2023 08:24:07 -0800 Subject: [PATCH] [ticket/17075] Add template events to ACP footers after $SCRIPT PHPBB3-17075 --- phpBB/adm/style/overall_footer.html | 2 ++ phpBB/adm/style/simple_footer.html | 2 ++ phpBB/docs/events.md | 12 ++++++++++++ 3 files changed, 16 insertions(+) diff --git a/phpBB/adm/style/overall_footer.html b/phpBB/adm/style/overall_footer.html index c528ca13b4..713925188e 100644 --- a/phpBB/adm/style/overall_footer.html +++ b/phpBB/adm/style/overall_footer.html @@ -42,5 +42,7 @@ {$SCRIPTS} +{% EVENT acp_overall_footer_body_after %} + diff --git a/phpBB/adm/style/simple_footer.html b/phpBB/adm/style/simple_footer.html index 83eb932252..9416207b0a 100644 --- a/phpBB/adm/style/simple_footer.html +++ b/phpBB/adm/style/simple_footer.html @@ -23,5 +23,7 @@ {$SCRIPTS} +{% EVENT acp_simple_footer_body_after %} + diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6ae18433e3..c4cb7a18b0 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -274,6 +274,12 @@ acp_overall_footer_after * Since: 3.1.0-a1 * Purpose: Add content below the footer in the ACP +acp_overall_footer_body_after +=== +* Location: adm/style/overall_footer.html +* Since: 3.3.10-RC1 +* Purpose: Add content before the `` tag but after the $SCRIPTS var, i.e. after the js scripts have been loaded + acp_overall_header_body_before === * Location: adm/style/overall_header.html @@ -558,6 +564,12 @@ acp_simple_footer_after * Since: 3.1.0-a1 * Purpose: Add content below the simple footer in the ACP +acp_simple_footer_body_after +=== +* Location: adm/style/simple_footer.html +* Since: 3.3.10-RC1 +* Purpose: Add content before the `` tag but after the $SCRIPTS var, i.e. after the js scripts have been loaded + acp_simple_header_body_before === * Location: adm/style/simple_header.html