Index: temp_moodle_dev/moodle/mod/lesson/pagelib.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/lesson/pagelib.php,v diff -u -r1.1 -r1.2 --- temp_moodle_dev/moodle/mod/lesson/pagelib.php 14 Nov 2008 06:30:06 -0000 1.1 +++ temp_moodle_dev/moodle/mod/lesson/pagelib.php 5 Jan 2009 23:28:43 -0000 1.2 @@ -60,7 +60,8 @@ * * @return void **/ - function print_header($title = '', $morenavlinks = array()) { + //LAMS: we pass a new parameter so when in a lams sequence we don't display Moodle's headers + function print_header($title = '', $morenavlinks = array(),$is_lams=NULL) { global $CFG; $this->init_full(); @@ -125,7 +126,13 @@ // } $navigation = build_navigation($morenavlinks, $this->modulerecord); - print_header($title, $this->courserecord->fullname, $navigation, '', $meta, true, $buttons, navmenu($this->courserecord, $this->modulerecord)); + //LAMS: in a lams sequence we don't display Moodle's headers + if($is_lams==1){ + print_header(); + }else{ + print_header($title, $this->courserecord->fullname, $navigation, '', $meta, true, $buttons, navmenu($this->courserecord, $this->modulerecord)); + } + if (has_capability('mod/lesson:manage', $context)) { print_heading_with_help($activityname, 'overview', 'lesson');