Logo
Explore Help
Register Sign In
L-electron-Rare/moodle
1
0
Fork 0
You've already forked moodle
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
14,208 Commits 38 Branches 564 Tags
5d94deaa50db2087b47aad69386c90522e1330a0
Commit Graph

5 Commits

Author SHA1 Message Date
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
Powered by Gitea Version: 1.26.2 Page: 371ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API