Subversion Repositories wimsdev

Rev

Rev 15635 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15635 Rev 15658
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
56
slib_out=<div class="table-scroll"><table $slib_class>
57
  slib_out=<div class="table-scroll">
-
 
58
!endif
-
 
59
slib_out=$slib_out<table $slib_class>
57
!if $slib_caption!=$empty
60
!if $slib_caption!=$empty
58
  slib_out=$slib_out<caption>$slib_caption</caption>
61
  slib_out=$slib_out<caption>$slib_caption</caption>
59
!endif
62
!endif
60
slib_matrix=!lines2rows $slib_matrix
63
slib_matrix=!lines2rows $slib_matrix
61
slib_cnt=
64
slib_cnt=
Line 64... Line 67...
64
 
67
 
65
!for slib_a =1 to $slib_rowcnt
68
!for slib_a =1 to $slib_rowcnt
66
  slib_cnt_p=!itemcnt $(slib_matrix[$slib_a;])
69
  slib_cnt_p=!itemcnt $(slib_matrix[$slib_a;])
67
  slib_cnt=!append item $slib_cnt_p to $slib_cnt
70
  slib_cnt=!append item $slib_cnt_p to $slib_cnt
68
  slib_colcnt=$[max($slib_colcnt,$slib_cnt_p)]
71
  slib_colcnt=$[max($slib_colcnt,$slib_cnt_p)]
69
!next
72
!next
70
slib_tt=td
73
slib_tt=td
71
!for slib_a =1 to $slib_rowcnt
74
!for slib_a =1 to $slib_rowcnt
72
  slib_out_p=
75
  slib_out_p=
73
  !if $slib_a isitemof $slib_tr
76
  !if $slib_a isitemof $slib_tr
74
    slib_tt=th
77
    slib_tt=th
Line 103... Line 106...
103
  slib_tt=td
106
  slib_tt=td
104
  !reset slib_rs slib_cs
107
  !reset slib_rs slib_cs
105
  :nextcol
108
  :nextcol
106
!next
109
!next
107
slib_out=$slib_out\
110
slib_out=$slib_out\
108
</table></div>
111
</table>
-
 
112
!if scroll iswordof $slib_id
-
 
113
  slib_out=$slib_out</div>
-
 
114
!endif
-
 
115