Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / data / field / textarea / mod.html
blobabe706dbce7d6a6493ca65ac13814c4e768ac6b5
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">
9 <input class="fielddescription" type="text" name="description" id="description"
10 value="<?php p($this->field->description); ?>" />
11 </td>
12 </tr>
13 <tr>
14 <td class="c0"><label for="param2">
15 <?php echo get_string('fieldwidth', 'data'); ?></label></td>
16 <td class="c1">
17 <input style="width:50px;" type="text" name="param2" id="param2" value=
18 <?php
19 if (empty($this->field->param2)) {
20 echo('"60"');
21 } else {
22 echo '"'.s($this->field->param2).'"';
24 ?> /> <?php echo get_string('columns', 'data'); ?>
25 </td>
26 </tr>
27 <tr>
28 <td class="c0"><label for="param3">
29 <?php echo get_string('fieldheight', 'data'); ?></label></td>
30 <td class="c1">
31 <input style="width:50px;" type="text" name="param3" id="param3" value=
32 <?php
33 if (empty($this->field->param3)) {
34 echo('"35"');
35 } else {
36 echo '"'.s($this->field->param3).'"';
38 ?> /> <?php echo get_string('rows', 'data'); ?>
39 </td>
40 </tr>
41 </table>