This website requires JavaScript.
Explore
Help
Register
Sign In
mirror_php
/
moodle
Watch
1
Star
0
Fork
0
You've already forked moodle
mirror of
https://github.com/moodle/moodle.git
synced
2025-02-13 20:36:42 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
moodle
/
mod
/
resource
History
moodler
1d533faf92
Made new serverurl more standard (don't include raw variables in strings)
2005-02-20 06:08:58 +00:00
..
db
…
type
Made new serverurl more standard (don't include raw variables in strings)
2005-02-20 06:08:58 +00:00
backuplib.php
…
config.html
…
fetch.php
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".
2005-02-16 10:40:48 +00:00
filter.php
…
icon.gif
…
index.php
…
lib.php
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".
2005-02-16 10:40:48 +00:00
mod.html
…
restorelib.php
…
version.php
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".
2005-02-16 10:40:48 +00:00
view.php
…