Merged CSS fix for bug 4045 from stable

This commit is contained in:
moodler 2005-09-09 16:52:47 +00:00
parent 50fcf8cf0d
commit b9709905c7

View File

@ -448,6 +448,9 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
// We need to show the config screen, so we highjack the display logic and then die
$strheading = get_string('blockconfiga', 'moodle', $blocktitle);
$page->print_header(get_string('pageheaderconfigablock', 'moodle'), array($strheading => ''));
echo '<div class="block-config" id="'.$block->name.'">'; /// Make CSS easier
print_heading($strheading);
echo '<form method="post" action="'. $page->url_get_path() .'">';
echo '<p>';
@ -457,6 +460,8 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
echo '</p>';
$blockobject->instance_config_print();
echo '</form>';
echo '</div>';
print_footer();
die(); // Do not go on with the other page-related stuff
}