Changeset 1592 for WAeUP_SRP/trunk/skins
- Timestamp:
- 19 Mar 2007, 16:32:21 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1591 r1592 22 22 def set_trace(): 23 23 pass 24 #request = context.REQUEST24 request = context.REQUEST 25 25 course_cat = context.courses_catalog 26 26 from Products.AdvancedQuery import Eq, Between, Le,In … … 69 69 70 70 args = {} 71 psm = "You successfully added course %s!" course_id71 psm = "You successfully added course %s!" % course_id 72 72 args['portal_status_message'] = psm 73 73 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) -
WAeUP_SRP/trunk/skins/waeup_student/refresh_level.py
r1591 r1592 1 ## Script (Python) "refresh_level" 2 ##bind container=container 3 ##bind context=context 4 ##bind namespace= 5 ##bind script=script 6 ##bind subpath=traverse_subpath 1 7 ##parameters=REQUEST=None, student=None, action_after_reject=None, action_after_validate=None 2 8 # $Id$ … … 37 43 if in_progress == 'finished': 38 44 session.set('in_progress','started') 39 view = context.in_progress_view(refresh=3,page= 'study_level_view')45 view = context.in_progress_view(refresh=3,page=action_after_validate) 40 46 response.setHeader('Content-type','text/html; charset=ISO-8859-15') 41 47 response.setHeader('Content-length','%d' % (len(view)))
Note: See TracChangeset for help on using the changeset viewer.