Ignore:
Timestamp:
16 Nov 2005, 08:16:29 (19 years ago)
Author:
Henrik Bettermann
Message:

minor modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/clearance.py

    r173 r177  
    4545    search = catalog(SearchableText = "%s*" % s_id)
    4646    if len(search) < 1:
    47         psm = "Your not admitted"
     47        psm = "You are not admitted"
    4848        return context.clearance_form(rendered = res,
    4949                                 psm = psm,
     
    5252    sf = getattr(context,s_id,None)
    5353    if sf and getattr(sf,'PERSONAL',None):
    54         psm = "Your already admitted, please login"
     54        psm = "Your are already admitted, please login"
    5555        return context.clearance_form(rendered = res,
    5656                                 psm = psm,
     
    6262    student.getContent().setScratchCardData('clearance',ds)
    6363    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"
    6666                                    % (context.absolute_url(),s_id,sc_pin))
Note: See TracChangeset for help on using the changeset viewer.