$table_header
<caption>$n_choosedocument</caption>
$table_hdtr
<th>$wims_name_action</th><th>$wims_name_title</th>
!if $wims_ismanager=2
<th>$n_access</th>
!endif
<th>$n_number</th><th>$wims_name_Author</th></tr>
!for t=1 to $doccnt
!set s_=!line $t of $slist
!set t_=!line $t of $tlist
!set a_=!line $t of $alist
!set e_=!line $t of $elist
!set i_=!line $t of $ilist
!default t_=$notitle
!set e_=!word 1 of $e_
$table_tr
<td class="nowrap">
!if $wims_ismanager=2
!set wims_ref_class=wims_button wims_warning
!href cmd=reply&job=erase&doc=$s_ $wims_name_erase
!endif
!set wims_ref_class=wims_button
!href cmd=reply&job=read&doc=$s_&block=main&noedit=yes $n_read
!if $i_>0
!set wims_ref_class=wims_button
!href cmd=reply&job=auth&doc=$s_&block=main&noedit=no $wims_name_change
!else
<span class="wims_button disabled">$wims_name_change</span>
!endif
</td><td>$t_</td>
!if $wims_ismanager=2
<td>
!if $s_>65535
!if $s_ iswordof $opensite
!href cmd=reply&job=openclose&doc=$s_ $n_close
!else
!href cmd=reply&job=openclose&doc=$s_ $n_open
!endif
!else
-
!endif
</td>
!endif
<td class="small">$s_</td>
!if $e_=$empty
<td>$a_</td>
!else
<td>
!mailurl $e_ $a_\
WIMS document $s_ [$module_language]
</td>
!endif
</tr>
$table_end