Subversion Repositories wimsdev

Rev

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

  1. !nocache
  2. <div class="oefanswer">
  3.  
  4. !nocache
  5. !if bad_exo iswordof $error
  6.  !exit
  7. !endif
  8. !read ./oef/$module_language/answer.phtml
  9. <div id="answeranalysis">
  10. <div class="legend oefanswername">$name_answeranalysis.</div>
  11. <div class="content">
  12. <table border="0">
  13. !distribute item 1,1 into cntr,cntc
  14.  
  15. !set indgood=<span class="oef_indgood">$indgood</span>
  16. !set indpartial=<span class="oef_indpartial">$indpartial</span>
  17. !set indprec=<span class="oef_indprec">$indprec</span>
  18. !set indbad =<span class="oef_indbad">$indbad</span>
  19. !set condgood=<span class="oef_condgood">$condgood</span>
  20. !set condbad =<span class="oef_condbad">$condbad</span>
  21.  
  22. !for t in $ansorder
  23.  !set i=$(cnt$t)
  24.  !if $oefsteps=$empty or $t$i isitemof $gotsteps
  25.   !read oef/answer$t.phtml
  26.  !endif
  27.  !advance cnt$t
  28. !next t
  29.  
  30. !if $conditioncnt>0
  31.  !if $embedded_bracket!=$empty
  32.   <tr><td align="left" colspan="2" nowrap><small>$embedded_bracket</small></td></tr>
  33.  !endif
  34. !endif
  35. !for i in $condlist
  36.  !if hide notwordof $(condoption$i)
  37.   <tr><td colspan="2"><b>$(condname$i)</b>:</td><td>
  38.   !item $(condtest$i)+1 of $condbad,$condgood
  39.   </td></tr>
  40.  !endif
  41. !next i
  42.  
  43. </table>
  44.  
  45. !if $feedbackcnt>0
  46.  !read $deffile feedback
  47. !endif
  48.  
  49. !if $solution!=$empty and ($presentsol>1 or ($presentsol=1 and $score<10))
  50.  <p><b>$name_Solution.</b>
  51.  !if $solution!=$executed_str or $oef2wims_version<3.10
  52.   $solution
  53.  !else
  54.   !read $deffile solution
  55.  !endif
  56. !endif
  57.  
  58. !if $m_reply_err != $empty
  59.  <pre><font color="red">
  60.  $m_reply_err
  61.  </font></pre>
  62. !endif
  63.   </div>
  64.  </div>
  65. </div>
  66. <!--END oef answer-->