|
|
|
|
@ -151,6 +151,11 @@ switch ($action) { |
|
|
|
|
$item['title'] = Display::url($item['title'], $course_url, array('target' => SESSION_LINK_TARGET)); |
|
|
|
|
|
|
|
|
|
foreach ($flat_list as $lp_id => $lp_item) { |
|
|
|
|
$lp = new learnpath($item['code'], $lp_id, api_get_user_id()); |
|
|
|
|
if ($lp->progress_db == 100) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$temp[$count]['id']= $lp_id; |
|
|
|
|
$lp_url = api_get_path(WEB_CODE_PATH).'newscorm/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view'; |
|
|
|
|
|
|
|
|
|
|