Rev 3910 | Rev 5756 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
232 | bpr | 1 | !if $error!=$empty |
2 | <p> |
||
3 | !read msg.phtml |
||
4 | <p> |
||
1806 | bpr | 5 | !href module=home $wims_name_class_home |
232 | bpr | 6 | . <p> |
7 | !goto end |
||
8 | !endif |
||
2064 | bpr | 9 | |
2528 | bpr | 10 | !default name_student=!nosubst $lastname, $firstname |
232 | bpr | 11 | !readproc var.activity.proc |
2064 | bpr | 12 | !if $showsheet=$empty |
13 | $name_showsheet |
||
14 | !form reply |
||
5734 | bpr | 15 | <input type="hidden" name="job" value="select"/> |
2064 | bpr | 16 | !set wims_formselect_switch=multiple size=$[min($activelist_cnt,7)] |
17 | !formselect showsheet list $activlist prompt $(shs_title[$(activlist)]) |
||
5734 | bpr | 18 | <input type="submit" value="$wims_name_Show"/> |
2064 | bpr | 19 | </form> |
20 | !else |
||
232 | bpr | 21 | !if $usercnt==0 |
22 | $name_noparticipant |
||
23 | !else |
||
24 | <p>$table_header |
||
1806 | bpr | 25 | $table_hdtr<th>$wims_name_lastname, $wims_name_firstname</th> |
232 | bpr | 26 | <th>$name_lastconnexion</th><th>$name_nbsessions</th><th><small>$name_cnt_exo |
27 | <br> ($nbexototal $name_exo)</small></th><th>$name_total</th> |
||
2064 | bpr | 28 | !for j in $showsheet |
1089 | bpr | 29 | !if $(activ[$j])>0 |
3910 | bpr | 30 | <th colspan="2"><small>$wims_name_Sheet $j <br>$(shs_title[$j])<br>($(nbexo$j) $name_exo)</small></th> |
1089 | bpr | 31 | !endif |
232 | bpr | 32 | !next j |
33 | </tr> |
||
34 | $table_hdtr |
||
35 | <th></th><th></th><th></th><th></th><th></th> |
||
2064 | bpr | 36 | !for j in $showsheet |
37 | !if $(activ[$j])>0 |
||
232 | bpr | 38 | <th><small>$name_cnt_exo</small></th><th><small>$name_time</small></th> |
1089 | bpr | 39 | !endif |
232 | bpr | 40 | !next j |
41 | </tr> |
||
42 | !for m=1 to $usercnt |
||
43 | !set uu=!record $m of wimshome/log/classes/$wims_class/.userlist |
||
44 | !distribute items $uu into lastname,firstname,uu |
||
45 | !set getraw=$uu |
||
46 | !readproc raw.proc |
||
47 | $table_tr |
||
48 | <td> |
||
3096 | bpr | 49 | !href module=adm/class/userlist&job=getuser&getuser=$uu#sheet$(showsheet[1]) $name_student |
232 | bpr | 50 | </td> |
51 | !for h = 1 to 2*$sheetcnt + 4 |
||
1089 | bpr | 52 | !set h1=$[($h+$h%2)/2-2] |
3789 | reyssat | 53 | !if $h <=4 or ($h>4 and $(activ[$h1])>0) and $h1 isitemof $showsheet |
1090 | bpr | 54 | <td align="center">$(data[$h])</td> |
1089 | bpr | 55 | !endif |
232 | bpr | 56 | !next |
57 | </tr> |
||
58 | !next |
||
59 | $table_end |
||
60 | <p>$name_click |
||
2064 | bpr | 61 | !endif |
1806 | bpr | 62 | !set wims_menu_items=!append line refresh,1,cmd=reply\ |
2064 | bpr | 63 | back2,1,cmd=new\ |
2006 | bpr | 64 | Score1,1,module=adm/class/userlist&job_affi=notes\ |
1336 | bpr | 65 | to $wims_menu_items |
1192 | bpr | 66 | |
232 | bpr | 67 | :end |
1038 | bpr | 68 | !tail |