Added $CFG->pagepath to the blocks_execute_action() function for the config

action. This is used to generate the Moodle Docs URL for configuration of an
instance of a block.
This commit is contained in:
vyshane 2006-03-16 04:55:43 +00:00
parent 60534cfc9c
commit a2c28054b8

View file

@ -470,6 +470,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
$CFG->pagepath = 'blocks/' . $block->name;
print_footer(); print_footer();
die(); // Do not go on with the other page-related stuff die(); // Do not go on with the other page-related stuff
} }