main/inc/lib/exercise.lib.php 1 location
|
@@ 3830-3836 (lines=7) @@
|
| 3827 |
|
} |
| 3828 |
|
|
| 3829 |
|
$comnt = null; |
| 3830 |
|
if ($show_results) { |
| 3831 |
|
$comnt = Event::get_comments($exe_id, $questionId); |
| 3832 |
|
if (!empty($comnt)) { |
| 3833 |
|
echo '<b>' . get_lang('Feedback') . '</b>'; |
| 3834 |
|
echo '<div id="question_feedback">' . $comnt . '</div>'; |
| 3835 |
|
} |
| 3836 |
|
} |
| 3837 |
|
|
| 3838 |
|
if ($show_results) { |
| 3839 |
|
$score = array( |
main/exercise/exercise.class.php 1 location
|
@@ 7164-7170 (lines=7) @@
|
| 7161 |
|
} |
| 7162 |
|
|
| 7163 |
|
$comnt = null; |
| 7164 |
|
if ($show_results) { |
| 7165 |
|
$comnt = get_comments($exe_id, $questionId); |
| 7166 |
|
if (!empty($comnt)) { |
| 7167 |
|
echo '<b>'.get_lang('Feedback').'</b>'; |
| 7168 |
|
echo '<div id="question_feedback">'.$comnt.'</div>'; |
| 7169 |
|
} |
| 7170 |
|
} |
| 7171 |
|
|
| 7172 |
|
$score = array(); |
| 7173 |
|
$score['result'] = get_lang('Score')." : ". |
main/exercise/exercise_show.php 1 location
|
@@ 727-734 (lines=8) @@
|
| 724 |
|
$feedback_form->display(); |
| 725 |
|
echo '</div>'; |
| 726 |
|
|
| 727 |
|
} else { |
| 728 |
|
$comnt = Event::get_comments($id, $questionId); |
| 729 |
|
echo '<br />'; |
| 730 |
|
if (!empty($comnt)) { |
| 731 |
|
echo '<b>'.get_lang('Feedback').'</b>'; |
| 732 |
|
echo '<div id="question_feedback">'.$comnt.'</div>'; |
| 733 |
|
} |
| 734 |
|
} |
| 735 |
|
|
| 736 |
|
if ($is_allowedToEdit && $isFeedbackAllowed) { |
| 737 |
|
if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION, ANNOTATION))) { |