Changeset 2335 for WAeUP_SRP/base/skins
- Timestamp:
- 9 Oct 2007, 17:34:04 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getApplicationInfo.py
r1871 r2335 12 12 return Info about the current Student 13 13 """ 14 import logging15 logger = logging.getLogger('Skins.getApplicationInfo')16 14 17 15 request = context.REQUEST … … 28 26 requested_id = context.getStudentId() 29 27 if requested_id and not context.isStaff() and member_id != requested_id: 28 import logging 29 logger = logging.getLogger('Skins.getApplicationInfo') 30 30 logger.info('%s tried to access application object of %s' % (member_id,requested_id)) 31 31 student_id = requested_id -
WAeUP_SRP/base/skins/waeup_utilities/viewimage.py
r2114 r2335 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=path 7 ##parameters=path=None 8 8 ##title= 9 9 ## … … 16 16 def set_trace(): 17 17 pass 18 if path is None and traverse_subpath: 19 path = "/".join(traverse_subpath) 18 20 return context.waeup_tool.showFsPicture(path) 19 21 #import logging
Note: See TracChangeset for help on using the changeset viewer.