mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Updated quiz scripts to work with the separate question scripts in moodle/question
This commit is contained in:
parent
e586cfb4b0
commit
80a5e194ff
15 changed files with 24 additions and 3194 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue