Subversion Repositories wimsdev

Rev

Rev 8306 | Rev 11467 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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