From 1d398ee2c3bde95c1bf2ed0408275d28d0f1faa7 Mon Sep 17 00:00:00 2001 From: G-T-I <71941325+G-T-I@users.noreply.github.com> Date: Sun, 27 Sep 2020 01:04:38 +0700 Subject: [PATCH] [ticket/16606] Add template events to ucp_pm_viewmessage.html PHPBB3-16606 --- phpBB/docs/events.md | 14 ++++++++++++++ .../prosilver/template/ucp_pm_viewmessage.html | 2 ++ 2 files changed, 16 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index d58cb07477..0a071bff7d 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2562,6 +2562,20 @@ ucp_pm_history_row_message_author_username_prepend * Since: 3.2.8-RC1 * Purpose: Prepend information to message author username of member +ucp_pm_viewmessage_author_full_after +=== +* Locations: + + styles/prosilver/template/ucp_pm_viewmessage.html +* Since: 3.3.3-RC1 +* Purpose: Add content right after the message author when viewing a private message + +ucp_pm_viewmessage_author_full_before +=== +* Locations: + + styles/prosilver/template/ucp_pm_viewmessage.html +* Since: 3.3.3-RC1 +* Purpose: Add content right before the message author when viewing a private message + ucp_pm_viewmessage_avatar_after === * Locations: diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index 7cb44a0189..503f6a0f48 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -32,7 +32,9 @@ {AUTHOR_AVATAR} + {% EVENT ucp_pm_viewmessage_author_full_before %} {MESSAGE_AUTHOR_FULL} + {% EVENT ucp_pm_viewmessage_author_full_after %}