Commit graph

546 commits

Author SHA1 Message Date
jamiesensei
6e9b6ba207 numerical and random question type creation form migrated to formslib 2007-01-07 16:10:42 +00:00
jamiesensei
375ed78a93 fixed the MoodleQuickForm_questioncategory, question_category_options function wasn't committed so I've implemented it from question_category_select_menu code. 2007-01-07 13:54:36 +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
gbateson
6385429d24 prevent backslashes being inserted before #-sign in HTML entities by converting html-entities to UTF-8 when importing from Hot Potatoes quizzes into Moodle 's standard Quiz module 2007-01-07 12:37:06 +00:00
jamiesensei
01ae934f23 renamed file and some changes to form definition etc. 2007-01-07 12:11:57 +00:00
skodak
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
thepurpleblob
b0679efa8f MDL-6769 and http://moodle.org/mod/forum/discuss.php?d=60209 the default for shuffleanswers is now set to the configured value. 2007-01-05 11:56:57 +00:00
thepurpleblob
5363b5551b MDL-7913 Improved category detection (again) to extract all characters. 2007-01-05 10:35:13 +00:00
skodak
ccffd41265 fixed potential problems with undefined $USER->screenreader 2007-01-04 21:39:47 +00:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
vyshane
8b9e8fc335 xhtml fixes for MDL-7861. 2007-01-03 08:23:49 +00:00
ikawhero
96ed722ba3 Minor change so code works on all versions of PHP 2006-12-29 02:36:41 +00:00
jamiesensei
1d284fbd85 fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
tjhunt
36703ed725 MDL-8003 - part - Use formslib for question editing forms
This commit does two things:
1. Gives question types he opion to use formslib for their editing forms, instead of the old mechanism.
2. Converts the truefalse question type to formslib.
2006-12-22 15:39:40 +00:00
toyomoyo
95947ac9b6 replacing missing << with theme left arrow 2006-12-22 00:54:03 +00:00
vyshane
4b4830fe5d Fixes for MDL-7861. 2006-12-21 06:12:15 +00:00
vyshane
bf290fd6b3 xhtml fixes for MDL-7861. 2006-12-21 06:05:34 +00:00
toyomoyo
9d4eb0632b fixing the last comit, removing addtional < 2006-12-21 01:37:33 +00:00
toyomoyo
9d00db504a fix for MDL-7861, removing doulbe << 2006-12-21 01:31:46 +00:00
toyomoyo
d4228481db fix for MDL-7861, strict xhtml 2006-12-21 01:14:57 +00:00
toyomoyo
63d6266282 fixing broken xhtml MDL-7861 2006-12-21 01:12:05 +00:00
vyshane
79b9651ec5 Missing </div>. MDL-7861. 2006-12-20 06:14:18 +00:00
vyshane
1577488f68 xhtml fixes for MDL-7861. 2006-12-20 05:55:22 +00:00
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