diff --git a/mod/data/pagelib.php b/mod/data/pagelib.php index 10bdd6d08c6..b3e2455da51 100755 --- a/mod/data/pagelib.php +++ b/mod/data/pagelib.php @@ -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() { diff --git a/mod/data/view.php b/mod/data/view.php index dc111ae8e57..96a5334e8e0 100755 --- a/mod/data/view.php +++ b/mod/data/view.php @@ -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 '';