|
|
|
@ -263,7 +263,7 @@ if (!empty($flat_list)) { |
|
|
|
|
// BUILD |
|
|
|
|
if ($current_session == $details['lp_session']) { |
|
|
|
|
if ($details['lp_type'] == 1 || $details['lp_type'] == 2) { |
|
|
|
|
$dsp_build = '<a href="lp_controller.php?'.api_get_cidreq().'&action=add_item&type=step&lp_id='.$id.'">'. |
|
|
|
|
$dsp_build = '<a href="lp_controller.php?'.api_get_cidreq().'&action=add_item&type=step&lp_id='.$id.'&isStudentView=false">'. |
|
|
|
|
Display::return_icon('edit.png', get_lang('LearnpathEditLearnpath'), '', ICON_SIZE_SMALL).'</a>'; |
|
|
|
|
} else { |
|
|
|
|
$dsp_build = Display::return_icon('edit_na.png', get_lang('LearnpathEditLearnpath'), '', ICON_SIZE_SMALL); |
|
|
|
|