Subversion Repositories wimsdev

Rev

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

  1. !read adm/title.phtml 1\
  2. $classname\
  3. $wims_name_teacherlist
  4.  
  5. !!don't work as it is
  6. !!!if $teachercnt>0
  7. !!<div class="wimscenter">
  8. !!!href module=adm/class/userlist&job=csv $wims_name_csv
  9. !!</div>
  10. !!!endif
  11.  
  12. $table_header
  13. !if $wims_user=supervisor and $wims_realuser=supervisor
  14. <caption>
  15.  !href module=adm/class/reguser&step=1&utype=1 $wims_name_addteacher
  16. </caption>
  17. !endif
  18. $table_hdtr
  19. <th>$wims_name_account</th>
  20. <th>$wims_name_lastname</th>
  21. <th>$wims_name_firstname</th>
  22. <th>$name_gestion</th>
  23. <th>$wims_name_action</th></tr>
  24. !for i=1 to $teachercnt
  25. !set l=!line $i of $teacherlist
  26. !distribute items $l into tl_,tf_,tc_
  27. $table_tr
  28. <td><tt class="wims_login">$tc_
  29. </td>
  30.  <td>$tl_ </td>
  31. <td>$tf_ </td>
  32. <td>
  33. !readproc adm/class/userdef classes,$wims_superclass,$tc_
  34. !set tu_=!defof user_supervise in $userdef
  35. $tu_
  36. !reset $userdef
  37. </td>
  38. <td>
  39. !! !set wims_ref_class=wims_button
  40. !!!href cmd=reply&job=deluser&deluser=$tc_ $wims_name_erase
  41. !! &nbsp;
  42. !set wims_ref_class=wims_button
  43. !href cmd=reply&job=userprop&getuser=$tc_ $wims_name_change
  44. </td>
  45.  
  46. </tr>
  47. !next i
  48. $table_end
  49.  
  50. !set wims_menu_items=!append line part_list,1,cmd=resume\
  51. to $wims_menu_items
  52.  
  53.