Subversion Repositories wimsdev

Rev

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

  1. !set dpcnt=!recordcnt wimshome/log/classes/$wims_class/doc/.docindex
  2. !for i=1 to $dpcnt
  3.  !set d__=!record $i of wimshome/log/classes/$wims_class/doc/.docindex
  4.  !distribute lines $d__ into s_,t_,ti_,de_,o_
  5.  !if $o_>0
  6.   !set dps_list=!append line $s_ to $dps_list
  7.   !set dpt_list=!append line $t_ to $dpt_list
  8.   !set dpti_list=!append line $ti_ to $dpti_list
  9.   !set dpde_list=!append line $de_ to $dpde_list
  10.  !endif
  11. !next i
  12. !set dpcnt=!linecnt $dps_list
  13.  
  14. !if $dpcnt>0
  15.  <!-- _widgets/userdocp.phtml -->
  16.  <table class="wims_user_docp_table">
  17.   !for i=1 to $dpcnt
  18.    !set s_=!line $i of $dps_list
  19.    !set t_=!line $i of $dpt_list
  20.    !set w_=!line $i of $dpw_list
  21.    <tr class="wims_user_docp">
  22.     <td class="wims_user_doc_type">$wims_name_doc</td>
  23.     <td colspan="3">
  24.      !href module=$s_&$t_&wksheet=$w_ $(dpti_list[$i;])
  25.     </td>
  26.    </tr>
  27.   !next i
  28.  </table>
  29.  <!-- end _widgets/userdocp.phtml -->
  30. !endif
  31.