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