Subversion Repositories wimsdev

Rev

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

  1. <!-- _widgets/supervisortool.phtml -->
  2. !set toolcnt=!recordcnt wimshome/log/classes/$wims_class/tool/.toolindex
  3. !for i=1 to $toolcnt
  4.   !set sh=!record $i of wimshome/log/classes/$wims_class/tool/.toolindex
  5.   !distribute lines $sh into s_,t_,ti,d_,o_,w_
  6.   $table_tr
  7.     <td class="wims_tool_item">$wims_name_Tool $i</td>
  8.     <td>
  9.   !href module=$s_&$t_ $ti
  10.     </td>
  11.   !if $seq_open=yes
  12.     !read themes/_procs/supervisorseq.proc tool,$o_
  13.   !endif
  14.   <td class="wims_tool_status_$o_">
  15.   !item $[$o_ +1] of $wims_name_status
  16.   </td><td>
  17.   !set wims_ref_class=wims_button
  18.   !href module=adm/class/adddoc&job=prop&tool=$i $wims_name_change
  19.   !!!! FIXME
  20.   !set wims_ref_class=wims_button
  21.   !href module=adm/class/adddoc&job=chstatus&tool=$i $(wims_name_actionlist[5-$o_])
  22.  
  23.   !set wims_ref_class=wims_button wims_warning
  24.   !href module=adm/class/adddoc&job=deldoc&tool=$i $(wims_name_actionlist[6])
  25.   </td>
  26.   </tr>
  27. !next i
  28. !set glossarycnt=!recordcnt wimshome/log/classes/$wims_class/tool/.glossaryindex
  29. !for i=1 to $glossarycnt
  30.   !set sh=!record $i of wimshome/log/classes/$wims_class/tool/.glossaryindex
  31.   !distribute lines $sh into o_,t_
  32.   $table_tr
  33.   !default t_=$wims_name_Glossary
  34.   <td class="wims_glossary_item">$wims_name_Glossary $i</td><td>
  35.   !href module=adm/tool/glossary&gl=$i $t_
  36.   </td>
  37.   !if $seq_open=yes
  38.     !read themes/_procs/supervisorseq.proc glossary,$o_
  39.   !endif
  40.   <td class="wims_status_$o_">
  41.   !item $[$o_+1] of $wims_name_status
  42.   </td>
  43.     <td>
  44.   !if $i>0
  45.     !set wims_ref_class=wims_button
  46.     !href module=adm/class/glossary&job=mod&gl=$i $wims_name_change
  47.     !set wims_ref_class=wims_button
  48.     !href module=adm/class/glossary&job=chstatus&gl=$i $(wims_name_actionlist[5-$o_])
  49.     !!!set wims_ref_class=wims_button wims_warning
  50.     !!!href module=adm/class/glossary&job=deldoc&tool=$i $(wims_name_actionlist[6])
  51.   !endif
  52.   </td>
  53.   </tr>
  54. !next
  55.  
  56. <!-- end _widgets/supervisortool.phtml -->
  57.