Skip to content

Commit

Permalink
Merging in from the MOODLE_15_QUIZREFACTOR branch.
Browse files Browse the repository at this point in the history
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
  • Loading branch information
gustav_delius committed May 6, 2005
1 parent 69b8ba4 commit ee1fb96
Show file tree
Hide file tree
Showing 75 changed files with 16,209 additions and 5,372 deletions.
8 changes: 4 additions & 4 deletions admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
if (empty($_GET['confirmupgrade'])) {
print_header($strdatabasechecking, $stradministration, $strdatabasechecking,
"", "", false, " ", " ");
notice_yesno(get_string('upgradesure', 'admin', $a->newversion), 'index.php?confirmupgrade=yes', 'index.php');
notice_yesno(get_string('upgradesure', 'admin', $a->newversion).'<br />'.get_string('upgradesure', 'quiz'), 'index.php?confirmupgrade=yes', 'index.php');
exit;

} else {
Expand Down Expand Up @@ -260,11 +260,11 @@
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32));
}

/// Check if the guest user exists. If not, create one.
if (! record_exists("user", "username", "guest")) {
$guest->auth = "manual";
$guest->username = "guest";
$guest->auth = "manual";
$guest->username = "guest";
$guest->password = md5("guest");
$guest->firstname = addslashes(get_string("guestuser"));
$guest->lastname = " ";
Expand Down
1 change: 1 addition & 0 deletions lang/en/quiz.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@
$string['unit'] = 'Unit';
$string['unknowntype'] = 'Question type not supported at line $a. The question will be ignored';
$string['unsupportedformulafunction'] = 'The function $a is not supported';
$string['upgradesure'] = '<div style=\"color: red;\">In particular the quiz module will perform an extensive change of the quiz tables and this upgrade has not yet been sufficiently tested. You are very strongly urged to backup your database tables before proceeding.</div>';
$string['viewallanswers'] = 'View $a completed quizzes';
$string['viewallreports'] = 'View reports for $a attempts';
$string['warningsdetected'] = '$a warning(s) detected';
Expand Down
Loading

0 comments on commit ee1fb96

Please sign in to comment.