Changeset 1562 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 16 Mar 2007, 11:09:14 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_default
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/isCourseAdviser.py
r1557 r1562 1 ## Script (Python) "isC learanceOfficer"1 ## Script (Python) "isCourseAdviser" 2 2 ##bind container=container 3 3 ##bind context=context … … 16 16 mtool = context.portal_membership 17 17 roles = mtool.getAuthenticatedMember().getRolesInContext(context) 18 return str("CourseAdviser" in roles)19 18 return "CourseAdviser" in roles 20 19
Note: See TracChangeset for help on using the changeset viewer.