Rev 2254 | Rev 5368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2254 | Rev 5349 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | !endif |
22 | !endif |
23 | whovote_login=!sh cd $wims_home/log/classes/$wims_superclass/.users;\ |
23 | whovote_login=!sh cd $wims_home/log/classes/$wims_superclass/.users;\ |
24 | grep -r "!set user_vote_$Vote=yes" * | cut -d":" -f1; |
24 | grep -r "!set user_vote_$Vote=yes" * | cut -d":" -f1; |
25 | whovote_login=!lines2items $whovote_login |
25 | whovote_login=!lines2items $whovote_login |
26 | whovote=$empty |
26 | whovote=$empty |
- | 27 | whodontvote=$empty |
|
- | 28 | nb=!recordcnt wimshome/log/classes/$wims_class/.userlist |
|
27 | !for |
29 | !for k=1 to $nb |
28 |
|
30 | tmp=!record $k of wimshome/log/classes/$wims_class/.userlist |
- | 31 | !distribute item $tmp into fn,ln,ll |
|
- | 32 | !if $ll isitemof $whovote_login |
|
29 | whovote=!append |
33 | whovote=!append item $fn $ln to $whovote |
- | 34 | !else |
|
- | 35 | whodontvote=!append item $fn $ln to $whodontvote |
|
- | 36 | !endif |
|
30 | !next k |
37 | !next k |
31 | !else |
38 | !else |
32 | showres=0 |
39 | showres=0 |
33 | !endif |
40 | !endif |
34 | 41 |