Subversion Repositories wimsdev

Rev

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

Rev 17878 Rev 18277
Line 371... Line 371...
371
  !endif
371
  !endif
372
  !goto end2
372
  !goto end2
373
!endif
373
!endif
374
 
374
 
375
:examerr
375
:examerr
376
 
-
 
377
!if exam_dep iswordof $wims_user_error
376
!if exam_dep iswordof $wims_user_error
378
  <p>
377
  <p>
379
    This exercise is available only when you have successfully made
378
    This exercise is available only when you have successfully made
380
  !if , isin $dep_list
379
  !if , isin $dep_list
381
    exercises $dep_list.
380
    exercises $dep_list.
382
  !else
381
  !else
383
    exercise $dep_list.
382
    exercise $dep_list.
384
  !endif
383
  !endif
385
  </p><p>
384
  </p><p>
386
    Please first try to do the latter.
385
    Please first try to do the latter.
387
  </p>
386
  </p>
388
  !goto examend
387
  !goto examend
389
!endif
388
!endif
390
 
389
 
391
!if bad_exam iswordof $wims_user_error
390
!if bad_exam iswordof $wims_user_error
392
  <p>
391
  <p>
393
    You have issued an illegal request within an examination session.
392
    You have issued an illegal request within an examination session.
394
  </p>
393
  </p>
395
  !goto examend
394
  !goto examend
396
!endif
395
!endif
397
 
396
 
398
!if exam_exo_finished iswordof $wims_user_error
397
!if exam_exo_finished iswordof $wims_user_error
399
  <p>
398
  <p>
400
    You have already done this exercise with a score of $wims_exo_lastscore.
399
    You have already done this exercise with a score of $wims_exo_lastscore.
401
  </p><p>
400
  </p><p>
402
    You cannot do it again because this is an examination.
401
    You cannot do it again because this is an examination.
403
  </p>
402
  </p>
404
  !goto examend
403
  !goto examend
405
!endif
404
!endif
406
 
405
 
407
!if expired_exam iswordof $wims_user_error
406
!if expired_exam iswordof $wims_user_error
408
  <p>
407
  <p>
409
    You have no more time left to work on this exam.
408
    You have no more time left to work on this exam.
Line 446... Line 445...
446
  </div>
445
  </div>
447
  !goto end2
446
  !goto end2
448
!endif
447
!endif
449
 
448
 
450
!if no_access_class iswordof $wims_user_error
449
!if no_access_class iswordof $wims_user_error
451
  !distribute items (exercises), (tools), (documents), (freeworks) into name_exo,name_tool,name_doc,name_freework
450
  !distribute items exercises, tools, documents, freeworks into name_exo,name_tool,name_doc,name_freework
452
  !set tt=!word 2 of $wims_user_error
451
  !set tt=!word 2 of $wims_user_error
-
 
452
  !set tt2=!word 3 of $wims_user_error
453
  <h2>Closure of class activities</h2>
453
  <h2>Closure of class activities</h2>
-
 
454
  !reset name_non
-
 
455
  !if $tt2=non
-
 
456
    !set name_non=other than
-
 
457
  !endif
-
 
458
  !set tmp=!trim $name_non $(name_$tt)
454
  <div class="wims_msg warning">
459
  <div class="wims_msg warning">
455
    Access to some activities of this virtual class $(name_$tt) is temporarily closed by the teacher.
460
    Access to some activities of this virtual class ()$tmp) is temporarily closed by the teacher.
456
    Come back later.
461
    Come back later.
457
  </div>
462
  </div>
458
  !goto end2
463
  !goto end2
459
!endif
464
!endif
460
 
465