[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
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 = $DB->get_record('course', array('id'=>$this->data->course)); 16 $choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes, 0, $this->field->param3); 17 echo html_writer::select($choices, 'param3', $this->field->param3, false, array('id' => 'param3')); 18 ?> 19 </td> 20 </tr> 21 </table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |