[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
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="required"><?php echo get_string('requiredfield', 'data'); ?></label></td> 17 <td class="c1"><input class="requiredfield" type="checkbox" name="required" id="required" <?php p($this->field->required?"checked=\"checked\"":""); ?>/></td> 18 </tr> 19 <tr> 20 <td class="c0"><label for="param1"> 21 <?php echo get_string('fieldwidthsingleview', 'data');?></label></td> 22 <td class="c1"> 23 <input class="picturefieldsize" type="text" name="param1" id="param1" value="<?php if (!empty($this->field->param1)) p($this->field->param1); ?>" /> 24 </td> 25 </tr> 26 <tr> 27 <td class="c0"><label for="param2"> 28 <?php echo get_string('fieldheightsingleview', 'data');?></label></td> 29 <td class="c1"> 30 <input class="picturefieldsize" type="text" name="param2" id="param2" value="<?php if (!empty($this->field->param2)) p($this->field->param2); ?>" /> 31 </td> 32 </tr> 33 <tr> 34 <td class="c0"><label for="param4"> 35 <?php echo get_string('fieldwidthlistview', 'data');?></label></td> 36 <td class="c1"><input class="picturefieldsize" type="text" name="param4" id="param4" value="<?php if (!empty($this->field->param4)) p($this->field->param4); ?>" /> 37 </td> 38 </tr> 39 <tr> 40 <td class="c0"><label for="param5"> 41 <?php echo get_string('fieldheightlistview', 'data');?></label></td> 42 <td class="c1"> 43 <input class="picturefieldsize" type="text" name="param5" id="param5" value="<?php if (!empty($this->field->param5)) p($this->field->param5); ?>" /> 44 </td> 45 </tr> 46 <tr> 47 <td class="c0"><label for="param3"> 48 <?php echo get_string('maxsize', 'data'); ?></label></td> 49 <td class="c1"> 50 <?php 51 $course = $DB->get_record('course', array('id'=>$this->data->course)); 52 $choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes, 0, $this->field->param3); 53 echo html_writer::select($choices, 'param3', $this->field->param3, false, array('id'=>'param3')); 54 ?> 55 </td> 56 </tr> 57 </table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |