moodle/mod/assignment/config.html

38 lines
1.0 KiB
HTML
Raw Normal View History

<form method="post" action="module.php" name="form">
2005-06-20 09:15:30 +00:00
<input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
<table cellpadding=9 cellspacing=0 >
<tr valign=top>
2005-05-16 22:22:31 +00:00
<td align=right><p>assignment_maxbytes:</td>
<td><?php
$choices = get_max_upload_sizes($CFG->maxbytes);
choose_from_menu ($choices, "assignment_maxbytes", $CFG->assignment_maxbytes, "");
?>
</td>
<td>
<?php print_string("configmaxbytes", "assignment") ?>
</td>
</tr>
<tr valign=top>
<td align=right><p>assignment_itemstocount:</td>
<td><?php
unset($options);
$options[ASSIGNMENT_COUNT_WORDS] = trim(get_string('numwords', ''));
$options[ASSIGNMENT_COUNT_LETTERS] = trim(get_string('numletters', ''));
choose_from_menu ($options, 'assignment_itemstocount', $CFG->assignment_itemstocount, "");
?>
</td>
<td>
<?php print_string("configitemstocount", "assignment") ?>
</td>
</tr>
<tr>
<td colspan=3 align=center>
2005-05-16 22:22:31 +00:00
<input type="submit" value="<?php print_string("savechanges") ?>"></td>
</tr>
</table>
</form>