aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2015-06-27 12:45:56 +0200
committerjaviexin <javiexin@gmail.com>2015-06-27 12:45:56 +0200
commitd0cf674f3392b77bcb22ee1450e2336a39f00328 (patch)
tree91f5f2cca808181b92edd7fee75f997fcc8f81f9
parent9057f72fc7b523c0e9ae14c55d31e7159577bc99 (diff)
downloadforums-d0cf674f3392b77bcb22ee1450e2336a39f00328.tar
forums-d0cf674f3392b77bcb22ee1450e2336a39f00328.tar.gz
forums-d0cf674f3392b77bcb22ee1450e2336a39f00328.tar.bz2
forums-d0cf674f3392b77bcb22ee1450e2336a39f00328.tar.xz
forums-d0cf674f3392b77bcb22ee1450e2336a39f00328.zip
[ticket/13911] Add events to configure options for profile fields
Adds core events to includes/acp/acp_profile.php and template events to adm/style/acp_profile.html to support adding configuration options to profile fields. Fixed version number again. PHPBB3-13911
-rw-r--r--phpBB/docs/events.md2
-rw-r--r--phpBB/includes/acp/acp_profile.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 5b731cf5fa..357fa52e84 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -137,7 +137,7 @@ acp_profile_contact_before
===
* Locations:
+ adm/style/acp_profile.html
-* Since: 3.1.5-RC1
+* Since: 3.1.6-RC1
* Purpose: Add extra options to custom profile field configuration in the ACP
acp_ranks_edit_after
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 78f4e2b9b5..43668b8ad5 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -381,7 +381,7 @@ class acp_profile
* @var array field_row Array of data about the field
* @var array exclude Array of excluded fields by step
* @var array visibility_ary Array of fields that are visibility related
- * @since 3.1.5-RC1
+ * @since 3.1.6-RC1
*/
$vars = array(
'action',
@@ -683,7 +683,7 @@ class acp_profile
* @var array field_data Array of data about the field
* @var array s_hidden_fields Array of hidden fields in case this needs modification
* @var array options Array of options specific to this step
- * @since 3.1.5-RC1
+ * @since 3.1.6-RC1
*/
$vars = array(
'action',
@@ -914,7 +914,7 @@ class acp_profile
* @var string field_type Type of the field we are dealing with
* @var array field_data Array of data about the field
* @var array profile_fields Array of fields to be sent to the database
- * @since 3.1.5-RC1
+ * @since 3.1.6-RC1
*/
$vars = array(
'action',