Subversion Repositories wimsdev

Rev

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

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