Index: temp_moodle_dev/moodle/lib/pagelib.php =================================================================== diff -u -r5330c13e294f86a39f3e83ac52fbbe0e5ef2c593 -raca9f00eec05f594be36b6397b9c363742db6022 --- temp_moodle_dev/moodle/lib/pagelib.php (.../pagelib.php) (revision 5330c13e294f86a39f3e83ac52fbbe0e5ef2c593) +++ temp_moodle_dev/moodle/lib/pagelib.php (.../pagelib.php) (revision aca9f00eec05f594be36b6397b9c363742db6022) @@ -633,7 +633,7 @@ function blocks_default_position() { return BLOCK_POS_LEFT; } - //lams: add a new parameter so we can display or not the header depending on if is in a lams sequence or not + function print_header($title, $morenavlinks = NULL, $bodytags = '', $meta = '',$is_lams=null) { global $USER, $CFG; @@ -662,11 +662,11 @@ $morenavlinks = array(); } $navigation = build_navigation($morenavlinks, $this->modulerecord); - if($is_lams==0){ - print_header($title, $this->courserecord->fullname, $navigation, '', $meta, true, $buttons, navmenu($this->courserecord, $this->modulerecord), false, $bodytags); - }else{ - print_header(); - } + if($is_lams==0){ + print_header($title, $this->courserecord->fullname, $navigation, '', $meta, true, $buttons, navmenu($this->courserecord, $this->modulerecord), false, $bodytags); + } else { + print_header(); + } } }