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
rkingdon
5c2b2dd83a
User Pictures to dialogue headers.
2004-11-21 15:30:14 +00:00
rkingdon
7decbe4b12
Added vetting of conversationid; fixed bug 2194 (Problems with
...
backup/restore); Tidied Postgres table.
2004-11-21 04:01:10 +00:00
skodak
d3b65a9bf5
fixed line endings broken by my WinMerge
2004-10-10 20:32:51 +00:00
skodak
59e2d6aa5f
merged from 14_STABLE - cleaned text from forms
2004-10-10 17:37: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
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
db3e1a89f1
Fix the submission of null entries when using the HTML editor.
2004-06-24 17:11:51 +00:00
rkingdon
352ab98fa0
Dialogue entries now use the HTML editor.
2004-06-23 14:16:30 +00:00
rkingdon
6219cb1f07
Lists of names now use case insensitive sort (natcasesort);
...
Remove email flag setting from follow-up entry page, email is now a global option.
2004-06-21 17:12:41 +00:00
rkingdon
9af2f862cf
Change to the mail option, now a global option.
2004-06-18 19:01:44 +00:00
rkingdon
2f39268b3d
Fixed Bug 1060: Error inserting second entry from the same input page.
...
Fixed bug #865 .
2004-03-12 15:25:13 +00:00
moodler
6dde8c3d39
Use fullname for displaying names
2003-11-28 15:42:32 +00:00
rkingdon
9b1a0374e0
Dialogue version 2003101300.
2003-10-13 12:41:36 +00:00
moodler
e0a0a1146b
Moving Dialogue into the main tree for convenience.
2003-10-06 12:00:28 +00:00