Subversion Repositories wimsdev

Rev

Rev 12638 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !readproc jobs/supervisors.proc
  2. !if $cnt1>0
  3.   !set table_id=TABLE_gestionlist
  4.   !set table_class=sortable
  5.   $table_header
  6.   <caption class="nowrap">$name_othergestion</caption>
  7.   <thead>
  8.   $table_hdtr
  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>
  11.   </tr>
  12.   </thead>
  13.   <tbody>
  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
  25.   </tbody>
  26.   $table_end
  27.   !read tablesort.phtml
  28. !endif
  29. !if $cnt2>0 or ($job=first and $teachercnt!=0)
  30.   <ul class="wims_nopuce">
  31.   !if $cnt2>0
  32.     !form reply
  33.     <input type="hidden" name="actype" value="add">
  34.     <input type="submit" value="$name_addgestion">
  35.     !if $job!=first
  36.       (
  37.       !defof class_description in $classdir1/$($job)/.def
  38.       )
  39.     !endif
  40.     !set wims_html_mode=li
  41.     !set wims_ref_class=spacer
  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>
  52. !endif
  53. !reset more actype
  54.