Rev 15658 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15658 | Rev 15668 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | slib_colspan2=!column 2 of $slib_colspan |
51 | slib_colspan2=!column 2 of $slib_colspan |
52 | slib_th=!getopt TH in $slib_option |
52 | slib_th=!getopt TH in $slib_option |
53 | slib_th=!declosing $slib_th |
53 | slib_th=!declosing $slib_th |
54 | slib_tr=$(slib_th[1;]) |
54 | slib_tr=$(slib_th[1;]) |
55 | slib_td=$(slib_th[2;]) |
55 | slib_td=$(slib_th[2;]) |
56 | !if scroll iswordof $slib_id |
- | |
57 |
|
56 | slib_out=<div class="table-scroll"><table $slib_class> |
58 | !endif |
- | |
59 | slib_out=$slib_out<table $slib_class> |
- | |
60 | !if $slib_caption!=$empty |
57 | !if $slib_caption!=$empty |
61 | slib_out=$slib_out<caption>$slib_caption</caption> |
58 | slib_out=$slib_out<caption>$slib_caption</caption> |
62 | !endif |
59 | !endif |
63 | slib_matrix=!lines2rows $slib_matrix |
60 | slib_matrix=!lines2rows $slib_matrix |
64 | slib_cnt= |
61 | slib_cnt= |
Line 67... | Line 64... | ||
67 | 64 | ||
68 | !for slib_a =1 to $slib_rowcnt |
65 | !for slib_a =1 to $slib_rowcnt |
69 | slib_cnt_p=!itemcnt $(slib_matrix[$slib_a;]) |
66 | slib_cnt_p=!itemcnt $(slib_matrix[$slib_a;]) |
70 | slib_cnt=!append item $slib_cnt_p to $slib_cnt |
67 | slib_cnt=!append item $slib_cnt_p to $slib_cnt |
71 | slib_colcnt=$[max($slib_colcnt,$slib_cnt_p)] |
68 | slib_colcnt=$[max($slib_colcnt,$slib_cnt_p)] |
72 | !next |
69 | !next |
73 | slib_tt=td |
70 | slib_tt=td |
74 | !for slib_a =1 to $slib_rowcnt |
71 | !for slib_a =1 to $slib_rowcnt |
75 | slib_out_p= |
72 | slib_out_p= |
76 | !if $slib_a isitemof $slib_tr |
73 | !if $slib_a isitemof $slib_tr |
77 | slib_tt=th |
74 | slib_tt=th |
Line 106... | Line 103... | ||
106 | slib_tt=td |
103 | slib_tt=td |
107 | !reset slib_rs slib_cs |
104 | !reset slib_rs slib_cs |
108 | :nextcol |
105 | :nextcol |
109 | !next |
106 | !next |
110 | slib_out=$slib_out\ |
107 | slib_out=$slib_out\ |
111 | </table> |
108 | </table></div> |
112 | !if scroll iswordof $slib_id |
- | |
113 | slib_out=$slib_out</div> |
- | |
114 | !endif |
- | |
115 | - |