d3e7adfd1f
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@161 2a923420-c742-0410-a762-8d5b09965624
13 lines
177 B
Plaintext
13 lines
177 B
Plaintext
|
|
if {[expr ! [exists -proc altrow ]]} {
|
|
proc altrow {} {{i 0}} {
|
|
if { $i == 0 } {
|
|
puts "<tr class=odd>"
|
|
} else {
|
|
puts "<tr class=even>"
|
|
}
|
|
set i [expr ! $i]
|
|
}
|
|
}
|
|
|