moodle/question/comment.html
tjhunt 3e3e5a4030 Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
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.
2006-08-24 16:44:15 +00:00

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>