Commit graph

865 commits

Author SHA1 Message Date
stronk7
4aa8037436 Finally, the parenthesis were causing problems too. MDL-10808 2007-08-11 22:58:17 +00:00
moodler
c9bd927055 Fixed the comparison of text to integer (Eloy's credit, see MDL-10808 ) 2007-08-11 14:33:55 +00:00
moodler
871ab9a3e2 Removed usage of table aliases with "as" as per MDL-10808 2007-08-11 14:28:36 +00:00
tjhunt
ceeae340f9 MDL-10799 - Question types do not accurately determine whether their state has changed or not. Merged from MOODLE_18_STABLE. 2007-08-10 15:21:29 +00:00
tjhunt
da3802dbae MDL-10786 - Short Answer questions will not allow 0 as the sole answer. Merged from MOODLE_18_STABLE. 2007-08-10 10:48:58 +00:00
tjhunt
37d00ed467 Fix notice. 2007-08-10 10:00:06 +00:00
thepurpleblob
228b6f6b1d MDL-10785:
empty() changed to !isset()

Merged from STABLE_18
2007-08-10 07:17:46 +00:00
jamiesensei
515ed4c3ee merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 22:44:14 +00:00
jamiesensei
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
tjhunt
e3fa6587ee Helper method to help when calling print_error from a question type. 2007-08-09 15:38:35 +00:00
thepurpleblob
64de04fb09 Added hooks to qtype import/export 2007-08-09 14:12:12 +00:00
tjhunt
215bd82630 Fix typo. Thanks to Adriane Boyd. 2007-08-09 09:00:30 +00:00
thepurpleblob
392238d626 Was not checking error return from plugin export properly 2007-08-08 15:23:11 +00:00
thepurpleblob
a41e328736 MDL-6367:
First shot at import/export support in plugins.
2007-08-08 10:45:09 +00:00
tjhunt
727e38b0b2 MDL-10737 - Increase size of short answer text entry box. Merged from MOODLE_18_STABLE. 2007-08-07 12:39:32 +00:00
tjhunt
3d3867b69a MDL-10730 - After submitting a question in adaptive mode, go back to that question, not the top of the page. Code thanks to Tony Gardner-Medwin, based on my suggestion. 2007-08-06 14:10:46 +00:00
tjhunt
90a36f8cdf MDL-10709 - Shortanswer resonses should be trimmed before being saved in the database. Merged from MOODLE_18_STABLE. 2007-08-03 14:26:46 +00:00
thepurpleblob
c56abad900 MDL-10680:
subquestions/subanswers needed swapped for matching questions

Merged from STABLE_18
2007-08-01 13:44:35 +00:00
tjhunt
d349d4f0e1 MDL-10661 - another bloody invisiblefieldset bug. Merged from MOODLE_18_STABLE. 2007-07-30 22:14:32 +00:00
tjhunt
5fceb049cc Use of get_html_head_contributions was causing unwanted interaction bewteen question types. Switched to using a class variable. 2007-07-30 17:04:46 +00:00
thepurpleblob
1b36a58597 MDL-10239:
Improper check for correct answer in true/false questions
2007-07-26 15:08:16 +00:00
thepurpleblob
46d798182a This new moodle_url thing (which is really confusing by the way)
had broken the page. The selected category was being ignored.
Fixed, but possibly not in the most elegant way!!
2007-07-26 13:50:59 +00:00
thepurpleblob
7d43178bf2 This new moodle_url thing (which is really confusing by the way)
had broken the page. The selected category was being ignored.
Fixed, but possibly not in the most elegant way!!
2007-07-26 13:43:25 +00:00
thepurpleblob
a783cec297 Possible error passing course id from page to page resolved 2007-07-26 12:38:28 +00:00
thepurpleblob
301317e987 Whoops - parameters need to match category check and display of course. 2007-07-26 11:04:28 +00:00
thepurpleblob
9782846235 MDL-9123:
Check that the selected category is allowed.

Merged from STABLE_18
2007-07-26 10:56:13 +00:00
poltawski
c31f631baa MDL-9742 - converting tabs to spaces 2007-07-23 15:38:31 +00:00
thepurpleblob
e8825e724b MDL-10531:
GIFT now handles Essay and Description type questions. See help/docs.

Merged from STABLE_18
2007-07-21 07:39:22 +00:00
tjhunt
bfbafdfe74 MDL-7925 - it happened again. Stupid bloodly forms lib. I have no idea what it was playing at. Merged from MOODLE_18_STABLE. 2007-07-20 17:10:35 +00:00
tjhunt
b60af635df MDL-10515 - Change HTML to make it easier to style multiple choice questions. Merged from MOODLE_18_STABLE 2007-07-18 13:57:24 +00:00
tjhunt
46a29ccfec Add id="responseform" to the question preview form tag, to match the quiz form, to make life easier for Javascript on questions. Idea thanks to Adriane Boyd. 2007-07-16 13:32:52 +00:00
tjhunt
efe256e4a9 Stop the 'remove rqp' environment message from appearing after the question type is gone. 2007-07-16 13:23:13 +00:00
thepurpleblob
e53ff7f60a MDL-10380:
Check for randeredmatch plugin done using array_key_exists() for PHP4
compatibility
MDL-10317:
Question name is now the question ID, rather than the question text.
2007-07-13 08:36:14 +00:00
thepurpleblob
1d1e8f2bab MDL-10380:
Modified check for existence of renderedmatch plugin so that it sees it properly.
Bodged weird parameter passing issue so that correct answer choices are found.
2007-07-11 13:57:59 +00:00
thepurpleblob
f0c1799e43 MDL-10415:
Aiken format returns/
2007-07-11 09:18:32 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
tjhunt
99a1bf3d9c MDL-10374 - Quiz layout improvements, selectively merged from OU-moodle. 2007-07-06 16:37:06 +00:00
tjhunt
604a618428 Fix notice in essay question. 2007-07-06 13:30:16 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
thepurpleblob
3e60818b91 MDL-10240:
Added Bb Short Response as a Moodle Essay type question.
Found quite a lot of stuff that could do to be checked and improved
in this code, so this should be considered an intermediate step.
2007-06-29 14:32:20 +00:00
thepurpleblob
717357948e MDL-10234
Encoded images in subdirectories failed to load.
Thanks to Enrique Castro for fix.
2007-06-28 15:15:06 +00:00
tjhunt
dc1fd03d6d MDL-10198 - Further refinements. 2007-06-22 15:05:42 +00:00
tjhunt
0ec4fb87e3 Improve and simplify question layout. 2007-06-22 14:07:35 +00:00
tjhunt
4a5b91b48f Improved the HTML for essay questions. 2007-06-21 15:46:26 +00:00
tjhunt
8356aa7af1 MDL-10198 - Further refinements to $forcedownload. 2007-06-21 15:43:29 +00:00
tjhunt
91075d6894 MDL-10198 - Further refinements from Adriane Boyd. 2007-06-21 11:41:16 +00:00
tjhunt
14e6dc791a MDL-10198 - New code to allow files from quiestion attempts to be stored in moodledata and later downloaded. Code thanks to Adriane Boyd, but checked and modified by me, so we share the blame;-) 2007-06-20 15:12:36 +00:00
tjhunt
38dbf2c4ed Notices from T/F question is you submit without answering in adaptive mode. Merged from OU Moodle. 2007-06-19 16:35:54 +00:00
tjhunt
ca9000df6f Fix typo in a comment. 2007-06-19 16:33:16 +00:00
tjhunt
294e63eadd Make it possible for question types to do file uploads. 2007-06-15 11:02:47 +00:00