2543 Commits

Author SHA1 Message Date
moodler
bb774ac1d5 Fixed typo 2005-01-11 07:07:57 +00:00
skodak
577f51902e fixed typo 2005-01-10 21:32:44 +00:00
skodak
ae68eb9c15 fixed typos 2005-01-10 21:31:41 +00:00
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
1c394da4f6 Removing a notice on PHP 5 2005-01-06 13:23:02 +00:00
moodler
c30b1bc038 FIxed a few silly bugs. Seems to test out OK now. 2005-01-06 13:15:10 +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
moodler
59c005b76e Email alerts to teachers
------------------------

Added a small new feature to the assignment module to alert teachers when
new emails come in.  This feature adds one new field (which is tested) but
the operation of the new code has not been tested yet at all (apart from
PHP syntax) and very likely has bugs in it.

I'm checking this in so I can do tests on test.moodle.com which has email
set up properly.

I'm off to bed right now but if anyone else wants to test this feature
before tomorrow please do!   :-)

While I'm rambling here in CVS, I need to have a good look soon at Pablo's work
on Assignment and see if I can merge it all in...
2005-01-05 17:13:44 +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
fiedorow
06870aa324 fixing a couple of instances of hardcoded /admin/ 2004-12-31 16:12:58 +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
moodler
07496589ba More XHTML from Shane 2004-12-22 02:59:21 +00:00
moodler
1e44343940 Some leftover XHTML changes ... 2004-12-22 02:53:05 +00:00
moodler
d23e2291a5 Checking in some old changes from Shane, I think ... just spacing ... 2004-12-22 02:51:54 +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
stronk7
485d102488 The entrylist format now shows the approval button.
Bug 2291.
(http://moodle.org/bugs/bug.php?op=show&bugid=2291)

Merged from MOODLE_14_STABLE
2004-12-18 20:29:33 +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
stronk7
ced8b969e6 Just activating validation in Head to be able to test it. 2004-12-17 17:24:13 +00:00
stronk7
b7237c1ed6 Changes since 1.13.2.4 upto 1.13.2.9 in MOODLE_14_STABLE
applied to HEAD!!!

Some validation code has changed and I've leave it commented
exactly as it's in MOODLE_14_STABLE. Not sure why!!
2004-12-17 14:52:06 +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
a0fb9e8e65 merged from MOODLE_14_STABLE; updated zipping code - see bug #2228 2004-12-15 21:59:30 +00:00
moodler
20dd7de2cb fix merged from stable 2004-12-15 13:13:18 +00:00
stronk7
ff4240129c Some checks are now done. SC#18.
Merged from MOODLE_14_STABLE
2004-12-15 09:03:39 +00:00
defacer
548c4e2e55 Fix for bug 2285: chatd shows all chat users as present in every chatroom
Should be fixed, but needs testing.
2004-12-15 07:08:31 +00:00