9 Commits

Author SHA1 Message Date
moodler
535136bde7 Correct calls to require_course_login 2005-04-13 07:00:35 +00:00
bobopinna
92a489eb6a First step to SCORM2004, new communication subsystem 2005-02-17 16:04:42 +00:00
bobopinna
2a0407b7f6 First step for SCORM2004, new communication subsystem 2005-02-17 08:52:54 +00:00
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
bobopinna
59c71f4b37 Updated XHTML tags and attributes in order to pass W3C validation 2004-09-20 13:50:38 +00:00
gustav_delius
1c5d9bbbec closed some br tags 2004-09-12 22:29:44 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
moodler
82b1b994c8 Fixed a notice 2004-07-28 12:01:42 +00:00
moodler
98ca59f6e1 Putting SCORM into maintree CVS, to make it easier to test.
It's getting pretty useful now!
2004-05-20 17:06:19 +00:00