Subversion Repositories wimsdev

Rev

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

Rev 2477 Rev 3974
Line -... Line 1...
-
 
1
!if $wims_supertype!=0 and $class_typename isitemof portal,group,level
-
 
2
 noarch=yes
-
 
3
 !exit
-
 
4
!endif
1
 
5
 
2
reclist=user,exo,sheet,exam,doc,sup,def,neighbor,log,forum,score,manual,cdt,vote,livret,seq
6
reclist=user,exo,sheet,exam,doc,sup,def,neighbor,log,forum,score,manual,cdt,vote,livret,seq
-
 
7
!! test of sharing ressources
-
 
8
!if $class_typename!=program
-
 
9
 test_sharing=!defof sharable_all in wimshome/log/classes/$wims_class/neighbors
-
 
10
!endif
-
 
11
 
-
 
12
!if $test_sharing!=$empty
-
 
13
 !bound job2 within first,download default first
-
 
14
!else
3
!bound job2 within first,upload,download,restore default first
15
 !bound job2 within first,upload,download,restore default first
-
 
16
!endif
-
 
17
 
-
 
18
!! restriction of restore ressource in portal
-
 
19
!if $job2=restore and $wims_supertype=4
-
 
20
 reclist_portal=sup,neighbor,log,def
-
 
21
 reclist_program=$(reclist_portal),exo,sheet,exam,doc,vote,livret,seq
-
 
22
 reclist_class=$(reclist_portal),user
-
 
23
 reclist_course=$(reclist_portal),score,manual,cdt
-
 
24
 reclist=$(reclist_$(wims_typename))
-
 
25
!endif
4
 
26
 
5
!if $job2=upload and $wims_deposit=$empty
27
!if $job2=upload and $wims_deposit=$empty
6
 job2=first
28
 job2=first
7
!endif
29
!endif
8
 
30