2003-10-06 18:02:35 +00:00
|
|
|
<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(); ?>" />
|
2003-10-06 18:02:35 +00:00
|
|
|
|
2005-04-14 13:24:40 +00:00
|
|
|
<table cellpadding=9 cellspacing=0 >
|
|
|
|
<tr valign=top>
|
2005-05-16 22:22:31 +00:00
|
|
|
<td align=right><p>assignment_maxbytes:</td>
|
2003-10-06 18:02:35 +00:00
|
|
|
<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>
|
|
|
|
|
2006-01-05 16:27:20 +00:00
|
|
|
<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>
|
|
|
|
|
2003-10-06 18:02:35 +00:00
|
|
|
<tr>
|
2005-04-14 13:24:40 +00:00
|
|
|
<td colspan=3 align=center>
|
2005-05-16 22:22:31 +00:00
|
|
|
<input type="submit" value="<?php print_string("savechanges") ?>"></td>
|
2003-10-06 18:02:35 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|