Subversion Repositories wimsdev

Rev

Rev 17589 | Rev 17606 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17589 Rev 17593
Line 141... Line 141...
141
  !endif
141
  !endif
142
!  ------------ end manual score index
142
!  ------------ end manual score index
143
 
143
 
144
!if $save=$empty and $freework<=$nbfreework
144
!if $save=$empty and $freework<=$nbfreework
145
  tmp=!record $freework of wimshome/log/classes/$wims_class/freeworks/.freeworks
145
  tmp=!record $freework of wimshome/log/classes/$wims_class/freeworks/.freeworks
146
  !distribute line $tmp into activetest,expdate,title,desc,comment,type,deadline,soldate,sizelimitfile,scoring,seealltime
146
  !distribute line $tmp into activetest,expdate,title,desc,comment,type,deadline,soldate,sizelimitfile,scoring,seealltime,studentclose
147
  !for val in deadline,soldate
147
  !for val in deadline,soldate
148
    t=!replace internal . by , in $($val)
148
    t=!replace internal . by , in $($val)
149
    !distribute item $t into $val,time$val
149
    !distribute item $t into $val,time$val
150
    !default $val=$today
150
    !default $val=$today
151
    !default time$val=00:00
151
    !default time$val=00:00
Line 160... Line 160...
160
  !default timesoldate=00:01
160
  !default timesoldate=00:01
161
  !default sizelimitfile=4
161
  !default sizelimitfile=4
162
  wims_infoshow1=yes
162
  wims_infoshow1=yes
163
  scoring=no
163
  scoring=no
164
  seealltime=0
164
  seealltime=0
-
 
165
  studentclose=0
165
!endif
166
!endif
166
 
167
 
167
!! ---------  check variable values
168
!! ---------  check variable values
168
title=!singlespace $title
169
title=!singlespace $title
169
title=!detag $title
170
title=!detag $title
Line 277... Line 278...
277
  !endif
278
  !endif
278
!else
279
!else
279
  scoring=0
280
  scoring=0
280
!endif
281
!endif
281
!bound seealltime between 0 and 1 default 0
282
!bound seealltime between 0 and 1 default 0
-
 
283
!bound studentclose between 0 and 1 default 0
282
 
284
 
283
!! ----------- end check general variable
285
!! ----------- end check general variable
284
 
286
 
285
!! -------------- check right for download/upload participant file and etc...
287
!! -------------- check right for download/upload participant file and etc...
286
!readproc proc/mkglobalvar.proc
288
!readproc proc/mkglobalvar.proc
Line 358... Line 360...
358
      firstsee=1
360
      firstsee=1
359
    !endif
361
    !endif
360
  !endif
362
  !endif
361
  job=student$(lpara_type[$type])
363
  job=student$(lpara_type[$type])
362
!endif
364
!endif
-
 
365
 
363
!changeto $job.proc
366
!changeto $job.proc