Subversion Repositories wimsdev

Rev

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

  1. !if $special_parm iswordof authentification filter
  2.   !changeto help/$moduclass_lang/$special_parm.phtml
  3.   !exit
  4. !endif
  5. !set special_parm_=!text remove 0123456789 in $special_parm
  6.  
  7. !if $special_parm_!=$empty
  8.  !changeto lang/help.$moduclass_lang/$special_parm.phtml
  9. !endif
  10.  
  11. !set list=max(I,Q)\
  12. I\
  13. I*Q^0.3\
  14. I*Q^0.5\
  15. I*Q\
  16. I^2*Q
  17.  
  18. !set wims_backslash_insmath=yes
  19. !set help_sw=!line $[$special_parm+1] of $shweights
  20. !set help_score_max=!line 1 of $shweights
  21. !set help_level=!word 2 of $help_sw
  22. !set help_sw=!word 3 of $help_sw
  23. !default help_sw=0
  24. !default help_level=2
  25. !default help_score_max=10
  26.  
  27. !read lang/help.phtml.$moduclass_lang
  28. !if $wims_user!=supervisor
  29.   !goto end
  30. !endif
  31. !for rule=1 to 6
  32.  !set r=$(list[$rule;])
  33. <table class="wimsborder">
  34. <caption> $rule : \($(list[$rule;])\)</caption>
  35. <tr>
  36.   <th>Q  \   I</th>
  37.    !for ih = 0 to 10
  38.    <th>$ih</th>
  39.    !next
  40.    </tr>
  41.    !for qh=0 to 10
  42.  
  43.    <tr><th>$qh</th>
  44.   !for ih = 0 to 10
  45.    <td>
  46.    !set r1=!mathsubst I=$[$ih/10] in $r
  47.    !set r1=!mathsubst Q=$[$qh/10] in $r1
  48.     $[ceil(100*$r1)/10]
  49.    </td>
  50.    !next
  51. </tr>
  52. !next
  53. </table>
  54. !next
  55. :end
  56.