Changeset 997 for WAeUP_SRP/trunk/skins
- Timestamp:
- 6 Dec 2006, 07:36:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/check_admission.py
r993 r997 48 48 elif psm == 'valid': 49 49 s_id = ds.get('s_id') 50 if is_anon and not s_id: 51 return context.check_admission_pin_form(rendered = res, 52 psm = "You are not allowed to call this form in this context. Please try to log in.", 53 #psm = "%s, %s" % (psm,ds), 54 firstlayout = True, 55 lastlayout = True, 56 ds = ds, 57 ) 58 elif not is_anon: 59 return context.check_admission_pin_form(rendered = res, 60 psm = "You are already logged in!", 61 #psm = "%s, %s" % (psm,ds), 62 firstlayout = True, 63 lastlayout = True, 64 ds = ds, 65 ) 50 66 ## 51 67 ## email = ds.get('app_email') … … 64 80 url = "%s/logged_in?%s" % (context.absolute_url(),urlencode(args)) 65 81 return redirect(url) 82
Note: See TracChangeset for help on using the changeset viewer.