Subversion Repositories wimsdev

Rev

Rev 12713 | Rev 14407 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2524 bpr 1
!distribute item $wims_ref_bgcolor,$wims_ref_bgcolor,#DCDCDC,#FCFCF0,\
1108 czzmrn 2
	0,1,3\
3
	into\
4
	table_scolor,table_bgcolor,table_color1,table_color2,\
5
	table_border,table_cellspacing,table_cellpadding
6
 
7
!set wims_incremental=1
10822 bpr 8
 
8053 bpr 9
!! to center the text in the cells
6123 bpr 10
!default table_center=center
9721 bpr 11
!default table_spacer=yes
9724 bpr 12
 
9721 bpr 13
!if $table_spacer=yes
9724 bpr 14
  !set table_spacer_class=<br class="spacer" />
9721 bpr 15
!endif
8053 bpr 16
 
9721 bpr 17
!set table_header=!nosubst $table_spacer_class\
12405 guerimand 18
<table class="wimstable $table_class" style="text-align:$table_center;" id="$table_id">
9721 bpr 19
!set table_end=!nosubst </table>$table_spacer_class
12714 bpr 20
!set table_hdtr=<tr data-sort-method="thead">
1867 bpr 21
!set table_colors=odd,even
22
!set table_tr=!nosubst <tr class="$(table_colors[$wims_incremental%2+1])">
9721 bpr 23
 
12407 obado 24
!reset table_spacer,table_class,table_id