Subversion Repositories wimsdev

Rev

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

  1.  
  2. $table_header
  3. <caption>$n_choosedocument</caption>
  4. $table_hdtr
  5. <th>$wims_name_action</th><th>$wims_name_title</th>
  6. !if $wims_ismanager=2
  7.    <th>$n_access</th>
  8. !endif
  9. <th>$n_number</th><th>$wims_name_Author</th></tr>
  10. !for t=1 to $doccnt
  11.   !set s_=!line $t of $slist
  12.   !set t_=!line $t of $tlist
  13.   !set a_=!line $t of $alist
  14.   !set e_=!line $t of $elist
  15.   !set i_=!line $t of $ilist
  16.   !set t_=!trim $t_
  17.   !default t_=$notitle
  18.   !set e_=!word 1 of $e_
  19.   $table_tr
  20.   <td class="nowrap">
  21.   !if $wims_ismanager=2
  22.     !set wims_ref_class=wims_button wims_warning
  23.     !href cmd=reply&job=erase&doc=$s_ $wims_name_erase
  24. &nbsp;
  25.   !endif
  26.   !set wims_ref_class=wims_button
  27.   !href cmd=reply&job=read&doc=$s_&block=main&noedit=yes $n_read
  28. &nbsp;
  29.   !if $i_>0
  30.     !set wims_ref_class=wims_button
  31.     !href cmd=reply&job=auth&doc=$s_&block=main&noedit=no $wims_name_change
  32.   !else
  33.     <span class="wims_button disabled">$wims_name_change</span>
  34.   !endif
  35.   </td><td>$t_</td>
  36.   !if $wims_ismanager=2
  37.     <td>
  38.     !if $s_>65535
  39.       !if $s_ iswordof $opensite
  40.         !href cmd=reply&job=openclose&doc=$s_ $n_close
  41.       !else
  42.         !href cmd=reply&job=openclose&doc=$s_ $n_open
  43.       !endif
  44.     !else
  45.      -
  46.     !endif
  47.     </td>
  48.   !endif
  49.   <td class="small">$s_</td>
  50.   !if $e_=$empty
  51.     <td>$a_</td>
  52.   !else
  53.     <td>
  54.     !mailurl $e_ $a_\
  55. WIMS document $s_ [$module_language]
  56.     </td>
  57.   !endif
  58.   </tr>
  59. !next doc
  60.  $table_end
  61.