<!-- _widgets/supervisortool.phtml -->
!set toolcnt
=!recordcnt wimshome
/log/classes
/$wims_class/tool
/.toolindex
!for i=1 to $toolcnt
!set sh
=!record
$i of wimshome
/log/classes
/$wims_class/tool
/.toolindex
!distribute lines $sh into s_,t_,ti,d_,o_,w_
$table_tr
<td class="wims_tool_item">$wims_name_Tool $i</td>
<td>
!href module=$s_ $ti
</td>
!if $seq_open=yes
!read themes/_procs/supervisorseq.proc tool,$o_
!endif
<td class="wims_tool_status_$o_">
!item $[$o_ +1] of $wims_name_status
</td><td>
!set wims_ref_class=wims_button
!href module=adm/class/adddoc&job=prop&tool=$i $wims_name_change
!!!! FIXME
!set wims_ref_class=wims_button
!href module=adm/class/adddoc&job=chstatus&tool=$i $(wims_name_actionlist[5-$o_])
!set wims_ref_class=wims_button wims_warning
!href module=adm/class/adddoc&job=deldoc&tool=$i $(wims_name_actionlist[6])
</td>
</tr>
<!-- end _widgets
/supervisorsdocp
.phtml
-->