Rev 15970 | Rev 16006 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11105 | bpr | 1 | !set tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf |
12558 | bpr | 2 | !distribute words $tmp into tmp_w,tmp_s,tmp_ss |
1587 | bpr | 3 | !read adm/title.phtml 1\ |
1607 | bpr | 4 | $classname\ |
10277 | bpr | 5 | $name_workdetail $name_studentloc |
23 | reyssat | 6 | |
10277 | bpr | 7 | <div class="center"><span class="wims_emph"> |
14132 | obado | 8 | !if $wims_user=supervisor |
9 | !reset css_connected |
||
10 | !if $getuser isitemof $wims_connectedlogin |
||
11 | !set css_connected=class="wims_connected" |
||
12 | !set wims_ref_title=connected |
||
13 | !endif |
||
14 | <span $css_connected> |
||
15 | !href module=adm/class/usermanage/&job=userprop&getuser=$getuser $name_studentloc |
||
16 | </span> |
||
9602 | bpr | 17 | !endif |
14132 | obado | 18 | </span><br /><span class="small">$wims_name_Login: <span class="tt">$getuser</span> |
19 | !if $user_external_auth!=$empty |
||
20 | (<span class="tt">$user_external_auth</span>) |
||
21 | !endif |
||
22 | !if $user_email!=$empty |
||
23 | <br /> |
||
24 | $wims_name_email: <a href="mailto:$user_email">$user_email</a> |
||
25 | !endif |
||
26 | </span></div> |
||
27 | |||
13220 | bpr | 28 | !let testphoto=!filexists wimshome/sessions/$wims_session/getfile/photoboard/$getuser |
29 | !if $testphoto=yes |
||
30 | <div id="userlogo" class="float_right"> |
||
31 | <img src="$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=photoboard/$getuser" style="position:absolute;top:50px;right:5%;" alt="$name_student2" /> |
||
32 | </div> |
||
33 | !reset testphoto |
||
34 | !else |
||
35 | !if $user_photourl!= |
||
14132 | obado | 36 | <img src="$user_photourl" style="width:100px;position:absolute;top:50px;right:5%;" alt="$name_student2" /> |
13220 | bpr | 37 | !endif |
12301 | bpr | 38 | !endif |
23 | reyssat | 39 | !if $eremain>0 |
12712 | bpr | 40 | <br class="spacer" /> |
41 | $name_activesession: |
||
42 | !href cmd=reply&job=userexam&getuser=$getuser $esession |
||
43 | !!!else |
||
44 | !! ----- transfere dans usermanage (il s'agit d'un lien de transfert de score pour deplacer des eleves d'une classe a l'autre (dans un portail ou un groupement) |
||
45 | !! !if $wims_user=supervisor and $wims_supertype iswordof 2 4 |
||
46 | !! !readproc adm/gateway/transfer $getuser test |
||
47 | !! !if $transfer_test>0 |
||
48 | !! !href module=adm/class/usermanage&job=transfer&getuser=$getuser $name_transfer |
||
49 | !! !endif |
||
50 | !! !endif |
||
23 | reyssat | 51 | !endif |
8326 | guerimand | 52 | |
12712 | bpr | 53 | <br class="spacer" /> |
23 | reyssat | 54 | |
55 | !if $manual>0 and $gcnt>0 and $teacher!=$empty |
||
12301 | bpr | 56 | $table_header |
57 | <caption><span class="small"> |
||
58 | $name_minmax: |
||
59 | $min_glob/$mean_glob/$max_glob</span></caption> |
||
12716 | bpr | 60 | <thead> |
12301 | bpr | 61 | $table_hdtr<th>$wims_name_name</th><th>$(wims_name_thsheet[6])</th><th>$(wims_name_thsheet[9])</th></tr> |
12716 | bpr | 62 | </thead><tbody> |
12301 | bpr | 63 | $table_tr<th>$name_manualscore</th> |
5986 | bpr | 64 | <td>$manual%</td> |
1887 | bpr | 65 | !read adm/class/colors $[ceil(10*$mav/$scoremax)] |
5727 | bpr | 66 | <td style=$style_note>$mav</td></tr> |
12301 | bpr | 67 | $table_tr<th>$name_autoscore</th> |
5986 | bpr | 68 | <td>$[100-$manual]%</td> |
1887 | bpr | 69 | !read adm/class/colors $[ceil(10*$per/$scoremax)] |
5727 | bpr | 70 | <td style=$style_note>$per</td></tr> |
12301 | bpr | 71 | $table_tr<th>$name_globalaverage / $scoremax</th> |
5986 | bpr | 72 | <td>100%</td> |
1887 | bpr | 73 | !read adm/class/colors $[ceil(10*$globalav/$scoremax)] |
5727 | bpr | 74 | <td style=$style_note>$globalav</td></tr> |
12716 | bpr | 75 | </tbody> |
12301 | bpr | 76 | $table_end |
14132 | obado | 77 | |
12716 | bpr | 78 | !set table_id=TABLE_manual |
79 | !set table_class=sortable |
||
12301 | bpr | 80 | $table_header |
12716 | bpr | 81 | <thead> |
14132 | obado | 82 | <tr><th colspan="3">$name_manualscore |
83 | !if $wims_user=supervisor |
||
84 | <br /> |
||
85 | !href lang=$lang&module=adm/class/grades&method=user&un=$getuser $wims_name_change |
||
86 | !endif |
||
87 | </th></tr> |
||
88 | $table_hdtr<th>$(wims_name_thsheet[2])</th><th>$(wims_name_thsheet[4])</th><th>$(wims_name_thsheet[9])</th></tr> |
||
12716 | bpr | 89 | </thead> |
12301 | bpr | 90 | !set v_=0 |
12716 | bpr | 91 | <tbody> |
12301 | bpr | 92 | !for i=1 to $gcnt |
93 | $table_tr<td>$(titles[2+$i])</td><td>$(w$i)</td> |
||
94 | !read adm/class/colors $[10*ceil($(g_$i))/$scoremax] |
||
95 | <td style=$style_note>$(g_$i)</td></tr> |
||
96 | !next i |
||
12716 | bpr | 97 | </tbody> |
98 | <tfoot> |
||
14132 | obado | 99 | $table_hdtr<th colspan="2">$name_Average</th> |
100 | !read adm/class/colors $[ceil(10*$mav/$scoremax)] |
||
101 | <td style=$style_note>$mav</td></tr> |
||
12716 | bpr | 102 | </tfood> |
12301 | bpr | 103 | $table_end |
12716 | bpr | 104 | !read tablesort.phtml |
23 | reyssat | 105 | !else |
12301 | bpr | 106 | <div class="wimscenter"> |
107 | $name_globalaverage: <b>$per</b> / $scoremax. |
||
108 | !if $min_glob<$scoremax |
||
109 | <br /><span class="small">$name_minmax: |
||
110 | $min_glob/$mean_glob/$max_glob</span> |
||
111 | !endif |
||
112 | </div> |
||
23 | reyssat | 113 | !endif |
114 | |||
1317 | reyssat | 115 | |
116 | !!readdef wimshome/log/classes/$wims_class/.def |
||
117 | !!default class_topscores=0 |
||
118 | !if $class_topscores>0 |
||
3087 | bpr | 119 | |
12301 | bpr | 120 | $table_header$table_hdtr<th colspan="2">$name_topten</td></tr> |
121 | !for i=1 to $class_topscores |
||
122 | !set L=!line $i of $TT |
||
123 | !if $class_anonymtopscores=yes |
||
124 | !set name=$i |
||
125 | !else |
||
126 | !set name=!item 1 of $L |
||
127 | !set firstname=!item 2 of $L |
||
128 | !set name=$name $firstname |
||
129 | !endif |
||
130 | !set avg=!item 4 of $L |
||
14132 | obado | 131 | $table_tr |
132 | <td class="small" style="text-align:right;font-weight:bold"> |
||
133 | $name </td> |
||
134 | <td style="text-align:left" class="small"> $avg</td> |
||
135 | </tr> |
||
12301 | bpr | 136 | !next i |
12716 | bpr | 137 | $table_end |
3087 | bpr | 138 | |
1317 | reyssat | 139 | !endif |
140 | |||
12480 | guerimand | 141 | !! ---------------- display table for each exam session |
23 | reyssat | 142 | !if $eactivecnt>0 |
12716 | bpr | 143 | !set table_id=TABLE_exam |
14132 | obado | 144 | !set table_class=sortable |
12716 | bpr | 145 | $table_header |
146 | <thead> |
||
15970 | guerimand | 147 | <caption>$name_examnote</caption> |
12301 | bpr | 148 | $table_hdtr |
14132 | obado | 149 | <th scope="col">$(wims_name_thsheet[1])</th> |
150 | <th scope="col">$(wims_name_thsheet[2])</th> |
||
151 | <th scope="col">$(wims_name_thsheet[9])/$scoremax</th> |
||
12301 | bpr | 152 | </tr> |
12716 | bpr | 153 | </thead> |
154 | <tbody> |
||
12301 | bpr | 155 | !for i in $activexams |
156 | !set l=!record $i of wimshome/log/classes/$wims_class/exams/.exams |
||
157 | !set t=!line 4 of $l |
||
12791 | bpr | 158 | !set st=!line 1 of $l |
159 | !set ew=!line $i of $examweights |
||
160 | !if $st<=2 or $ew>0 |
||
14132 | obado | 161 | $table_tr |
162 | <td>$i</td> |
||
12791 | bpr | 163 | <td>$t</td> |
164 | !if $[rint(10*$(es_$i)*$scoremax)/100]>0 |
||
165 | !read adm/class/colors $[ceil($(es_$i))] |
||
166 | <td style=$style_note>$[rint(10*$(es_$i)*$scoremax)/100]</td> |
||
167 | !else |
||
168 | <td>--</td> |
||
169 | !endif |
||
14132 | obado | 170 | </tr> |
12301 | bpr | 171 | !endif |
172 | !next i |
||
12716 | bpr | 173 | </tbody> |
12301 | bpr | 174 | $table_end |
12716 | bpr | 175 | !read tablesort.phtml |
12301 | bpr | 176 | !endif |
14132 | obado | 177 | |
12480 | guerimand | 178 | !! ------------------ display table for each sheet |
12550 | bpr | 179 | !set tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf |
12554 | bpr | 180 | !distribute words $tmp into tmp_w,tmp_s,tmp_ss |
12301 | bpr | 181 | !for i=1 to $activecnt |
15763 | guerimand | 182 | !set exonumber=0 |
12301 | bpr | 183 | !set l_=!line $i of $activesheets |
15763 | guerimand | 184 | !distribute items $l_ into n_,e_,indtechvar |
12301 | bpr | 185 | !set L_=!line $n_ of $defaultformula |
186 | !reset A_ B_ C_ |
||
187 | !distribute word $L_ into A_,B_,C_ |
||
12550 | bpr | 188 | !default A_=$tmp_w |
189 | !default B_=$tmp_s |
||
13045 | bpr | 190 | !default C_=$tmp_ss |
15763 | guerimand | 191 | !set t_=!item 4 to -1 of $l_ |
12301 | bpr | 192 | !set t_=!char 1 to $title_limit of $t_ |
193 | !set v_=!getscorerequire sheet=$n_ user=$getuser |
||
194 | !set w_=!wordcnt $v_ |
||
195 | !set S_=0 |
||
196 | !for k=1 to $w_ |
||
197 | !set a_=!word $k of $v_ |
||
198 | !set S_=$[$S_+$a_] |
||
199 | !next k |
||
12791 | bpr | 200 | !if $S_<=0 |
201 | !goto next |
||
202 | !endif |
||
12301 | bpr | 203 | !set sw=!line $[$n_+1] of $shweights |
204 | !set q=!word 2 of $sw |
||
205 | !set sw=!word 3 of $sw |
||
206 | !bound sw between integer 0 and 2 default $tmp_ss |
||
207 | !bound q between integer 0 and 6 default $tmp_s |
||
208 | !set seq_open=!defof sequence_open in wimshome/log/classes/$wims_class/seq/.def |
||
15937 | guerimand | 209 | !if $indtechvar!=$empty |
15963 | guerimand | 210 | !let pos_=!positionof item $indtechvar in $tv_listcode |
211 | !let nametechvar=!item $pos_ of $tv_listname |
||
212 | !set pos=!positionof item $nametechvar in $(user_vars[;1]) |
||
213 | !set indtechvarvalue=!item $pos of $(user_vars[;2]) |
||
214 | !! !set indtechvarvalue=!defof user_techvar_$indtechvar in $userdef |
||
215 | !set listvalue=!record $n_ of wimshome/log/classes/$wims_class/sheets/.vars |
||
216 | !set listvalue=!word 3 to -1 of $listvalue |
||
217 | !set listvalue=!words2items $listvalue |
||
218 | !bound indtechvarvalue within $empty,$listvalue default $empty |
||
15937 | guerimand | 219 | !if $indtechvarvalue=$empty |
15949 | guerimand | 220 | !! !set tmp=$name_withoutgroup |
221 | !reset tmp |
||
15937 | guerimand | 222 | !else |
15949 | guerimand | 223 | !! !set tmp=$name_group |
15963 | guerimand | 224 | !set tmp= - $nametechvar $indtechvarvalue |
15937 | guerimand | 225 | !endif |
226 | !else |
||
227 | !reset tmp |
||
228 | !endif |
||
12301 | bpr | 229 | !if $seq_open!=yes |
15949 | guerimand | 230 | !set hat=$name_Sheet $n_$(tmp) : $t_ |
1895 | bpr | 231 | !else |
15963 | guerimand | 232 | !set hat=$wims_name_sequence $(t_[1])$tmp : $(t_[2..-1]) |
1895 | bpr | 233 | !endif |
14132 | obado | 234 | |
12301 | bpr | 235 | <br class="spacer" /> |
7901 | bpr | 236 | !if $wims_user=supervisor |
237 | !set nb_indic=5 |
||
238 | !else |
||
11108 | bpr | 239 | !set nb_indic=3 |
7901 | bpr | 240 | !endif |
7664 | bpr | 241 | !set P_=!line $n_ of $percents |
12301 | bpr | 242 | !distribute words $P_ into p1,p2,p3,p4 |
7664 | bpr | 243 | !if $p2!=$empty |
12301 | bpr | 244 | !distribute item $[$p1/100],$[$p2/10],$[$p3/100],$[$p4/100] into x0_,y_,x1_,x2_ |
245 | !set ff_$n_=!mathsubst Q=$y_ in $(f_$n_) |
||
246 | !for sev=0 to 2 |
||
247 | !set ff_$n_=!mathsubst I$sev=$(x$(sev)_) in $(ff_$n_) |
||
248 | !next |
||
249 | !set p_=$[rint(100*$scoremax*$(ff_$n_))/100] |
||
7664 | bpr | 250 | !endif |
12480 | guerimand | 251 | !set table_id=TABLE_sheet$i |
252 | !set table_class=sortable |
||
253 | $table_header |
||
14132 | obado | 254 | <thead id="sheet$n_"> |
12714 | bpr | 255 | <tr><th colspan="$[$nb_indic+5]" style="text-align:left"> |
12301 | bpr | 256 | !if $p2!=$empty |
14132 | obado | 257 | <div class="float_left"> |
258 | !href module=adm/sheet&sh=$n_ $hat |
||
259 | <ul> |
||
260 | <li>$(wims_name_thsheet[4]): $A_</li> |
||
261 | !if $wims_user=supervisor |
||
262 | <li>$(wims_name_thsheet[8]): |
||
263 | !lowercase $(f_$n_) |
||
264 | !set wims_ref_class=wims_button_help |
||
265 | !href cmd=help&special_parm=$n_ $(wims_name_help) |
||
266 | </li> |
||
267 | !endif |
||
268 | !!global note |
||
269 | !if $(min_$n_)<$scoremax |
||
15844 | bpr | 270 | !! ---- temporary modif |
15843 | guerimand | 271 | !! !if $indtechvar=$empty |
15763 | guerimand | 272 | <li>$name_minmax: $(min_$n_)/$(mean_$n_)/$(max_$n_)</li> |
15843 | guerimand | 273 | !! !else |
274 | !! <li>$name_minmax: ❓ / ❓ / ❓ </li> |
||
275 | !! !endif |
||
15763 | guerimand | 276 | !! ------ endof temporary |
14132 | obado | 277 | !endif |
278 | </ul> |
||
279 | </div> |
||
12712 | bpr | 280 | !reset tmp_ss |
14132 | obado | 281 | <ul class="float_right"> |
14133 | obado | 282 | !! score |
15844 | bpr | 283 | <li>$(wims_name_thsheet[9]): |
284 | !! ---- temporary modif |
||
15843 | guerimand | 285 | !! !if $indtechvar=$empty |
15763 | guerimand | 286 | $p_ |
15843 | guerimand | 287 | !! !else |
288 | !! ❓ |
||
289 | !! !endif |
||
15844 | bpr | 290 | !! ------ endof temporary |
15763 | guerimand | 291 | / $scoremax.</li> |
14133 | obado | 292 | !! quality |
14132 | obado | 293 | !if $wims_user=supervisor or $q!=1 |
15844 | bpr | 294 | <li>$(wims_name_thsheet[7]): |
295 | !! ---- temporary modif |
||
15843 | guerimand | 296 | !! !if $indtechvar=$empty |
15763 | guerimand | 297 | $p2 |
15843 | guerimand | 298 | !! !else |
299 | !! ❓ |
||
300 | !! !endif |
||
15844 | bpr | 301 | !! ------ endof temporary |
15763 | guerimand | 302 | /10</li> |
14132 | obado | 303 | !endif |
14133 | obado | 304 | !! Cumul |
14132 | obado | 305 | !if $wims_user=supervisor or $sw=0 |
15844 | bpr | 306 | <li>$(wims_name_thsheet[5]): |
307 | !! ---- temporary modif |
||
15843 | guerimand | 308 | !! !if $indtechvar=$empty |
15763 | guerimand | 309 | $p1 |
15843 | guerimand | 310 | !! !else |
311 | !! ❓ |
||
312 | !! !endif |
||
15844 | bpr | 313 | !! ------ endof temporary |
15763 | guerimand | 314 | %</li> |
14132 | obado | 315 | !endif |
14133 | obado | 316 | !! Best score |
14132 | obado | 317 | !if $wims_user=supervisor or $sw=1 |
15844 | bpr | 318 | <li>$(wims_name_thsheet[10]): |
319 | !! ---- temporary modif |
||
15843 | guerimand | 320 | !! !if $indtechvar=$empty |
15763 | guerimand | 321 | $p3 |
15843 | guerimand | 322 | !! !else |
323 | !! ❓ |
||
324 | !! !endif |
||
15844 | bpr | 325 | !! ------ endof temporary |
15763 | guerimand | 326 | %</li> |
14132 | obado | 327 | !endif |
14133 | obado | 328 | !! Acquired |
14132 | obado | 329 | !if $wims_user=supervisor or $sw=2 |
15844 | bpr | 330 | <li>$(wims_name_thsheet[13]): |
331 | !! ---- temporary modif |
||
15843 | guerimand | 332 | !! !if $indtechvar=$empty |
15763 | guerimand | 333 | $[$p4/10] |
15843 | guerimand | 334 | !! !else |
335 | !! ❓ |
||
336 | !! !endif |
||
15844 | bpr | 337 | !! ------ endof temporary |
15763 | guerimand | 338 | /10</li> |
14132 | obado | 339 | !endif |
340 | </ul> |
||
12301 | bpr | 341 | !else |
342 | !href module=adm/sheet&sh=$n_ $hat |
||
343 | !endif |
||
10887 | bpr | 344 | </div> |
12301 | bpr | 345 | </th></tr> |
346 | $table_hdtr |
||
12480 | guerimand | 347 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[1])</th> |
348 | <th scope="col">$(wims_name_thsheet[2])</th> |
||
349 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[3])</th> |
||
350 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[4])</th> |
||
14132 | obado | 351 | !!qualite |
12480 | guerimand | 352 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[7])</th> |
14132 | obado | 353 | !if $wims_user=supervisor or $sw=0 |
354 | !!I0: percentage work (related to cumul) |
||
355 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[5])</th> |
||
356 | !endif |
||
357 | !if $wims_user=supervisor or $sw=1 |
||
358 | !!I1: best percentage |
||
359 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[10])</th> |
||
360 | !endif |
||
361 | !if $wims_user=supervisor or $sw=2 |
||
362 | !!I2: level |
||
363 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[13])</th> |
||
364 | !endif |
||
12468 | bpr | 365 | !!last |
12480 | guerimand | 366 | <th scope="col" data-sort-method="number">$(wims_name_thsheet[12])</th> |
12468 | bpr | 367 | !!number try |
12992 | bpr | 368 | <th scope="col" data-sort-method="number"> |
14132 | obado | 369 | <div class="wims_tooltip">$(wims_name_thsheet[11]) |
370 | <div class="wims_tooltiptext left" style="width:50em"> |
||
371 | $name_tryhelp |
||
372 | </div> |
||
12992 | bpr | 373 | </div> |
14132 | obado | 374 | </th> |
12480 | guerimand | 375 | </tr> |
376 | </thead> |
||
377 | <tbody> |
||
12301 | bpr | 378 | !for j=1 to $e_ |
379 | !let d=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$n_ |
||
15820 | guerimand | 380 | !distribute line $d into t,t,t,t,title_,t,t,t,t,t,indiv_ |
15763 | guerimand | 381 | !if $indtechvar=$empty or $(user_techvar_$indtechvar)=$empty or $(user_techvar_$indtechvar) isitemof $indiv_ |
382 | !increase exonumber |
||
383 | $table_tr |
||
384 | <td>$exonumber</td> |
||
385 | <td>$(title_)</td> |
||
15820 | guerimand | 386 | <td> |
387 | !let req_=!getscorerequire user=$getuser sheet=$n_ work=$j |
||
388 | $(req_) |
||
15844 | bpr | 389 | </td><td> |
15820 | guerimand | 390 | !getscoreweight user=$getuser sheet=$n_ work=$j |
391 | </td> |
||
15763 | guerimand | 392 | !set try=!getscoretry user=$getuser sheet=$n_ work=$j |
393 | !set alltry=!getscorealltries user=$getuser sheet=$n_ work=$j |
||
394 | !if $alltry<=0 |
||
395 | !set makelist=!makelist <td>--</td> for j=1 to $nb_indic+1 |
||
396 | !replace , by in $makelist |
||
12301 | bpr | 397 | !else |
15763 | guerimand | 398 | !!!quality in exercise will always appear. |
399 | !set d_=!getscorequality user=$getuser sheet=$n_ work=$j |
||
400 | !default d_=0 |
||
401 | !read adm/class/colors $[ceil($d_)] |
||
402 | <td style=$style_note>$d_</td> |
||
403 | !!cumul |
||
404 | !if $wims_user=supervisor or $sw=0 |
||
405 | !set d_=!getscore user=$getuser sheet=$n_ work=$j |
||
406 | !default d_=0 |
||
407 | !!percentage |
||
408 | !if $(req_)>0 |
||
409 | !read adm/class/colors $[ceil(10*$d_/$(req_))] |
||
410 | <td style=$style_note>$[ceil(100*$d_/$(req_))]%</td> |
||
411 | !else |
||
412 | <td>--</td> |
||
413 | !endif |
||
414 | !endif |
||
415 | !if $wims_user=supervisor or $sw=1 |
||
416 | !!best percentage |
||
417 | !set best=!getscorebest user=$getuser sheet=$n_ work=$j |
||
418 | !read adm/class/colors $[ceil(10*$best/$req_)] |
||
419 | <td style=$style_note>$[ceil($[$best*100/$req_])]%</td> |
||
420 | !endif |
||
421 | !if $wims_user=supervisor or $sw=2 |
||
422 | !!level |
||
423 | !set level=!getscorelevel user=$getuser sheet=$n_ work=$j |
||
424 | !read adm/class/colors $[min(ceil($level+0.1),10)] |
||
425 | <td style=$style_note>$level</td> |
||
426 | !endif |
||
14132 | obado | 427 | |
15763 | guerimand | 428 | !!last |
429 | !set last=!getscorelast user=$getuser sheet=$n_ work=$j |
||
430 | !read adm/class/colors $[ceil($last)] |
||
431 | <td style=$style_note>$last</td> |
||
14132 | obado | 432 | |
15763 | guerimand | 433 | !!try |
434 | <td> |
||
435 | !set tmp=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$n_ |
||
436 | !distribute lines $tmp into di,pa |
||
437 | !read getparm $pa, seedrepeat, exotrymax |
||
438 | !set tmp=!getseedscores user=$getuser sheet=$n_ work=$j |
||
439 | !set tmp=!declosing $tmp |
||
440 | !set tmp=!select $tmp where column 2 > -2 |
||
441 | !set tmp_cnt=!itemcnt $(tmp[;1]) |
||
442 | !if $get_seedrepeat>0 |
||
443 | !set tmp_width=width:$[ceil($tmp_cnt/$get_seedrepeat)+1]em; |
||
444 | !else |
||
445 | !set tmp_width=width:$[$tmp_cnt+1]em; |
||
446 | !endif |
||
447 | <div class="wims_tooltip"> |
||
448 | !if $get_exotrymax=$empty |
||
449 | $try + $[$alltry-$try] |
||
450 | !else |
||
451 | ($try + $[$alltry-$try]) | $get_exotrymax |
||
452 | !endif |
||
453 | <div class="wims_tooltiptext left" style="$tmp_width"> |
||
454 | !read adm/class/seedscore.phtml [$tmp],$get_seedrepeat |
||
455 | </div> |
||
456 | </div> |
||
457 | !reset tmp get_seedrepeat tmp_width |
||
458 | </td> |
||
459 | !endif try |
||
460 | </tr> |
||
461 | !endif |
||
12301 | bpr | 462 | !next j |
12480 | guerimand | 463 | </tbody> |
12301 | bpr | 464 | $table_end |
12638 | obado | 465 | !read tablesort.phtml |
12791 | bpr | 466 | :next |
23 | reyssat | 467 | !next i |
12638 | obado | 468 | |
9809 | bpr | 469 | !read wimshome/public_html/themes/_widgets/topback.phtml |
1607 | bpr | 470 | |
23 | reyssat | 471 | !if $exologs!=$empty |
12301 | bpr | 472 | !set wims_menu_items=!append line itemsep,0,\ |
9809 | bpr | 473 | reg_ex,1,module=adm/class/exolog&cmd=new&job=list&checkuser=$getuser\ |
1791 | bpr | 474 | to $wims_menu_items |
23 | reyssat | 475 | !endif |
14132 | obado | 476 | !set wims_menu_items=!append line rawdata,1,cmd=reply&job=getraw&getraw=$getuser\ |
9351 | bpr | 477 | to $wims_menu_items |
15970 | guerimand | 478 | !if $wims_user=supervisor or $class_examshow!=no |
15972 | bpr | 479 | !set wims_name_title_examdetail=$name_exam_expl |
15970 | guerimand | 480 | !set wims_menu_items=!append line examdetail,1,cmd=reply&job=examcheck&checkuser=$getuser\ |
481 | to $wims_menu_items |
||
482 | !endif |
||
1607 | bpr | 483 | |
14132 | obado | 484 | !if $wims_user=supervisor |
485 | !set wims_menu_items=!append line \ |
||
486 | account,1,module=adm/class/usermanage&job=userprop&getuser=$getuser\ |
||
1336 | bpr | 487 | to $wims_menu_items |
14132 | obado | 488 | !if (($wims_supertype<3 and $wims_typename=class) or ($wims_supertype=4 and $wims_typename=course)) and $wims_showlivret!=no |
489 | !set wims_menu_items=!append line livret1,1,module=adm/class/livret&job=user&user=$getuser\ |
||
490 | to $wims_menu_items |
||
491 | !set wims_menu_items=!append line activity1,1,module=adm/class/activity&job=exobyday&user=$getuser\ |
||
492 | to $wims_menu_items |
||
493 | !endif |
||
494 | !set wims_menu_items=!append line itemsep,0, \ |
||
495 | part_list,1,cmd=resume\ |
||
496 | to $wims_menu_items |
||
497 | !read adm/class/getnextuser $wims_class,$getuser,getuser,getuser |
||
498 | !else |
||
12301 | bpr | 499 | !if $wims_showlivret!=no |
500 | !set livret_nbcomp=!recordcnt wimshome/log/classes/$wims_class/livret/.comps |
||
501 | !if $livret_nbcomp >0 |
||
502 | !set wims_menu_items=!append line livret,1,module=adm/class/livret to $wims_menu_items |
||
503 | !endif |
||
3095 | guerimand | 504 | !endif |
23 | reyssat | 505 | !endif |
14132 | obado | 506 | <br class="spacer" /> |
11105 | bpr | 507 | |
12550 | bpr | 508 | !reset tmp tmp_w tmp_s tmp_ss |