main/exercise/exercise_show.php 1 location
|
@@ 694-701 (lines=8) @@
|
| 691 |
|
$feedback_form->display(); |
| 692 |
|
echo '</div>'; |
| 693 |
|
|
| 694 |
|
} else { |
| 695 |
|
$comnt = Event::get_comments($id, $questionId); |
| 696 |
|
echo '<br />'; |
| 697 |
|
if (!empty($comnt)) { |
| 698 |
|
echo '<b>' . get_lang('Feedback') . '</b>'; |
| 699 |
|
echo '<div id="question_feedback">' . $comnt . '</div>'; |
| 700 |
|
} |
| 701 |
|
} |
| 702 |
|
|
| 703 |
|
if ($is_allowedToEdit && $isFeedbackAllowed) { |
| 704 |
|
if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION))) { |
main/inc/lib/exercise.lib.php 1 location
|
@@ 3661-3667 (lines=7) @@
|
| 3658 |
|
} |
| 3659 |
|
|
| 3660 |
|
$comnt = null; |
| 3661 |
|
if ($show_results) { |
| 3662 |
|
$comnt = Event::get_comments($exe_id, $questionId); |
| 3663 |
|
if (!empty($comnt)) { |
| 3664 |
|
echo '<b>' . get_lang('Feedback') . '</b>'; |
| 3665 |
|
echo '<div id="question_feedback">' . $comnt . '</div>'; |
| 3666 |
|
} |
| 3667 |
|
} |
| 3668 |
|
|
| 3669 |
|
if ($show_results) { |
| 3670 |
|
$score = array( |
main/exercise/exercise.class.php 1 location
|
@@ 7990-7996 (lines=7) @@
|
| 7987 |
|
} |
| 7988 |
|
|
| 7989 |
|
$comnt = null; |
| 7990 |
|
if ($show_results) { |
| 7991 |
|
$comnt = get_comments($exe_id, $questionId); |
| 7992 |
|
if (!empty($comnt)) { |
| 7993 |
|
echo '<b>'.get_lang('Feedback').'</b>'; |
| 7994 |
|
echo '<div id="question_feedback">'.$comnt.'</div>'; |
| 7995 |
|
} |
| 7996 |
|
} |
| 7997 |
|
|
| 7998 |
|
$score = array(); |
| 7999 |
|
$score['result'] = get_lang('Score')." : ".ExerciseLib::show_score($my_total_score, $my_total_weight, false, true); |