mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
5bfeb5ffd3
108 changed files with 390 additions and 216 deletions
|
@ -118,7 +118,8 @@ class data_field_picture extends data_field_base {
|
|||
}
|
||||
|
||||
function display_search_field($value = '') {
|
||||
return '<input type="text" size="16" name="f_'.$this->field->id.'" value="'.$value.'" />';
|
||||
return '<label class="accesshide" for="f_'.$this->field->id.'">' . get_string('fieldname', 'data') . '</label>' .
|
||||
'<input type="text" size="16" id="f_'.$this->field->id.'" name="f_'.$this->field->id.'" value="'.$value.'" />';
|
||||
}
|
||||
|
||||
function parse_search_field() {
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
<?php
|
||||
$course->maxbytes = $DB->get_field('course', 'maxbytes', array('id'=>$this->data->course));
|
||||
$choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes);
|
||||
echo html_writer::label($this->field->param3, 'menuparam3', false, array('class' => 'accesshide'));
|
||||
echo html_writer::select($choices, 'param3', $this->field->param3, false, array('id'=>'param3'));
|
||||
?>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue