Commit Graph

323 Commits

Author SHA1 Message Date
tjhunt 3246ed335d MDL-7975 - Make import and export of truefalse questions more reliable. Merged from MOODLE_17_STABLE. 2006-12-18 18:07:49 +00:00
tjhunt 09db6da231 MDL-7972 - improve GIFT import export for truefalse questions.
Also clean up whitespace in question/format/gift/format.php.
MDL-7928 - Numerical question type should use * for the match anything answer - GIFT format part. - Merged from MOODLE_17_STABLE.
2006-12-18 16:38:58 +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
vyshane 134f2cc05a Removed tabs from source. 2006-12-18 01:18:18 +00:00
tjhunt 55894a4205 MDL-7928 - Numerical question type should use * for the match anything answer. Merged from MOODLE_17_STABLE. 2006-12-15 18:30:39 +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
toyomoyo 077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
tjhunt 9016b062e7 MDL-7602 - Multianswer question type only works with invalid HTML. Merged from MOODLE_17_STABLE. 2006-12-12 08:58:53 +00:00
tjhunt bb080d2046 MDL-7896 - error from random question type in adaptive mode. Merged from MOODLE_17_STABLE. 2006-12-11 23:46:15 +00:00
tjhunt fb6179a16c MDL-7804 - Essay questions do not backup properly. Merged from MOODLE_16_STABLE. 2006-12-05 18:47:40 +00:00
tjhunt edea4db46b Add $level parameters to each backup method. Merged from MOODLE_17_STABLE. 2006-12-05 18:14:57 +00:00
tjhunt f60774823f MDL-7719. Merged from MOODLE_17_STABLE. 2006-12-04 16:21:40 +00:00
thepurpleblob 6575b04f25 Improved regep for category switching 2006-12-01 16:06:06 +00:00
toyomoyo 93a501c181 fix for MDL-7496, incorrect is read almost last, need to be said first 2006-11-30 08:27:58 +00:00
thepurpleblob ee259d0cd1 Category can now be specified in Moodle XML format. 2006-11-29 14:27:48 +00:00
thepurpleblob b39c7aada6 Added ability to specify destination category within GIFT file.
MDL-4163
2006-11-29 13:34:32 +00:00
thepurpleblob 08892d5be5 Fixed a notice. Tidied up format class call a bit. Added provision
for categories to be specified within import files - MDL-4163.
2006-11-29 13:32:00 +00:00
tjhunt 485349ddf2 MDL-7720 - non-unicode-safe case-insensitive string comparison in shortanswer question type. Merged from MOODLE_17_STABLE. 2006-11-28 18:44:18 +00:00
tjhunt 2962ad61e4 Put back spaces in code that Martin Dougiamass stripped out of the lang strings without thinking about the consequences. Merged from MOODLE_17_STABLE. 2006-11-28 18:42:18 +00:00
thepurpleblob b0b95fe6fb Merged from STABLE. Fix for MDL-7703. Fixed scope problem by moving all
functions inside the class. Also fixed some notices.
2006-11-28 15:14:37 +00:00
thepurpleblob 85474b2615 Merged from STABLE.
Examview 'SA' type questions now supported.
2006-11-28 11:51:50 +00:00
thepurpleblob a60b5c161f Merged from STABLE. Fixed a typo and a notice 2006-11-28 09:28:33 +00:00
toyomoyo 73ca1421cf fix for MDL-7494, add information to help screen readers deal with cloze questions 2006-11-28 08:53:13 +00:00
toyomoyo 04d6ac46dd fix for MDL-7497, add mouseless feedback to cloze questions 2006-11-28 07:07:34 +00:00
skodak 802fe94a28 Double quotes breaking short answers in a multianswer/cloze question MDL-6676 2006-11-26 21:57:43 +00:00
thepurpleblob dfdce7fba9 Merged from stable - colons can now be escaped
Resolves MDL-6915
2006-11-24 12:03:42 +00:00
thepurpleblob 0b3940f85c Various improvements to Examview input.
Fixes MDL-7087 and MDL-7349. Partial fix for MDL-7184 (Examview part)
2006-11-20 13:02:24 +00:00
tjhunt a4d79b0eb5 MDL-7567 Numerical questions occasionally mix up the order of their answers. Merged from MOODLE_16_STABLE. 2006-11-15 16:58:44 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
tjhunt ee6c93555f MDL-5811 - Quiz editing outputs nasty junk before print_header sometimes. Second attempt at fixing. I forgot to mention the bug number in the previous commit to mod/quiz/edit.php. Merged from MOODLE_17_STABLE. 2006-10-31 12:06:52 +00:00
thepurpleblob 06968068e9 fixed a notice 2006-10-30 16:22:58 +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
tjhunt 9a8b42c981 MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE. 2006-10-17 22:17:17 +00:00
tjhunt 6a00f57926 MDL-6386 - stripslashes missing in multianswer qustions. Thank to Joseph Rezeau. Merged from MOODLE_16_STABLE. 2006-10-17 22:01:23 +00:00
tjhunt bc649d80d5 MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE. 2006-10-17 21:45:19 +00:00
tjhunt 026bec73b8 Fix bug with numerical questions with multiple answers. Merged from MOODLE_17_STABLE. 2006-10-17 15:56:52 +00:00
tjhunt 172f6d95e1 Fix bugs with GIFT import. Merged from MOODLE_17_STABLE. 2006-10-17 10:56:35 +00:00
tjhunt 879caa5172 Make things a bit more robust. Sorry, I can't remember exactly what the problem was that this fixed any more. It has been sitting around for a couple of weeks and I had forgotten to commit it. 2006-10-16 15:23:54 +00:00
tjhunt fdc8e778d5 MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning. Merged from MOODLE_16_STABLE. 2006-10-16 10:14:45 +00:00
toyomoyo e8dc3e8df6 merged fixing warnings 2006-10-12 02:39:59 +00:00
toyomoyo 1f4d6e9af8 merged fixing warnings 2006-10-12 02:31:40 +00:00
moodler 5da199169b Merged fixes from MOODLE_16_STABLE which were never merged into HEAD 2006-10-11 09:22:42 +00:00
tjhunt b20ea66988 Hopefully improve performance on site with lots of question categories Merged from MOODLE_16_STABLE. 2006-10-06 16:48:54 +00:00
tjhunt 158e545945 MDL-5601 - restoring a course with a multianswer question sometimes causes an error() for a non-fatal contition. Change it to a notify, and everything seems to work. I don't really understand why, but this change does not make matters worse, so I am committing it. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE. 2006-10-03 17:57:16 +00:00
tjhunt 54f306788a MDL-6649 Only show the HTML editor for the first essay question on a page, since it is unreliable when there are lots. Merged from MOODLE_16_STABLE. 2006-10-03 17:32:22 +00:00
tjhunt 2da448161a MDL-6297 shuffleanswers option not imported correctly for MC questions. 2006-10-03 14:01:38 +00:00