Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / mod / data / field / picture / mod.html
blob66975535a2768a2d047d50c93d611bc868a1e7da
1 <table width="100%" cellpadding="5">
2 <tr>
3 <td class="c0"><label for="name">
4 <?php echo get_string('fieldname', 'data');?></label></td>
5 <td class="c1"><input class="fieldname" type="text" name="name" id="name" value="<?php p($this->field->name); ?>" />
6 </td>
7 </tr>
8 <tr>
9 <td class="c0"><label for="description">
10 <?php echo get_string('fielddescription', 'data');?></label></td>
11 <td class="c1">
12 <input class="fielddescription" type="text" name="description" id="description" value="<?php p($this->field->description);?>" />
13 </td>
14 </tr>
15 <tr>
16 <td class="c0"><label for="param1">
17 <?php echo get_string('fieldwidthsingleview', 'data');?></label></td>
18 <td class="c1">
19 <input style="width:70px;" type="text" name="param1" id="param1" value="<?php if (!empty($this->field->param1)) p($this->field->param1); ?>" />
20 </td>
21 </tr>
22 <tr>
23 <td class="c0"><label for="param2">
24 <?php echo get_string('fieldheightsingleview', 'data');?></label></td>
25 <td class="c1">
26 <input style="width:70px;" type="text" name="param2" id="param2" value="<?php if (!empty($this->field->param2)) p($this->field->param2); ?>" />
27 </td>
28 </tr>
29 <tr>
30 <td class="c0"><label for="param4">
31 <?php echo get_string('fieldwidthlistview', 'data');?></label></td>
32 <td class="c1"><input style="width:70px;" type="text" name="param4" id="param4" value="<?php if (!empty($this->field->param4)) p($this->field->param4); ?>" />
33 </td>
34 </tr>
35 <tr>
36 <td class="c0"><label for="param5">
37 <?php echo get_string('fieldheightlistview', 'data');?></label></td>
38 <td class="c1">
39 <input style="width:70px;" type="text" name="param5" id="param5" value="<?php if (!empty($this->field->param5)) p($this->field->param5); ?>" />
40 </td>
41 </tr>
42 <tr>
43 <td class="c0"><label for="param3">
44 <?php echo get_string('maxsize', 'data'); ?></label></td>
45 <td class="c1">
46 <?php
47 $course->maxbytes = get_field('course', 'maxbytes', 'id', $this->data->course);
48 $choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes);
49 choose_from_menu($choices, 'param3', $this->field->param3, '', '', 0, false, false, 0, 'param3');
51 </td>
52 </tr>
53 </table>