mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-8922: Had to modify another bunch of files to fix a simple problem:
when a config block contains a form, the previous form needs to be closed properly (it was, but there were non-matching closing divs etc...).
This commit is contained in:
parent
7b44777ef7
commit
5db0cffcf6
6 changed files with 14 additions and 10 deletions
|
@ -577,10 +577,8 @@ class block_base {
|
|||
|
||||
if (is_file($CFG->dirroot .'/blocks/'. $this->name() .'/config_instance.html')) {
|
||||
print_simple_box_start('center', '', '', 5, 'blockconfiginstance');
|
||||
print_location_comment(__FILE__,__LINE__);
|
||||
include($CFG->dirroot .'/blocks/'. $this->name() .'/config_instance.html');
|
||||
print_simple_box_end();
|
||||
print_location_comment(__FILE__,__LINE__);
|
||||
} else {
|
||||
notice(get_string('blockconfigbad'), str_replace('blockaction=', 'dummy=', qualified_me()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue