diff --git a/lang/en_utf8/quiz_grading.php b/lang/en_utf8/quiz_grading.php index 02e6801068b..87d9e6e3c9a 100644 --- a/lang/en_utf8/quiz_grading.php +++ b/lang/en_utf8/quiz_grading.php @@ -14,7 +14,7 @@ $string['gradeungraded'] = 'Grade all $a ungraded attempts'; $string['gradenextungraded'] = 'Grade next $a ungraded attempts'; $string['gradinguser'] = 'Attempts for $a'; $string['gradingall'] = 'All $a attempts on this question.'; -$string['gradingattempt'] = 'Attempt number $a->attempt for $a->fullname.'; +$string['gradingattempt'] = 'Attempt number $a->attempt for $a->fullname'; $string['gradingnextungraded'] = 'Next $a ungraded attempts'; $string['gradingnotallowed'] = 'You do not have permission to manually grade responses in this quiz'; $string['gradingungraded'] = '$a ungraded attempts'; diff --git a/lib/questionlib.php b/lib/questionlib.php index a6e2ee51b82..1a161288070 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -1729,26 +1729,38 @@ function get_question_image($question) { return $img; } -function question_print_comment_fields($question, $state, $prefix, $cmoptions) { +function question_print_comment_fields($question, $state, $prefix, $cmoptions, $caption = '') { $idprefix = preg_replace('/[^-_a-zA-Z0-9]/', '', $prefix); $grade = question_format_grade($cmoptions, $state->last_graded->grade); $maxgrade = question_format_grade($cmoptions, $question->maxgrade); $fieldsize = strlen($maxgrade) - 1; - echo '
| \n"; - echo ' | '; - print_textarea(can_use_html_editor(), 15, 60, 630, 300, $prefix . '[comment]', - $state->manualcomment, 0, false, $idprefix . '_comment_box'); - echo " | \n"; - echo "
|---|---|
| \n"; - echo ' | /' . $maxgrade . " | \n"; - echo "