202 Commits

Author SHA1 Message Date
tjhunt
da298d8201 Bug 5840 - Image not displayed in Cloze question. Thanks to Joseph Rezeau for the fix. Merged from MOODLE_16_STABLE. 2006-07-17 08:57:30 +00:00
tjhunt
fc05b7d1ca Doh! remove debug code. Sorry. 2006-07-12 17:54:45 +00:00
tjhunt
1fe641f7b4 Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy. 2006-07-12 17:49:14 +00:00
tjhunt
78b9c960e9 Fixed notice when restoring a numerical question with no units. 2006-07-12 17:37:36 +00:00
skodak
b2ec10959a workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE 2006-07-11 13:02:42 +00:00
tjhunt
68d07f8b01 6030 - Can't move question categories back to the top level. Merged from MOODLE_16_STABLE. 2006-07-06 10:07:26 +00:00
tjhunt
16750bcd85 File header cleanup. 2006-07-06 09:45:02 +00:00
thepurpleblob
71ffbac2da merged from STABLE 2006-07-05 12:39:35 +00:00
tjhunt
645d76103b Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one. 2006-07-05 12:19:11 +00:00
tjhunt
974383f976 Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one. 2006-07-05 12:00:23 +00:00
tjhunt
0c24ee0fbf Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. I missed a bit last time. 2006-07-05 11:58:14 +00:00
thepurpleblob
eaaf06f1ce Merged from STABLE 2006-07-05 11:51:08 +00:00
tjhunt
a58ffe3fe2 Bug 5971 - Allow matching questions to have extra wrong answers. 2006-07-04 17:11:00 +00:00
tjhunt
1cc1fa2425 Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only. 2006-06-15 10:12:17 +00:00
tjhunt
0b34616411 Moved constant definitions out of function, so they are not run repeatedly giving lots of warnings. Merged from MOODLE_16_STABLE. 2006-06-14 15:35:27 +00:00
tjhunt
ee800653e4 Corrected reference to lang string and fixed a notice. Merged from MOODLE_16_STABLE. 2006-06-14 15:32:55 +00:00
tjhunt
f92cf442db Bug #5793: remember whether Show all has been clicked in the question bank. Merged from MOODLE_16_STABLE. 2006-06-12 13:54:01 +00:00
tjhunt
4f7eaab661 Bug #5790: Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer. Merged from MOODLE_16_STABLE. 2006-06-12 11:05:39 +00:00
skodak
e7251cdd21 Bug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE 2006-06-07 14:57:26 +00:00
tjhunt
37611ee17c Bug #5559: revised fix - using better CSS class names. Merged from MOODLE_16_STABLE. 2006-06-06 17:10:04 +00:00
tjhunt
4919564de9 Fix notices from the quiz module on backup and restore. Merged from MOODLE_16_STABLE. 2006-06-06 14:15:48 +00:00
tjhunt
3e734b607d Bug #5672: Make calculated questions less confusing to create. Merged from MOODLE_16_STABLE. 2006-06-05 16:59:58 +00:00
tjhunt
042e68477d Bug #5559: Move CLOZE qtype hightight colours into CSS insted of hardcoding, so themes can override. Merged from 1.6stable. 2006-06-02 15:39:41 +00:00
thepurpleblob
7b8bc256cc Merged from STABLE 2006-06-02 09:45:19 +00:00
thepurpleblob
a0d187bfd7 Merged from STABLE 2006-06-01 10:13:57 +00:00
tjhunt
7baff8aa1a Fix for bug 5379: Item analysis report should not have a hard coded list of question types.
Please test this if you have a moodle install with some unusual question types. Thanks.

Merged from 1.6stable.
2006-05-31 15:58:39 +00:00
skodak
8af190b388 fixed typo - randomsmatch notice bug 5652; merged from MOODLE_16_STABLE 2006-05-30 06:29:07 +00:00
skodak
b01a2fcd0f proper initialisation of $oldquestionid; merged from MOODLE_16_STABLE 2006-05-23 09:32:26 +00:00
tjhunt
5bbca3a4cb Fix for Bug #5588 - Editing a question after sorting leads to an error. Merged from 1.6stable. 2006-05-22 15:43:53 +00:00
tjhunt
971cd5082a Fix an undefined variable notice. Merged from 1.6stable. 2006-05-22 13:06:36 +00:00
tjhunt
656ee8c6a1 Fix an undefined variable notice. Merged from 1.6stable. 2006-05-22 11:20:51 +00:00
tjhunt
9bd76b32f3 Merge from 1.6 branch. Fix URL syntax error when slasharguments is off. 2006-05-17 11:40:37 +00:00
thepurpleblob
36e2232e27 Merged from STABLE. 2006-05-13 08:49:46 +00:00
thepurpleblob
6cb4910c58 Merged from STABLE 2006-05-08 10:39:14 +00:00
thepurpleblob
c0724bdce2 Merging from STABLE 2006-05-04 11:17:50 +00:00
toyomoyo
3925a20afe fix for 5409 2006-05-03 08:05:58 +00:00
mjollnir_
d57cf4c132 question/type/qtype hide scores when requested by teacher
Changed question/type/questiontype.php such that when review.php
displays a state-by-state review of answers submitted,
scores are not displayed unless allowed by quiz options.

Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2006-05-03 02:44:25 +00:00
thepurpleblob
4267f47b49 Changed require due to moved category functions 2006-05-02 15:23:48 +00:00
thepurpleblob
4fbfd9711c Bunch of category functions moved from lib/questionlib.php 2006-05-02 12:26:03 +00:00
gustav_delius
0c1e3a145f Changing the category on the import or export page also changes it on the question edit page, closing bug 5348 again 2006-05-01 22:26:06 +00:00
paca70
e7226b2bc8 Removed comma 2006-05-01 12:56:57 +00:00
thepurpleblob
6e5a360ad1 Question object not always initialised. Bug #5369 2006-05-01 07:35:33 +00:00
mark-nielsen
53354ec03c Due to changes in Quiz which allows commenting and manual grading of all question types, essay no longer needs its two tables: question_essay and question_essay_states
backuplib.php removed backup code related to question_essay_states
type/essay/db/mysql.sql and postgres7.sql removed all SQL
type/essay/display.html improved essay display
type/essay/questiontype.php, editquestion.php, and editquestion.html removed all uses
of the two tables - this resulted in a great simplification of the essay question type
2006-05-01 02:56:06 +00:00
gustav_delius
f57c624262 Use the missingtype question type to print the explanation message when a random question is missing 2006-04-30 17:31:33 +00:00
gustav_delius
2be604b665 Missingtype now also works without notices when the missing question has no answers. 2006-04-30 17:30:22 +00:00
gustav_delius
ed28abca24 Don't throw a php error when there are no question answers in the default question type. 2006-04-30 17:13:44 +00:00
gustav_delius
4572d78f71 When a teacher deletes a question that was already used as a random question in a quiz the student now gets a useful message about the fact rather than just a php error. 2006-04-30 16:59:23 +00:00
gustav_delius
1a1293edd7 Making sure grading and feedback use the same way of testing responses, thanks to Joseph, bug 5134 2006-04-30 15:11:13 +00:00
gustav_delius
b518c69e3b Question preview now handles duplicate responses properly 2006-04-30 12:07:08 +00:00
gustav_delius
3f13e16094 Removed the answershuffle field from the random short answer question because in a random question this options is irrelevant. 2006-04-28 09:44:13 +00:00