Last change
on this file since 74 was
73,
checked in by joachim, 19 years ago
|
=university index
|
-
Property svn:keywords set to
Id
|
File size:
597 bytes
|
Line | |
---|
1 | ##parameters=REQUEST=None,psm=None,groups=None |
---|
2 | # $Id: university_view.py 73 2005-10-21 12:51:09Z joachim $ |
---|
3 | |
---|
4 | """Default view for the forum. If post_id is not None, post with id = <post_id> |
---|
5 | will be displayed, otherwise first post will be displayed.""" |
---|
6 | |
---|
7 | member = context.portal_membership.getAuthenticatedMember() |
---|
8 | if member: |
---|
9 | if 'Students' in member.getGroups(): |
---|
10 | return context.students.students_folder_view_student(psm=psm,groups=groups) |
---|
11 | if 'StudentManager' in member.getGroups(): |
---|
12 | return context.students.student_folder_view_manager(psm=psm,groups=groups) |
---|
13 | return context.students.students_folder_view_anon(psm=psm,groups=groups) |
---|
Note: See
TracBrowser for help on using the repository browser.