public/main/admin/ldap_import_students_to_session.php
Variable "id_session" is not in valid camel caps format Open
Open
$id_session = $_POST['id_session'];
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
} elseif (!empty($annee) && empty($id_session)) {
- Exclude checks
Variable "email_form" is not in valid camel caps format Open
Open
$email_form[] = $info[$key]["mail"][0];
- Exclude checks
Variable "nom_form" is not in valid camel caps format Open
Open
reset($nom_form);
- Exclude checks
Variable "ldap_host" is not in valid camel caps format Open
Open
$ds = ldap_connect($ldap_host, $ldap_port) or exit(get_lang('LDAP Connection Error'));
- Exclude checks
Variable "ldap_port" is not in valid camel caps format Open
Open
$ds = ldap_connect($ldap_host, $ldap_port) or exit(get_lang('LDAP Connection Error'));
- Exclude checks
Variable "userid_match_login" is not in valid camel caps format Open
Open
$userid_match_login = [];
- Exclude checks
Variable "form_index" is not in valid camel caps format Open
Open
if (is_array($_POST['checkboxes']) && in_array($form_index, array_values($_POST['checkboxes']))) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$userid_match_login[$tmp] = $user_id;
- Exclude checks
Variable "form_index" is not in valid camel caps format Open
Open
foreach ($id as $form_index => $user_id) {
- Exclude checks
Variable "userid_match_login" is not in valid camel caps format Open
Open
$userid_match_login[$tmp] = $user_id;
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
if (empty($annee) && empty($id_session)) {
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
" FROM $tbl_session ".
- Exclude checks
Variable "username_form" is not in valid camel caps format Open
Open
$username_form[] = $info[$key]['uid'][0];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$tmp = ldap_add_user($user_id);
- Exclude checks
Variable "annee_base" is not in valid camel caps format Open
Open
$annee_base = date('Y');
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
elseif (!empty($annee) && !empty($id_session) && empty($_POST['confirmed'])) {
- Exclude checks
Variable "ldap_basedn" is not in valid camel caps format Open
Open
$sr = @ldap_search($ds, $ldap_basedn, "(ou=*$annee)");
- Exclude checks
Variable "nom_form" is not in valid camel caps format Open
Open
$nom_form[] = $info[$key]["sn"][0];
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
Open
$UserList = [];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
foreach ($id as $form_index => $user_id) {
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('LDAP Import');
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
Open
foreach ($UserList as $user_id) {
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
$nbr_results = count($sessions);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "password_form" is not in valid camel caps format Open
Open
$password_form[] = $info[$key]['userPassword'][0];
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
} elseif (!empty($annee) && !empty($id_session) && ('yes' == $_POST['confirmed'])) {
- Exclude checks
Variable "annee_base" is not in valid camel caps format Open
Open
echo '<input type="text" name="annee" size="4" maxlength="30" value="'.$annee_base.'"> ';
- Exclude checks
Variable "prenom_form" is not in valid camel caps format Open
Open
$prenom_form[] = $info[$key]["givenname"][0];
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
Open
$UserList[] = $tmp;
- Exclude checks
Variable "res_user" is not in valid camel caps format Open
Open
if (false !== $res_user) {
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Variable "tbl_session_user" is not in valid camel caps format Open
Open
$tbl_session_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
'session_id' => intval($id_session),
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$sql = 'UPDATE '.$tbl_session.' SET nbr_users = (nbr_users + '.$num.') WHERE id = '.intval($id_session);
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "nom_form" is not in valid camel caps format Open
Open
asort($nom_form);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
'user_id' => intval($user_id),
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$sql = 'UPDATE '.$tbl_session.' SET nbr_users = (nbr_users + '.$num.') WHERE id = '.intval($id_session);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
foreach ($UserList as $user_id) {
- Exclude checks
Variable "res_user" is not in valid camel caps format Open
Open
$res_user = Database::insert(
- Exclude checks
Variable "tbl_session_user" is not in valid camel caps format Open
Open
$tbl_session_user,
- Exclude checks
Expected 1 space after closing brace; newline found Open
Open
}
- Exclude checks