Index: temp_moodle_dev/moodle/question/import.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/question/import.php,v diff -u -r1.4 -r1.5 --- temp_moodle_dev/moodle/question/import.php 11 Dec 2008 07:57:25 -0000 1.4 +++ temp_moodle_dev/moodle/question/import.php 28 Oct 2009 07:32:02 -0000 1.5 @@ -62,8 +62,8 @@ $navlinks[] = array('name' => format_string($module->name), 'link' => "$CFG->wwwroot/mod/{$cm->modname}/view.php?id={$cm->id}", 'type' => 'title'); $navlinks[] = array('name' => $txt->importquestions, '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($txt->importquestions, '', $navigation, "", "", true, $strupdatemodule,'',false,'',false,$cm->is_lams); + print_header_simple($txt->importquestions, '', $navigation, "", "", true, $strupdatemodule); + $currenttab = 'edit'; $mode = 'import'; ${$cm->modname} = $module; @@ -73,8 +73,8 @@ $navlinks = array(); $navlinks[] = array('name' => $txt->importquestions, '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($txt->importquestions, '', $navigation, "", "", true, $strupdatemodule,'',false,'',false,$cm->is_lams); + + print_header_simple($txt->importquestions, '', $navigation); // print tabs $currenttab = 'import'; include('tabs.php'); @@ -148,8 +148,7 @@ echo "