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