From 60d2a3389a40635fe3066c4122d00e4b10149bde Mon Sep 17 00:00:00 2001 From: rxu Date: Mon, 14 Apr 2014 01:07:13 +0800 Subject: [PATCH] [ticket/12403] Add template events to acp_users_prefs.html Since it is possible for extensions to add new user preferences to UCP, it should be also possible to control it via ACP too just like for build-in user preferences. Thus, some prepend/append template events are added. PHPBB3-12403 --- phpBB/adm/style/acp_users_prefs.html | 10 ++++-- phpBB/docs/events.md | 48 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/phpBB/adm/style/acp_users_prefs.html b/phpBB/adm/style/acp_users_prefs.html index 1092b25b04..0a59a9d64b 100644 --- a/phpBB/adm/style/acp_users_prefs.html +++ b/phpBB/adm/style/acp_users_prefs.html @@ -5,9 +5,10 @@
- +
{L_UCP_PREFS_PERSONAL} +
@@ -53,10 +54,12 @@
style="display:none;">
+
{L_UCP_PREFS_POST} +
@@ -77,10 +80,12 @@
+
{L_UCP_PREFS_VIEW} +
@@ -135,8 +140,9 @@
{S_POST_SORT_DIR}
+
- +
{S_FORM_TOKEN} diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6897c3f22e..628e7ac9e0 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -76,6 +76,54 @@ acp_users_overview_options_append * Since: 3.1.0-a1 * Purpose: Add options and settings on user overview page +acp_users_prefs_append +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the bottom of ACP users prefs settings + +acp_users_prefs_prepend +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the top of ACP users prefs settings + +acp_users_prefs_personal_append +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the bottom of ACP users personal prefs settings + +acp_users_prefs_personal_prepend +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the top of ACP users personal prefs settings + +acp_users_prefs_post_append +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the bottom of ACP users post prefs settings + +acp_users_prefs_post_prepend +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the top of ACP users post prefs settings + +acp_users_prefs_view_append +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the bottom of ACP users view prefs settings + +acp_users_prefs_view_prepend +=== +* Location: adm/style/acp_users_prefs.html +* Since: 3.1.0-b3 +* Purpose: Add user options fieldset to the top of ACP users view prefs settings + acp_users_signature_editor_buttons_after === * Locations: