Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

  1. !set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
  2. !set module_title=$module_title: $title
  3.  
  4. !header
  5.  
  6. !if $title=$empty
  7.  Ce module est un groupement d'exercices. Vous l'avez visiblement demandé sans
  8.  préciser un exercice valable que vous voulez faire. C'est soit parce que vous
  9. avez cliqué sur un lien incorrect, soit à cause d'une erreur du logiciel.
  10.  <p><center>
  11.  !href module=$module Essayez de refaire votre manipulation
  12.  , ou
  13.  !href $ abandonner
  14.  . </center>
  15.  !goto end
  16. !endif
  17.  
  18. :tester
  19. !read proc/present.phtml
  20.  
  21. <p><hr width=50%> <p>
  22.  
  23. !if $cmd=hint
  24.  !read proc/hint.phtml
  25.  !goto end
  26. !endif
  27.  
  28. !if $status=waiting
  29.  !if $error!=$empty
  30.   !read proc/msg.phtml
  31.   <p><hr width=50%> <p>
  32.  !endif
  33.  !read proc/form.phtml
  34.  <p>
  35.  !if $hint!=$empty and $givehint>0
  36.   !href cmd=hint Indication
  37. .
  38.  !endif
  39.  !if $qnum<=1
  40.   !href $renewlink Renouveler l'exercice
  41. .
  42. !else
  43.  Ceci est l'exercice $[$reply_cnt+1] dans une séance qui en compte $qnum.
  44.   !href $renewlink Abandonner la séance
  45. .
  46.  !endif
  47. !else
  48.  !if $error!=$empty
  49.   !read proc/msg.phtml
  50.   <p><hr width=50%> <p>
  51.  !endif
  52.  !read proc/answer.phtml
  53.  <p>
  54.  !if $status!=$empty
  55.   Ceci est l'exercice $reply_cnt dans une séance qui en compte $qnum. <p>
  56.  !href cmd=next Continuer la séance avec l'exercice suivant
  57. , ou
  58.   !href $renewlink abandonner la séance en demandant une autre
  59. . (Vous devez arriver jusqu'à la fin de la séance pour avoir une note.)
  60. !else
  61.  !if $qnum>1
  62.   Vous avez terminé une séance de $qnum exercices, avec une note de
  63.   $score sur 10.
  64.   !ifval $score>9.8
  65.    Félicitations!
  66.   !endif
  67.   <p>
  68.   !href exo_Again
  69. .
  70.   !if $wims_sheet=$empty
  71.    !href exo_Intro
  72. .
  73.   !endif
  74.  !else
  75.   Vous avez obtenu une note de $score sur 10.
  76.   !ifval $score>9.8
  77.    Félicitations!
  78.   !endif
  79.   <p>
  80.   !href exo_Again
  81. .
  82.   !if $wims_sheet=$empty and $oef_test!=yes
  83.    !href exo_Intro
  84. .
  85.   !endif
  86.  !endif
  87. !endif
  88. !endif
  89.  
  90. !read endhook.phtml
  91. :end
  92.  
  93. !tail
  94.  
  95.