Changeset 519 for WAeUP_SRP/trunk
- Timestamp:
- 13 Sep 2006, 20:25:29 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r512 r519 335 335 logger.info('%(tr_count)s: Creating Student with ID %(sid)s REG-NO %(jamb_reg_no)s ' % vars()) 336 336 student = getattr(self,sid) 337 student.manage_setLocalRoles(sid, ['Owner',]) 337 338 student.invokeFactory('StudentApplication','application') 338 339 da = {'Title': 'Application Data'} -
WAeUP_SRP/trunk/Widgets.py
r513 r519 277 277 278 278 ) 279 valid_pins = ['12345678',280 '23456789',281 '34567890',282 '45678901',283 ]284 279 prefix = '' 285 280 reference = '' … … 330 325 break 331 326 s_id = student.getId() 332 if self.portal_workflow.getInfoFor(student,333 'review_state',334 None) =="created":335 student.content_status_modify(workflow_action="enter_application_pin")336 327 if ok == 2: 337 328 break 329 ## if self.portal_workflow.getInfoFor(student, 330 ## 'review_state', 331 ## None) == "created": 332 ## student.content_status_modify(workflow_action="enter_application_pin") 338 333 student.getContent().makeStudentMember(s_id,password=pin[4:]) 339 334 break -
WAeUP_SRP/trunk/skins/waeup_default/process_waeup_login.py
r511 r519 16 16 student = getattr(context.students,member_id) 17 17 application = student.application 18 ##student.content_status_modify(workflow_action="enter_application_pin")18 student.content_status_modify(workflow_action="enter_application_pin") 19 19 da = {} 20 20 pin = request.get('pin')
Note: See TracChangeset for help on using the changeset viewer.