Subversion Repositories wimsdev

Rev

Rev 12335 | Rev 15998 | 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
 
15988 guerimand 17
title_limit=80
18
desc_limit=4000
19
 
1406 bpr 20
!if $wims_user=supervisor
12335 bpr 21
  !bound job within config,addseq,moveup,show,delete,changeopt default show
1406 bpr 22
!else
12335 bpr 23
  job=show
1406 bpr 24
!endif
25
 
26
seq_cnt=!record 0 of wimshome/log/classes/$wims_class/seq/.sequences
27
seq_cnt=!line 1 of $seq_cnt
28
!read $job.proc
1625 bpr 29
 
30
!if $wims_user=supervisor and $job iswordof addseq moveup show delete
31
  !read sheetindex
32
!endif
11714 bpr 33
 
34
!if $(class_actcolor)!=$empty
12335 bpr 35
  !read adm/class/seqcolors
11714 bpr 36
!endif