Subversion Repositories wimsdev

Rev

Rev 16091 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16091 Rev 16094
Line 2... Line 2...
2
  noarch=yes
2
  noarch=yes
3
  !exit
3
  !exit
4
!endif
4
!endif
5
 
5
 
6
reclist=user,exo,sheet,exam,doc,sup,def,neighbor,log,\
6
reclist=user,exo,sheet,exam,doc,sup,def,neighbor,log,\
7
  forum,score,manual,cdt,vote,livret,seq,motd,userphoto,tool
7
  forum,score,manual,cdt,vote,livret,seq,motd,userphoto,tool,freework
8
!! test of sharing ressources
8
!! test of sharing ressources
9
!if $class_typename!=program
9
!if $class_typename!=program
10
  test_sharing=!defof sharable_all in wimshome/log/classes/$wims_class/neighbors
10
  test_sharing=!defof sharable_all in wimshome/log/classes/$wims_class/neighbors
11
!endif
11
!endif
12
 
12
 
13
!! ------- system limit configuration read
13
!! ------- system limit configuration read
14
tmp=!defof MAX_SHEETS\
14
tmp=!defof MAX_SHEETS\
15
MAX_EXAM\
15
MAX_EXAM\
16
MAX_VOTES\
16
MAX_VOTES\
17
MIN_FREEWORKS in wimshome/public_html/bases/sys/define.conf
17
MAX_FREEWORKS in wimshome/public_html/bases/sys/define.conf
18
!distribute line $tmp into max_sheet,max_exam,max_vote,max_freework
18
!distribute line $tmp into max_sheet,max_exam,max_vote,max_freework
19
max_user=!defof class_limit in wimshome/log/classes/$wims_class/.def
19
max_user=!defof class_limit in wimshome/log/classes/$wims_class/.def
20
 
20
 
21
 
21
 
22
!if $test_sharing!=$empty
22
!if $test_sharing!=$empty
Line 26... Line 26...
26
!endif
26
!endif
27
 
27
 
28
!! restriction of restore ressource in portal
28
!! restriction of restore ressource in portal
29
!if $job2 iswordof restore upload and $wims_supertype=4
29
!if $job2 iswordof restore upload and $wims_supertype=4
30
  reclist_portal=sup,neighbor,log,def
30
  reclist_portal=sup,neighbor,log,def
31
  reclist_program=$(reclist_portal),exo,sheet,exam,doc,vote,livret,seq
31
  reclist_program=$(reclist_portal),exo,sheet,exam,doc,vote,livret,seq,freework
32
  reclist_class=$(reclist_portal),user,motd
32
  reclist_class=$(reclist_portal),user,motd
33
  !! program test
33
  !! program test
34
  !if /0/// isin $(wims_class)///
34
  !if /0/// isin $(wims_class)///
35
    reclist_course=exo,sheet,doc,tool,seq
35
    reclist_course=exo,sheet,doc,tool,seq
36
  !else
36
  !else