Subversion Repositories wimsdev

Rev

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

Rev 10939 Rev 13228
Line 18... Line 18...
18
!ifval $sheet_status >0
18
!ifval $sheet_status >0
19
  error=sheet mustn't be active
19
  error=sheet mustn't be active
20
  !exit
20
  !exit
21
!endif
21
!endif
22
 
22
 
23
exocnt=!recordcnt wimshome/log/classes/$qclass/sheets/.sheet$wims_sheet
23
exocnt=!recordcnt wimshome/log/classes/$qclass/sheets/.sheet$sheet_id
24
!if $exocnt >= $MAX_EXOS
24
!if $exocnt >= $MAX_EXOS
25
  error=Sorry, a sheet is limited to $MAX_EXOS exercises.
25
  error=Sorry, a sheet is limited to $MAX_EXOS exercises.
26
  !exit
26
  !exit
27
!endif
27
!endif
28
 
28
 
Line 87... Line 87...
87
$sh_description\
87
$sh_description\
88
$sh_dep\
88
$sh_dep\
89
$sh_comment\
89
$sh_comment\
90
 
90
 
91
 
91
 
92
exocnt=!recordcnt wimshome/log/classes/$qclass/sheets/.sheet$wims_sheet
92
exocnt=!recordcnt wimshome/log/classes/$qclass/sheets/.sheet$sheet_id