public/main/admin/user_add.php
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Add a user');
- Exclude checks
Variable "expiration_date" is not in valid camel caps format Open
Open
$expiration_date,
- Exclude checks
Variable "allowed_picture_types" is not in valid camel caps format Open
Open
$form->addRule('picture', get_lang('Only PNG, JPG or GIF images allowed').' ('.implode(',', $allowed_picture_types).')', 'filetype', $allowed_picture_types);
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
$jquery_ready_content = $returnParams['jquery_ready_content'];
- Exclude checks
Variable "send_mail" is not in valid camel caps format Open
Open
$send_mail = (int) $user['mail']['send_mail'];
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "auth_sources" is not in valid camel caps format Open
Open
$auth_sources = 0; //make available wider as we need it in case of form reset (see below)
- Exclude checks
Variable "nb_ext_auth_source_added" is not in valid camel caps format Open
Open
$nb_ext_auth_source_added = 0;
- Exclude checks
Variable "nb_ext_auth_source_added" is not in valid camel caps format Open
Open
if ($nb_ext_auth_source_added > 0) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user['item_id'] = $user_id;
- Exclude checks
Variable "auth_sources" is not in valid camel caps format Open
Open
$auth_sources = [];
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
'.$jquery_ready_content.'
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
api_get_path(WEB_CODE_PATH).'admin/user_edit.php?user_id='.$user_id
- 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 "auth_sources" is not in valid camel caps format Open
Open
$auth_sources[$key] = $key;
- Exclude checks
Variable "nb_ext_auth_source_added" is not in valid camel caps format Open
Open
$nb_ext_auth_source_added++;
- Exclude checks
Variable "auth_sources" is not in valid camel caps format Open
Open
$group[] = $form->createElement('select', 'auth_source', null, $auth_sources);
- Exclude checks
Variable "auth_source" is not in valid camel caps format Open
Open
$auth_source,
- Exclude checks
Variable "expiration_date" is not in valid camel caps format Open
Open
$expiration_date,
- Exclude checks
Variable "allowed_picture_types" is not in valid camel caps format Open
Open
$form->addRule('picture', get_lang('Only PNG, JPG or GIF images allowed').' ('.implode(',', $allowed_picture_types).')', 'filetype', $allowed_picture_types);
- Exclude checks
Variable "expiration_date" is not in valid camel caps format Open
Open
$expiration_date = null;
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
$is_platform_admin = api_is_platform_admin() ? 1 : 0;
- Exclude checks
Variable "html_results_enabled" is not in valid camel caps format Open
Open
$html_results_enabled[] = $form->createElement('button', 'submit', get_lang('Add'), 'plus', 'primary');
- Exclude checks
Variable "hr_dept_id" is not in valid camel caps format Open
Open
$hr_dept_id,
- Exclude checks
Variable "send_mail" is not in valid camel caps format Open
Open
$send_mail,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id,
- Exclude checks
Variable "official_code" is not in valid camel caps format Open
Open
$official_code = $user['official_code'];
- Exclude checks
Variable "send_mail" is not in valid camel caps format Open
Open
$send_mail = 0;
- Exclude checks
Variable "official_code" is not in valid camel caps format Open
Open
$official_code,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id,
- Exclude checks
Variable "official_code" is not in valid camel caps format Open
Open
$official_code,
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tpl = new Template($tool_name);
- Exclude checks
Variable "hr_dept_id" is not in valid camel caps format Open
Open
$hr_dept_id = isset($user['hr_dept_id']) ? (int) $user['hr_dept_id'] : 0;
- Exclude checks
Variable "auth_source" is not in valid camel caps format Open
Open
$auth_source = $user['password']['auth_source'];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
if (!empty($user_id)) {
- Exclude checks
Variable "html_results_enabled" is not in valid camel caps format Open
Open
$html_results_enabled[] = $form->createElement('button', 'submit_plus', get_lang('Add').'+', 'plus', 'primary');
- Exclude checks
Variable "html_results_enabled" is not in valid camel caps format Open
Open
$form->addGroup($html_results_enabled);
- Exclude checks
Variable "platform_admin" is not in valid camel caps format Open
Open
$platform_admin,
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
var is_platform_id = "'.$is_platform_admin.'";
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$form->addElement('header', '', $tool_name);
- Exclude checks
Variable "platform_admin" is not in valid camel caps format Open
Open
$platform_admin = (int) $user['admin']['platform_admin'];
- Exclude checks
Variable "platform_admin" is not in valid camel caps format Open
Open
$platform_admin = 0;
- Exclude checks
Variable "auth_source" is not in valid camel caps format Open
Open
$auth_source,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = UserManager::create_user(
- Exclude checks
Variable "auth_source" is not in valid camel caps format Open
Open
$auth_source = PLATFORM_AUTH_SOURCE;
- Exclude checks
Variable "expiration_date" is not in valid camel caps format Open
Open
$expiration_date = $user['expiration_date'];
- Exclude checks
Variable "hr_dept_id" is not in valid camel caps format Open
Open
$hr_dept_id,
- Exclude checks