main/exercice/exercise_show.php 1 location
|
@@ 782-789 (lines=8) @@
|
| 779 |
|
$feedback_form->display(); |
| 780 |
|
echo '</div>'; |
| 781 |
|
|
| 782 |
|
} else { |
| 783 |
|
$comnt = Event::get_comments($id, $questionId); |
| 784 |
|
echo '<br />'; |
| 785 |
|
if (!empty($comnt)) { |
| 786 |
|
echo '<b>'.get_lang('Feedback').'</b>'; |
| 787 |
|
echo '<div id="question_feedback">'.$comnt.'</div>'; |
| 788 |
|
} |
| 789 |
|
} |
| 790 |
|
|
| 791 |
|
if ($is_allowedToEdit && $isFeedbackAllowed) { |
| 792 |
|
if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION))) { |
main/inc/lib/exercise.lib.php 1 location
|
@@ 3651-3657 (lines=7) @@
|
| 3648 |
|
} |
| 3649 |
|
|
| 3650 |
|
$comnt = null; |
| 3651 |
|
if ($show_results) { |
| 3652 |
|
$comnt = Event::get_comments($exe_id, $questionId); |
| 3653 |
|
if (!empty($comnt)) { |
| 3654 |
|
echo '<b>' . get_lang('Feedback') . '</b>'; |
| 3655 |
|
echo '<div id="question_feedback">' . $comnt . '</div>'; |
| 3656 |
|
} |
| 3657 |
|
} |
| 3658 |
|
|
| 3659 |
|
if ($show_results) { |
| 3660 |
|
$score = array( |
main/exercice/exercise.class.php 1 location
|
@@ 7895-7901 (lines=7) @@
|
| 7892 |
|
} |
| 7893 |
|
|
| 7894 |
|
$comnt = null; |
| 7895 |
|
if ($show_results) { |
| 7896 |
|
$comnt = get_comments($exe_id, $questionId); |
| 7897 |
|
if (!empty($comnt)) { |
| 7898 |
|
echo '<b>'.get_lang('Feedback').'</b>'; |
| 7899 |
|
echo '<div id="question_feedback">'.$comnt.'</div>'; |
| 7900 |
|
} |
| 7901 |
|
} |
| 7902 |
|
|
| 7903 |
|
$score = array(); |
| 7904 |
|
$score['result'] = get_lang('Score')." : ".ExerciseLib::show_score($my_total_score, $my_total_weight, false, true); |