From 3b82c8cb10f46aaca26b7cdec3226d461f06e86b Mon Sep 17 00:00:00 2001 From: mrgoldy Date: Mon, 9 Mar 2020 22:04:20 +0100 Subject: [PATCH] [ticket/16388] Add online_list_before template events PHPBB3-16388 --- phpBB/docs/events.md | 14 ++++++++++++++ .../styles/prosilver/template/viewforum_body.html | 2 ++ .../styles/prosilver/template/viewtopic_body.html | 2 ++ 3 files changed, 18 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 03ebb3c6dd..f5cfebe5b4 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2758,6 +2758,13 @@ viewforum_body_last_post_author_username_prepend * Since: 3.2.4-RC1 * Purpose: Prepend information to last post author username of member +viewforum_body_online_list_before +=== +* Locations: + + styles/prosilver/template/viewforum_body.html +* Since: 3.2.10-RC1 +* Purpose: Add content before the online users list + viewforum_body_topic_author_username_append === * Locations: @@ -2915,6 +2922,13 @@ viewtopic_body_footer_before * Purpose: Add content to the bottom of the View topic screen below the posts and quick reply, directly before the jumpbox in Prosilver. +viewtopic_body_online_list_before +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html +* Since: 3.2.10-RC1 +* Purpose: Add content before the online users list + viewtopic_body_pagination_top_after === * Locations: diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index 40beb784d7..da46f4c7fc 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -298,6 +298,8 @@ +{% EVENT viewforum_body_online_list_before %} +

{L_WHO_IS_ONLINE}

diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 3a771d35d0..f35387297e 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -442,6 +442,8 @@ +{% EVENT viewtopic_body_online_list_before %} +