Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
2368 bpr 1
!read adm/class/classlang names.phtml
1319 guerimand 2
wims_prefix=class user livret
5224 guerimand 3
!if $wims_user=supervisor
12429 bpr 4
  !readproc adm/whoconnect
5224 guerimand 5
!endif
1319 guerimand 6
 
10799 bpr 7
!if $wims_class=$empty or ($wims_supertype!=0 and \
13049 bpr 8
  ($wims_supertype!=2 or $wims_typename!=class) and\
9
  ($wims_supertype!=4 or ($wims_typename notwordof course program\
10
  and /0// notin $wims_class//)))
12429 bpr 11
  error=bad_class
12
  !exit
1319 guerimand 13
!endif
14
 
15
!defread wimshome/log/classes/$wims_class/.def
1845 guerimand 16
!defread $livret_dir/.def
1319 guerimand 17
 
12031 guerimand 18
!if $wims_user!=supervisor and $class_showlivret!=yes
12429 bpr 19
  error=closedlivret
20
  !reset job
21
  !exit
12031 guerimand 22
!endif
23
 
1768 guerimand 24
!default livret_minac=9
3040 guerimand 25
livret_nonactivesheet=!listunion $livret_nonactivesheet and $nasheets
26
 
2368 bpr 27
!read lang/names.phtml.$moduclass_lang
28
 
1319 guerimand 29
!read tabletheme
1951 guerimand 30
name_icompetence=!char 1 of $name_Competences
31
name_ipalier=!char 1 of $name_n_Palier
1319 guerimand 32
 
1845 guerimand 33
!if $livret_supervise=yes
12429 bpr 34
  !bound job within see,modpalier,userlist,config,addcomp,user,delpalier,delcomp,save default userlist
13049 bpr 35
  !if $wims_typename iswordof program
36
    !bound job within see,modpalier,config,addcomp,delpalier,delcomp,save default config
37
  !endif
1319 guerimand 38
!else
12429 bpr 39
  !bound job within user,see default user
40
  user=$wims_user
1319 guerimand 41
!endif
42
 
1845 guerimand 43
livret_nbcomp=!recordcnt $livret_dir/.comps
1951 guerimand 44
!for k=1 to $livret_nbcomp
45
  t=!record $k of $livret_dir/.comps
46
  !distribute line $t into title_$k,nbpalier_$k
47
!next k
1319 guerimand 48
 
49
!read $job.proc