7 Commits

Author SHA1 Message Date
stronk7
46867914ef Solve some wrong CVS Id tags
Merged from MOODLE_15_STABLE
2005-10-15 10:40:36 +00:00
thepurpleblob
f59e91bcf8 _variable() functions, _GET, _POST etc. changed to appropriate _param()
style functions.
2005-07-06 15:31:07 +00:00
stronk7
b79aa685fb Finally we have to use the 'nomatch' because we can come
from other script (assess.php).

filterall work in progress.
2005-04-10 18:22:18 +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
gustav_delius
17db65ef3f Added visibility check to all workshop pages, see bug 2450. 2005-02-13 13:12:03 +00:00
moodler
a7b32ed3b6 Changes for XHTML and accessibility compatibility 2005-01-11 08:38:27 +00:00
gustav_delius
eb89027f5b More changes to the user interface. See http://moodle.org/mod/forum/view.php?id=740. 2004-12-12 11:20:07 +00:00