Index: temp_moodle_dev/moodle/question/export.php =================================================================== diff -u -r66381db242d9f0c00668f125bcbc2bb181240331 -raca9f00eec05f594be36b6397b9c363742db6022 --- temp_moodle_dev/moodle/question/export.php (.../export.php) (revision 66381db242d9f0c00668f125bcbc2bb181240331) +++ temp_moodle_dev/moodle/question/export.php (.../export.php) (revision aca9f00eec05f594be36b6397b9c363742db6022) @@ -41,8 +41,8 @@ $navlinks[] = array('name' => format_string($module->name), 'link' => "$CFG->wwwroot/mod/{$cm->modname}/view.php?id={$cm->id}", 'type' => 'title'); $navlinks[] = array('name' => $strexportquestions, 'link' => '', 'type' => 'title'); $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($strexportquestions, '', $navigation, "", "", true, $strupdatemodule,'',false,'',false,$cm->is_lams); + print_header_simple($strexportquestions, '', $navigation, "", "", true, $strupdatemodule); + $currenttab = 'edit'; $mode = 'export'; ${$cm->modname} = $module; @@ -52,8 +52,8 @@ $navlinks = array(); $navlinks[] = array('name' => $strexportquestions, 'link' => '', 'type' => 'title'); $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($strexportquestions, '', $navigation, "", "", true, '','',false,'',false,$cm->is_lams); + + print_header_simple($strexportquestions, '', $navigation); // print tabs $currenttab = 'export'; include('tabs.php'); @@ -132,8 +132,7 @@ } print_continue('edit.php?' . $thispageurl->get_query_string()); - //we pass a new parameter to the function so it won't we printed if is_lams=1 - print_footer($COURSE,null, false,$cm->is_lams); + print_footer($COURSE); exit; } @@ -142,6 +141,5 @@ $export_form->display(); - //we pass a new parameter to the function so it won't we printed if is_lams=1 - print_footer($COURSE,null, false,$cm->is_lams); + print_footer($COURSE); ?>