Rev 18127 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
!set t
=!recordcnt wimshome
/log/classes
/$wims_class/exams
/.exams
!set aelist=
!for i=1 to $t
!set e_
$i=!record
$i of wimshome
/log/classes
/$wims_class/exams
/.exams
!set a_=!line 1 of $(e_$i)
!! ------test if exam is hidden for this user
!set h_=!line 8 of $(e_$i)
!if $h_!=$empty
!readproc adm/vfilter/ishiddensheet.proc $h_
!endif
!set tmp_status=!getsheetstatus class=$wims_class exam=$i
!sh
printf "user_varexam: $tmp_status iswordof 1 2 <-> $a_>=1 and $a_<=2 and $hidden_sheet!=1\n" >> fichier_idiot
!if $tmp_status iswordof 1 2
!!if $a_>=1 and $a_<=2 and $hidden_sheet!=1
!set aelist=!append item $i to $aelist
!endif
!set m=!itemcnt $aelist