MDL-12744 - Add ability to pass an extra button for use in print header for modules that use the course page to display themselves with blocks.

This commit is contained in:
mchurch 2007-12-27 21:25:19 +00:00
parent 5a8100234f
commit 7cdb6ee4a9
2 changed files with 8 additions and 2 deletions

View file

@ -163,7 +163,8 @@ function display_course_blocks_start() {
$morebreadcrumbs = array($this->strresources => 'index.php?id='.$this->course->id,
$this->resource->name => '');
$PAGE->print_header($this->course->shortname.': %fullname%', $morebreadcrumbs);
$PAGE->print_header($this->course->shortname.': %fullname%', $morebreadcrumbs, "", "",
update_module_button($this->cm->id, $this->course->id, $this->strresource));
echo '<table id="layout-table"><tr>';