mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -343,7 +343,16 @@ class core_backup_renderer extends plugin_renderer_base {
|
|||
} else {
|
||||
$description = '';
|
||||
}
|
||||
return $this->backup_detail_pair($label, html_writer::empty_tag('input', $attributes+array('name'=>$name, 'type'=>$type, 'value'=>$value)).$description);
|
||||
|
||||
if ($type == 'text') {
|
||||
if (empty($attributes['id'])) {
|
||||
$attributes['id'] = $name;
|
||||
}
|
||||
$label = html_writer::label($name, $attibutes['id'], false, array('class' => 'accesshide'));
|
||||
} else {
|
||||
$label = '';
|
||||
}
|
||||
return $this->backup_detail_pair($label, $label . html_writer::empty_tag('input', $attributes+array('name'=>$name, 'type'=>$type, 'value'=>$value)).$description);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue