|
|
|
|
@ -548,6 +548,8 @@ if ($is_allowedToEdit && $origin !== 'learnpath') { |
|
|
|
|
$actionsLeft .= '<a href="'.api_get_path(WEB_CODE_PATH).'exercise/upload_exercise.php?'.api_get_cidreq().'">'. |
|
|
|
|
Display::return_icon('import_excel.png', get_lang('ImportExcelQuiz'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
|
|
|
|
|
|
|
|
$cleanAll = null; |
|
|
|
|
if (api_is_platform_admin() || false === $limitTeacherAccess) { |
|
|
|
|
$cleanAll = Display::url( |
|
|
|
|
Display::return_icon( |
|
|
|
|
'clean_all.png', |
|
|
|
|
@ -563,6 +565,7 @@ if ($is_allowedToEdit && $origin !== 'learnpath') { |
|
|
|
|
'data-target' => '#confirm-delete', |
|
|
|
|
] |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($limitTeacherAccess) { |
|
|
|
|
if (api_is_platform_admin()) { |
|
|
|
|
|