moodler
b846ac39ff
Standardise the intro box using an ID
2005-03-13 16:17:55 +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
b4510d5333
closed some input tags
2004-09-12 22:23:51 +00:00
gustav_delius
9a58f7cb85
towards XHTML compliance
2004-09-12 21:43:59 +00:00
rkingdon
32dc4fe352
First stab at XHTML conformance.
2004-09-11 19:47:29 +00:00
gustav_delius
90fcc576ea
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
2004-08-21 20:20:58 +00:00
rkingdon
3b42c6d8f1
Use of moodle's writing.html help rather than a "local" one.
2004-08-11 12:30:26 +00:00
rkingdon
1d8d55e7ed
Improved handling of Groups.
2004-08-07 14:16:20 +00:00
rkingdon
16b56e5ef8
Dialogues can be started with groups of students.
2004-06-28 19:41:24 +00:00
rkingdon
352ab98fa0
Dialogue entries now use the HTML editor.
2004-06-23 14:16:30 +00:00
rkingdon
9af2f862cf
Change to the mail option, now a global option.
2004-06-18 19:01:44 +00:00
moodler
0437ab95c6
Use format_text to print text so that filters work
2004-02-08 09:48:48 +00:00
moodler
037f99aa2d
Upgraded add_to_log to send cm->id
2004-01-31 15:22:04 +00:00
moodler
e0a0a1146b
Moving Dialogue into the main tree for convenience.
2003-10-06 12:00:28 +00:00