Rev 6707 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5677 | obado | 1 | !distribute item $wims_ref_bgcolor,$wims_ref_bgcolor,#DCDCDC,#FCFCF0,\ |
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 |
||
11904 | obado | 8 | |
9 | !! to center the text in the cells |
||
6707 | bpr | 10 | !default table_center=center |
11904 | obado | 11 | !default table_spacer=yes |
12 | |||
13 | !if $table_spacer=yes |
||
14 | !set table_spacer_class=<br class="spacer" /> |
||
15 | !endif |
||
16 | |||
17 | !set table_header=!nosubst $table_spacer_class\ |
||
18 | <table class="wimstable" $table_id\ |
||
19 | style="text-align:$table_center;"> |
||
20 | !set table_end=!nosubst </table>$table_spacer_class |
||
5705 | bpr | 21 | !set table_hdtr=<tr> |
5677 | obado | 22 | !set table_colors=odd,even |
23 | !set table_tr=!nosubst <tr class="$(table_colors[$wims_incremental%2+1])"> |
||
11904 | obado | 24 | |
25 | !reset table_id table_spacer |