public/main/lp/lp_list.php
Variable "icon_learnpath" is not in valid camel caps format Open
Open
$icon_learnpath = $defaultDisableLpIcon;
- Exclude checks
Variable "time_progress_perc" is not in valid camel caps format Open
Open
$time_progress_perc = '100%';
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
if ($time_progress_value < 100) {
- Exclude checks
Variable "dsp_reinit" is not in valid camel caps format Open
Open
$dsp_reinit = null;
- Exclude checks
Variable "dsp_build" is not in valid camel caps format Open
Open
$dsp_build = Display::url(
- Exclude checks
Variable "is_actived_time" is not in valid camel caps format Open
Open
$is_actived_time = true;
- Exclude checks
Variable "lp_controller_touched" is not in valid camel caps format Open
Open
if (empty($lp_controller_touched) || 1 != $lp_controller_touched) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
if (!empty($flat_list)) {
- Exclude checks
Variable "end_time" is not in valid camel caps format Open
Open
$end_time = api_strtotime($details['expired_on'], 'UTC');
- Exclude checks
Variable "end_time" is not in valid camel caps format Open
Open
if ($now > $start_time && $end_time > $now) {
- Exclude checks
Variable "dsp_delete" is not in valid camel caps format Open
Open
$dsp_delete = '';
- Exclude checks
Variable "dsp_progress" is not in valid camel caps format Open
Open
$dsp_progress = '';
- Exclude checks
Variable "dsp_visible" is not in valid camel caps format Open
Open
$dsp_visible = Display::url(
- Exclude checks
Variable "token_parameter" is not in valid camel caps format Open
Open
'lp_controller.php?'.$cidReq.'&action=switch_view_mode&lp_id='.$id.$token_parameter,
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = Display::url(
- Exclude checks
Variable "is_actived_time" is not in valid camel caps format Open
Open
$is_actived_time = false;
- Exclude checks
Variable "dsp_progress" is not in valid camel caps format Open
Open
$dsp_progress = learnpath::get_progress_bar($progress, '%');
- Exclude checks
Variable "lp_auto_launch_icon" is not in valid camel caps format Open
Open
$lp_auto_launch_icon = Display::url(
- Exclude checks
Variable "test_mode" is not in valid camel caps format Open
Open
$test_mode = api_get_setting('server_type');
- Exclude checks
Variable "token_parameter" is not in valid camel caps format Open
Open
'lp_controller.php?'.$cidReq.'&action=switch_view_mode&lp_id='.$id.$token_parameter,
- Exclude checks
Variable "dsp_debug" is not in valid camel caps format Open
Open
$dsp_debug = Display::url(
- Exclude checks
Variable "autolaunch_exists" is not in valid camel caps format Open
Open
false == $autolaunch_exists
- Exclude checks
Variable "end_time" is not in valid camel caps format Open
Open
$start_time = $end_time = '';
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "dsp_visible" is not in valid camel caps format Open
Open
$dsp_visible = '';
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$time_progress_value = (int) (($lpTime * 100) / ($accumulateWorkTime * 60));
- Exclude checks
Variable "dsp_publish" is not in valid camel caps format Open
Open
$dsp_publish = Display::url(
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = Display::url(
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = Display::url(
- Exclude checks
Variable "url_start_lp" is not in valid camel caps format Open
Open
$url_start_lp = 'lp_controller.php?'.$cidReq.'&action=view&lp_id='.$id;
- Exclude checks
Variable "dsp_build" is not in valid camel caps format Open
Open
$dsp_build = '';
- Exclude checks
Variable "dsp_debug" is not in valid camel caps format Open
Open
$dsp_debug = '';
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "dsp_edit_lp" is not in valid camel caps format Open
Open
$dsp_edit_lp = $courseSettingsDisableIcon;
- Exclude checks
Variable "dsp_reinit" is not in valid camel caps format Open
Open
$dsp_reinit = Display::getMdiIcon('sync', 'ch-tool-icon', '', 22, get_lang('Allow multiple attempts'));
- Exclude checks
Variable "lp_auto_launch_icon" is not in valid camel caps format Open
Open
$lp_auto_launch_icon = Display::url(
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (empty($flat_list) && !$is_allowed_to_edit) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$max = count($flat_list);
- Exclude checks
Variable "autolaunch_exists" is not in valid camel caps format Open
Open
$autolaunch_exists = false;
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (!$is_allowed_to_edit && 0 == $details['lp_visibility']) {
- Exclude checks
Variable "time_limits" is not in valid camel caps format Open
Open
$time_limits = true;
- Exclude checks
Variable "time_limits" is not in valid camel caps format Open
Open
if ($time_limits) {
- Exclude checks
Variable "icon_learnpath" is not in valid camel caps format Open
Open
$icon_learnpath = $defaultLpIcon;
- Exclude checks
Variable "dsp_time" is not in valid camel caps format Open
Open
$dsp_time = learnpath::get_progress_bar($time_progress_value, '%');
- Exclude checks
Variable "dsp_publish" is not in valid camel caps format Open
Open
$dsp_publish = null;
- Exclude checks
Variable "dsp_disk" is not in valid camel caps format Open
Open
$dsp_disk = null;
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
if ($now > $start_time && $end_time > $now) {
- Exclude checks
Variable "my_title" is not in valid camel caps format Open
Open
$my_title = $name;
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (!$is_allowed_to_edit && false == $lpVisibility &&
- Exclude checks
Variable "dsp_time" is not in valid camel caps format Open
Open
$dsp_time = '';
- Exclude checks
Variable "dsp_edit_lp" is not in valid camel caps format Open
Open
$dsp_edit_lp = null;
- Exclude checks
Variable "autolaunch_exists" is not in valid camel caps format Open
Open
$autolaunch_exists = true;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "lp_controller_touched" is not in valid camel caps format Open
Open
if (empty($lp_controller_touched) || 1 != $lp_controller_touched) {
- 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 "start_time" is not in valid camel caps format Open
Open
$start_time = $end_time = '';
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$start_time = api_convert_and_format_date($details['published_on'], DATE_TIME_FORMAT_SHORT);
- Exclude checks
Variable "end_time" is not in valid camel caps format Open
Open
$end_time = api_convert_and_format_date($details['expired_on'], DATE_TIME_FORMAT_SHORT);
- Exclude checks
Variable "time_limits" is not in valid camel caps format Open
Open
$time_limits = false;
- Exclude checks
Variable "lp_auto_launch_icon" is not in valid camel caps format Open
Open
$lp_auto_launch_icon = null;
- Exclude checks
Variable "dsp_build" is not in valid camel caps format Open
Open
$dsp_build = Display::getMdiIcon('pencil-off', 'ch-tool-icon', '', 22);
- Exclude checks
Variable "dsp_build" is not in valid camel caps format Open
Open
$dsp_build = Display::getMdiIcon('pencil-off', 'ch-tool-icon', '', 22);
- Exclude checks
Variable "dsp_publish" is not in valid camel caps format Open
Open
$dsp_publish = Display::getMdiIcon('checkbox-multiple-blank-outline', 'ch-tool-icon', '', 22, get_lang('do not publish'));
- Exclude checks
Variable "token_parameter" is not in valid camel caps format Open
Open
'lp_controller.php?'.$cidReq.'&action=switch_view_mode&lp_id='.$id.$token_parameter,
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (!$is_allowed_to_edit) {
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (!$is_allowed_to_edit) {
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$start_time = api_strtotime($details['published_on'], 'UTC');
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$time_progress_value = 100;
- Exclude checks
Variable "dsp_reinit" is not in valid camel caps format Open
Open
$dsp_reinit = Display::url(
- Exclude checks
Variable "token_parameter" is not in valid camel caps format Open
Open
'lp_controller.php?'.$cidReq.'&action=switch_view_mode&lp_id='.$id.$token_parameter,
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = Display::getMdiIcon('fit-to-screen', 'ch-tool-icon-disabled', '', 22, get_lang('Current view mode: embedded'));
- Exclude checks
Variable "dsp_debug" is not in valid camel caps format Open
Open
$dsp_debug = Display::url(
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$flat_list = $list->get_flat_list();
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
array_column($flat_list, 'lp_old_id'),
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
foreach ($flat_list as $id => $details) {
- Exclude checks
Variable "my_title" is not in valid camel caps format Open
Open
$my_title = Display::tag(
- Exclude checks
Variable "icon_learnpath" is not in valid camel caps format Open
Open
$icon_learnpath = $defaultDisableLpIcon;
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order = '';
- Exclude checks
Variable "dsp_progress" is not in valid camel caps format Open
Open
$dsp_progress = $progress.'%';
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$dsp_time = learnpath::get_progress_bar($time_progress_value, '%');
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "test_mode" is not in valid camel caps format Open
Open
if ('test' === $test_mode || api_is_platform_admin()) {
- Exclude checks
Variable "dsp_disk" is not in valid camel caps format Open
Open
$dsp_disk = Display::getMdiIcon('archive-arrow-down', 'ch-tool-icon-disabled', '', 22, get_lang('Export as SCORM'));
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
if (empty($flat_list) && !$is_allowed_to_edit) {
- Exclude checks
Variable "is_actived_time" is not in valid camel caps format Open
Open
if (!$is_actived_time) {
- Exclude checks
Variable "dsp_export" is not in valid camel caps format Open
Open
$dsp_export = '';
- Exclude checks
Variable "dsp_reinit" is not in valid camel caps format Open
Open
$dsp_reinit = Display::url(
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = Display::getMdiIcon('fullscreen', 'ch-tool-icon-disabled', '', 22, get_lang('Current view mode: fullscreen'));
- Exclude checks
Variable "url_start_lp" is not in valid camel caps format Open
Open
$url_start_lp .= '&isStudentView=true';
- Exclude checks
Variable "my_title" is not in valid camel caps format Open
Open
$my_title = Display::tag(
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = '';
- Exclude checks
Variable "dsp_publish" is not in valid camel caps format Open
Open
$dsp_publish = Display::url(
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
$dsp_default_view = Display::url(
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "url_start_lp" is not in valid camel caps format Open
Open
$url_start_lp = '#';
- Exclude checks
Variable "dsp_desc" is not in valid camel caps format Open
Open
$dsp_desc = '';
- Exclude checks
Variable "dsp_edit_lp" is not in valid camel caps format Open
Open
$dsp_edit_lp = Display::url(
- Exclude checks
Variable "dsp_reinit" is not in valid camel caps format Open
Open
$dsp_reinit = Display::url(
- Exclude checks
Variable "time_limits" is not in valid camel caps format Open
Open
$time_limits = false;
- Exclude checks
Variable "icon_learnpath" is not in valid camel caps format Open
Open
$icon_learnpath = $icon;
- Exclude checks
Variable "token_parameter" is not in valid camel caps format Open
Open
$token_parameter = "&sec_token=$token";
- Exclude checks
Variable "dsp_visible" is not in valid camel caps format Open
Open
$dsp_visible = Display::url(
- Exclude checks
Variable "export_icon" is not in valid camel caps format Open
Open
$export_icon = null;
- Exclude checks
Variable "dsp_publish" is not in valid camel caps format Open
Open
'action_publish' => $dsp_publish,
- Exclude checks
Variable "dsp_debug" is not in valid camel caps format Open
Open
'action_debug' => $dsp_debug,
- Exclude checks
Variable "dsp_delete" is not in valid camel caps format Open
Open
$dsp_delete = Display::getMdiIcon('delete', 'ch-tool-icon-disabled', '', 22, get_lang('Delete'));
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order .= Display::url(
- Exclude checks
Variable "url_start_lp" is not in valid camel caps format Open
Open
'url_start' => $url_start_lp,
- Exclude checks
Variable "export_icon" is not in valid camel caps format Open
Open
$export_icon = Display::url(
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order = '';
- Exclude checks
Variable "dsp_visible" is not in valid camel caps format Open
Open
'action_visible' => $dsp_visible,
- Exclude checks
Variable "dsp_default_view" is not in valid camel caps format Open
Open
'action_default_view' => $dsp_default_view,
- Exclude checks
Variable "dsp_delete" is not in valid camel caps format Open
Open
'action_delete' => $dsp_delete,
- Exclude checks
Variable "dsp_delete" is not in valid camel caps format Open
Open
$dsp_delete = Display::url(
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order .= Display::getMdiIcon('arrow-down-bold', 'ch-tool-icon-disabled', '', 22, get_lang('Move down'));
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit && learnpath::isForumFromBaseCourse((int) $id)) {
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
$template->assign('is_allowed_to_edit', $is_allowed_to_edit);
- Exclude checks
Variable "end_time" is not in valid camel caps format Open
Open
'end_time' => $end_time,
- Exclude checks
Variable "lp_auto_launch_icon" is not in valid camel caps format Open
Open
'action_auto_launch' => $lp_auto_launch_icon,
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order .= Display::getMdiIcon('arrow-up-bold', 'ch-tool-icon-disabled', '', 22, get_lang('Move up'));
- Exclude checks
Variable "icon_learnpath" is not in valid camel caps format Open
Open
'learnpath_icon' => $icon_learnpath,
- Exclude checks
Variable "dsp_edit_lp" is not in valid camel caps format Open
Open
'action_edit' => $dsp_edit_lp,
- Exclude checks
Variable "export_icon" is not in valid camel caps format Open
Open
'action_pdf' => $export_icon,
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
'action_order' => $dsp_order,
- Exclude checks
Variable "dsp_disk" is not in valid camel caps format Open
Open
$dsp_disk = null;
- Exclude checks
Variable "dsp_progress" is not in valid camel caps format Open
Open
'dsp_progress' => $dsp_progress,
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order .= Display::url(
- Exclude checks
Variable "dsp_build" is not in valid camel caps format Open
Open
'action_build' => $dsp_build,
- Exclude checks
Variable "dsp_disk" is not in valid camel caps format Open
Open
'action_export' => $dsp_disk,
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order .= Display::url(
- Exclude checks
Variable "export_icon" is not in valid camel caps format Open
Open
$export_icon = Display::url(
- Exclude checks
Variable "my_title" is not in valid camel caps format Open
Open
'title' => $my_title . $forumSessionIcon,
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
'start_time' => $start_time,
- Exclude checks
Variable "dsp_order" is not in valid camel caps format Open
Open
$dsp_order .= Display::url(
- Exclude checks
Variable "dsp_reinit" is not in valid camel caps format Open
Open
'action_reinit' => $dsp_reinit,
- Exclude checks