Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 18126 → Rev 18127

/trunk/wims/public_html/themes/_widgets/user_varexam.phtml
3,15 → 3,18
!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 sheet is hidden for this user
!set h_=!line 8 of $(e_$i)
!if $h_!=$empty
!readproc adm/vfilter/ishiddensheet.proc $h_
!endif
!! ------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
!! -----end test
!if $a_>=1 and $a_<=2 and $hidden_sheet!=1
!set tmp_status=!getsheetstatus class=$wims_class exam=$i
!if $tmp_status iswordof 1 2
!!if $a_>=1 and $a_<=2 and $hidden_sheet!=1
!set aelist=!append item $i to $aelist
!endif
!reset hidden_sheet
!reset tmp_status
!next i
!set m=!itemcnt $aelist
/trunk/wims/public_html/themes/_widgets/user_varsheet.phtml
17,11 → 17,12
!set f_$i=!replace internal I by I$ss in $(f_$i)
!set a_=!line 1 of $(s_$i)
!! ------test if sheet is hidden for this user
!set h_=!line 9 of $(s_$i)
!if $h_!=$empty
!readproc adm/vfilter/ishiddensheet.proc $h_
!endif
!!!set h_=!line 9 of $(s_$i)
!!!if $h_!=$empty
!! !readproc adm/vfilter/ishiddensheet.proc $h_
!!!endif
!! -----end test
!set tmp_sheet_status=!getsheetstatus sheet=$i
!! ------ download techvarvalue for individual sheet
!set h_=!line 10 of $(s_$i)
!if $h_!=$empty
30,10 → 31,11
!reset indivtechval_$i
!endif
!! ------ end individual sheet
!if $a_>=1 and $a_<=2 and $hidden_sheet!=1
!if $tmp_sheet_status iswordof 1 2
!!if $a_>=1 and $a_<=2 and $hidden_sheet!=1
!set aclist=!append item $i to $aclist
!endif
!reset hidden_sheet
!!reset hidden_sheet
!next i
!reset tmp tmp_s tmp_ss
!reset tmp tmp_s tmp_ss tmp_sheet_status
!set n=!itemcnt $aclist