MDL-10092:
[moodle-linuxchix.git] / mod / assignment / config.html
blob6eedcdff2d050449e4346fd7e59572d9ca78f158
1 <form method="post" action="module.php" id="form">
2 <div>
3 <input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
5 <table cellpadding="9" cellspacing="0" >
6 <tr valign="top">
7 <td align="right">assignment_maxbytes:</td>
8 <td><?php
9 $choices = get_max_upload_sizes($CFG->maxbytes);
10 choose_from_menu ($choices, "assignment_maxbytes", $CFG->assignment_maxbytes, "");
12 </td>
13 <td>
14 <?php print_string("configmaxbytes", "assignment") ?>
15 </td>
16 </tr>
18 <tr valign="top">
19 <td align="right">assignment_itemstocount:</td>
20 <td><?php
21 unset($options);
22 $options[ASSIGNMENT_COUNT_WORDS] = trim(get_string('numwords', ''));
23 $options[ASSIGNMENT_COUNT_LETTERS] = trim(get_string('numletters', ''));
24 choose_from_menu ($options, 'assignment_itemstocount', $CFG->assignment_itemstocount, "");
26 </td>
27 <td>
28 <?php print_string("configitemstocount", "assignment") ?>
29 </td>
30 </tr>
32 <tr>
33 <td colspan="3" align="center">
34 <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
35 </tr>
36 </table>
37 </div>
38 </form>