MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.git] / mod / data / field / file / mod.html
blob9fd3c6030754d7e4fc739f7de8e45b6332df0df9
1 <table width="100%" cellpadding="5">
2 <tr>
3 <td class="c0"><label for="name"><?php echo get_string('fieldname', 'data'); ?></label></td>
4 <td class="c1"><input class="fieldname" type="text" name="name" id="name" value="<?php p($this->field->name); ?>" /></td>
5 </tr>
6 <tr>
7 <td class="c0"><label for="description"><?php echo get_string('fielddescription', 'data'); ?></label></td>
8 <td class="c1"><input class="fielddescription" type="text" name="description" id="description" value="<?php p($this->field->description);?>" /></td>
9 </tr>
10 <tr>
11 <td class="c0"><label for="param3">
12 <?php echo get_string('maxsize', 'data'); ?></label></td>
13 <td class="c1">
14 <?php
15 $course->maxbytes = get_field('course', 'maxbytes', 'id', $this->data->course);
16 $choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes);
17 choose_from_menu($choices, 'param3', $this->field->param3, '', '', 0, false, false, 0, 'param3');
19 </td>
20 </tr>
21 </table>