Subversion Repositories wimsdev

Rev

Rev 11467 | Rev 12098 | 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. !set list=max(I,Q)\
  11. I\
  12. I*Q^0.3\
  13. I*Q^0.5\
  14. I*Q\
  15. I^2*Q\
  16. (I*Q)^2
  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. !if $help_sw=$empty
  24.   !set help_sw_tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf
  25.   !set help_sw=!word 3 of $help_sw_tmp
  26.   !default help_level=!word 2 of $help_sw_tmp
  27. !endif
  28. !default help_score_max=10
  29.  
  30. !read lang/help.phtml.$moduclass_lang
  31. !if $wims_user!=supervisor
  32.   !goto end
  33. !endif
  34. !for rule=1 to 6
  35.  !set r=$(list[$rule;])
  36. <table class="wimsborder">
  37. <caption> $rule : \($(list[$rule;])\)</caption>
  38. <tr>
  39.   <th>Q \ I</th>
  40.    !for ih = 0 to 10
  41.    <th>$ih</th>
  42.    !next
  43. </tr>
  44.    !for qh=0 to 10
  45. <tr><th>$qh</th>
  46.   !for ih = 0 to 10
  47.    <td>
  48.    !set r1=!mathsubst I=$[$ih/10] in $r
  49.    !set r1=!mathsubst Q=$[$qh/10] in $r1
  50.     $[ceil(100*$r1)/10]
  51.    </td>
  52.    !next
  53. </tr>
  54. !next
  55. </table>
  56. !next
  57. :end
  58.