gustav_delius
2b6271fccc
I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove' because it does not delete the question but only removes it from the quiz.
2005-02-06 10:42:31 +00:00
gustav_delius
51d0c8b0bd
edit column in question tables on edit.php are now wide enough to hold all icons without line break
2005-02-06 07:55:05 +00:00
gustav_delius
f0148d973c
If a question is removed from a quiz then also all existing responses (e.g. from teacher attempts) are removed. Thanks to Eloy for pointing out that this was missing, http://moodle.org/mod/forum/discuss.php?d=17167#83331
2005-02-06 07:45:40 +00:00
gustav_delius
b37cacae47
It is now no longer possible to add or delete questions in a quiz that students have already attempted, see http://moodle.org/mod/forum/discuss.php?d=16479#86488
2005-02-05 21:03:04 +00:00
gustav_delius
6eaae5bdd2
fixed my own type (missing ;)
2005-02-05 20:00:15 +00:00
gustav_delius
6f7970138a
Taken out some $THEME
2005-02-05 17:28:06 +00:00
gustav_delius
adf3c01551
fixed stupid bug in code for adding random questions
2005-02-03 18:04:15 +00:00
defacer
768320dcc9
Update for the new APIs and simplification.
2005-02-02 02:46:06 +00:00
defacer
fc0551248e
Polishing that Add/Edit Blocks button
2005-02-01 08:35:06 +00:00
defacer
8dffa4df07
Don't forget to kill all our block instances if we are deleted.
2005-02-01 07:40:58 +00:00
defacer
bdfa14dd7f
All right, we can now have blocks in quiz pages!
...
Let's test it a while and see what we learn from it.
2005-02-01 07:16:19 +00:00
stronk7
2d81101163
Solved sesskey issue in calculated questions. Bug 2464
...
(http://moodle.org/bugs/bug.php?op=show&bugid=2464 )
2005-01-31 16:40:08 +00:00
skodak
db24312891
cleaned download filename SC#69, merged from MOODLE_12_STABLE
2005-01-29 15:16:32 +00:00
skodak
4ffdd3937f
direct access to script forbidden SC#58, merged from MOODLE_14_STABLE
2005-01-29 14:18:45 +00:00
thepurpleblob
84bbe7f9d3
fixed some incorrect xhtml in the delete bit - missing quotes
2005-01-27 16:40:40 +00:00
thepurpleblob
b90d6ed1e2
factored out functionality to check if question is in use on delete
...
will be using this to delete whole categories of questions (or not)
2005-01-27 16:18:27 +00:00
thepurpleblob
bb5e13d514
factored out function to see if question is used in quiz into the library
2005-01-27 16:10:25 +00:00
thepurpleblob
ddd8f87f7a
multianswerchoice questions added to example questions.
2005-01-27 11:24:26 +00:00
thepurpleblob
2d4aa134d5
Addition code to handle 'multianswerchoice' type Learnwise questions.
2005-01-27 11:22:45 +00:00
defacer
7a652b5f2b
Switching back to an interger-rounded retrieved best grade. Will probably
...
be more human-friendly on screen.
e.g. "What does 66.67 out of 100 mean?"
2005-01-27 03:14:56 +00:00
defacer
28926a08e9
Changing that despicable grade column from mdl_quiz_grades to a
...
floating point data type, as it should be.
2005-01-27 03:10:57 +00:00
defacer
35f45a0d83
It seems that grades are saved with two decimal points of precision while
...
they are being retrieved as integers. Changed it to two decimals everywhere
and continuing to go about it...
2005-01-27 02:45:38 +00:00
defacer
cb8057dee2
Semantically it's better if quiz_get_best_grade returns NULL
...
if there is no such grade.
2005-01-27 02:39:15 +00:00
defacer
d5838a4b20
Double quotes to single and blah blah.
2005-01-27 02:30:32 +00:00
defacer
9d6773603d
Minor beautification, plus a detail: if the grade is 0.0, this function
...
would return a grade of 0, which is obviously not the intent here.
2005-01-27 02:28:04 +00:00
defacer
e7a935aafa
This was pulling out all those records and doing absolutely nothing
...
with them. Sanitized the place a bit.
2005-01-27 02:26:00 +00:00
thepurpleblob
7452a56110
HTML Entities are now 'reversed' on import.
2005-01-26 10:37:16 +00:00
thepurpleblob
8f0876a98b
Added example file of the learnwise import format
2005-01-26 10:36:31 +00:00
thepurpleblob
1680925333
Adding Learnwise import - created by Alton College, Hampshire UK
...
Still to do testing etc.
2005-01-25 20:18:05 +00:00
moodler
d3c8056258
Changes for XHTML and accessibility compatibility.
...
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
thepurpleblob
84a93f1c24
Added empty array into question object for multiplier field in numeric questions
...
Stops a bunch of warnings when quiz is imported
2005-01-24 15:45:20 +00:00
defacer
9407d4563f
According to the final comments in SC#65:
...
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.
The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
gustav_delius
e6d10b266b
fixed sesskey bug reported by Eloy. Thanks Eloy.
2005-01-23 09:10:34 +00:00
gustav_delius
0353801a2b
There is now a mechanism by which question types can have their own setup options. Because this does not change anything unless it is used I hope it is o.k. that I am submitting this without asking first. This is based on code by Mad Alex.
2005-01-22 22:27:16 +00:00
gustav_delius
0fc48cbfa5
question.php now uses sesskey. This means that all question type plug-ins will have to add it to their edit forms.
2005-01-22 20:08:45 +00:00
gustav_delius
010ec024b8
made multiple.php save to database in addition to $SESSION->modform and also introduced sesskey
2005-01-22 19:14:35 +00:00
gustav_delius
fc1bc87bb0
better parameter validation and some code cleanup for category.php
2005-01-22 19:03:05 +00:00
gustav_delius
4acc80ead1
if the current category is deleted then revert back to the default category
2005-01-22 18:59:10 +00:00
stronk7
1082105205
Modify sesskey behaviour. SC#73
2005-01-22 18:53:44 +00:00
gustav_delius
56b2152f69
better parameter validation and general code cleanup for edit.php
2005-01-22 18:17:33 +00:00
gustav_delius
873b77f0f5
previously I had forgotten to save sumgrades
2005-01-22 16:13:08 +00:00
gustav_delius
4ac04efaf7
quiz edit.php now saves changes to the quiz in the database as soon as the teacher makes them, see http://moodle.org/mod/forum/discuss.php?d=17167
2005-01-22 15:42:22 +00:00
gustav_delius
ef0921d1ff
It is now possible to base new questions on existing ones, see get_string('editingquestion', 'quiz');
2005-01-19 09:50:33 +00:00
gustav_delius
0befd376af
fixed missing courseid in breadcrumbs
2005-01-19 08:11:49 +00:00
kaipe
efa9b7fa01
Fixed a bug that was reported by James Balfour:
...
Numerical/Calculated questions failed to grade negative responses on questions with units.
2005-01-17 20:14:16 +00:00
moodler
cbc9da2a1b
FIxed a missing brace (bug 2386)
2005-01-14 16:45:35 +00:00
moodler
6710ec8713
Recent activity functions should have been in lib.php, not locallib.php
2005-01-13 03:04:48 +00:00
gustav_delius
c1edf51947
When setting up a new quiz the teacher is always redirected to the question edit page so there is no need for two buttons on mod.html
2005-01-12 07:03:25 +00:00
gustav_delius
9f9cff594c
Just some comment text to explain the $QUIZ_QUESTION_TYPE array.
2005-01-12 06:30:32 +00:00
stronk7
b5c5f9286a
Maintain whitespace when importing glossary entries. Aplied to
...
blackboard import of questions too. Bug 2310.
(http://moodle.org/bugs/bug.php?op=show&bugid=2310 )
Merged from MOODLE_14_STABLE
2005-01-11 11:29:01 +00:00