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