Changeset 2297 for WAeUP_SRP/base/skins
- Timestamp:
- 1 Oct 2007, 07:26:30 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/mail2admin.py
r2296 r2297 21 21 d['descr'] = descr 22 22 23 #prop.email_from_address should be used for To:24 25 23 message = """ 26 24 From: %(fullname)s <%(email)s> 27 25 To: %(email_from)s 28 26 Cc: %(email)s 29 Bcc: ' henrik@waeup.org'27 Bcc: 'waeup@saoas.org' 30 28 Reply-To: %(email)s 31 29 Subject: Uniben Contact -
WAeUP_SRP/base/skins/waeup_student/student_index.py
r1845 r2297 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=batch=None 7 ##parameters=batch=None,portal_status_message=None 8 8 ##title= 9 9 ## … … 12 12 return the current student_index 13 13 """ 14 # from Products.AdvancedQuery import Eq, Between, Le,In15 # try:16 # aq_portal = context.portal_catalog.evalAdvancedQuery17 # except:18 # aq_portal = context.portal_catalog_real.evalAdvancedQuery19 14 20 15 request = context.REQUEST … … 36 31 return context.payments_view() 37 32 elif context.portal_type == 'Student': 38 return redirect("%s/student_view" % context.absolute_url()) 33 if portal_status_message: 34 return redirect("%s/student_view?portal_status_message=%s" % (context.absolute_url(),portal_status_message)) 35 else: 36 return redirect("%s/student_view" % context.absolute_url()) 39 37 elif context.portal_type == 'Payment': 40 38 return context.payment_receipt()
Note: See TracChangeset for help on using the changeset viewer.