Updated quiz scripts to work with the separate question scripts in moodle/question

This commit is contained in:
gustav_delius 2006-02-24 10:43:06 +00:00
parent e586cfb4b0
commit 80a5e194ff
15 changed files with 24 additions and 3194 deletions

View file

@ -11,7 +11,7 @@
require_once("../../config.php");
require_once("locallib.php"); // TODO: this should not need locallib.php
require_once('questionlib.php');
require_once($CFG->libdir.'/questionlib.php');
$categoryid = optional_param('category',0, PARAM_INT);
$courseid = required_param('courseid',PARAM_INT);
@ -70,8 +70,7 @@
include('tabs.php');
} else {
print_header_simple($strexportquestions, '',
"<a href=\"index.php?id=$course->id\">".get_string('modulenameplural', 'quiz').'</a>'.
'-> <a href="edit.php">'.get_string('editquestions', 'quiz').'</a>'.
'<a href="edit.php">'.get_string('editquestions', 'quiz').'</a>'.
' -> '.$strexportquestions);
}