Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
2179 bpr 1
!read adm/class/classlang names.phtml
1406 bpr 2
 
3
wims_prefix=class user seq
4
!if $wims_class=$empty or ($wims_supertype!=0 and\
12335 bpr 5
    ($wims_supertype!=2 or $wims_typename!=class) and\
6
    ($wims_supertype!=4 or $wims_typename notitemof class,course,program))
7
  error=bad_class
8
  !exit
1406 bpr 9
!endif
10
 
11
!defread wimshome/log/classes/$wims_class/.def
12
!defread wimshome/log/classes/$wims_class/seq/.def
13
 
2179 bpr 14
!read lang/names.phtml.$moduclass_lang
1406 bpr 15
!read tabletheme
1552 bpr 16
 
1406 bpr 17
!if $wims_user=supervisor
12335 bpr 18
  !bound job within config,addseq,moveup,show,delete,changeopt default show
1406 bpr 19
!else
12335 bpr 20
  job=show
1406 bpr 21
!endif
22
 
23
seq_cnt=!record 0 of wimshome/log/classes/$wims_class/seq/.sequences
24
seq_cnt=!line 1 of $seq_cnt
25
!read $job.proc
1625 bpr 26
 
27
!if $wims_user=supervisor and $job iswordof addseq moveup show delete
28
  !read sheetindex
29
!endif
11714 bpr 30
 
31
!if $(class_actcolor)!=$empty
12335 bpr 32
  !read adm/class/seqcolors
11714 bpr 33
!endif