mirror of
https://github.com/moodle/moodle.git
synced 2025-07-26 08:50:30 +02:00
* image galery preset accessiblity fixes MDL-7822 * xhtml fixes * fields now use s() and p() where needed * added labels to all fields - imporved accessiblity for adding of new entries * some other general bugfixing and cleanup it is still not finished though, expect some more commits tomorrow
22 lines
1.1 KiB
HTML
Executable File
22 lines
1.1 KiB
HTML
Executable File
<table width="100%" cellpadding="5">
|
|
<tr>
|
|
<td class="c0"><label for="name"><?php echo get_string('fieldname', 'data'); ?></label></td>
|
|
<td class="c1"><input class="fieldname" type="text" name="name" id="name" value="<?php p($this->field->name); ?>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="c0"><label for="description"><?php echo get_string('fielddescription', 'data'); ?></label></td>
|
|
<td class="c1"><input class="fielddescription" type="text" name="description" id="description" value="<?php p($this->field->description);?>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="c0"><label for="param3">
|
|
<?php echo get_string('maxsize', 'data'); ?></label></td>
|
|
<td class="c1">
|
|
<?php
|
|
$course->maxbytes = get_field('course', 'maxbytes', 'id', $this->data->course);
|
|
$choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes);
|
|
choose_from_menu($choices, 'param3', $this->field->param3, '', '', 0, false, false, 0, 'param3');
|
|
?>
|
|
</td>
|
|
</tr>
|
|
</table>
|