diff options
author | 2006-06-13 21:06:29 +0000 | |
---|---|---|
committer | 2006-06-13 21:06:29 +0000 | |
commit | 1aac08acc0df55fb5c323d91ae9c1f3d8c29535d (patch) | |
tree | fd54bd12b4deb05526fe49559cc0e6c07b497ac5 /phpBB/includes/functions_profile_fields.php | |
parent | Only create a session if on doesn't exist. In theory, checking for the presen... (diff) | |
download | phpbb-1aac08acc0df55fb5c323d91ae9c1f3d8c29535d.tar.gz phpbb-1aac08acc0df55fb5c323d91ae9c1f3d8c29535d.tar.bz2 phpbb-1aac08acc0df55fb5c323d91ae9c1f3d8c29535d.zip |
make sure custom profile fields are created correctly on registration (#2225)
git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r-- | phpBB/includes/functions_profile_fields.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index dfc72b54c4..10a1b899c7 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -9,8 +9,8 @@ */ /** -* @package phpBB3 * Custom Profile Fields +* @package phpBB3 */ class custom_profile { @@ -21,7 +21,7 @@ class custom_profile /** * Assign editable fields to template, mode can be profile (for profile change) or register (for registration) * Called by ucp_profile and ucp_register - * @public + * @access: public */ function generate_profile_fields($mode, $lang_id) { @@ -74,7 +74,7 @@ class custom_profile /** * Validate entered profile field data - * @public + * @access: public */ function validate_profile_field($field_type, &$field_value, $field_data) { @@ -174,7 +174,7 @@ class custom_profile /** * Build profile cache, used for display - * @private + * @access: private */ function build_cache() { @@ -236,7 +236,7 @@ class custom_profile /** * Submit profile field - * @public + * @access: public */ function submit_cp_field($mode, $lang_id, &$cp_data, &$cp_error) { @@ -328,7 +328,7 @@ class custom_profile /** * Assign fields to template, used for viewprofile, viewtopic and memberlist (if load setting is enabled) * This is directly connected to the user -> mode == grab is to grab the user specific fields, mode == show is for assigning the row to the template - * @public + * @access: public */ function generate_profile_fields_template($mode, $user_id = 0, $profile_row = false) { @@ -515,7 +515,7 @@ class custom_profile /** * Get field value for registration/profile - * @private + * @access: private */ function get_var($field_validation, &$profile_row, $default_value, $preview) { @@ -570,7 +570,7 @@ class custom_profile /** * Process int-type - * @private + * @access: private */ function generate_int($profile_row, $preview = false) { @@ -582,7 +582,7 @@ class custom_profile /** * Process date-type - * @private + * @access: private */ function generate_date($profile_row, $preview = false) { @@ -641,7 +641,7 @@ class custom_profile /** * Process bool-type - * @private + * @access: private */ function generate_bool($profile_row, $preview = false) { @@ -672,7 +672,7 @@ class custom_profile /** * Process string-type - * @private + * @access: private */ function generate_string($profile_row, $preview = false) { @@ -684,7 +684,7 @@ class custom_profile /** * Process text-type - * @private + * @access: private */ function generate_text($profile_row, $preview = false) { @@ -701,7 +701,7 @@ class custom_profile /** * Process dropdown-type - * @private + * @access: private */ function generate_dropdown($profile_row, $preview = false) { @@ -730,7 +730,7 @@ class custom_profile /** * Return Templated value/field. Possible values for $mode are: * change == user is able to set/enter profile values; preview == just show the value - * @private + * @access: private */ function process_field_row($mode, $profile_row) { @@ -793,7 +793,7 @@ class custom_profile /** * Get profile field value on submit - * @private + * @access: private */ function get_profile_field($profile_row) { @@ -863,8 +863,8 @@ class custom_profile } /** -* @package phpBB3 * Custom Profile Fields ACP +* @package phpBB3 */ class custom_profile_admin extends custom_profile { |