mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
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:
parent
5a8100234f
commit
7cdb6ee4a9
2 changed files with 8 additions and 2 deletions
|
@ -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>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue