source: WAeUP_SRP/trunk/skins/waeup_student/getEntryMode.py @ 17950

Last change on this file since 17950 was 1827, checked in by Henrik Bettermann, 17 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.