Rev 12638 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !read scripts/userform.phtml teacher |
5136 | bpr | 2 | !set supervise=!defof user_supervise in wimshome/log/classes/$wims_superclass/.users/$login |
23 | reyssat | 3 | !if $supervise!=$empty |
12626 | bpr | 4 | !set table_id=TABLE_teacherlist |
5 | !set table_class=sortable |
||
12616 | bpr | 6 | $table_header |
7 | <caption>$name_gestion</caption> |
||
12716 | bpr | 8 | <thead> |
12616 | bpr | 9 | $table_hdtr |
12626 | bpr | 10 | <th scope="col">$wims_name_name</th><th scope="col">$wims_name_Type</th> |
11 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
||
4221 | bpr | 12 | </tr> |
12716 | bpr | 13 | </thead> |
14 | <tbody> |
||
12616 | bpr | 15 | !for z in $supervise |
16 | !set name=!defof class_description in wimshome/log/classes/$z/.def |
||
17 | !set type=!defof class_typename in wimshome/log/classes/$z/.def |
||
18 | !set default=!defof class_Supervisor in wimshome/log/classes/$z/.def |
||
19 | $table_tr |
||
20 | <td>$name</td> |
||
21 | <td>$(name_$type)</td> |
||
22 | <td> |
||
23 | !if $default=$login |
||
24 | -- |
||
25 | !else |
||
26 | !set wims_ref_class=wims_button wims_warning |
||
27 | !href cmd=reply&del=$z $wims_name_erase |
||
28 | !endif |
||
29 | </td> |
||
30 | </tr> |
||
31 | !next z |
||
12716 | bpr | 32 | </tbody> |
12616 | bpr | 33 | $table_end |
12638 | obado | 34 | !read tablesort.phtml |
23 | reyssat | 35 | !endif |