Index: temp_moodle_dev/moodle/lib/pagelib.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/lib/pagelib.php,v diff -u -r1.3 -r1.4 --- temp_moodle_dev/moodle/lib/pagelib.php 16 Jan 2009 00:25:42 -0000 1.3 +++ temp_moodle_dev/moodle/lib/pagelib.php 28 Oct 2009 07:32:07 -0000 1.4 @@ -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(); + } } }