18 Commits

Author SHA1 Message Date
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
mjollnir_
f75d0a479c Merged from MOODLE_14_STABLE: Indexes and version bump for attendance 2004-11-17 22:11:52 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
gustav_delius
8f6b80b90c Merging from stable branch 2004-08-24 18:38:14 +00:00
moodler
070528fc79 MOdules are dependent on this version of course/mod.php 2004-06-04 07:28:34 +00:00
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
jungwirr
018e87bedb Fixed the empty grades for attendance.
Added log_display database records
2004-05-04 17:18:02 +00:00
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
9423833cd9 All modules now require the very latest because of the changes to add_to_log 2004-01-31 15:25:00 +00:00
moodler
83f007bf39 Define minimum required versions of Moodle 2004-01-28 04:27:57 +00:00
jungwirr
7386d3d886 fixed some foreach problems with if tests 2003-10-15 14:34:50 +00:00
jungwirr
eab709a095 Added automatic attendance logging based on date and any activity by
student on that day.  NOTE - cron must be running for this to work
properly

Modified multi-page views to use arrows instead of words, added a first
page and last page link as well.  Cleaned up that nav menu a bit as well.
2003-09-25 18:54:18 +00:00
jungwirr
caf4bef130 added export to excel and text feature for reports. Still a bug with
export full report to excel in viewweek.php
2003-09-24 17:35:09 +00:00
moodler
35b8e7c28d Database needs prefix 2003-09-19 11:58:24 +00:00
jungwirr
cddc26f6fb Added preference to allow for default attendance status for unedited
rolls.  (it used to be just 'present' now it can be any of the three.
2003-09-19 04:24:28 +00:00
moodler
45d525422e Somehow the version went down ... bumping it up again! 2003-09-18 17:03:40 +00:00
jungwirr
7cab0ba37c fixed bugs in view.php, mod.html, viewall.php
added add.php for adding mutiple instances at once - not nearly done yet!
2003-09-17 14:37:42 +00:00
moodler
872d7f598c New module Attendance, by Russell Jungwirth. 2003-09-16 05:33:54 +00:00