Added argument $meta to pagelib::print_header (data module)

This commit is contained in:
vyshane 2006-03-03 08:30:36 +00:00
parent c853304e52
commit 1cfc979a73
2 changed files with 4 additions and 5 deletions

View File

@ -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() {

View File

@ -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>';