192 Commits

Author SHA1 Message Date
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
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
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
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
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
skodak
e7f927a0fc new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +00:00
moodler
8ac17ba443 Changes for XHTML and accessibility compatibility 2004-11-25 10:01:56 +00:00
moodler
6958042464 Merged default categpory fix from stable 2004-11-18 07:32:31 +00:00
moodler
7c6c30ed2b Changes for XHTML and accessibility compliance 2004-11-11 12:07:08 +00:00
moodler
e200a26ec0 Merged robustness check from stable 2004-11-10 14:06:20 +00:00
moodler
0e919226b1 Merged from stable 2004-10-16 17:30:51 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
kaipe
84250ebb12 Fixes bug #1854 2004-09-16 06:35:49 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
moodler
49d74ec0ba Tidying up Howard's wierd indenting. ;-) 2004-08-23 16:46:50 +00:00
moodler
9c8047cfd0 Added a new preview/test feature for quiz questions, sent in by
Pavel <paolo@psychpan.waw.pl>

Thanks to Przemyslaw, too!
2004-08-16 15:16:26 +00:00
moodler
5f8c3e1f1a Fixed some notices 2004-08-14 12:42:54 +00:00
moodler
ba28853909 And some more 2004-08-08 15:09:39 +00:00
moodler
b71213e39a Fixed bug when calling instance_is_visible() 2004-08-08 15:08:50 +00:00
thepurpleblob
a0ffa51354 export filename does not now have .txt extension - this is selected by overridable
method on format.php
2004-08-06 11:11:51 +00:00
moodler
01d11b97d9 No checking is now done on question name and question text.
If question name is empty, then it's assigned to be same as the question text.

The question text can now be empty if people want that.
2004-08-05 05:31:40 +00:00
kaipe
79a44f05a9 Took care of some issues concerning the use of
individual quiz files in datasetdependent questions
2004-08-04 23:35:18 +00:00
kaipe
2443a13e75 New generic tools that allow the creation of dataset-dependent questions
as well as the new question type Calculated that uses this generic support.
2004-07-30 14:50:58 +00:00
moodler
11c6232781 Some cleanups with formatting and so on. 2004-07-29 06:15:54 +00:00
moodler
9350263a96 Merged fix from stable 2004-07-27 13:19:12 +00:00
moodler
8966a11131 Quiz refactoring is now merged into the main development code!
I've done some basic testing using existing quizzes trying as
much as I could think of, and it all worked well!

Well done, Henrik!  Great job!

Still, this should be regarded as unstable at least until more
people have had a try.  Please test this thing solidly on new
and old quizzes.
2004-07-21 13:01:08 +00:00
moodler
8c467676c2 Two new features for quizzes! (Thanks Shane)
1)  Quizzes can be restricted by subnet

 2)  Quizzes can require a password to be entered before attempts
2004-07-08 07:50:49 +00:00
thepurpleblob
03d0e48201 Added missing handler for exporting Cloze type questions 2004-07-06 14:28:17 +00:00
thepurpleblob
6adaf83e66 fixed bug #1556 - implode could be called on non-array data 2004-06-30 12:39:22 +00:00
thepurpleblob
008589289a More question types added to support quiz exports 2004-06-30 10:11:21 +00:00
thepurpleblob
eea4477b95 Fixed mistake in category selection - now correctly shows selected category 2004-06-23 09:33:47 +00:00
julmis
684d865a49 Updates to quiztimer
- mark question result to zero if time limit is exceeded
2004-06-22 20:44:59 +00:00
thepurpleblob
105d34db95 Editing and adding question controls are now disabled where the user does
not have editing rights. Applies to published categories.
2004-06-22 11:02:37 +00:00
julmis
68a7b97074 Fixes for quiztimer.
- Lets make cheating more complicated, more javascript based.
- Mark attempt to zero if time limit is exceeded over 60 seconds
2004-06-20 10:57:27 +00:00
thepurpleblob
2ceec2d6be Added functions to only display categories that the user is actually
allowed to edit. Used in question edit screens
2004-06-18 12:59:06 +00:00
thepurpleblob
adc8ba57b2 Added function to return category name with course shortname apended
Added functions to read a complete quiz category structure into object
    for development of export functionality - working but partial question
    types at the moment.
2004-06-17 17:29:07 +00:00
julmis
f41e824f33 QuizTimer modifications added plus necessary files along. 2004-06-02 18:03:05 +00:00
moodler
565340c670 Simpler way to update events for a quiz 2004-05-23 10:25:46 +00:00
moodler
a601728c8d Fix for BUg 320 from Bernard Boucher 2004-05-19 02:53:03 +00:00
moodler
b2a3cd2d24 Quizzes with long periods (longer than 5 days) are now handled
in the calendar as two separate events ... one for open and one for close

bug 1402
2004-05-17 17:04:01 +00:00
moodler
8cadd23f98 Some cleaning up of the navigation bars in quizzes 2004-05-16 10:20:26 +00:00
moodler
b7f3582008 Use overlib feedback on cloze-style questions 2004-05-16 03:14:03 +00:00
moodler
e70bda424b Fixes to prevent users from creating bad quiz questions with not
enough answers in them.

Thanks to Shane Elliott (Ikawhero)
2004-05-14 14:36:32 +00:00
gustav_delius
dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
moodler
d2f308c091 Support for events.
Ouch - I thought I'd checked this in days ago
2004-04-28 02:56:40 +00:00
stronk7
ff4c50a9a2 As showing/hiding "Save my answers" button was based in empty($results),
moved $results->attemptbuildsonthelast to $attemptbuildsonthelast.
This was introduced in my latest CVS version, trying to take out
some notices...solved now.
2004-04-25 09:16:19 +00:00
stronk7
c18490b89b Take our some notices... 2004-04-25 08:43:42 +00:00