Index: temp_moodle_dev/moodle/mod/chat/index.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/chat/index.php,v diff -u -r1.1 -r1.2 --- temp_moodle_dev/moodle/mod/chat/index.php 14 Nov 2008 06:30:10 -0000 1.1 +++ temp_moodle_dev/moodle/mod/chat/index.php 16 Jan 2009 05:58:34 -0000 1.2 @@ -25,9 +25,9 @@ $navlinks = array(); $navlinks[] = array('name' => $strchats, 'link' => '', 'type' => 'activity'); $navigation = build_navigation($navlinks); + //we pass a new parameter to the function so it won't we printed if is_lams=1 + print_header_simple($strchats, '', $navigation, '', '', true, '', navmenu($course),false,'',false,$cm->is_lams); - print_header_simple($strchats, '', $navigation, '', '', true, '', navmenu($course)); - /// Get all the appropriate data if (! $chats = get_all_instances_in_course('chat', $course)) { @@ -85,6 +85,7 @@ /// Finish the page - print_footer($course); + //we pass a new parameter to the function so it won't we printed if is_lams=1 + print_footer($course,null, false,$chat->is_lams); ?>