mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Added argument $meta to pagelib::print_header (data module)
This commit is contained in:
parent
c853304e52
commit
1cfc979a73
@ -27,7 +27,7 @@ class page_data extends page_generic_activity {
|
||||
parent::init_quick($data);
|
||||
}
|
||||
|
||||
function print_header($title, $morebreadcrumbs = NULL) {
|
||||
function print_header($title, $morebreadcrumbs = NULL, $meta) {
|
||||
global $USER, $CFG;
|
||||
|
||||
$this->init_full();
|
||||
@ -77,8 +77,8 @@ class page_data extends page_generic_activity {
|
||||
else {
|
||||
$buttons = ' ';
|
||||
}
|
||||
print_header($title, $this->courserecord->fullname, $crumbtext, '', '', true, $buttons, navmenu($this->courserecord, $this->modulerecord));
|
||||
|
||||
print_header($title, $this->courserecord->fullname, $crumbtext, '', $meta, true, $buttons, navmenu($this->courserecord, $this->modulerecord));
|
||||
|
||||
}
|
||||
|
||||
function get_type() {
|
||||
|
@ -106,8 +106,7 @@
|
||||
}
|
||||
|
||||
/// Print the page header
|
||||
//$PAGE->print_header($course->shortname.': %fullname%', '', '', '', $rssmeta);
|
||||
print_header($course->shortname.': %fullname%', '', '', '', $rssmeta);
|
||||
$PAGE->print_header($course->shortname.': %fullname%', '', $rssmeta);
|
||||
|
||||
echo '<table id="layout-table"><tr>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user