Rev 12481 | Rev 15821 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4344 | guerimand | 1 | !!##!! language independant |
2 | !read adm/class/classname.phtml $wims_classname\ |
||
3 | $wims_institutionname |
||
4 | |||
5 | !read adm/title.phtml 1\ |
||
6 | $classname\ |
||
7 | $livret_title\ |
||
8 | $name_job |
||
9 | |||
6235 | bpr | 10 | <hr style="width:40%" /> |
5900 | bpr | 11 | <ul> |
6374 | bpr | 12 | <li>$name_title_comp : <span style="color:green;" class="bold">$(title_$comp)</span>.</li> |
12429 | bpr | 13 | !let eold=!record $palier of wimshome/log/classes/$wims_class/livret/.comp$comp |
14 | !distribute line $eold into name,eold |
||
6374 | bpr | 15 | <li>$name_n_Palier $palier : <span style="color:green;" class="bold">$name</span>.</li> |
12429 | bpr | 16 | !if $eold!= |
9563 | guerimand | 17 | !read proc/legend.proc legend |
12481 | guerimand | 18 | !set table_id=TABLE_user |
19 | !set table_class=sortable |
||
4344 | guerimand | 20 | $table_header |
12481 | guerimand | 21 | <thead> |
22 | $table_hdtr |
||
23 | <th scope="col">$wims_name_Sheet</th> |
||
24 | <th scope="col">$wims_name_Exercise</th> |
||
25 | <th scope="col">$wims_name_title</th> |
||
26 | <th scope="col"> </th> |
||
27 | </tr> |
||
28 | </thead> |
||
29 | <tbody> |
||
12429 | bpr | 30 | !for l in $eold |
4344 | guerimand | 31 | !let t=!replace internal . by , in $l |
32 | !if $(t[1]) notitemof $livret_nonactivesheet |
||
12429 | bpr | 33 | $table_tr |
6374 | bpr | 34 | <td> |
12429 | bpr | 35 | !if $(t[1]) isitemof $nssheets |
36 | $(t[1]) |
||
37 | !else |
||
38 | !href module=adm/sheet&sh=$(t[1]) $(t[1]) |
||
39 | !endif |
||
40 | </td><td> |
||
41 | !if $(t[1]) notitemof $nssheets |
||
42 | !set ex=!record $(t[2]) of wimshome/log/classes/$wims_class/sheets/.sheet$(t[1]) |
||
43 | !distribute lines $ex into di,pa,require,we,ti,de |
||
44 | !if $(deps_$(l[1]))=$empty |
||
4344 | guerimand | 45 | !let requires=!getscorerequire sheet=$(t[1]) |
46 | !let scores=!getscore sheet=$(t[1]) |
||
47 | !let means=!getscoremean sheet=$(t[1]) |
||
48 | !readproc adm/mkdepsheet.proc $(t[1]) |
||
49 | !let deps_$(t[1])=$deps |
||
12429 | bpr | 50 | !endif |
51 | !set dep=!row $(t[2]) of $(deps_$(t[1])) |
||
52 | !set dep=!trim $dep |
||
53 | !if $dep=$empty |
||
4344 | guerimand | 54 | !href module=$di&cmd=new&worksheet=$(t[1])&$pa $(t[2]) |
12429 | bpr | 55 | !else |
4344 | guerimand | 56 | $(t[2]) |
57 | !endif |
||
12429 | bpr | 58 | !else |
59 | $(t[2]) |
||
60 | !endif |
||
61 | </td><td> |
||
62 | !line $(t[2]) of $(sheet$(t[1])) |
||
63 | </td> |
||
64 | !let t=!word $(t[2]) of $(score[$(t[1]);]) |
||
65 | !readproc adm/class/colors $t,livret |
||
12481 | guerimand | 66 | <td style=$style_note data-sort="$value_note"> |
12429 | bpr | 67 | $output_note |
68 | </td> |
||
4344 | guerimand | 69 | </tr> |
12429 | bpr | 70 | !endif |
71 | !next l |
||
12481 | guerimand | 72 | </tbody> |
12429 | bpr | 73 | $table_end |
12638 | obado | 74 | !read tablesort.phtml |
12429 | bpr | 75 | !endif |
4344 | guerimand | 76 | </li> |
77 | </ul> |
||
12481 | guerimand | 78 | |
4344 | guerimand | 79 | !set wims_menu_items=!append line back2,1,cmd=renew\ |
80 | to $wims_menu_items |