Changeset 1048
- Timestamp:
- 13 Dec 2006, 18:11:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r1032 r1048 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=student=None 7 ##parameters=student=None, with_items=None 8 8 ##title= 9 9 ## … … 41 41 break 42 42 if member_id != requested_id: 43 logger.info( "student %s tried to access %s"% (member_id,requested_id))43 logger.info('"%s", "tried to access", "%s"' % (member_id,requested_id)) 44 44 student_id = member_id 45 45 mtool.assertViewable(context) … … 50 50 student_id = student.getId() 51 51 52 roles = member.getRoles()52 #roles = member.getRoles() 53 53 student_path = "%s/campus/students/%s" % (context.portal_url.getPortalPath(),student_id) 54 54 student = context.restrictedTraverse(student_path,default=None) … … 127 127 'StudentPume': 'pume_view', 128 128 } 129 if not with_items: 130 return info 129 131 sos = context.portal_catalog(container_path=student_path) 130 132 for so in sos:
Note: See TracChangeset for help on using the changeset viewer.