Rev 16110 | Rev 16198 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16110 | Rev 16196 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | !set seq_=!record $j of wimshome/log/classes/$wims_class/seq/.sequence$i |
3 | !set seq_=!record $j of wimshome/log/classes/$wims_class/seq/.sequence$i |
4 | !distribute line $seq_ into tis_,cos_,obj_,o_ |
4 | !distribute line $seq_ into tis_,cos_,obj_,o_ |
5 | !if $o_<1 |
5 | !if $o_<1 |
6 | !exit |
6 | !exit |
7 | !endif |
7 | !endif |
8 | !! TODO : maybe this line is already doing in the widget file _widgets/user_varsheet.phtml and |
8 | !! TODO : maybe this line is already doing in the widget file _widgets/user_varsheet.phtml and |
9 | !! not needed here ? |
9 | !! not needed here ? |
10 | !set wlist=!getscoreweight |
10 | !set wlist=!getscoreweight |
11 | !! -------- |
11 | !! -------- |
12 | !set TI=!defof sequence_Title in wimshome/log/classes/$wims_class/seq/.def |
12 | !set TI=!defof sequence_Title in wimshome/log/classes/$wims_class/seq/.def |
13 | 13 | ||
Line 134... | Line 134... | ||
134 | !set ff_$num=!mathsubst Q=$y_ in $(f_$num) |
134 | !set ff_$num=!mathsubst Q=$y_ in $(f_$num) |
135 | !for sev=0 to 2 |
135 | !for sev=0 to 2 |
136 | !set ff_$num=!mathsubst I$sev=$(x$(sev)_) in $(ff_$num) |
136 | !set ff_$num=!mathsubst I$sev=$(x$(sev)_) in $(ff_$num) |
137 | !next |
137 | !next |
138 | <span class="wims_sheet_score"> |
138 | <span class="wims_sheet_score"> |
- | 139 | !!!compare with adm/class/userscore/getuser.phtml |
|
139 | $(wims_name_thsheet[9]): $[ceil(100*$scoremax*$(ff_$num))/100]/$scoremax |
140 | $(wims_name_thsheet[9]): $[ceil(100*$scoremax*$(ff_$num))/100]/$scoremax |
140 | !! |
141 | !!$(wims_name_thsheet[5]): $p1%, |
141 | !! |
142 | !!$(wims_name_thsheet[7]): $[$p2]/10, |
142 | !! |
143 | !!$(wims_name_thsheet[10]): $p3%, |
143 | !! |
144 | !!$(wims_name_thsheet[13]): $[$p4/10]/10 |
144 | </span> |
145 | </span> |
145 | !endif |
146 | !endif |
146 | </div> |
147 | </div> |
147 | 148 | ||
148 | <div class="wims_sheet_desc"> |
149 | <div class="wims_sheet_desc"> |