11 Commits

Author SHA1 Message Date
moodler
8604a1f884 Added encryption to the select form names so that it's a lot more
difficult to cheat on these questions by looking at HTML source.   SC178
2005-11-08 06:56:34 +00:00
patrickslee
9db357c08b Improved number rounding for grades fix (Merged from MOODLE_15_STABLE 2005-10-02 22:03:36 +00:00
patrickslee
7b2523bdba Added some number rounding for grades to prevent PostgreSQL errors (Merged from MOODLE_15_STABLE mod/quiz/locallib.php) 2005-09-19 00:26:23 +00:00
mindforge
3db197cad4 Fix for the bug described in the discussions http://moodle.org/mod/forum/discuss.php?d=26526 and http://moodle.org/mod/forum/discuss.php?d=27274 2005-08-15 11:38:13 +00:00
gustav_delius
6869085a5e Forgot to convert a $quiz to $cmoptions. Fixes bug 3749 2005-07-14 07:00:35 +00:00
gustav_delius
bb52d44c6a Due date and start date are now optional, as requested in bug 867 and bug 3635 2005-07-07 17:16:56 +00:00
gustav_delius
7d0fdfd794 Moved constants into constants.php so that they can be loaded where needed. 2005-07-06 06:44:18 +00:00
gustav_delius
a08e9552fa More steps towards the separation of questions from the quiz module. 2005-07-03 09:53:02 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
gustav_delius
ad7e7ba882 Two name changes:
1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example).
2) quiz_restore_question_sessions() has the simpler name quiz_get_states
Also got rid of the quizfile.php in favour of file.php
2005-07-02 16:07:05 +00:00
gustav_delius
0d156caaae I have started on the re-organisation to allow other modules to use the questiontypes.
Moved all code that is not specific to the quiz module out of locallib.php into questionlib.php.
The default questiontype class is now defined in quiz/questiontypes/questiontype.php.
See http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852
2005-07-02 11:42:42 +00:00