mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-31443 core_backup: revert changes to util/ui/renderer.php
This commit is contained in:
parent
398e912054
commit
2e8491a5be
@ -125,13 +125,7 @@ class core_backup_renderer extends plugin_renderer_base {
|
||||
$html .= html_writer::end_tag('div');
|
||||
|
||||
$html .= html_writer::start_tag('div', array('class' => 'backup-section settings-section'));
|
||||
if ($this instanceof import_ui_stage_inital) {
|
||||
$html .= $this->output->heading(get_string('importrootsettings', 'backup'), 2, array('class' => 'header'));
|
||||
} else if ($this instanceof restore_ui_stage_settings) {
|
||||
$html .= $this->output->heading(get_string('restorerootsettings', 'backup'), 2, array('class' => 'header'));
|
||||
} else {
|
||||
$html .= $this->output->heading(get_string('backupsettings', 'backup'), 2, array('class' => 'header'));
|
||||
}
|
||||
$html .= $this->output->heading(get_string('backupsettings', 'backup'), 2, array('class' => 'header'));
|
||||
foreach ($details->root_settings as $label => $value) {
|
||||
if ($label == 'filename' or $label == 'user_files') {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user