14 Commits

Author SHA1 Message Date
moodler
7f8edff98c Merged from stable, added autocomplete=off
(Bug #4423 - Short Answer Quiz Q's Saving Form Entries)
2005-12-05 06:15:53 +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
488cf46b65 Cleaned up issues to do with timing. So for example late submissions are now detected correctly. 2005-05-15 11:45:12 +00:00
gustav_delius
ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
gustav_delius
3d3f159086 fixed notice in preview 2005-03-05 11:52:05 +00:00
defacer
9407d4563f According to the final comments in SC#65:
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.

The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +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
gustav_delius
a62356fcdd removed many php warnings and streamlined code 2004-12-30 22:51:24 +00:00
moodler
ae6d640123 Minor HTML fixes 2004-11-23 02:47:07 +00:00
moodler
cc28a5b560 Just a code tidy up 2004-11-23 02:41:45 +00:00
moodler
b5c6d80dfe I've not tested this at all :-( but it was sent to me by the original
author of this feature as a bug fix.

PLEASE TEST!   (See bug 2179 for example)
2004-11-22 16:25:29 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
moodler
9c8047cfd0 Added a new preview/test feature for quiz questions, sent in by
Pavel <paolo@psychpan.waw.pl>

Thanks to Przemyslaw, too!
2004-08-16 15:16:26 +00:00