11 Commits

Author SHA1 Message Date
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +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
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
skodak
e7f927a0fc new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +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
moodler
81d849fd41 Merged fix from stable 2004-10-01 02:16:05 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +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
moodler
c1f86c2afa Removing some security checks that seem to cause trouble 2004-05-03 02:12:45 +00:00
moodler
3fb839a1e4 A small fix for showing pictures in randomly-selected questions 2003-12-17 13:35:49 +00:00
kaipe
fe98ea90f9 The new quizfile.php makes it possible to view associated file material on quizes, such as images, even for questions belonging to a category on a different course. lib.php is updated accordingly... 2003-11-02 21:36:25 +00:00