Subversion Repositories wimsdev

Rev

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

Rev 6707 Rev 11904
Line 3... Line 3...
3
	into\
3
	into\
4
	table_scolor,table_bgcolor,table_color1,table_color2,\
4
	table_scolor,table_bgcolor,table_color1,table_color2,\
5
	table_border,table_cellspacing,table_cellpadding
5
	table_border,table_cellspacing,table_cellpadding
6
 
6
 
7
!set wims_incremental=1
7
!set wims_incremental=1
8
!default table_center=center
-
 
-
 
8
 
9
!! to center the text in the cells
9
!! to center the text in the cells
10
!set table_header=!nosubst <br class="spacer" />\
10
!default table_center=center
11
<table class="wimstable" \
11
!default table_spacer=yes
-
 
12
 
12
  style="border: 1px solid #$table_bcolor;margin:auto;\
13
!if $table_spacer=yes
13
  background-color:$table_scolor;text-align:$table_center;">
14
  !set table_spacer_class=<br class="spacer" />
-
 
15
!endif
14
	
16
 
-
 
17
!set table_header=!nosubst $table_spacer_class\
-
 
18
<table class="wimstable" $table_id\
-
 
19
  style="text-align:$table_center;">
15
!set table_end=!nosubst </table><br class="spacer" />&nbsp;
20
!set table_end=!nosubst </table>$table_spacer_class
16
!set table_hdtr=<tr>
21
!set table_hdtr=<tr>
17
!set table_colors=odd,even
22
!set table_colors=odd,even
18
!set table_tr=!nosubst <tr class="$(table_colors[$wims_incremental%2+1])">
23
!set table_tr=!nosubst <tr class="$(table_colors[$wims_incremental%2+1])">
-
 
24
 
-
 
25
!reset table_id table_spacer