Subversion Repositories wimsdev

Rev

Rev 5194 | Rev 12617 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
2
parent=level
3
!if $cancel!=$empty or $level=$empty
4
 !reset title,sup,passs,pass
5
 job=level
6
 !changeto jobs/$job.proc
7
!endif
8
 
9
!readdef $classdir1/$level/.def
10
alevel=$class_level
11
!if $confirm=$empty
12
 pass=!defof class_password in $classdir1/$level/.def
13
 passs=!defof user_password in $classdir1/$level/supervisor
5194 guerimand 14
 !read adm/levelname.phtml
23 reyssat 15
 !exit
16
!endif
17
 
18
title=!trim $title
19
!if $title=$empty
20
 error=empty_data
21
 !exit
22
!endif
23
 
24
!bound progstyle1 within mandatory,optional default mandatory
6702 bpr 25
!bound progstyle2 within all,select default select
23 reyssat 26
 
27
!read adm/gateway/addprog $sup,$title
28
 
29
!if $error!=$empty
30
 !exit
31
!endif
32
 
33
!read adm/gateway/mkindex
34
!reset title,sup,passs,alevel,confirm
35
job=level
36
!changeto jobs/$job.proc
37