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:
nicolasconnault 2007-03-26 03:06:45 +00:00
parent 7b44777ef7
commit 5db0cffcf6
6 changed files with 14 additions and 10 deletions

View file

@ -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()));
}