Subversion Repositories wimsdev

Rev

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