chamilo/chamilo-lms

View on GitHub
public/main/admin/ldap_users_synchro.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "tbl_session_rel_course" is not in valid camel caps format
Open

$tbl_session_rel_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE);

Variable "tbl_course" is not in valid camel caps format
Open

$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);

Variable "tbl_user" is not in valid camel caps format
Open

$tbl_user = Database::get_main_table(TABLE_MAIN_USER);

Variable "annee_base" is not in valid camel caps format
Open

$annee_base = date('Y');

Variable "tbl_session_rel_etape" is not in valid camel caps format
Open

$tbl_session_rel_etape = "session_rel_etape";

Variable "SessionList" is not in valid camel caps format
Open

$UserList = $SessionList = [];

Variable "tbl_session" is not in valid camel caps format
Open

$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);

Variable "id_session" is not in valid camel caps format
Open

$id_session = intval($_GET['id_session']);

Variable "UserList" is not in valid camel caps format
Open

$UserList = $SessionList = [];

Variable "tbl_session_rel_user" is not in valid camel caps format
Open

$tbl_session_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_PLATFORM_ADMIN;

Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format
Open

$tbl_session_rel_course_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_COURSE_USER);

Variable "tool_name" is not in valid camel caps format
Open

$tool_name = get_lang('Synchro LDAP : Import Etudiants/Etapes dans session');

Variable "tool_name" is not in valid camel caps format
Open

Display::display_header($tool_name);

Variable "tbl_session_rel_class" is not in valid camel caps format
Open

$tbl_session_rel_class = Database::get_main_table(TABLE_MAIN_SESSION_CLASS);

A closing tag is not permitted at the end of a PHP file
Open

?>

Spaces must be used to indent lines; tabs are not allowed
Open

            <option value="synchro"><?php echo get_lang('Synchro LDAP : Import Etudiants/Etapes dans toutes les sessions'); ?></option>

Spaces must be used to indent lines; tabs are not allowed
Open

            <input type="submit" value="<?php echo get_lang('Validate'); ?>">

Spaces must be used to indent lines; tabs are not allowed
Open

        </form>

Spaces must be used to indent lines; tabs are not allowed
Open

        <form method="get" action="<?php echo api_get_self(); ?>" onsubmit="javascript:if(!confirm('<?php echo get_lang('Please confirm your choice'); ?>')) return false;">

Spaces must be used to indent lines; tabs are not allowed
Open

            </select>

Spaces must be used to indent lines; tabs are not allowed
Open

            <select name="action">

There are no issues that match your filters.

Category
Status