Rev 7753 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 7753 | Rev 7756 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | !for i=1 to $dpcnt |
2 | !for i=1 to $dpcnt |
| 3 | !set d__=!record $i of wimshome/log/classes/$wims_class/doc/.docindex |
3 | !set d__=!record $i of wimshome/log/classes/$wims_class/doc/.docindex |
| 4 | !distribute lines $d__ into s_,t_,ti_,de_,o_ |
4 | !distribute lines $d__ into s_,t_,ti_,de_,o_ |
| 5 | !if $o_>0 |
5 | !if $o_>0 |
| 6 | !set dps_list=!append line $s_ to $dps_list |
6 | !set dps_list=!append line $s_ to $dps_list |
| 7 | !set dpt_list=!append line $t_ to $dpt_list |
7 | !set dpt_list=!append line $t_ to $dpt_list |
| 8 | !set dpti_list=!append line $ti_ to $dpti_list |
8 | !set dpti_list=!append line $ti_ to $dpti_list |
| 9 | !set dpde_list=!append line $de_ to $dpde_list |
9 | !set dpde_list=!append line $de_ to $dpde_list |
| 10 | !set dpdw_list=!append line $w_ to $dpw_list |
- | |
| 11 | !endif |
10 | !endif |
| 12 | !next i |
11 | !next i |
| 13 | !set dpcnt=!linecnt $dps_list |
12 | !set dpcnt=!linecnt $dps_list |
| 14 | 13 | ||
| 15 | !if $dpcnt>0 |
14 | !if $dpcnt>0 |
| 16 | <!-- _widgets/userdocp.phtml --> |
15 | <!-- _widgets/userdocp.phtml --> |
| 17 | < |
16 | <table class="wims_user_docp_table"> |
| 18 | !for i=1 to $dpcnt |
17 | !for i=1 to $dpcnt |
| 19 | !set s_=!line $i of $dps_list |
18 | !set s_=!line $i of $dps_list |
| 20 | !set t_=!line $i of $dpt_list |
19 | !set t_=!line $i of $dpt_list |
| 21 | !set w_=!line $i of $dpw_list |
20 | !set w_=!line $i of $dpw_list |
| 22 | < |
21 | <tr class="wims_user_docp"> |
| 23 | < |
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;]) |
24 | !href module=$s_&$t_&wksheet=$w_ $(dpti_list[$i;]) |
| - | 25 | </td> |
|
| 25 | </ |
26 | </tr> |
| 26 | !next i |
27 | !next i |
| 27 | </ |
28 | </table> |
| 28 | <!-- end _widgets/userdocp.phtml --> |
29 | <!-- end _widgets/userdocp.phtml --> |
| 29 | !endif |
30 | !endif |