toyomoyo
8732dca153
fix for MDL-8688, question pics should default to ''
2007-02-28 06:15:23 +00:00
tjhunt
ecec5caee8
MDL-8671 - better checking when creating short answer questions. Fix thanks to Joseph R?zeau.
2007-02-27 16:20:11 +00:00
moodler
b0f625ebf3
I don't know why this function wasn't inheriting automatically but it works now ...
2007-02-18 06:11:41 +00:00
moodler
9c9c50d8ec
Fixed a typo causing Feedback to be printed before the header
2007-02-18 05:50:43 +00:00
vyshane
fe0bcf738c
Merged from 1.7.
2007-02-15 06:14:00 +00:00
jamiesensei
a8d2a373a1
some fixes for problem reported by Pierre Pichet.
...
Data set items form is now the opposite way round as the original was. This means that the add item section appears at the top of the form. Also if you press return while editing fields in the add item section the item will now be added. Default action for most browsers when a submit button is pressed is to act as if the first submit button in the form had been pressed.
Removed cancel buttons second and third pages of form too as they may not work as expected.
2007-01-30 15:31:50 +00:00
tjhunt
f07d1d3197
When editing some question types, the options get jumbled up.
2007-01-29 12:35:29 +00:00
stronk7
7039d93c31
Adding two helper functions and modify upgrade to
...
work properly under MSSQL and Oracle. MDL-8303
Merged from MOODLE_17_STABLE
2007-01-26 21:28:48 +00:00
stronk7
d46e149179
Changing some stripslashes() to stripslashes_safe() because it
...
was causing some real backslashes to be lost in some qtypes. MDL-8217
Merged from MOODLE_17_STABLE
2007-01-22 23:23:30 +00:00
jamiesensei
3a298174e8
important security fix previous use of ['type'] in repeatedeloptions array would not have worked.
2007-01-21 10:32:42 +00:00
jamiesensei
cfa73a9551
answer '0' is a valid answer for a numeric question.
2007-01-19 07:21:51 +00:00
jamiesensei
845b703bb9
oops. fix to last commit about empty answers logic was wrong
2007-01-19 07:20:43 +00:00
jamiesensei
b7d4df606e
fix for erroneous empty answer detection when answer is '0' which is a valid answer for numeric qs.
2007-01-19 07:18:26 +00:00
jamiesensei
7b41a4a989
some more small changes to datasetdependent and calculated question type forms
2007-01-18 11:21:10 +00:00
jamiesensei
71534002d0
migrated 'missingtype' questoin creation forms to use formslib
2007-01-18 10:22:56 +00:00
jamiesensei
60b5ecd3cf
more work on the datasetdependent / calculated question creation forms
2007-01-17 18:28:51 +00:00
tjhunt
4f390427d5
Minor problem with restoring numerical questions.
2007-01-17 17:29:08 +00:00
tjhunt
7ca455cd56
The way mulit-response questoins show the right answer is a bit confusing.
2007-01-17 14:54:55 +00:00
tjhunt
069a820a7e
Matching question rigth/wrong answer indication is broken.
2007-01-17 10:31:36 +00:00
tjhunt
f38ceee677
Fix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE.
2007-01-16 17:51:05 +00:00
jamiesensei
fa3bf11d02
removed print_object that got left in here
2007-01-15 10:39:43 +00:00
jamiesensei
8fc3e643ae
more work on the calculated and datasetdependent qtype
2007-01-13 08:59:00 +00:00
skodak
32db0d42c9
MDL-8166 some forgotten set_defaults converted to set_data
2007-01-12 19:01:31 +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
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
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
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
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
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
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