Changeset 177 for waeup_product/trunk/skins/waeup_student
- Timestamp:
- 16 Nov 2005, 08:16:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/clearance.py
r173 r177 45 45 search = catalog(SearchableText = "%s*" % s_id) 46 46 if len(search) < 1: 47 psm = "You rnot admitted"47 psm = "You are not admitted" 48 48 return context.clearance_form(rendered = res, 49 49 psm = psm, … … 52 52 sf = getattr(context,s_id,None) 53 53 if sf and getattr(sf,'PERSONAL',None): 54 psm = "Your a lready admitted, please login"54 psm = "Your are already admitted, please login" 55 55 return context.clearance_form(rendered = res, 56 56 psm = psm, … … 62 62 student.getContent().setScratchCardData('clearance',ds) 63 63 sc_pin = ds.get('sc_pin') 64 #return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=UnSeT&sc_pin=%s" 65 return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=123456&sc_pin=%s" 64 #return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=UnSeT&sc_pin=%s" 65 return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=123456&sc_pin=%s" 66 66 % (context.absolute_url(),s_id,sc_pin))
Note: See TracChangeset for help on using the changeset viewer.