<form method="post" action="module.php" id="form">
<div>
<input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />

<table cellpadding="9" cellspacing="0" >
<tr valign="top">
    <td align="right">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">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">
    <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
</tr>
</table>
</div>
</form>
