Subversion Repositories wimsdev

Rev

Rev 12616 | Rev 12626 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !readproc jobs/supervisors.proc
  2. !if $cnt1>0
  3.   $table_header
  4.   <caption class="nowrap">$name_othergestion</caption>
  5.   $table_hdtr
  6.   <th>$wims_name_Login</th><th>$wims_name_firstname</th><th>$wims_name_lastname</th><th>$wims_name_action</th>
  7.   </tr>
  8.   !for i=1 to $cnt1
  9.     !set l=!line $(list1[$i]) of $teacherlist
  10.     !distribute items $l into last,first,log
  11.     $table_tr
  12.     <td class="tt">$log</td>
  13.     <td>$first</td><td>$last</td>
  14.     <td>
  15.     !set wims_ref_class=wims_button wims_warning
  16.     !href cmd=reply&actype=del&more=$log $wims_name_erase
  17.     </td></tr>
  18.   !next i
  19.   $table_end
  20. !endif
  21. !if $cnt2>0 or ($job=first and $teachercnt!=0)
  22.   <ul class="wims_nopuce">
  23.   !if $cnt2>0
  24.     !form reply
  25.     <input type="hidden" name="actype" value="add" />
  26.     <input type="submit" value="$name_addgestion" />
  27.     !if $job!=first
  28.       (
  29.       !defof class_description in $classdir1/$($job)/.def
  30.       )
  31.     !endif
  32.     !set wims_html_mode=li
  33.     !set wims_ref_class=spacer
  34.     !formcheckbox more list $list2 prompt $prompt
  35.     !formend
  36.   !endif
  37.   !if $job=first and $teachercnt!=0
  38.     <li class="spacer">
  39.     !set wims_ref_class=wims_button
  40.     !href cmd=reply&job=addteacher $wims_name_addteacher
  41.     </li>
  42.   !endif
  43.   </ul>
  44. !endif
  45. !reset more actype
  46.