Commit Graph

29 Commits

Author SHA1 Message Date
jamiesensei 24f7485b15 some extra validaton for multichoice and some bug fixes for multichoice and random qtype. 2007-01-08 10:35:57 +00:00
jamiesensei 4a163300c8 removed redundant files after formslib conversion 2007-01-08 09:09:39 +00:00
jamiesensei c6fc998899 more last fixes to question forms and removal of redundant files 2007-01-07 17:06:50 +00:00
jamiesensei 271ffe3f25 various formslib work including bug fixes for MDL-8039 id attribute collision between forms and page ids. Also added editor helpbutton. This is a fix for MDL-6941 need the ability to associate several helptopics with htmleditor. Also started on converting forms for question types to formslib. 2007-01-07 12:46:47 +00:00
vyshane 2b0870563d Refactored printing of feedback images and printing of feedback html classes. See MDL-7467 for more details. 2006-12-18 06:04:47 +00:00
tjhunt 828df720a2 MDL-7925 - description question types were being created with defaultgrade = 1. It should be zero, so fix the bug, and reset any wrong ones in the database. Merged from MOODLE_17_STABLE. 2006-12-15 15:41:56 +00:00
vyshane e0c256473d Changes for MDL-7467.
The images show each possible answer's "correctness":

Green tick - correct answer
Amber tick - partially correct answer
Red cross - wrong answer

Each image will have the appropriate alt text.

The answer that the student has picked is highlited by changing the background colour: light green, light amber or light yellow, depending on the correctness of the chosen answer. In addition to this, the image for that answer is much bigger in size than for the other possible answers. The alt text for this image will indicate that this answer was picked.

This way, the visual cues, the relative importance of each answer (chosen/non-chosen), and the relative relationships (correct/wrong) are kept. The chosen answer is emphasised by the background highlighting, by the bigger size of the icon, and by the alt text as well. I think this covers all the bases.
2006-12-14 02:32:32 +00:00
stronk7 5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7 3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7 dfdd533230 New upgrade.php file added for this module. MDL-7214 2006-10-26 18:12:42 +00:00
tjhunt ef95c65ed1 Fix problem with multichoice question grading. Merged from MOODLE_17_STABLE. 2006-10-19 11:54:17 +00:00
toyomoyo e8dc3e8df6 merged fixing warnings 2006-10-12 02:39:59 +00:00
tjhunt d3b92b4ba5 MDL-6418 - Grading of multiple choice questions broken 2006-08-31 16:59:05 +00:00
stronk7 81abf10971 MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
(mimic from old sql files)
2006-08-24 16:54:02 +00:00
tjhunt 307f045f07 MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
In passing, I fixed MDL-6297 Export of multichoice questions in Moodle XML format doesn't save shuffle option too.
2006-08-24 10:22:43 +00:00
tjhunt a21567892f Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work. See http://moodle.org/mod/forum/discuss.php?d=51796 for more details. 2006-08-15 21:25:38 +00:00
stronk7 d236d4f577 Initial version of the XMLDB file for this plugin 2006-08-12 22:26:05 +00:00
tjhunt 1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
tjhunt 1cc1fa2425 Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only. 2006-06-15 10:12:17 +00:00
tjhunt 4f7eaab661 Bug #5790: Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer. Merged from MOODLE_16_STABLE. 2006-06-12 11:05:39 +00:00
skodak 8af190b388 fixed typo - randomsmatch notice bug 5652; merged from MOODLE_16_STABLE 2006-05-30 06:29:07 +00:00
moodler d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
gustav_delius 6463e8a6b6 Fixing a large number of tidy warnings 2006-04-06 20:35:49 +00:00
gustav_delius 755bddf118 Improvements to response history. Three small bug fixes. 2006-04-06 19:59:02 +00:00
gustav_delius 7baa9c8016 Fixing the name of the PostgreSQL files 2006-04-05 06:11:40 +00:00
gustav_delius 0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
gustav_delius ffa1f07890 Removed notices caused by empty responses 2006-03-27 08:38:55 +00:00
gustav_delius 5c2447494d These are no longer needed because the backup functions are part of the questiontype classes now. 2006-03-24 20:44:13 +00:00
gustav_delius aaae75b04f Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:54:13 +00:00