Skip to content
Permalink
Browse files

Added $prefix to form fields so that this code could be used with man…

…ual grading
  • Loading branch information...
mark-nielsen
mark-nielsen committed Apr 8, 2006
1 parent caca24d commit dbb3c4c6eaf19e0ea378466ecd2520f3569f3c76
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/comment.html
@@ -10,7 +10,7 @@
</td> </td>
<td> <td>
<?php <?php
print_textarea($usehtmleditor, 15, 60, 630, 300, 'comment', $state->comment); print_textarea($usehtmleditor, 15, 60, 630, 300, $prefix.'[comment]', $state->comment);
?> ?>
</td> </td>
</tr> </tr>
@@ -19,7 +19,7 @@
<b><?php print_string('grade', 'quiz'); ?>: </b> <b><?php print_string('grade', 'quiz'); ?>: </b>
</td> </td>
<td> <td>
<input type="text" name="grade" size="2" value="<?php echo $grade; ?>" />/<?php echo $question->maxgrade; ?> <input type="text" name="<?php echo $prefix; ?>[grade]" size="2" value="<?php echo $grade; ?>" />/<?php echo $question->maxgrade; ?>
</td> </td>
</tr> </tr>
</table> </table>

0 comments on commit dbb3c4c

Please sign in to comment.
You can’t perform that action at this time.