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-21 01:48:45 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
moodle
/
mod
/
choice
History
gustav_delius
1ee55c41d9
Give groupmode selection to mod.html for all modules that use groupmode. Also fix bug 2576
2005-02-17 19:19:21 +00:00
..
db
…
backuplib.php
…
column.png
…
icon.gif
…
index.php
…
lib.php
…
mod.html
Give groupmode selection to mod.html for all modules that use groupmode. Also fix bug 2576
2005-02-17 19:19:21 +00:00
report.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
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
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