From 953532cfafe5f184d742fc89ccfd60f92559644d Mon Sep 17 00:00:00 2001 From: Nils Haagen Date: Tue, 17 Oct 2023 12:09:12 +0200 Subject: [PATCH] TA: use PresentationTable for results, remove comments --- Modules/Test/classes/class.ilTestEvaluationGUI.php | 3 --- Modules/TestQuestionPool/classes/class.assSingleChoiceGUI.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Modules/Test/classes/class.ilTestEvaluationGUI.php b/Modules/Test/classes/class.ilTestEvaluationGUI.php index 33a888ed7426..a1f098054471 100644 --- a/Modules/Test/classes/class.ilTestEvaluationGUI.php +++ b/Modules/Test/classes/class.ilTestEvaluationGUI.php @@ -1110,9 +1110,6 @@ public function outUserPassDetails(): void $command_solution_details = "outCorrectSolution"; } - //$questionAnchorNav = $this->object->canShowSolutionPrintview(); - //$questionAnchorNav = $this->object->getShowSolutionListOwnAnswers(); - $tpl = new ilTemplate('tpl.il_as_tst_pass_details_overview_participants.html', true, true, "Modules/Test"); $toolbar = $this->buildUserTestResultsToolbarGUI(); diff --git a/Modules/TestQuestionPool/classes/class.assSingleChoiceGUI.php b/Modules/TestQuestionPool/classes/class.assSingleChoiceGUI.php index 600a97858d7a..3b5fa856469c 100755 --- a/Modules/TestQuestionPool/classes/class.assSingleChoiceGUI.php +++ b/Modules/TestQuestionPool/classes/class.assSingleChoiceGUI.php @@ -301,7 +301,7 @@ public function getSolutionOutput( $template->setVariable("ANSWER_IMAGE_TITLE", ilLegacyFormElementsUtil::prepareFormOutput($alt)); $template->parseCurrentBlock(); } - //if ($show_feedback) { + if ($show_inline_feedback) { $this->populateInlineFeedback($template, $answer_id, $user_solution); }