- Timestamp:
- 20 Mar 2007, 09:22:20 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1600 r1606 70 70 psm = "You successfully added course %s!" % course_id 71 71 args['portal_status_message'] = psm 72 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 72 if action_after_validate: 73 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 74 else: 75 url = context.absolute_url() + '?' + urlencode(args) 73 76 return REQUEST.RESPONSE.redirect(url) 74 77 -
WAeUP_SRP/trunk/skins/waeup_student/delete_course_result.py
r1600 r1606 38 38 args = {} 39 39 args['portal_status_message'] = message 40 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 40 41 if action_after_validate: 42 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 43 else: 44 url = context.absolute_url() + '?' + urlencode(args) 41 45 if REQUEST is not None: 42 46 return REQUEST.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/refresh_level.py
r1592 r1606 112 112 psm = "Course list updated!" 113 113 args['portal_status_message'] = psm 114 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 114 if action_after_validate: 115 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 116 else: 117 url = context.absolute_url() + '?' + urlencode(args) 115 118 return REQUEST.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/register_courses.py
r1591 r1606 19 19 pass 20 20 21 from urllib import urlencode 21 from urllib import urlencode 22 22 23 23 request = context.REQUEST … … 47 47 psm = "You successfully submitted your course list!" 48 48 args['portal_status_message'] = psm 49 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 49 if action_after_validate: 50 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 51 else: 52 url = context.absolute_url() + '?' + urlencode(args) 50 53 return REQUEST.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/reject_courses.py
r1590 r1606 46 46 args['continue'] = action_after_validate 47 47 args['portal_status_message'] = psm 48 url = context.absolute_url() + '/' + action_after_reject + '?' + urlencode(args) 48 if action_after_validate: 49 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 50 else: 51 url = context.absolute_url() + '?' + urlencode(args) 49 52 return REQUEST.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1598 r1606 113 113 type="submit" name="register_courses:method" 114 114 class="context" value="Submit" /> 115 116 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 117 tal:attributes="value string:study_level_view"/> 118 115 119 </td> 116 120 </tr>
Note: See TracChangeset for help on using the changeset viewer.