Permalink
Browse files

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

  • Loading branch information...
1 parent c853304 commit 1cfc979a73143e3890aa0d4bfe9e09e151c86a2a vyshane committed Mar 3, 2006
Showing with 4 additions and 5 deletions.
  1. +3 −3 mod/data/pagelib.php
  2. +1 −2 mod/data/view.php
View
@@ -27,7 +27,7 @@ function init_quick($data) {
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 @@ function print_header($title, $morebreadcrumbs = NULL) {
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
@@ -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>';

0 comments on commit 1cfc979

Please sign in to comment.