Commit graph

123 commits

Author SHA1 Message Date
gustav_delius
1997f36731 Questions that are in use are now only deleted from the category list but not from quizzes or old attempts. 2005-03-05 16:03:59 +00:00
gustav_delius
fef9b51dac Now can add a single question to quiz with a single click. 2005-03-05 12:55:26 +00:00
gustav_delius
c6bfdec3fc Versioning of questions: when editing questions the teacher is told about the quizzes in which the question is used and is asked whether to replace them with the new version or not. If there are already attempts at a question than the original version is always kept in the database for audit purposes. More details at http://moodle.org/mod/forum/discuss.php?d=16479 2005-03-03 15:17:45 +00:00
thepurpleblob
6e31897b2d Export know knows about random questions so it can ignore them 2005-03-03 11:52:02 +00:00
stronk7
e37da3a536 Now decimalpoints is used to show grades
(I had to modify quiz_get_best_grade() slighty)
2005-02-14 19:41:52 +00:00
gustav_delius
2f945146d7 Made the quiz paging bar look more like the standard one, see bug 2443. 2005-02-13 14:58:45 +00:00
gustav_delius
0726eb27bb replaced href="#" by href="javascript:void()" as suggested in bug #1980 2005-02-06 15:18:09 +00:00
gustav_delius
2b6271fccc I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove' because it does not delete the question but only removes it from the quiz. 2005-02-06 10:42:31 +00:00
gustav_delius
51d0c8b0bd edit column in question tables on edit.php are now wide enough to hold all icons without line break 2005-02-06 07:55:05 +00:00
gustav_delius
b37cacae47 It is now no longer possible to add or delete questions in a quiz that students have already attempted, see http://moodle.org/mod/forum/discuss.php?d=16479#86488 2005-02-05 21:03:04 +00:00
gustav_delius
6f7970138a Taken out some $THEME 2005-02-05 17:28:06 +00:00
thepurpleblob
bb5e13d514 factored out function to see if question is used in quiz into the library 2005-01-27 16:10:25 +00:00
defacer
7a652b5f2b Switching back to an interger-rounded retrieved best grade. Will probably
be more human-friendly on screen.

e.g. "What does 66.67 out of 100 mean?"
2005-01-27 03:14:56 +00:00
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