'; echo '
'; echo '
'; echo '
'; echo ' '; echo '
'; echo '
'; echo '
'; if (api_get_setting('show_email_addresses') == 'false') { $user_info['mail'] = ' '; } else { $user_info['mail'] = ' '.$user_info['mail'].' '; } echo ''; echo '

'.$user_info['complete_name'].'

'.$user_info['mail'].$user_info['official_code']; echo '
'; echo '
'; echo '
'; if (api_get_setting('allow_message_tool') == 'true') { echo ''; echo MessageManager::generate_message_form( 'send_message', array(), 'block' ); echo ''. get_lang('Send'). ''; } echo ''; break; case 'user_id_exists': if (api_is_anonymous()) { echo ''; } else { if (UserManager::is_user_id_valid($_GET['user_id'])) { echo 1; } else { echo 0; } } break; case 'search_tags': if (api_is_anonymous()) { echo ''; } else { if (isset($_GET['tag']) && isset($_GET['field_id'])) { echo UserManager::get_tags($_GET['tag'], $_GET['field_id'], 'json', '10'); } } break; case 'generate_api_key': if (api_is_anonymous()) { echo ''; } else { $array_list_key = array(); $user_id = api_get_user_id(); $api_service = 'dokeos'; $num = UserManager::update_api_key($user_id, $api_service); $array_list_key = UserManager::get_api_keys($user_id, $api_service); ?>
constant($plugin->getSMSPluginName().'::ACCOUNT_APPROVED_CONNECT'), 'userId' => $user_id ); $result = api_mail( $recipient_name, $user_info['mail'], $emailsubject, $emailbody, $sender_name, $email_admin, '', $additionalParameters ); event_system(LOG_USER_ENABLE, LOG_USER_ID, $user_id); } else { event_system(LOG_USER_DISABLE, LOG_USER_ID, $user_id); } echo $status; } } else { echo '-1'; } break; default: echo ''; } exit;