main/exercice/exercise.class.php 1 location
|
@@ 4937-4947 (lines=11) @@
|
4934 |
|
. (($final_missing < 0) ? 0 : intval($final_missing)) . '</div></td> |
4935 |
|
</tr> |
4936 |
|
</table>'; |
4937 |
|
if ($next == 0) { |
4938 |
|
$try = $try_hotspot; |
4939 |
|
$lp = $lp_hotspot; |
4940 |
|
$destinationid = $select_question_hotspot; |
4941 |
|
$url = $url_hotspot; |
4942 |
|
} else { |
4943 |
|
//show if no error |
4944 |
|
//echo 'no error'; |
4945 |
|
$comment = $answerComment = $objAnswerTmp->selectComment($nbrAnswers); |
4946 |
|
$answerDestination = $objAnswerTmp->selectDestination($nbrAnswers); |
4947 |
|
} |
4948 |
|
|
4949 |
|
echo '<h1><div style="color:#333;">' . get_lang('Feedback') . '</div></h1> |
4950 |
|
<p style="text-align:center">'; |
main/exercice/exercise_show.php 1 location
|
@@ 638-649 (lines=12) @@
|
635 |
|
$destinationid = $item_list[2]; |
636 |
|
$url = $item_list[3]; |
637 |
|
$table_resume=''; |
638 |
|
} else { |
639 |
|
if ($next==0) { |
640 |
|
$try = $try_hotspot; |
641 |
|
$lp = $lp_hotspot; |
642 |
|
$destinationid= $select_question_hotspot; |
643 |
|
$url=$url_hotspot; |
644 |
|
} else { |
645 |
|
//show if no error |
646 |
|
$comment=$answerComment = $objAnswerTmp->selectComment($nbrAnswers); |
647 |
|
$answerDestination = $objAnswerTmp->selectDestination($nbrAnswers); |
648 |
|
} |
649 |
|
} |
650 |
|
|
651 |
|
echo '<h1><div style="color:#333;">'.get_lang('Feedback').'</div></h1>'; |
652 |
|
if ($answerType == HOT_SPOT_DELINEATION) { |