Last change
on this file since 17341 was
1692,
checked in by Henrik Bettermann, 18 years ago
|
2nd clean-up
|
-
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 'Student' in roles or mtool.isAnonymousUser(): |
---|
11 | return 'WAeUP_Student' |
---|
12 | return 'WAeUP_Backoffice' |
---|
13 | |
---|
Note: See
TracBrowser for help on using the repository browser.