mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
3e3e5a4030
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
25 lines
792 B
HTML
25 lines
792 B
HTML
<?php
|
|
// This template determines the layout of the manual grading form. It is
|
|
// included by both by question_print_comment_box method from questionlib.php,
|
|
// and the print_questions_and_form method from the manual grading report.
|
|
?>
|
|
<table class="que comment">
|
|
<tr valign="top">
|
|
<td>
|
|
<b><?php print_string('comment', 'quiz'); ?>: </b>
|
|
</td>
|
|
<td>
|
|
<?php
|
|
print_textarea($usehtmleditor, 15, 60, 630, 300, $prefix.'[comment]', stripslashes($state->manualcomment));
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<b><?php print_string('grade', 'quiz'); ?>: </b>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="<?php echo $prefix; ?>[grade]" size="2" value="<?php echo $grade; ?>" />/<?php echo $question->maxgrade; ?>
|
|
</td>
|
|
</tr>
|
|
</table> |