mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.
git-svn-id: file:///svn/phpbb/trunk@6312 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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
|
||||
* @access: public
|
||||
* @access public
|
||||
*/
|
||||
function generate_profile_fields($mode, $lang_id)
|
||||
{
|
||||
@@ -74,7 +74,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Validate entered profile field data
|
||||
* @access: public
|
||||
* @access public
|
||||
*/
|
||||
function validate_profile_field($field_type, &$field_value, $field_data)
|
||||
{
|
||||
@@ -186,7 +186,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Build profile cache, used for display
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function build_cache()
|
||||
{
|
||||
@@ -248,7 +248,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Submit profile field
|
||||
* @access: public
|
||||
* @access public
|
||||
*/
|
||||
function submit_cp_field($mode, $lang_id, &$cp_data, &$cp_error)
|
||||
{
|
||||
@@ -340,7 +340,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
|
||||
* @access: public
|
||||
* @access public
|
||||
*/
|
||||
function generate_profile_fields_template($mode, $user_id = 0, $profile_row = false)
|
||||
{
|
||||
@@ -535,7 +535,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Get field value for registration/profile
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function get_var($field_validation, &$profile_row, $default_value, $preview)
|
||||
{
|
||||
@@ -590,7 +590,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Process int-type
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function generate_int($profile_row, $preview = false)
|
||||
{
|
||||
@@ -602,7 +602,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Process date-type
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function generate_date($profile_row, $preview = false)
|
||||
{
|
||||
@@ -661,7 +661,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Process bool-type
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function generate_bool($profile_row, $preview = false)
|
||||
{
|
||||
@@ -692,7 +692,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Process string-type
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function generate_string($profile_row, $preview = false)
|
||||
{
|
||||
@@ -704,7 +704,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Process text-type
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function generate_text($profile_row, $preview = false)
|
||||
{
|
||||
@@ -721,7 +721,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Process dropdown-type
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function generate_dropdown($profile_row, $preview = false)
|
||||
{
|
||||
@@ -750,7 +750,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
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function process_field_row($mode, $profile_row)
|
||||
{
|
||||
@@ -814,7 +814,7 @@ class custom_profile
|
||||
|
||||
/**
|
||||
* Get profile field value on submit
|
||||
* @access: private
|
||||
* @access private
|
||||
*/
|
||||
function get_profile_field($profile_row)
|
||||
{
|
||||
|
Reference in New Issue
Block a user