Subversion Repositories wimsdev

Rev

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

  1.  
  2. $title
  3.  
  4. !set wims_ref_class=wims_button_help
  5. !href cmd=help&special_parm=share $wims_name_help
  6.  
  7. <p>
  8.  
  9. !if $sharing_all=$empty
  10.  $name_noresource
  11. !else
  12. !read themetable
  13.  $name_resource
  14.  $table_header
  15.  $table_hdtr <th>$wims_name_Type</th><th>$wims_name_class</th><th>$wims_name_Supervisor</th><th>$wims_name_action</th>
  16.  !for rec in $sharelist
  17.   !if $(sharing_$rec)!=$empty
  18.    $table_tr
  19.  !!  $name_sharelist
  20.    !set D_=!defof class_institution\
  21. class_description\
  22. class_supervisor in wimshome/log/classes/$(sharing_$rec)/.def
  23.    !distribute lines $D_ into i_,d_,s_
  24.    <td align="center">$(name_$rec)<td align="center">$d_ <br/>$i_</td> <td align="center">$s_
  25.    </td><td align="center">
  26.    !href cmd=reply&job2=stopshare&nei=$(sharing_$rec)&stoprec=$rec $name_stopsharing
  27. . &nbsp;
  28. !set wims_ref_class=wims_button_help
  29.    !href cmd=help&special_parm=stopshare $wims_name_help
  30.    </td>
  31.   !endif
  32.  !next rec
  33. $table_end
  34. !endif
  35. !if $sharable_all!=$empty
  36.  $table_header
  37.  <caption>$name_classsharing</caption>
  38.  $table_hdtr<th>$wims_name_Type</th><th>$wims_name_class</th><th>$wims_name_Supervisor</th><th>$wims_name_Status</th>
  39.  !for r in $sharable
  40.   !for cl in $(sharable_$r)
  41.    $table_tr<td align="center">$(name_$r)
  42.    !set D_=!defof class_institution\
  43. class_description\
  44. class_supervisor in wimshome/log/classes/$cl/.def
  45.    !distribute lines $D_ into i_,d_,s_
  46.    </td><td align="center">
  47.    !href cmd=reply&job2=def&nei=$cl $i_<br/>$d_
  48.    </td><td align="center">$s_</td>
  49.    !set s_=!defof $(sharing_$r) in wimshome/log/classes/$cl/neighbors
  50.    </td><td align="center">
  51.    !if $s_=$wims_class
  52.     $name_active
  53.    !else
  54.     ---
  55.    !endif
  56.    </tr>
  57.   !next cl
  58.  !next r
  59.  $table_end <p>
  60. !endif
  61.