Subversion Repositories wimsdev

Rev

Rev 12411 | Rev 13318 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12411 Rev 12849
Line 5... Line 5...
5
wims_nw=today empty nonew creatdays backdays warn
5
wims_nw=today empty nonew creatdays backdays warn
6
!!## useful here to be able to read the error msg
6
!!## useful here to be able to read the error msg
7
!read adm/class/classlang lang/names.phtml
7
!read adm/class/classlang lang/names.phtml
8
 
8
 
9
!if $wims_user!=supervisor and $wims_ismanager<2
9
!if $wims_user!=supervisor and $wims_ismanager<2
10
 error=not_supervisor
10
  error=not_supervisor
11
 job=
11
  job=
12
 !exit
12
  !exit
13
!endif
13
!endif
14
 
14
 
15
!read adm/class/config.auth
15
!read adm/class/config.auth
16
!if $error!=$empty or $jobt=auth
16
!if $error!=$empty or $jobt=auth
17
 job=$jobt
17
  job=$jobt
18
 !exit
18
  !exit
19
!endif
19
!endif
20
 
-
 
21
 
-
 
22
 
20
 
23
!read adm/levelname.phtml
21
!read adm/levelname.phtml
24
!!## must be read again because $job could be not defined
22
!!## must be read again because $job could be not defined
25
!read adm/class/classlang lang/names.phtml
23
!read adm/class/classlang lang/names.phtml
26
wims_helper=chapter=3
24
wims_helper=chapter=3
27
!readproc scripts/votemodel.proc
25
!readproc scripts/votemodel.proc
28
!if $votemodel=yes
-
 
29
 sharelist=user,doc,exo,sheet,exam,forum,sup,motd,cdt,livret,seq,userphoto
26
sharelist=user,doc,exo,sheet,exam,forum,sup,motd,cdt,livret,seq,userphoto,tool
30
!else
27
!if $votemodel!=yes
31
 sharelist=user,doc,exo,sheet,exam,forum,sup,motd,vote,cdt,livret,seq,userphoto
28
  sharelist=$sharelist,vote
32
!endif
29
!endif
33
!if $wims_superclass!=$empty
30
!if $wims_superclass!=$empty
34
 sharelist=!listcomplement userphoto in $sharelist
31
  sharelist=!listcomplement userphoto in $sharelist
35
!endif
32
!endif
36
nosharelist=user,exo,sheet,exam
33
nosharelist=user,exo,sheet,exam
37
!read adm/class/limits
34
!read adm/class/limits
38
class_bgcolor=$wims_bgcolor
35
class_bgcolor=$wims_bgcolor
39
class_bgimg=$wims_bgimg
36
class_bgimg=$wims_bgimg