gustav_delius
76cacec819
split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle.
2005-01-08 20:06:00 +00:00
moodler
bb6c3f3ad2
Fixed my erroneous fix from last checkin
2005-01-06 08:46:12 +00:00
moodler
0181cf725d
This bug stopped this page from even working ....
2005-01-06 02:38:50 +00:00
moodler
d6d080e26c
Er, made a typo myself. This works now.
2005-01-05 17:47:01 +00:00
moodler
697fa7265d
Fix faulty call to table_column
2005-01-05 17:42:57 +00:00
gustav_delius
1da1f5a890
It is now possible to have also questions in all subcategories listed on edit.php. Because there can be a large number of questions the list of questions is now paged.
...
The random questions have another option specifying whether they can choose their questions also from subcategories or not. This option is stored in the unused questiontext field.
2005-01-05 17:27:23 +00:00
kaipe
d70ccc495c
New feature:
...
Maximum-number-of-questions-per-page
2005-01-03 00:41:33 +00:00
gustav_delius
ac27e47dc4
Hierarchical question categories from mediagonal, see http://moodle.org/bugs/bug.php?op=show&bugid=1947
2005-01-02 15:10:50 +00:00
gustav_delius
34283aa87d
The teacher now can choose whether to see the advanced quiz
...
options or not. This is handled as in the resource module. The
"Show advanced options" button is only shown if the admin has
chosen to declare some of the options as advanced.
There are now 4 review options as suggested by Martin in
http://moodle.org/mod/forum/discuss.php?d=16709
Provides separate buttons "Update this quiz" and "Edit questions",
see http://moodle.org/mod/forum/discuss.php?d=16708 . To make this
possible edit.php can now be called with a quiz id and it saves
its data itself rather than relying on mod.php.
mod.html now has a "Save changes" and a "Save changes and edit questions" button.
"Attempt quiz now" button gets a different language string for
re-attempts. This is currently set to "Re-attempt quiz".
After viewing the feedback for an attempt the "Continue" button
leads back to the course homepage, as requested in bugs 1224 and
1976. If there is no feedback the user is brought straight to quiz/view.php.
2005-01-02 07:15:19 +00:00
gustav_delius
a62356fcdd
removed many php warnings and streamlined code
2004-12-30 22:51:24 +00:00
moodler
eb820b8b92
Use the proper preview image 11x11
2004-12-30 08:28:58 +00:00
gustav_delius
0dc4810a9a
Changed user interface for adding multiple random questions, see http://moodle.org/mod/forum/discuss.php?d=16531#78785
2004-12-29 22:57:35 +00:00
gustav_delius
71d1ef585f
added alt text to icons
2004-12-29 10:03:53 +00:00
gustav_delius
2d09198e5f
avoid division by zero when the sum of grades is zero
2004-12-29 09:22:33 +00:00
gustav_delius
fa92dd2437
improved an error message, see http://moodle.org/bugs/bug.php?op=show&bugid=504&pos=0
2004-12-29 07:48:21 +00:00
gustav_delius
df4fe0009b
avoids error when exporting 0 questions
2004-12-29 07:21:55 +00:00
gustav_delius
089a284b88
sort category question list by type then name as suggested in http://moodle.org/bugs/bug.php?op=show&bugid=2045
...
Also removed a PHP notice
2004-12-29 07:19:54 +00:00
gustav_delius
b63850e8d4
Fixed form error checking for cloze questions, see bug http://moodle.org/bugs/bug.php?op=show&bugid=697
2004-12-28 09:12:40 +00:00
moodler
a7ca4cd150
When teachers view quizzes (attempting or reviewing) they see a small
...
link with the actual question id of that question. The link creates
a popup so that they can edit that question directly.
2004-12-27 14:52:24 +00:00
moodler
c9a945caed
Fixed a string name
2004-12-27 14:34:38 +00:00
gustav_delius
dc511e9fdb
removed php notice and fixed line endings
2004-12-26 16:09:12 +00:00
gustav_delius
8fbb315db3
fixed missing string error that I introduced when improving the breadcrumbs.
2004-12-26 14:55:50 +00:00
thepurpleblob
d75bc0b272
Now supports shortanswer import. Cleaned up the CDATA import too.
2004-12-24 11:16:43 +00:00
gustav_delius
78036f7835
Fixed event handling. Events must be deleted with delete_event.
...
Instead of modifying event dates the quiz module currently deletes them and adds new ones. This could be improved in the future.
2004-12-23 07:28:14 +00:00
gustav_delius
a5c0990e5d
New quiz config page to allow admin to set defaults and hide options on the quiz setup page.
2004-12-23 07:09:33 +00:00
thepurpleblob
37df8c250c
Fixed typo that has crept in.
2004-12-20 15:31:27 +00:00
thepurpleblob
75e496f73d
Fixed a couple of bugs in the xml formatting. Issue with Markdown text
...
still to resolve.
2004-12-20 14:34:07 +00:00
gustav_delius
267ef6f28f
Improved breadcrumbs on editing pages
2004-12-20 14:26:37 +00:00
kaipe
c03d783201
Question type RANDOM now stores responses just like any other question type.
...
Therefore all workarounds are removed from lib.php and an isolated workaround is included in random/questiontype.php in order to ensure backward compability.
2004-12-18 13:55:18 +00:00
thepurpleblob
d6b3c7b82e
Added xml format import. First pass for testing.
...
Just multiple choice and true/false at the moment and needs further
testing and polishing.
2004-12-16 15:54:51 +00:00
moodler
945c636394
Added blank printing style ( http://moodle.org/mod/forum/discuss.php?d=13071&parent=77710 )
2004-12-16 11:54:45 +00:00
moodler
ad1a74e0ed
Protect review page as well
2004-12-16 11:51:37 +00:00
moodler
6c83959e33
Quizzes can now be opened in a popup window. Javascript must be enabled.
...
An attempt has been made to make the popup as secure as possible by disabling
various browser capabilities through javascript.
2004-12-16 08:05:23 +00:00
skodak
e7f927a0fc
new handling of uploaded files, please TEST, TEST, TEST
2004-12-14 18:57:51 +00:00
moodler
f5a1c0c064
New field popup to control new feature: launch quiz in fullscreen popup window
2004-12-14 06:43:22 +00:00
thepurpleblob
0cc29b85c4
Fixed typo in escaping exported text.
2004-12-13 17:28:34 +00:00
thepurpleblob
ca6477c5ac
Can now export HTML - dangerous characters are converted to entities.
2004-12-13 11:37:45 +00:00
thepurpleblob
77cfab9ba9
Now correctly escapes 'reserved' characters when exporting GIFT format.
2004-12-12 10:48:05 +00:00
moodler
8579e15617
Merged fix SC22 from STABLE, even though this file will be rewritten
...
with Petr's new file handling soon! :-)
2004-12-12 07:09:51 +00:00
thepurpleblob
3397020814
Bug in export of multichoice-multianswer questions fixed.
...
Thanks to Nguyen Tuan Anh for spotting this and providing the fix!
2004-12-09 16:18:23 +00:00
kaipe
180bcb2740
New feature that makes it possible to specify the number of decimals
...
for the correct answer in calculated questions
as well as some minor refactoring and debugging.
2004-12-05 13:02:49 +00:00
kaipe
2ad1b388f7
Updating database and backup/restore in order to make it possible
...
for teachers to choose number of decimals for calculated questions.
Can someone please check if the database update for postgres7 turns out alright?
2004-12-05 12:56:01 +00:00
moodler
8ac17ba443
Changes for XHTML and accessibility compatibility
2004-11-25 10:01:56 +00:00
mjollnir_
905e80d273
Merged from MOODLE_14_STABLE: Attempt to fix the unique index on quiz_attemptonlast_datasets for postgres (requires version bump in quiz AND requires bump in quiz for the getting rid of adodb feedback in execute_sql
2004-11-23 05:04:53 +00:00
moodler
ae6d640123
Minor HTML fixes
2004-11-23 02:47:07 +00:00
moodler
cc28a5b560
Just a code tidy up
2004-11-23 02:41:45 +00:00
moodler
b5c6d80dfe
I've not tested this at all :-( but it was sent to me by the original
...
author of this feature as a bug fix.
PLEASE TEST! (See bug 2179 for example)
2004-11-22 16:25:29 +00:00
mjollnir_
556b96786e
Merged from MOODLE_14_STABLE: Indexes for quiz and version bump (honoring partial freeze)
2004-11-19 04:14:13 +00:00
moodler
6958042464
Merged default categpory fix from stable
2004-11-18 07:32:31 +00:00
kaipe
813ac2e00a
The previous update was supposed to be an enlargement of answer in quiz_responses (not quiz_answers)
...
It is now correct and the mistake never made it to the stable version :-)
2004-11-13 19:25:13 +00:00