public/main/auth/profile.php
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
$jquery_ready_content = '';
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['language'] = api_get_setting('platformLanguage');
- Exclude checks
Variable "id_temp_key" is not in valid camel caps format Open
Open
if (isset($array_list_key[$id_temp_key])) {
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('View my e-portfolio');
- Exclude checks
Variable "value_array" is not in valid camel caps format Open
Open
$value_array = $array_list_key[$id_temp_key];
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$_user = api_get_user_info();
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data = api_get_user_info(
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
$jquery_ready_content = <<<EOF
- Exclude checks
Variable "value_array" is not in valid camel caps format Open
Open
$user_data['api_key_generate'] = $value_array;
- Exclude checks
Variable "array_list_key" is not in valid camel caps format Open
Open
$value_array = $array_list_key[$id_temp_key];
- Exclude checks
Variable "array_list_key" is not in valid camel caps format Open
Open
$array_list_key = UserManager::get_api_keys(api_get_user_id());
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['api_key_generate'] = $value_array;
- Exclude checks
Variable "allowed_picture_types" is not in valid camel caps format Open
Open
$allowed_picture_types = api_get_supported_image_extensions(false);
- Exclude checks
Variable "id_temp_key" is not in valid camel caps format Open
Open
$id_temp_key = UserManager::get_api_key_id(api_get_user_id(), 'default');
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['username'] = $user_data['email'];
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
'action' => $this_section,
- Exclude checks
Variable "value_array" is not in valid camel caps format Open
Open
$value_array = [];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (false !== $user_data) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
if (!(isset($_user['user_id']) && $_user['user_id']) || api_is_anonymous($_user['user_id'], true)) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$form->addRule('username', get_lang('This login is already in use'), 'username_available', $user_data['username']);
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_MYPROFILE;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_SOCIAL;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$_SESSION['this_section'] = $this_section;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (!empty($user_data['picture_uri'])) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
if (!(isset($_user['user_id']) && $_user['user_id']) || api_is_anonymous($_user['user_id'], true)) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
'' != $user_data['picture_uri'] ? get_lang('Update Image') : get_lang('Add image'),
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
Open
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "array_list_key" is not in valid camel caps format Open
Open
if (isset($array_list_key[$id_temp_key])) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (is_null($user_data['language'])) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
if (!(isset($_user['user_id']) && $_user['user_id']) || api_is_anonymous($_user['user_id'], true)) {
- Exclude checks
Variable "id_temp_key" is not in valid camel caps format Open
Open
$value_array = $array_list_key[$id_temp_key];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['username'] = $user_data['email'];
- Exclude checks
Variable "allow_users_to_change_email_with_no_password" is not in valid camel caps format Open
Open
$allow_users_to_change_email_with_no_password = true;
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = 'username';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
if (isset($password) && in_array('password', $available_values_to_modify)) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$sql .= ", official_code = '".Database::escape_string($user_data['official_code'])."'";
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
(!empty($user_data['password0']) &&
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$changeemail = $user_data['email'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
} elseif (!empty($user_data['remove_picture'])) {
- Exclude checks
Variable "allow_users_to_change_email_with_no_password" is not in valid camel caps format Open
Open
if ($allow_users_to_change_email_with_no_password) {
- Exclude checks
Variable "allowed_picture_types" is not in valid camel caps format Open
Open
get_lang('Only PNG, JPG or GIF images allowed').' ('.implode(', ', $allowed_picture_types).')',
- Exclude checks
Variable "width_extended_profile" is not in valid camel caps format Open
Open
'Width' => $width_extended_profile,
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (!in_array($user_data['language'], $languages)) {
- Exclude checks
Variable "allowed_picture_types" is not in valid camel caps format Open
Open
$allowed_picture_types
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['locale'] = $user_data['language'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
!empty($user_data['password1'])) ||
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = 'lastname';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify = [];
- Exclude checks
Variable "social_layout" is not in valid camel caps format Open
Open
$social_layout = $tpl->get_template('social/edit_profile.html.twig');
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['locale'] = $user_data['language'];
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
if (isset($changeemail) && in_array('email', $available_values_to_modify)) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (isset($user_data['language']) && !empty($user_data['language'])) {
- Exclude checks
Variable "filtered_extension" is not in valid camel caps format Open
Open
$filtered_extension = false;
- Exclude checks
Variable "new_picture" is not in valid camel caps format Open
Open
$user_data['picture_uri'] = $new_picture;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$my_user_openid = isset($user_data['openid']) ? $user_data['openid'] : '';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = 'locale';
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
Session::write('_locale_user', $user_data['language']);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$form->setDefaults($user_data);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (!empty($userFromEmail) && empty($user_data['password0'])) {
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = 'language';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = $key;
- Exclude checks
Variable "wrong_current_password" is not in valid camel caps format Open
Open
$wrong_current_password = false;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['remove_picture'],
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify,
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
if (in_array($key, $available_values_to_modify)) {
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
if (isset($changeemail) && !isset($password) && in_array('email', $available_values_to_modify)) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['picture_crop_result']
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['picture_uri'] = $new_picture;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['openid'] = 'http://'.$my_user_openid;
- Exclude checks
Variable "show_delete_account_button" is not in valid camel caps format Open
Open
$show_delete_account_button = 'true' === api_get_setting('platform_unsubscribe_allowed') ? true : false;
- Exclude checks
Variable "width_extended_profile" is not in valid camel caps format Open
Open
$width_extended_profile = 500;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$password = $user_data['password1'];
- Exclude checks
Variable "allow_users_to_change_email_with_no_password" is not in valid camel caps format Open
Open
$allow_users_to_change_email_with_no_password = false;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$userFromEmail = api_get_user_info_from_email($user_data['email']);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (PLATFORM_AUTH_SOURCE == $user_data['auth_source'] &&
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$changeemail = $user_data['email'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['picture_uri'] = '';
- Exclude checks
Variable "my_user_openid" is not in valid camel caps format Open
Open
$my_user_openid = isset($user_data['openid']) ? $user_data['openid'] : '';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = 'firstname';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
if (isset($password) && in_array('password', $available_values_to_modify)) {
- Exclude checks
Variable "width_extended_profile" is not in valid camel caps format Open
Open
'Width' => $width_extended_profile,
- Exclude checks
Variable "new_picture" is not in valid camel caps format Open
Open
$new_picture = UserManager::update_user_picture(
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['password2'],
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
Open
$sql = "UPDATE $table_user SET";
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
unset($user_data['api_key_generate']);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (isset($user_data['language']) && !empty($user_data['language'])) {
- Exclude checks
Variable "social_layout" is not in valid camel caps format Open
Open
$tpl->display($social_layout);
- Exclude checks
Variable "width_extended_profile" is not in valid camel caps format Open
Open
'Width' => $width_extended_profile,
- Exclude checks
Variable "width_extended_profile" is not in valid camel caps format Open
Open
'Width' => $width_extended_profile,
- Exclude checks
Variable "new_picture" is not in valid camel caps format Open
Open
if ($new_picture) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['password0'],
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['password1'],
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
isset($user_data['official_code'])
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (isset($user_data['auth_source']) && PLATFORM_AUTH_SOURCE == $user_data['auth_source'] &&
- Exclude checks
Variable "allow_users_to_change_email_with_no_password" is not in valid camel caps format Open
Open
if ($allow_users_to_change_email_with_no_password) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['apply_change'],
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify[] = 'picture_uri';
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
$available_values_to_modify = array_merge(
- Exclude checks
Variable "available_values_to_modify" is not in valid camel caps format Open
Open
if (isset($changeemail) && in_array('email', $available_values_to_modify)) {
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
'.$jquery_ready_content.'
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (isset($user_data['auth_source']) && PLATFORM_AUTH_SOURCE == $user_data['auth_source'] &&
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$my_user_openid = isset($user_data['openid']) ? $user_data['openid'] : '';
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
foreach ($user_data as $key => $value) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
(!empty($user_data['password0']) &&
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['language'] = api_get_setting('platformLanguage');
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$_SESSION['_user']['language'] = $user_data['language'];
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
$jquery_ready_content = $return['jquery_ready_content'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data = $form->getSubmitValues(1);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['password0'],
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['MAX_FILE_SIZE'],
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data['email']
- Exclude checks
Variable "my_user_openid" is not in valid camel caps format Open
Open
if (!preg_match('/^[^:]*:\/\/.*$/', $my_user_openid)) {
- Exclude checks
Variable "my_user_openid" is not in valid camel caps format Open
Open
$user_data['openid'] = 'http://'.$my_user_openid;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$extraField->saveFieldValues($user_data);
- Exclude checks