Subversion Repositories wimsdev

Rev

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

  1. !if $teachercnt>0
  2.   <div class="wimscenter">
  3.   $name_csv
  4.   !getfile teachers.csv csv
  5.   $wims_name_or
  6.   !getfile teachers.tsv tsv
  7.   .
  8.   !!href module=adm/class/userscore&job=csv&utype=1& $wims_name_csv
  9.  
  10.   </div>
  11. !endif
  12. !set table_id=TABLE_teacherlist
  13. !set table_class=sortable
  14. $table_header
  15. <caption>
  16.   !href cmd=reply&job=addteacher $wims_name_addteacher
  17. </caption>
  18. <thead>
  19.   $table_hdtr
  20.     <th scope="col">$wims_name_Login</th>
  21.     <th scope="col">$wims_name_lastname</th>
  22.     <th scope="col">$wims_name_firstname</th>
  23.     <th scope="col">$name_gestion</th>
  24.     <th scope="col" data-sort-method="none">$wims_name_action</th>
  25.   </tr>
  26. </thead>
  27. <tbody>
  28. !for i=1 to $teachercnt
  29.   !set l=!line $i of $teacherlist
  30.   !distribute items $l into l_,f_,c_
  31.   $table_tr
  32.   <td class="tt wims_login">
  33.    $c_
  34.   </td><td>
  35.    $l_
  36.   </td><td>
  37.    $f_
  38.   </td><td>
  39.   !set tmp_=!defof user_supervise in $classdir1/.users/$c_
  40.   !replace internal , by ,$ $ in $tmp_
  41.   !reset tmp_
  42.   </td><td>
  43.   !set wims_ref_class=wims_button wims_warning
  44.   !href cmd=reply&job=delteacher&del=$c_ $wims_name_erase
  45.    $
  46.   !set wims_ref_class=wims_button
  47.   !href cmd=reply&job=modteacher&teacher=$c_ $wims_name_change
  48.   </td></tr>
  49. !next i
  50. </tbody>
  51. $table_end
  52. !read tablesort.phtml
  53.