|
@@ -410,7 +410,16 @@ if ($is_allowedToEdit && $origin != 'learnpath') {
|
|
|
echo '<a href="qti2.php?'.api_get_cidreq().'">'.Display :: return_icon('import_qti2.png', get_lang('ImportQtiQuiz'), '', ICON_SIZE_MEDIUM).'</a>';
|
|
|
echo '<a href="aiken.php?'.api_get_cidreq().'">'.Display :: return_icon('import_aiken.png', get_lang('ImportAikenQuiz'), '', ICON_SIZE_MEDIUM).'</a>';
|
|
|
echo '<a href="upload_exercise.php?'.api_get_cidreq().'">'.Display :: return_icon('import_excel.png', get_lang('ImportExcelQuiz'), '', ICON_SIZE_MEDIUM).'</a>';
|
|
|
- echo Display::url(Display::return_icon('clean_all.png', get_lang('CleanAllStudentsResultsForAllTests'), '', ICON_SIZE_MEDIUM), '', array('onclick' => "javascript:if(!confirm('".addslashes(api_htmlentities(get_lang('AreYouSureToEmptyAllTestResults'), ENT_QUOTES, $charset))." ".addslashes($row['title'])."?"."')) return false;", 'href' => 'exercice.php?'.api_get_cidreq().'&choice=clean_all_test&sec_token='.$token));
|
|
|
+ echo Display::url(
|
|
|
+ Display::return_icon(
|
|
|
+ 'clean_all.png',
|
|
|
+ get_lang('CleanAllStudentsResultsForAllTests'), '', ICON_SIZE_MEDIUM),
|
|
|
+ '',
|
|
|
+ array(
|
|
|
+ 'onclick' => "javascript:if(!confirm('".addslashes(api_htmlentities(get_lang('AreYouSureToEmptyAllTestResults'), ENT_QUOTES, $charset))." ?"."')) return false;",
|
|
|
+ 'href' => 'exercice.php?'.api_get_cidreq().'&choice=clean_all_test&sec_token='.$token
|
|
|
+ )
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
if ($is_allowedToEdit) {
|