Subversion Repositories wimsdev

Rev

Rev 20 | Rev 3224 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !nocache
  2. !if bad_exo iswordof $error
  3.  !exit
  4. !endif
  5.  
  6. !set indgood=<font color=green><b>bonne réponse</b></font>
  7. !set indpartial=<font color=orange><b>partiellement bonne</b></font>
  8. !set indbad =<font color=red><b>mauvaise réponse</b></font>
  9. !set indprec=<font color=orange><b>mauvaise précision</b></font>
  10. !set condgood=<font color=green><b>OUI</b></font>
  11. !set condbad =<font color=red><b>NON</b></font>
  12. !set indsee =<small>voir l'analyse</small>
  13.  
  14. <table border=0>
  15. <tr><th colspan=3>Analyse de votre réponse.
  16. !distribute item 1,1 into cntr,cntc
  17. !for t in $ansorder
  18. !set i=$(cnt$t)
  19. !if $oefsteps=$empty or $t$i isitemof $gotsteps
  20.  !read oef/answer$t.phtml
  21. !endif
  22. !advance cnt$t
  23. !next t
  24.  
  25. !if $conditioncnt>0
  26. !if $embedded_bracket!=$empty
  27.  <tr><td align=left colspan=2 nowrap><small>$embedded_bracket</small></td></tr>
  28. !endif
  29. !!<tr></tr><tr></tr>
  30. !endif
  31. !for i in $condlist
  32. !if hide notwordof $(condoption$i)
  33.  <tr><td colspan=2><b>$(condname$i)</b>:<td>
  34.  !item $(condtest$i)+1 of $condbad,$condgood
  35. !endif
  36. !next i
  37.  
  38. </table>
  39.  
  40. !if $feedbackcnt>0
  41. !read $deffile feedback
  42. !endif
  43.  
  44. !if $solution!=$empty and ($presentsol>1 or ($presentsol=1 and $score<10))
  45. <p><b>Solution.</b>
  46. !if $solution!=$executed_str or $oef2wims_version<3.10
  47.  $solution
  48. !else
  49.  !read $deffile solution
  50. !endif
  51. !endif
  52.  
  53.  
  54.