|
@@ 4712-4716 (lines=5) @@
|
| 4709 |
|
// OFFICIAL CODE |
| 4710 |
|
$field_list_array['official_code']['name'] = get_lang('OfficialCode'); |
| 4711 |
|
|
| 4712 |
|
if (api_get_setting('profile', 'officialcode') != 'true') { |
| 4713 |
|
$field_list_array['official_code']['visibility'] = 1; |
| 4714 |
|
} else { |
| 4715 |
|
$field_list_array['official_code']['visibility'] = 0; |
| 4716 |
|
} |
| 4717 |
|
|
| 4718 |
|
// EMAIL |
| 4719 |
|
$field_list_array['email']['name'] = get_lang('Email'); |
|
@@ 4720-4724 (lines=5) @@
|
| 4717 |
|
|
| 4718 |
|
// EMAIL |
| 4719 |
|
$field_list_array['email']['name'] = get_lang('Email'); |
| 4720 |
|
if (api_get_setting('profile', 'email') != 'true') { |
| 4721 |
|
$field_list_array['email']['visibility'] = 1; |
| 4722 |
|
} else { |
| 4723 |
|
$field_list_array['email']['visibility'] = 0; |
| 4724 |
|
} |
| 4725 |
|
|
| 4726 |
|
// PHONE |
| 4727 |
|
$field_list_array['phone']['name'] = get_lang('Phone'); |
|
@@ 4728-4732 (lines=5) @@
|
| 4725 |
|
|
| 4726 |
|
// PHONE |
| 4727 |
|
$field_list_array['phone']['name'] = get_lang('Phone'); |
| 4728 |
|
if (api_get_setting('profile', 'phone') != 'true') { |
| 4729 |
|
$field_list_array['phone']['visibility'] = 0; |
| 4730 |
|
} else { |
| 4731 |
|
$field_list_array['phone']['visibility'] = 1; |
| 4732 |
|
} |
| 4733 |
|
// LANGUAGE |
| 4734 |
|
$field_list_array['language']['name'] = get_lang('Language'); |
| 4735 |
|
if (api_get_setting('profile', 'language') != 'true') { |
|
@@ 4735-4739 (lines=5) @@
|
| 4732 |
|
} |
| 4733 |
|
// LANGUAGE |
| 4734 |
|
$field_list_array['language']['name'] = get_lang('Language'); |
| 4735 |
|
if (api_get_setting('profile', 'language') != 'true') { |
| 4736 |
|
$field_list_array['language']['visibility'] = 0; |
| 4737 |
|
} else { |
| 4738 |
|
$field_list_array['language']['visibility'] = 1; |
| 4739 |
|
} |
| 4740 |
|
|
| 4741 |
|
// EXTRA FIELDS |
| 4742 |
|
$extra = UserManager::get_extra_fields(0, 50, 5, 'ASC'); |