Index: temp_moodle_dev/moodle/mod/chat/index.php =================================================================== diff -u -r5251d2a62e0e78377219456d6bba613eb2d1fd26 -r7a87ac7addfde23c9309be978384cc3a61f561db --- temp_moodle_dev/moodle/mod/chat/index.php (.../index.php) (revision 5251d2a62e0e78377219456d6bba613eb2d1fd26) +++ temp_moodle_dev/moodle/mod/chat/index.php (.../index.php) (revision 7a87ac7addfde23c9309be978384cc3a61f561db) @@ -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); ?>