Subversion Repositories wimsdev

Rev

Rev 6530 | Rev 8701 | 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. !if $ansorder!=$empty or $conditioncnt >0
  13. <table style="border:0">
  14. !endif
  15. !distribute item 1,1 into cntr,cntc
  16.  
  17. !set indgood=<div class="oef_indgood inline">$indgood</div>
  18. !set indpartial=<div class="oef_indpartial inline">$indpartial</div>
  19. !set indprec=<div class="oef_indprec inline">$indprec</div>
  20. !set indbad =<div class="oef_indbad inline">$indbad</div>
  21. !set condgood=<div class="oef_condgood inline">$condgood</div>
  22. !set condbad =<div class="oef_condbad inline">$condbad</div>
  23.  
  24. !for t in $ansorder
  25.  !set i=$(cnt$t)
  26.  !if $oefsteps=$empty or $t$i isitemof $gotsteps
  27.   !read oef/answer$t.phtml
  28.  !endif
  29.  !advance cnt$t
  30. !next t
  31.  
  32. !if $conditioncnt>0
  33.  !if $embedded_bracket!=$empty
  34.   <tr><td style="text-align:left" colspan="2" class="nowrap small">$embedded_bracket</td></tr>
  35.  !endif
  36. !endif
  37. !for i in $condlist
  38.  !if hide notwordof $(condoption$i)
  39.   <tr><td colspan="2" class="bold">$(condname$i):</td><td>
  40.   !item $(condtest$i)+1 of $condbad,$condgood
  41.   </td></tr>
  42.  !endif
  43. !next i
  44. !if $ansorder!=$empty or $conditioncnt >0
  45. </table>
  46. !endif
  47.  
  48. !if $feedbackcnt>0
  49.  !read $deffile feedback
  50. !endif
  51.  
  52. !if $solution!=$empty and ($presentsol>1 or ($presentsol=1 and $score<10))
  53.  <span class="bold">$name_Solution.</span>
  54.  !if $solution!=$executed_str or $oef2wims_version<3.10
  55.   $solution
  56.  !else
  57.   !read $deffile solution
  58.  !endif
  59. !endif
  60.  
  61. !if $m_reply_err != $empty
  62.  <pre class="wimswarning">
  63.  $m_reply_err
  64. </pre>
  65. !endif
  66.   </div>
  67.  </div>
  68. </div>
  69. <!--END oef answer-->
  70.