Subversion Repositories wimsdev

Rev

Rev 18168 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18168 Rev 18454
Line 84... Line 84...
84
      !set tmp_sheetstatusgen=!getsheetstatus sheet=$i user=no
84
      !set tmp_sheetstatusgen=!getsheetstatus sheet=$i user=no
85
      !if $tmp_sheetstatus<3 or $tmp_sheetstatusgen=3
85
      !if $tmp_sheetstatus<3 or $tmp_sheetstatusgen=3
86
        shw=!line $i+1 of $shweights
86
        shw=!line $i+1 of $shweights
87
        shw=!word 1 of $shw
87
        shw=!word 1 of $shw
88
        !bound shw between 0 and 100000 default $tmp
88
        !bound shw between 0 and 100000 default $tmp
89
        !if $tmp_sheetstatus>0 and ($tmp_sheetstatus=1 or $wims_user=supervisor or $shw>0)
89
        !if $tmp_sheetstatus>0 and ($tmp_sheetstatus<3 or $wims_user=supervisor or $shw>0)
90
          ec=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$i
90
          ec=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$i
91
          activesheets=!append line $i,$ec,$indiv,$t to $activesheets
91
          activesheets=!append line $i,$ec,$indiv,$t to $activesheets
92
          activesh=!append item $i to $activesh
92
          activesh=!append item $i to $activesh
93
        !endif
93
        !endif
94
      !endif
94
      !endif