mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
"MDL-13766, use OUTPUT to print box"
This commit is contained in:
parent
793a204e7b
commit
abdcded6c7
@ -115,9 +115,9 @@ if (!empty($edit) || !empty($new)) {
|
||||
}
|
||||
}
|
||||
if ($displaysettingform){
|
||||
print_simple_box_start();
|
||||
$OUTPUT->box_start();
|
||||
$mform->display();
|
||||
print_simple_box_end();
|
||||
$OUTPUT->box_end();
|
||||
}
|
||||
$return = false;
|
||||
|
||||
|
@ -154,9 +154,9 @@
|
||||
} else { // Display the form
|
||||
// admin_externalpage_print_header();
|
||||
print_heading(get_string('configplugin', 'repository_'.$plugin));
|
||||
print_simple_box_start();
|
||||
$OUTPUT->box_start();
|
||||
$mform->display();
|
||||
print_simple_box_end();
|
||||
$OUTPUT->box_end();
|
||||
$return = false;
|
||||
}
|
||||
} else if (!empty($delete)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user