Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
12378 bpr 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>
14733 bpr 9
  !href module=$s_&$t_ $ti
12378 bpr 10
    </td>
12823 bpr 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_])
12378 bpr 22
 
12823 bpr 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>
12378 bpr 26
  </tr>
27
!next i
12569 bpr 28
!set glossarycnt=!recordcnt wimshome/log/classes/$wims_class/tool/.glossaryindex
12823 bpr 29
!for i=1 to $glossarycnt
12569 bpr 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>
12718 bpr 37
  !if $seq_open=yes
38
    !read themes/_procs/supervisorseq.proc glossary,$o_
39
  !endif
14836 obado 40
  <td class="wims_status_$o_">
12569 bpr 41
  !item $[$o_+1] of $wims_name_status
12718 bpr 42
  </td>
43
    <td>
12569 bpr 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 -->