gustav_delius [Sat, 8 Jan 2005 20:06:00 +0000 (20:06 +0000)]
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.
gustav_delius [Wed, 5 Jan 2005 20:07:58 +0000 (20:07 +0000)]
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.
koenr [Wed, 5 Jan 2005 20:05:07 +0000 (20:05 +0000)]
should be reviewed by someone speaking Belarusian, since it appears not to be complete. I added the IMHO missing part in English, but I won't spent time to correct the html before the content is ok.
gustav_delius [Wed, 5 Jan 2005 17:27:23 +0000 (17:27 +0000)]
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.
moodler [Wed, 5 Jan 2005 17:13:44 +0000 (17:13 +0000)]
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...
stronk7 [Wed, 5 Jan 2005 00:28:26 +0000 (00:28 +0000)]
Now text sent to PayPal can be 'sanitised' to avoid
some diacritics (spanish for now) break the enrol process.
Only German and French diacritics are supported for now by PayPal.
Functionality can be easily expanded to other characters.
It make the sanitity when $CFG->sanitise_for_paypal is enabled.
Courses will sometimes fail to be moved across categories if there are collisions in the sortorder field, due to a combined unique index.
With this fix, the 'category move' logic is aware of sortorder and will do The Right Thing(tm) putting the course at the beginning of the category: MIN(sortorder)-1 WHERE category=$destcategory->id .
defacer [Sun, 2 Jan 2005 15:20:15 +0000 (15:20 +0000)]
Fix for bug 2328:
* When configuring a block instance, "Turn editing off" button is not
shown anymore.
* When configuring a block instance, the breadcrumbs are now better,
providing a link to the course page. This could be done in a much
better way if we had a comprehensive template system but it will
suffice for now.
gustav_delius [Sun, 2 Jan 2005 07:15:19 +0000 (07:15 +0000)]
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.