From 89007db5050799927c54ab7bd5407c4e172d2760 Mon Sep 17 00:00:00 2001 From: lucifer4o Date: Thu, 13 Feb 2014 13:10:00 +0200 Subject: [PATCH 1/2] [ticket/12177] Add ucp_friend_list_before/after Add events before and after list of friends in UCP template PHPBB3-12177 --- phpBB/docs/events.md | 16 ++++++++++++++++ .../prosilver/template/ucp_zebra_friends.html | 2 ++ .../subsilver2/template/ucp_zebra_friends.html | 2 ++ 3 files changed, 20 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 7d507216ef..9c7e69cd22 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -398,6 +398,22 @@ ucp_prefs_view_select_menu_append * Purpose: Add options to the bottom of the drop-down lists block of the Edit Display Options screen +ucp_friend_list_before +=== +* Locations: + + styles/prosilver/template/ucp_zebra_friends.html + + styles/subsilver2/template/ucp_zebra_friends.html +* Since: 3.1.0-a3 +* Purpose: Add optional elements before list of friends in UCP + +ucp_friend_list_after +=== +* Locations: + + styles/prosilver/template/ucp_zebra_friends.html + + styles/subsilver2/template/ucp_zebra_friends.html +* Since: 3.1.0-a3 +* Purpose: Add optional elements after list of friends in UCP + viewtopic_print_head_append === * Locations: diff --git a/phpBB/styles/prosilver/template/ucp_zebra_friends.html b/phpBB/styles/prosilver/template/ucp_zebra_friends.html index 583b911284..fac0a18706 100644 --- a/phpBB/styles/prosilver/template/ucp_zebra_friends.html +++ b/phpBB/styles/prosilver/template/ucp_zebra_friends.html @@ -11,6 +11,7 @@

{ERROR}

+

{L_YOUR_FRIENDS_EXPLAIN}
@@ -21,6 +22,7 @@
+

{L_ADD_FRIENDS_EXPLAIN}
diff --git a/phpBB/styles/subsilver2/template/ucp_zebra_friends.html b/phpBB/styles/subsilver2/template/ucp_zebra_friends.html index 45280a35c5..3e18af9969 100644 --- a/phpBB/styles/subsilver2/template/ucp_zebra_friends.html +++ b/phpBB/styles/subsilver2/template/ucp_zebra_friends.html @@ -4,6 +4,7 @@ {L_TITLE} + {L_FRIENDS_EXPLAIN} @@ -16,6 +17,7 @@ {L_YOUR_FRIENDS}{L_COLON}
{L_YOUR_FRIENDS_EXPLAIN} {L_NO_FRIENDS} + {L_ADD_FRIENDS}{L_COLON}
{L_ADD_FRIENDS_EXPLAIN} [ {L_FIND_USERNAME} ]
From c20a313ab09dffc1b169188280e23e56cedc3370 Mon Sep 17 00:00:00 2001 From: lucifer4o Date: Thu, 13 Feb 2014 16:23:42 +0200 Subject: [PATCH 2/2] [ticket/12177] Add ucp_friend_list_before/after Add events before and after list of friends in UCP template Change Since part from a3 to a4 PHPBB3-12177 --- phpBB/docs/events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 9c7e69cd22..928259b9c6 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -403,7 +403,7 @@ ucp_friend_list_before * Locations: + styles/prosilver/template/ucp_zebra_friends.html + styles/subsilver2/template/ucp_zebra_friends.html -* Since: 3.1.0-a3 +* Since: 3.1.0-a4 * Purpose: Add optional elements before list of friends in UCP ucp_friend_list_after @@ -411,7 +411,7 @@ ucp_friend_list_after * Locations: + styles/prosilver/template/ucp_zebra_friends.html + styles/subsilver2/template/ucp_zebra_friends.html -* Since: 3.1.0-a3 +* Since: 3.1.0-a4 * Purpose: Add optional elements after list of friends in UCP viewtopic_print_head_append