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