"MDL-13766, use OUTPUT to print box"

This commit is contained in:
dongsheng 2009-07-09 07:17:18 +00:00
parent 793a204e7b
commit abdcded6c7
2 changed files with 4 additions and 4 deletions

View File

@ -115,9 +115,9 @@ if (!empty($edit) || !empty($new)) {
} }
} }
if ($displaysettingform){ if ($displaysettingform){
print_simple_box_start(); $OUTPUT->box_start();
$mform->display(); $mform->display();
print_simple_box_end(); $OUTPUT->box_end();
} }
$return = false; $return = false;

View File

@ -154,9 +154,9 @@
} else { // Display the form } else { // Display the form
// admin_externalpage_print_header(); // admin_externalpage_print_header();
print_heading(get_string('configplugin', 'repository_'.$plugin)); print_heading(get_string('configplugin', 'repository_'.$plugin));
print_simple_box_start(); $OUTPUT->box_start();
$mform->display(); $mform->display();
print_simple_box_end(); $OUTPUT->box_end();
$return = false; $return = false;
} }
} else if (!empty($delete)) { } else if (!empty($delete)) {