@@ -376,7 +375,7 @@
quiz_fix_timelimit) { ?>
| : |
-
+ |
timelimit, get_string("minutes","quiz"));
helpbutton("timelimit", get_string("quiztimer","quiz"), "quiz");
@@ -388,7 +387,7 @@
quiz_fix_questionsperpage) { ?>
|
| : |
-
+ |
quiz_fix_shufflequestions) { ?>
|
| : |
-
+ |
shufflequestions", "");
helpbutton("shufflequestions", get_string("shufflequestions","quiz"), "quiz");
@@ -418,7 +417,7 @@
quiz_fix_shuffleanswers) { ?>
|
| : |
-
+ |
shuffleanswers", "");
helpbutton("shuffleanswers", get_string("shuffleanswers","quiz"), "quiz");
@@ -430,7 +429,7 @@
quiz_fix_attempts) { ?>
|
| : |
-
+ |
attempts", "");
helpbutton("attempts", get_string("attemptsallowed","quiz"), "quiz");
@@ -441,7 +440,7 @@
quiz_fix_attemptonlast) { ?>
|
| : |
-
+ |
attemptonlast", "");
@@ -455,7 +454,7 @@
quiz_fix_grademethod) { ?>
|
| : |
-
+ |
grademethod", "");
helpbutton("grademethod", get_string("grademethod","quiz"), "quiz");
@@ -467,7 +466,7 @@
quiz_fix_adaptive) { $fix = 1; ?>
|
| : |
-
+ |
optionflags & QUIZ_ADAPTIVE, "");
helpbutton("adaptive", get_string("adaptive","quiz"), "quiz");
@@ -479,7 +478,7 @@
quiz_fix_penaltyscheme) { $fix = 1; ?>
|
| : |
-
+ |
penaltyscheme", "");
helpbutton("penaltyscheme", get_string("penaltyscheme","quiz"), "quiz");
@@ -491,7 +490,7 @@
quiz_fix_decimalpoints) { ?>
|
| : |
-
+ |
quiz_fix_popup) { ?>
|
| : |
-
+ |
popup", "");
helpbutton("popup", get_string("popup","quiz"), "quiz");
@@ -526,7 +525,7 @@
quiz_fix_password) { ?>
|
| : |
-
+ |
|
@@ -536,7 +535,7 @@
quiz_fix_subnet) { ?>
| : |
-
+ |
|
@@ -546,12 +545,11 @@
-
+
-
-
-
@@ -577,6 +575,4 @@
-
+
diff --git a/mod/quiz/report.php b/mod/quiz/report.php
index fc6948fe441..90b4c070860 100644
--- a/mod/quiz/report.php
+++ b/mod/quiz/report.php
@@ -8,7 +8,7 @@
optional_variable($id); // Course Module ID, or
optional_variable($q); // quiz ID
- optional_variable($mode, "simplestat"); // Report mode
+ optional_variable($mode, "overview"); // Report mode
if ($id) {
if (! $cm = get_record("course_modules", "id", $id)) {
@@ -58,26 +58,6 @@
add_to_log($course->id, "quiz", "report", "report.php?id=$cm->id", "$quiz->id", "$cm->id");
-
-/* Code moved into each plugin report.php
-/// Define some strings
-
- $strquizzes = get_string("modulenameplural", "quiz");
- $strquiz = get_string("modulename", "quiz");
-
-/// Print the page header
-
- print_header_simple(format_string($quiz->name), "",
- " id\">$strquizzes
- -> ".format_string($quiz->name),
- "", "", true, update_module_button($cm->id, $course->id, $strquiz), navmenu($course, $cm));
-
-/// Print the tabs
-
- $currenttab = 'reports';
- include('tabs.php');
-*/
-
/// Open the selected quiz report and display it
$mode = clean_filename($mode);
diff --git a/mod/quiz/report/analysis/report.php b/mod/quiz/report/analysis/report.php
index d7b68fe50ee..4c4c343e03f 100644
--- a/mod/quiz/report/analysis/report.php
+++ b/mod/quiz/report/analysis/report.php
@@ -1,5 +1,4 @@
libdir.'/tablelib.php');
@@ -9,7 +8,7 @@ class quiz_report extends quiz_default_report {
function display($quiz, $cm, $course) { /// This function just displays the report
global $CFG, $SESSION, $db, $QUIZ_QTYPES;
- $strnoquiz = get_string('noquiz','quiz');
+
$strnoattempts = get_string('noattempts','quiz');
if (!$quiz->questions) {
@@ -39,7 +38,7 @@ class quiz_report extends quiz_default_report {
return true;
}
- // set tTable and Analysis stats options
+ // set Table and Analysis stats options
if(!isset($SESSION->quiz_analysis_table)) {
$SESSION->quiz_analysis_table = array('attemptselection' => 0, 'lowmarklimit' => 0, 'pagesize' => 10);
}
@@ -343,7 +342,7 @@ class quiz_report extends quiz_default_report {
global $CFG, $USER;
echo ' |