Rev 12638 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !readproc jobs/supervisors.proc |
2 | !if $cnt1>0 |
||
12626 | bpr | 3 | !set table_id=TABLE_gestionlist |
4 | !set table_class=sortable |
||
12616 | bpr | 5 | $table_header |
6 | <caption class="nowrap">$name_othergestion</caption> |
||
12626 | bpr | 7 | <thead> |
12616 | bpr | 8 | $table_hdtr |
12626 | bpr | 9 | <th scope="col">$wims_name_Login</th><th scope="col">$wims_name_firstname</th> |
10 | <th scope="col">$wims_name_lastname</th><th scope="col" data-sort-method="none">$wims_name_action</th> |
||
12616 | bpr | 11 | </tr> |
12626 | bpr | 12 | </thead> |
13 | <tbody> |
||
12616 | bpr | 14 | !for i=1 to $cnt1 |
15 | !set l=!line $(list1[$i]) of $teacherlist |
||
16 | !distribute items $l into last,first,log |
||
17 | $table_tr |
||
18 | <td class="tt">$log</td> |
||
19 | <td>$first</td><td>$last</td> |
||
20 | <td> |
||
21 | !set wims_ref_class=wims_button wims_warning |
||
22 | !href cmd=reply&actype=del&more=$log $wims_name_erase |
||
23 | </td></tr> |
||
24 | !next i |
||
12626 | bpr | 25 | </tbody> |
12616 | bpr | 26 | $table_end |
12638 | obado | 27 | !read tablesort.phtml |
23 | reyssat | 28 | !endif |
11234 | bpr | 29 | !if $cnt2>0 or ($job=first and $teachercnt!=0) |
30 | <ul class="wims_nopuce"> |
||
31 | !if $cnt2>0 |
||
32 | !form reply |
||
17180 | bpr | 33 | <input type="hidden" name="actype" value="add"> |
34 | <input type="submit" value="$name_addgestion"> |
||
11234 | bpr | 35 | !if $job!=first |
12616 | bpr | 36 | ( |
37 | !defof class_description in $classdir1/$($job)/.def |
||
38 | ) |
||
11234 | bpr | 39 | !endif |
40 | !set wims_html_mode=li |
||
12621 | bpr | 41 | !set wims_ref_class=spacer |
11234 | bpr | 42 | !formcheckbox more list $list2 prompt $prompt |
43 | !formend |
||
44 | !endif |
||
45 | !if $job=first and $teachercnt!=0 |
||
46 | <li class="spacer"> |
||
47 | !set wims_ref_class=wims_button |
||
48 | !href cmd=reply&job=addteacher $wims_name_addteacher |
||
49 | </li> |
||
50 | !endif |
||
51 | </ul> |
||
23 | reyssat | 52 | !endif |
53 | !reset more actype |