]> git.mjollnir.org Git - moodle.git/commit
quiz settings: MDL-18485 Improve quiz settings form
authortjhunt <tjhunt>
Tue, 10 Mar 2009 08:39:51 +0000 (08:39 +0000)
committertjhunt <tjhunt>
Tue, 10 Mar 2009 08:39:51 +0000 (08:39 +0000)
commit84e628a027e2a7c3d0481d6f1893cd17e631d690
tree7d56f01053bbc9ccfaee7862add964dfeeea70ec
parent48f7eb9868c87c2a9363f75b658364ca63a6e259
quiz settings: MDL-18485 Improve quiz settings form

* Reorder form fields to group things more logically.
** and on the corresponding admin page too.

* Set some options to be 'Advanced' by default:
** Apply penalties.
** Each attempt builds on the last.
** Decimal places for question grades.
** The five 'Extra restrictions on attempts' settings. (password, etc.)
* Admins can still change this to suit their institiution at Administration > Plugins > Activity modules > Quiz.
* These new defaults are applied if the admin had not previously set any fields to be advanced.

* Disable some filds when they are not applicable:
** Grading method, if num attempts = 1
** Penaly scheme, if adaptive mode = no
** Each attempt builds of last, if num attempts = 1
** Review after quiz closed options, if no close date.
** Delay between 1st and 2nd attempts, if num attempts = 1
** Delay between later attempts, if num attempts < 3

* Convert quiz.timelimit to be in seconds, for consistency, and ready for the new duration field type (MDL 18500).
** Including ensuring that backup and restore is backwards compatible.

* MDL-5537 New setting, questiondecimalpoints, so, for example, you can show the quiz grade as an integer, but have fractional question grades.
** There is a 'Same as overall decimal points' option, which is the default.

* Improve some field labels.

* Make corresponding changes in the help files.
20 files changed:
lang/en_utf8/quiz.php
lib/questionlib.php
mod/quiz/accessrules.php
mod/quiz/attemptlib.php
mod/quiz/backuplib.php
mod/quiz/db/install.xml
mod/quiz/db/upgrade.php
mod/quiz/lib.php
mod/quiz/locallib.php
mod/quiz/mod_form.php
mod/quiz/report/reportlib.php
mod/quiz/restorelib.php
mod/quiz/restorelibpre15.php
mod/quiz/review.php
mod/quiz/settingstree.php
mod/quiz/simpletest/testaccessrules.php
mod/quiz/simpletest/testlib.php
mod/quiz/simpletest/testlocallib.php
mod/quiz/version.php
mod/quiz/view.php