26 Commits

Author SHA1 Message Date
moodler
79dee413e9 Improvements to uploading error feedback (from Shane) 2004-09-07 09:25:51 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
gustav_delius
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
moodler
31a5ee99cc Don't show grades at all when grades not being used bug 1710 2004-08-17 05:44:30 +00:00
moodler
9fa8271283 Fixes for displaying numbers of assignment submissions when
groups are active
2004-03-16 13:54:29 +00:00
moodler
037f99aa2d Upgraded add_to_log to send cm->id 2004-01-31 15:22:04 +00:00
moodler
8ff79e8c5b Fixed the counting of submissions for a new function assignment_count_real_submissions() 2004-01-30 16:53:01 +00:00
moodler
ad7101a17b FIxed counting of submissions 2004-01-28 11:03:44 +00:00
moodler
7e0830caea Fixed bug 902 when displaying scale grades for offline assignments 2003-11-22 03:14:59 +00:00
moodler
fdc47ee6c9 New function make_grades_menu() for easily making an array of grades 2003-08-18 05:10:35 +00:00
moodler
94d0cea511 Some polishing for the case when grades are set to zero (no grades).
Also, if the date is set further than on year into the future
then the due date is not shown.
2003-08-18 04:24:12 +00:00
moodler
415c0dcc70 Assignment module can now use scales for grading. 2003-08-17 10:23:44 +00:00
moodler
3a4c2fd089 I knew there was something else I'd forgotten!
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not.  If it is, then students get a message.
2003-05-15 18:03:22 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
085bd98e7e Add option that allows students to resubmit after being graded 2002-11-15 03:32:30 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
4242a73f37 Bug fix on record counting 2002-11-06 08:44:44 +00:00
moodler
b7b4287462 Added new type of assignment - offline.
This type of assignment doesn't require anything of the student online,
it just tells them about an assignment and the teacher can provide
feedback and grades.  Useful for offline activities, and also for the
teacher to add manual columns to the grades page
2002-11-06 08:12:06 +00:00
moodler
41f2f344ab Show date in red if assignment date has passed 2002-10-28 02:25:18 +00:00
moodler
b425749fc3 Teacher can now use the richtext editor to edit the assignment text 2002-10-16 05:31:56 +00:00
moodler
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
moodler
4b9318947c Added a new string to make it very clear how to upload assignments 2002-10-11 01:58:24 +00:00
martin
3182314d5c Prevent guests from submitting choices or assignments 2002-09-24 09:02:34 +00:00
martin
14ffed8b2b Formatting tweak 2002-08-04 16:44:43 +00:00
martin
d699cd1e54 New assignment module finally complete! 2002-08-04 16:19:37 +00:00