Last change
on this file since 11110 was
805,
checked in by joachim, 18 years ago
|
propset Id
|
-
Property svn:keywords set to
Id
|
File size:
344 bytes
|
Line | |
---|
1 | # Return the right theme in context: |
---|
2 | |
---|
3 | request = container.REQUEST |
---|
4 | RESPONSE = request.RESPONSE |
---|
5 | |
---|
6 | # Return a string identifying this script. |
---|
7 | mtool = context.portal_membership |
---|
8 | member = mtool.getAuthenticatedMember() |
---|
9 | roles = member.getRoles() |
---|
10 | if 'Manager' in roles or 'SectionManager' in roles: |
---|
11 | return 'WAeUP_Backoffice' |
---|
12 | return 'WAeUP_Student' |
---|
Note: See
TracBrowser for help on using the repository browser.