Commit graph

110 commits

Author SHA1 Message Date
defacer
35f45a0d83 It seems that grades are saved with two decimal points of precision while
they are being retrieved as integers. Changed it to two decimals everywhere
and continuing to go about it...
2005-01-27 02:45:38 +00:00
defacer
cb8057dee2 Semantically it's better if quiz_get_best_grade returns NULL
if there is no such grade.
2005-01-27 02:39:15 +00:00
gustav_delius
0353801a2b There is now a mechanism by which question types can have their own setup options. Because this does not change anything unless it is used I hope it is o.k. that I am submitting this without asking first. This is based on code by Mad Alex. 2005-01-22 22:27:16 +00:00
gustav_delius
010ec024b8 made multiple.php save to database in addition to $SESSION->modform and also introduced sesskey 2005-01-22 19:14:35 +00:00
gustav_delius
56b2152f69 better parameter validation and general code cleanup for edit.php 2005-01-22 18:17:33 +00:00
gustav_delius
4ac04efaf7 quiz edit.php now saves changes to the quiz in the database as soon as the teacher makes them, see http://moodle.org/mod/forum/discuss.php?d=17167 2005-01-22 15:42:22 +00:00
gustav_delius
ef0921d1ff It is now possible to base new questions on existing ones, see get_string('editingquestion', 'quiz'); 2005-01-19 09:50:33 +00:00
moodler
6710ec8713 Recent activity functions should have been in lib.php, not locallib.php 2005-01-13 03:04:48 +00:00
gustav_delius
9f9cff594c Just some comment text to explain the $QUIZ_QUESTION_TYPE array. 2005-01-12 06:30:32 +00:00
gustav_delius
76cacec819 split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle. 2005-01-08 20:06:00 +00:00