Subversion Repositories wimsdev

Rev

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

Rev 12080 Rev 12411
Line 1... Line 1...
1
!if $wims_supertype!=0 and $class_typename isitemof portal,group,level
1
!if $wims_supertype!=0 and $class_typename isitemof portal,group,level
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,forum,score,manual,cdt,vote,livret,seq,motd,userphoto
6
reclist=user,exo,sheet,exam,doc,sup,def,neighbor,log,forum,score,manual,cdt,vote,livret,seq,motd,userphoto
7
!! test of sharing ressources
7
!! test of sharing ressources
8
!if $class_typename!=program
8
!if $class_typename!=program
9
 test_sharing=!defof sharable_all in wimshome/log/classes/$wims_class/neighbors
9
  test_sharing=!defof sharable_all in wimshome/log/classes/$wims_class/neighbors
10
!endif
10
!endif
11
 
11
 
12
!if $test_sharing!=$empty
12
!if $test_sharing!=$empty
13
 !bound job2 within first,download default first
13
  !bound job2 within first,download default first
14
!else
14
!else
15
 !bound job2 within first,upload,download,restore default first
15
  !bound job2 within first,upload,download,restore default first
16
!endif
16
!endif
17
 
17
 
18
!! restriction of restore ressource in portal
18
!! restriction of restore ressource in portal
19
!if $job2 iswordof restore upload and $wims_supertype=4
19
!if $job2 iswordof restore upload and $wims_supertype=4
20
 reclist_portal=sup,neighbor,log,def
20
  reclist_portal=sup,neighbor,log,def
21
 reclist_program=$(reclist_portal),exo,sheet,exam,doc,vote,livret,seq
21
  reclist_program=$(reclist_portal),exo,sheet,exam,doc,vote,livret,seq
22
 reclist_class=$(reclist_portal),user,motd
22
  reclist_class=$(reclist_portal),user,motd
23
 !! program test
23
  !! program test
24
 !if /0/// isin $(wims_class)///
24
  !if /0/// isin $(wims_class)///
25
   reclist_course=exo,sheet,doc
25
    reclist_course=exo,sheet,doc
26
 !else
26
  !else
27
   reclist_course=$(reclist_portal),score,manual,cdt,exo,sheet,exam,doc,vote,motd
27
    reclist_course=$(reclist_portal),score,manual,cdt,exo,sheet,exam,doc,vote,motd
28
 !endif
28
  !endif
29
 reclist=$(reclist_$(wims_typename))
29
  reclist=$(reclist_$(wims_typename))
30
!endif
30
!endif
31
 
31
 
32
!if $job2=upload and $wims_deposit=$empty
32
!if $job2=upload and $wims_deposit=$empty
33
 job2=first
33
  job2=first
34
!endif
34
!endif
35
 
35
 
36
!if $job2!=first
36
!if $job2!=first
37
 !read arch/$job2.proc
37
  !read arch/$job2.proc
38
!endif
38
!endif
39
 
39
 
40
!if $job2 iswordof upload restore and $error!=$empty
40
!if $job2 iswordof upload restore and $error!=$empty
41
 job2=first
41
  job2=first
42
!endif
42
!endif