Commit graph

865 commits

Author SHA1 Message Date
skodak
32db0d42c9 MDL-8166 some forgotten set_defaults converted to set_data 2007-01-12 19:01:31 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
tjhunt
a840456731 MDL-7496 - for numerical and short answer questions, the student was being told they were 'incorrect' before they had even had a chance to enter an answer! 2007-01-12 12:20:21 +00:00
jamiesensei
92186abc95 working on multipage form for calculated question type 2007-01-11 04:59:16 +00:00
jamiesensei
8c2550c87a moved header printing so it is only printed when displaying a form. 2007-01-10 06:46:12 +00:00
jamiesensei
87391656a3 got rid of 'Changes Saved' message before redirect. 2007-01-10 06:40:42 +00:00
jamiesensei
9aa022feef xhtml validity fix for static element type
qtype calculated form - started
2007-01-10 05:05:26 +00:00
vyshane
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
jamiesensei
08224df157 migrated randomsamatch to formslib.
fixed small typo in quiz mod_form
2007-01-08 13:58:42 +00:00
jamiesensei
24f7485b15 some extra validaton for multichoice and some bug fixes for multichoice and random qtype. 2007-01-08 10:35:57 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
jamiesensei
4a163300c8 removed redundant files after formslib conversion 2007-01-08 09:09:39 +00:00
vyshane
0fd5feef05 Xhtml fixes for MDL-7861. 2007-01-08 07:58:22 +00:00
vyshane
2697726a66 More xhtml fixes. MDL-7861 related. 2007-01-08 07:45:53 +00:00
vyshane
2139364fbf xhtml fixes. MDL-7861 related 2007-01-08 07:38:29 +00:00
jamiesensei
490d89e591 removing more redundant files after qtype form formslib migration 2007-01-07 17:22:31 +00:00
jamiesensei
c6fc998899 more last fixes to question forms and removal of redundant files 2007-01-07 17:06:50 +00:00
jamiesensei
04786f082d removing redundant files after migration to formslib and some further bug fixing in question type forms. 2007-01-07 16:36:38 +00:00
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