public/main/admin/access_url_edit_courses_to_url.php
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
document.formulaire.add_type.value=\''.$add_type.'\';
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
UrlManager::update_urls_rel_course($course_list, $access_url_id);
- Exclude checks
Variable "course_list_leys" is not in valid camel caps format Open
Open
$course_list_leys = array_keys($course_list);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$link_add_type_unique = '<a href="'.api_get_self().'?add_type=unique&access_url_id='.$access_url_id.'">'.
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list[$course['c_id']] = $course;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Edit courses of an URL');
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
$add_type = Security::remove_XSS($_REQUEST['add_type']);
- Exclude checks
Variable "form_sent" is not in valid camel caps format Open
Open
if (1 == $form_sent) {
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
$ajax_search = 'unique' == $add_type ? true : false;
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
Open
if ($ajax_search) {
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
$add_type = 'multiple';
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$access_url_id = Security::remove_XSS($_REQUEST['access_url_id']);
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list[$course['c_id']] = $course;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
if ($course['access_url_id'] == $access_url_id) {
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
Open
$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);
- Exclude checks
Variable "link_add_type_unique" is not in valid camel caps format Open
Open
$link_add_type_unique = '<a href="'.api_get_self().'?add_type=unique&access_url_id='.$access_url_id.'">'.
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::page_subheader2($tool_name);
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list = $_POST['course_list'];
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
if (0 == $access_url_id) {
- Exclude checks
Variable "no_course_list" is not in valid camel caps format Open
Open
$no_course_list = $course_list = [];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$no_course_list = $course_list = [];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list_leys = array_keys($course_list);
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
if (!is_array($course_list)) {
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
UrlManager::update_urls_rel_course($course_list, $access_url_id);
- Exclude checks
Variable "course_list_leys" is not in valid camel caps format Open
Open
if (!in_array($course['id'], $course_list_leys)) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$access_url_id = 1;
- Exclude checks
Variable "form_sent" is not in valid camel caps format Open
Open
$form_sent = $_POST['form_sent'];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list = [];
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
Open
$ajax_search = 'unique' == $add_type ? true : false;
- Exclude checks
Variable "link_add_type_multiple" is not in valid camel caps format Open
Open
$link_add_type_multiple = get_lang('Multiple registration');
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
} elseif (is_array($course_list)) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$courses = UrlManager::get_url_rel_course_data($access_url_id);
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
Open
FROM $tbl_course u
- Exclude checks
Variable "no_course_list" is not in valid camel caps format Open
Open
$no_course_list[$course['id']] = $course;
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
if ('multiple' == $add_type) {
- Exclude checks
Variable "link_add_type_multiple" is not in valid camel caps format Open
Open
$link_add_type_multiple = '<a href="'.api_get_self().'?add_type=multiple&access_url_id='.$access_url_id.'">'.
- Exclude checks
Variable "url_obj" is not in valid camel caps format Open
Open
foreach ($url_list as $url_obj) {
- Exclude checks
Variable "url_obj" is not in valid camel caps format Open
Open
<option <?php echo $checked; ?> value="<?php echo $url_obj[0]; ?>"> <?php echo $url_obj[1]; ?></option>
- Exclude checks
Variable "no_course" is not in valid camel caps format Open
Open
<option value="<?php echo $no_course['id']; ?>"><?php echo $no_course['title'].' ('.$no_course['code'].')'; ?></option>
- Exclude checks
Variable "link_add_type_unique" is not in valid camel caps format Open
Open
<?php echo $link_add_type_unique; ?> | <?php echo $link_add_type_multiple; ?>
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
Open
foreach ($url_list as $url_obj) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
if (!empty($access_url_id)) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
if ($url_obj[0] == $access_url_id) {
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
foreach ($course_list as $course) {
- Exclude checks
Variable "url_selected" is not in valid camel caps format Open
Open
$url_selected = $url_obj[1];
- Exclude checks
Variable "no_course" is not in valid camel caps format Open
Open
foreach ($no_course_list as $no_course) {
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
Open
if ($ajax_search) {
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
unset($course_list);
- Exclude checks
Variable "link_add_type_multiple" is not in valid camel caps format Open
Open
<?php echo $link_add_type_unique; ?> | <?php echo $link_add_type_multiple; ?>
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
Open
<input type="hidden" name="add_type" value = "<?php echo $add_type; ?>" />
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
Open
if ($ajax_search) {
- Exclude checks
Variable "no_course_list" is not in valid camel caps format Open
Open
foreach ($no_course_list as $no_course) {
- Exclude checks
Variable "link_add_type_unique" is not in valid camel caps format Open
Open
$link_add_type_unique = get_lang('Single registration');
- Exclude checks
Variable "no_course_list" is not in valid camel caps format Open
Open
unset($no_course_list); ?>
- Exclude checks
Variable "url_obj" is not in valid camel caps format Open
Open
if ($url_obj[0] == $access_url_id) {
- Exclude checks
Variable "url_obj" is not in valid camel caps format Open
Open
<option <?php echo $checked; ?> value="<?php echo $url_obj[0]; ?>"> <?php echo $url_obj[1]; ?></option>
- Exclude checks
Variable "no_course" is not in valid camel caps format Open
Open
<option value="<?php echo $no_course['id']; ?>"><?php echo $no_course['title'].' ('.$no_course['code'].')'; ?></option>
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
Open
<form name="formulaire" method="post" action="<?php echo api_get_self(); ?>" style="margin:0px;" <?php if ($ajax_search) {
- Exclude checks
Variable "url_obj" is not in valid camel caps format Open
Open
$url_selected = $url_obj[1];
- Exclude checks
Variable "url_obj" is not in valid camel caps format Open
Open
if (1 == $url_obj['active']) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
Open
$link_add_type_multiple = '<a href="'.api_get_self().'?add_type=multiple&access_url_id='.$access_url_id.'">'.
- Exclude checks
Variable "url_list" is not in valid camel caps format Open
Open
$url_list = UrlManager::get_url_data();
- Exclude checks
Variable "no_course" is not in valid camel caps format Open
Open
<option value="<?php echo $no_course['id']; ?>"><?php echo $no_course['title'].' ('.$no_course['code'].')'; ?></option>
- Exclude checks
Variable "url_selected" is not in valid camel caps format Open
Open
$url_selected = '';
- Exclude checks
Variable "url_selected" is not in valid camel caps format Open
Open
<td align="center"><b><?php echo get_lang('Courses of').' '.$url_selected; ?></b></td>
- Exclude checks
Line indented incorrectly; expected at least 28 spaces, found 24 Open
Open
unset($no_course_list); ?>
- Exclude checks
Closing brace indented incorrectly; expected 46 spaces, found 0 Open
Open
}?> >
- Exclude checks