source: WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_student/getEntryMode.py @ 10532

Last change on this file since 10532 was 1827, checked in by Henrik Bettermann, 18 years ago

ticket #230

  • Property svn:keywords set to Id
File size: 490 bytes
Line 
1## Script (Python) "getEntryMode"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=jamb
8##title=
9##
10# $Id: getEntryMode.py 1827 2007-05-29 08:11:16Z henrik $
11
12# this method is only used for full-time returning students (impported into returning_import)
13
14digits = 8
15letters = 2
16em = 'ume_ft'
17if jamb and len(jamb) >= (digits + letters) and jamb[:digits].isdigit()\
18   and jamb[digits:].isalpha():
19       if jamb[1] == '1':
20           em = 'de_ft'
21return em
Note: See TracBrowser for help on using the repository browser.