189 Commits

Author SHA1 Message Date
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
thepurpleblob
c515fcf73e Removed mystery (probably diagnostic) message 2006-04-28 09:39:13 +00:00
thepurpleblob
a9b16aff8d Now ignore hidden questions. Bug #4988 2006-04-28 09:36:17 +00:00
gustav_delius
125bb7003e sortorder is now remembered between pages, fixing bug 5328 2006-04-27 07:46:34 +00:00
gustav_delius
239d373ff9 Had to change attribute of select tag from disabled to readonly in order to get the feedback popups to work, see bug 5338 2006-04-27 07:21:55 +00:00
gustav_delius
a60a7b0d21 Fixing filtering of category names, now using PARAM_NOTAGS. Fixing bug 5349 2006-04-27 06:55:38 +00:00
gustav_delius
dc454ef428 question category is not remembered correctly by import and export pages, fixing bug 5348 2006-04-27 06:42:10 +00:00
gustav_delius
754d6f1bb3 Corrected location of restorelibpre15.php, see http://moodle.org/mod/forum/discuss.php?d=44156 2006-04-26 20:32:54 +00:00
gustav_delius
50530eb782 The information from question_rqp_types table should not be loaded every time questionlib.php is loaded but only when the questiontype menu is actually needed. 2006-04-26 20:29:32 +00:00
moodler
5ae598c757 Use the fullclone function instead of clone() because objects are in an array bug 5339 2006-04-26 04:40:14 +00:00
moodler
f4e7407d42 *** empty log message *** 2006-04-24 06:12:32 +00:00
thepurpleblob
d08e16b2a5 Moodle xml format can now export and import the actual image files, encoding
in 'base64' format.
2006-04-21 12:35:57 +00:00
gustav_delius
4111194d9e Use delete_question() to delete question, bug 5275 2006-04-21 06:50:51 +00:00
thepurpleblob
d17bee46ce Fixed typo preventing images being displayed. 2006-04-20 12:36:31 +00:00