public/main/lp/lp_admin_view.php
Variable "file_name" is not in valid camel caps format Open
Open
$file_name = stripslashes($file_name);
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$clean_name = api_replace_dangerous_char($file_name);
- Exclude checks
Variable "file_extension" is not in valid camel caps format Open
Open
$file_extension = $filename_components[count($filename_components) - 1];
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'url' => api_get_self()."?action=add_item&lp_id=$learnpath_id&".api_get_cidreq(),
- Exclude checks
Variable "lp_items_to_remove_audio" is not in valid camel caps format Open
Open
if (count($lp_items_to_remove_audio) > 0) {
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$clean_name = implode($filename_components).'.'.$file_extension;
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
$is_allowed_to_edit = api_is_allowed_to_edit(null, true);
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$filename_components = explode('.', $clean_name);
- Exclude checks
Variable "lp_items_to_remove_audio" is not in valid camel caps format Open
Open
$lp_items_to_remove_audio = [];
- Exclude checks
Variable "filename_components" is not in valid camel caps format Open
Open
$filename_components[count($filename_components) - 1] = time();
- Exclude checks
Variable "is_success" is not in valid camel caps format Open
Open
if (isset($is_success) && true === $is_success) {
- Exclude checks
Variable "tbl_lp_item" is not in valid camel caps format Open
Open
$tbl_lp_item = Database::get_course_table(TABLE_LP_ITEM);
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
DocumentManager::createDefaultAudioFolder($_course);
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$clean_name = disable_dangerous_file($clean_name);
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$clean_name = disable_dangerous_file($clean_name);
- Exclude checks
Variable "tbl_lp_item" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_lp_item SET audio = ''
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$lp_item_id = str_ireplace('mp3file', '', $key);
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$check_file_path = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/audio/'.$clean_name;
- Exclude checks
Variable "filename_components" is not in valid camel caps format Open
Open
$clean_name = implode($filename_components).'.'.$file_extension;
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'url' => api_get_self()."?action=add_item&type=step&lp_id=$learnpath_id&".api_get_cidreq(),
- Exclude checks
Variable "filename_components" is not in valid camel caps format Open
Open
$filename_components = explode('.', $clean_name);
- Exclude checks
Variable "filename_components" is not in valid camel caps format Open
Open
$file_extension = $filename_components[count($filename_components) - 1];
- Exclude checks
Variable "is_success" is not in valid camel caps format Open
Open
if (isset($is_success) && true === $is_success) {
- Exclude checks
Variable "is_success" is not in valid camel caps format Open
Open
if (isset($is_success) && true === $is_success) {
- Exclude checks
Variable "lp_items_to_remove_audio" is not in valid camel caps format Open
Open
$lp_items_to_remove_audio[] = str_ireplace('removemp3', '', $key);
- Exclude checks
Variable "check_file_path" is not in valid camel caps format Open
Open
$check_file_path = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/audio/'.$clean_name;
- Exclude checks
Variable "tbl_lp" is not in valid camel caps format Open
Open
$tbl_lp = Database::get_course_table(TABLE_LP_MAIN);
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (!$is_allowed_to_edit || $isStudentView) {
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$file_name = add_ext_on_mime($file_name, $_FILES[$key]['type']);
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$file_name = add_ext_on_mime($file_name, $_FILES[$key]['type']);
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$file_name = stripslashes($file_name);
- Exclude checks
Variable "file_extension" is not in valid camel caps format Open
Open
$clean_name = implode($filename_components).'.'.$file_extension;
- Exclude checks
Variable "clean_name" is not in valid camel caps format Open
Open
$_FILES[$key]['name'] = $clean_name;
- Exclude checks
Variable "is_success" is not in valid camel caps format Open
Open
if (isset($is_success) && true === $is_success) {
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$learnpath_id = (int) $_REQUEST['lp_id'];
- Exclude checks
Variable "lp_items_to_remove_audio" is not in valid camel caps format Open
Open
$in = implode(',', $lp_items_to_remove_audio);
- Exclude checks
Variable "check_file_path" is not in valid camel caps format Open
Open
if (file_exists($check_file_path)) {
- Exclude checks
Variable "tbl_lp_item" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_lp_item
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
WHERE iid = ".(int) $lp_item_id;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$check_file_path = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/audio/'.$clean_name;
- Exclude checks
Variable "tbl_lp_item" is not in valid camel caps format Open
Open
$tbl_lp_item = Database::get_course_table(TABLE_LP_ITEM);
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
header('location:lp_controller.php?action=view&lp_id='.$learnpath_id);
- Exclude checks
Variable "show_learn_path" is not in valid camel caps format Open
Open
$show_learn_path = true;
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$clean_name = api_replace_dangerous_char($file_name);
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_course = api_get_course_info();
- Exclude checks
Variable "lp_theme_css" is not in valid camel caps format Open
Open
$lp_theme_css = $learnPath->get_theme();
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$file_name = $_FILES[$key]['name'];
- Exclude checks
Variable "filename_components" is not in valid camel caps format Open
Open
$file_extension = $filename_components[count($filename_components) - 1];
- Exclude checks
Variable "filename_components" is not in valid camel caps format Open
Open
$filename_components[count($filename_components) - 1] = time();
- Exclude checks