webif/var/mongoose/lib/altrow
hummypkg ce2dfa8338 update delete system
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@657 2a923420-c742-0410-a762-8d5b09965624
2012-01-13 21:23:03 +00:00

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]
}
}