Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
 
2
!read scripts/reccnt.proc me log/classes/$wims_class
3
!read scripts/reccnt.proc it log/classes/$nei
4
 
5
stoprec=!items2words $stoprec
6
stoprec=!word 1 of $stoprec
7
stoprec=!listintersect $stoprec and $sharelist
8
!if $stoprec!=$empty and $(sharing_$stoprec)=$nei and \
9
	($(me_$(stoprec)cnt)=0 or $me_testcnt<1 or \
10
	$stoprec notitemof $nosharelist or $confirm=yes)
11
 !if $stoprec=exo and $sharing_sheet!=$empty or \
1322 guerimand 12
	$stoprec=sheet and $sharing_exam!=$empty or \
13
	$stoprec=sheet and $sharing_livret!=$empty
14
  error=stopshare_dep $stoprec
23 reyssat 15
  job2=def
16
  !exit
17
 !endif
18
 !read adm/class/stopshare $nei $wims_class\
19
	$stoprec
20
# !mexec neighbor/stopshare.sh
4598 bpr 21
 wims_class_log=Stop sharing $stoprec of $nei by $wims_realuser
23 reyssat 22
 sharing_$stoprec=
23
 sh=
24
 !for r in $sharelist
25
  sh=!append item $(sharing_$r) to $sh
26
 !next r
27
 sharing_all=!listuniq $sh
28
# !read neighbor/writeneighbor.proc
29
 sharing=!listcomplement $stoprec in $sharing
30
 !read neighbor/def.proc
31
 job2=def
32
!endif