Changeset 3824 for WAeUP_SRP/trunk/skins
- Timestamp:
- 19 Dec 2008, 15:44:45 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/cps_custom/cpsdocument_create.py
r3157 r3824 25 25 from Products.CPSDocument.utils import getFormUidUrlArg 26 26 27 request = REQUEST 28 29 try: 30 from Products.zdb import set_trace 31 except: 32 def set_trace(): 33 pass 34 27 35 ti = getToolByName(context, 'portal_types').getTypeInfo(type_name) 28 36 29 37 while True: 30 38 if not context.isSectionOfficer(): 31 psm = "illegal access"32 break 39 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 40 33 41 is_valid, ds = ti.validateObject(None, layout_mode='create', 34 42 request=REQUEST, context=context, -
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_create_do.py
r3682 r3824 11 11 request = context.REQUEST 12 12 13 if type_name in ("StudyLevel","StudentStudyLevel","WAeUPDocument","StudentPastoralReport" ):13 if type_name in ("StudyLevel","StudentStudyLevel","WAeUPDocument","StudentPastoralReport","WAeUPConfiguration"): 14 14 id = datamodel.get('code') 15 15 else: -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r3794 r3824 57 57 58 58 deaddates = {} 59 60 #config_params = context.getConfigParams() 61 #deaddates['pume'] = config_params['dead_pume'] 62 59 63 deaddates['pume'] = DateTime.DateTime('2008/08/19 07:00') 60 64 deaddates['pde'] = DateTime.DateTime('2008/10/02 23:59')
Note: See TracChangeset for help on using the changeset viewer.