Subversion Repositories wimsdev

Rev

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

Rev 5368 Rev 7198
Line 18... Line 18...
18
 !if $wims_user=supervisor
18
 !if $wims_user=supervisor
19
  showres=2
19
  showres=2
20
 !else
20
 !else
21
  showres=1
21
  showres=1
22
 !endif
22
 !endif
23
!!## user_vote_$Vote is created if the user has voted - the value can be yes 
23
!!## user_vote_$Vote is created if the user has voted - the value can be yes
24
!!##or a list of numbers according of the vote_option
24
!!##or a list of numbers according of the vote_option
25
!!## should we be more precise ?
25
!!## should we be more precise ?
26
 whovote_login=!sh cd $wims_home/log/classes/$wims_superclass/.users;\
26
 whovote_login=!sh cd $wims_home/log/classes/$wims_superclass/.users;\
27
grep -r "!set user_vote_$Vote=" * | cut -d":" -f1;
27
grep -r "!set user_vote_$Vote=" * | cut -d":" -f1;
28
 whovote_login=!lines2items $whovote_login
28
 whovote_login=!lines2items $whovote_login