]> git.mjollnir.org Git - moodle.git/commitdiff
Fix drift with CVS
authorFrancois Marier <francois@catalyst.net.nz>
Wed, 11 Mar 2009 13:16:54 +0000 (13:16 +0000)
committerFrancois Marier <francois@catalyst.net.nz>
Wed, 11 Mar 2009 13:16:54 +0000 (13:16 +0000)
admin/settings/development.php
lang/en_utf8/help/quiz/decimalpoints.html
lang/en_utf8/help/quiz/mods.html
lang/en_utf8/help/quiz/popup.html
lang/en_utf8/help/quiz/timedelay1.html
lang/en_utf8/help/quiz/timedelay2.html
lang/en_utf8/help/quiz/timelimit.html
lang/en_utf8/help/quiz/timeopen.html
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php

index ba722ae21c109509c964d0daaf01465875fc9ac0..484cf51a07746c715289506a741e68a47fec1e7b 100644 (file)
@@ -13,6 +13,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
     $item = new admin_setting_configcheckbox('enablehtmlpurifier', get_string('enablehtmlpurifier', 'admin'), get_string('configenablehtmlpurifier', 'admin'), 0);
     $item->set_updatedcallback('reset_text_filters_cache');
     $temp->add($item);
+    $temp->add(new admin_setting_configcheckbox('experimentalsplitrestore', get_string('experimentalsplitrestore', 'admin'), get_string('configexperimentalsplitrestore', 'admin'), 0));
 
     $ADMIN->add('experimental', $temp);
 
index 6052a44779a20a330fff15603aa451255eeb6ee0..6af89e60440bc87885b4e81dc859957968eaec06 100644 (file)
@@ -1,9 +1,9 @@
-<h1>Decimal digits</h1>
+<h1>Decimal places</h1>
 
 <p>By using this setting you can select the number of digits that should be
 shown after the decimal point when displaying student scores or grades.
-For example choosing '0' means the displayed grades will be rounded to integers.
-</p><p>
-This setting only effects the display of grades. It does not affect the internal
-calculations and rounding of the grades.
-</p>
+For example choosing '0' means the displayed grades will be rounded to integers.</p>
+
+<p>This setting only effects the display of grades. It does not affect the grades
+stored in the database, nor the internal calculations, which are always carried
+out to full precision.</p>
index 00b89f6da5740626ef55e3f7a7fea2fc7ae4ca7f..f666842d662e411675586299b1b5dd9c8e93b3ef 100644 (file)
@@ -1,11 +1,12 @@
-<p><img alt="" src="<?php echo $CFG->wwwroot?>/mod/quiz/icon.gif" />&nbsp;<b>Quizzes</b></p>
-<div class="indent">
-This module allows the teacher to design and set quiz tests, consisting of 
-multiple choice, true-false, and short answer questions.  These 
-questions are kept in a categorised database, and can be re-used
-within courses and even between courses.  Quizzes can allow 
-multiple attempts.  Each attempt is automatically marked, and the 
-teacher can choose whether to give feedback or to show correct answers.
-This module includes grading facilities.
-</div>
+<h2><img alt="" src="<?php echo $CFG->wwwroot?>/mod/quiz/icon.gif" /> Quizzes</h2>
 
+<p>This module allows the teacher to design and set quiz tests. The quiz can 
+comprise questonis of a variety of type, including multiple choice, short answer
+and matching.</p>
+
+<p>Quizzes can allow one or more attempts, with many options for when students
+can attempts the quiz, and what they see when they do.</p>
+
+<p>Most questions are graded automatically, however, there is a facility for
+questions that have to be graded manually by the teacher. The teacher can also
+manually override the automatically awarded grade for any question.</p>
index 7493663cef938dff57ef433ceb485a82a1a4234b..8d4ef6cab9481a7f70a998fc75abc35a4fe7eacc 100644 (file)
@@ -1,8 +1,7 @@
-<h1>Display in a "secure" window</h1>
+<h1>Use a 'secure' popup window for attempts</h1>
 
-<p>The "secure" window tries to provide a little more security for quizzes 
-   (making copying and cheating more difficult) by restricting some of the things
-   that students can do with their browsers.</p>
+<p>The 'secure' window tries to make some simpler forms of copying and cheating
+more difficult during quiz attempts.</p>
 
 <p>What happens is that:</p>
  <ul>
      <li>Some keyboard commands are prevented.</li>
  </ul>
 
-<p>NOTE: <b>This security is NOT watertight</b>. Do NOT rely on these protections 
+<p>NOTE: <b>This security is not watertight</b>. Do not rely on these protections 
    as your sole strategy.  It is impossible to implement complete protection 
    of quizzes in a web environment so please do not rely on this option if 
-   you are really worried about students cheating.   Other strategies you can 
+   you are really worried about students cheating. Other strategies you can 
    try are to create really large databases of questions from which you 
    randomly choose questions, or even better, rethink your overall assessment 
    to put more value on constructive forms of activity such as forum discussions, 
index 8c5d98fa0ac85f9820a901d62b343981230024b9..f33668cf6a1e391d49585b90033733ec74e563a9 100644 (file)
@@ -1,4 +1,5 @@
 <h1>Time Delay between first and second attempt</h1>
 
-<p>If you set a time delay, then a student has to wait for that time before they can attempt a quiz after the first attempt.</p>
-   
+<p>If you set a time delay, then the student has to wait for that amount of time
+to pass after the end of their first attempt before they can start their second attempt.</p>
+
index 1615b524bfa2069235c64a8300afcc485906bdf8..7d1b946ede19c687cdcdecab0db172dec1aa694d 100644 (file)
@@ -1,4 +1,5 @@
 <h1>Time Delay between additional quiz attempts</h1>
 
-<p>If you set a time delay here, then a student has to wait for that time before they can attempt their third or later attempts.</p>
+<p>If you set a time delay, then the student has to wait for that amount of time
+to pass after the end of their previous attempt before they can start their third or later attempt.</p>
 
index c24be7058e875d3f639da05108cdd9fa6f7d9ea2..ec47a54b59169b78c808b67baca28d067ef16b82 100644 (file)
@@ -1,17 +1,10 @@
 <p align="center"><strong>Time limit</strong></p>
 
-<p>By default, quizzes do not have a time limit, which allows
-   students as much time as they need to complete the quiz.</p>
+<p>By default, quizzes do not have a time limit, which allows students as much
+time as they need to complete the quiz, providing they finish before any close
+date.</p>
 
-<p>If you do specify a time limit, then several things are done to try and
-   ensure that quizzes are completed within that time:</p>
-
-<ul>
-  <li>Javascript support in the browser becomes mandatory - this allows
-      the timer to work correctly</li>
-  <li>A floating timer window is shown with a countdown</li>
-  <li>When the timer has run out, the quiz is submitted automatically
-      with whatever answers have been filled in so far</li>
-  <li>If a student manages to cheat and spends more than 60 seconds
-      over the allotted time then the quiz is automatically graded zero</li>
-</ul>
+<p>If you do specify a time limit, a countdown clock appears on-screen, and the
+quiz is automatically submitted when the time runs out. With a time limit, the
+student must submit their attempt before the time limit, or they will not
+receive a grade.</p>
index e4985a029fe3b7b0fdae207350716e0151292848..881b83301f2ecd155c7388abd54b8e507926cf05 100644 (file)
@@ -1,5 +1,5 @@
 <h1>Opening and closing the quiz</h1>
 
-<p>You can specify times when the quiz is accessible for people to make attempts.</p>
-
-<p>Before the opening time, and after the closing time, the quiz will be unavailable.</p>
+<p>You can specify a (possbily open-ended) range of times during which people
+may attempt the quiz. Outside these times, the quiz may not be attempted, but
+the person creating the quiz may preview it, to ensure it works as intended.</p>
index 31c25d6d9f8d259a1d8333c84508ae2c8dd52636..1e318e74a8ccb50bd92858735acdadfee05bd90f 100644 (file)
@@ -216,12 +216,12 @@ class quiz_report_overview_table extends table_sql {
                 $stateforqinattempt = false;
             }
             if ($stateforqinattempt && question_state_is_graded($stateforqinattempt)) {
-                $grade = quiz_rescale_grade($stateforqinattempt->grade, $this->quiz);
+                $grade = quiz_rescale_grade($stateforqinattempt->grade, $this->quiz, 'question');
                 if (!$this->is_downloading()) {
                     if (isset($this->regradedqs[$attempt->attemptuniqueid][$questionid])){
                         $gradefromdb = $grade;
-                        $newgrade = quiz_rescale_grade($this->regradedqs[$attempt->attemptuniqueid][$questionid]->newgrade, $this->quiz);
-                        $oldgrade = quiz_rescale_grade($this->regradedqs[$attempt->attemptuniqueid][$questionid]->oldgrade, $this->quiz);
+                        $newgrade = quiz_rescale_grade($this->regradedqs[$attempt->attemptuniqueid][$questionid]->newgrade, $this->quiz, 'question');
+                        $oldgrade = quiz_rescale_grade($this->regradedqs[$attempt->attemptuniqueid][$questionid]->oldgrade, $this->quiz, 'question');
 
                         $grade = '<del>'.$oldgrade.'</del><br />'.
                                 $newgrade;
@@ -255,9 +255,9 @@ class quiz_report_overview_table extends table_sql {
     function col_feedbacktext($attempt){
         if ($attempt->timefinish) {
             if (!$this->is_downloading()) {
-                return quiz_report_feedback_for_grade(quiz_rescale_grade($attempt->sumgrades, $this->quiz), $this->quiz->id);
+                return quiz_report_feedback_for_grade(quiz_rescale_grade($attempt->sumgrades, $this->quiz, false), $this->quiz->id);
             } else {
-                return strip_tags(quiz_report_feedback_for_grade(quiz_rescale_grade($attempt->sumgrades, $this->quiz), $this->quiz->id));
+                return strip_tags(quiz_report_feedback_for_grade(quiz_rescale_grade($attempt->sumgrades, $this->quiz, false), $this->quiz->id));
             }
         } else {
             return '-';
index f2a8c19fe3a3c5b09493fb33924815bd0488823a..136200411e986ffafc00a98bb26c47d5e6cf4479 100644 (file)
@@ -355,7 +355,7 @@ class quiz_overview_report extends quiz_default_report {
                     } else {
                         $header .=' ';
                     }
-                    $header .='--/'.quiz_rescale_grade($question->maxgrade, $quiz);
+                    $header .='--/'.quiz_rescale_grade($question->maxgrade, $quiz, 'question');
                     $headers[] = $header;
                  }
             }