Files
moodle/mod/data/field/textarea/mod.html
T
skodak e357c206db xhtml and accessibility cleanup in data mod MDL-7813
* 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
2006-12-12 23:34:55 +00:00

42 lines
1.6 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="param2">
<?php echo get_string('fieldwidth', 'data'); ?></label></td>
<td class="c1">
<input style="width:50px;" type="text" name="param2" id="param2" value=
<?php
if (empty($this->field->param2)) {
echo('"60"');
} else {
echo '"'.s($this->field->param2).'"';
}
?> /> <?php echo get_string('columns', 'data'); ?>
</td>
</tr>
<tr>
<td class="c0"><label for="param3">
<?php echo get_string('fieldheight', 'data'); ?></label></td>
<td class="c1">
<input style="width:50px;" type="text" name="param3" id="param3" value=
<?php
if (empty($this->field->param3)) {
echo('"35"');
} else {
echo '"'.s($this->field->param2).'"';
}
?> /> <?php echo get_string('rows', 'data'); ?>
</td>
</tr>
</table>