forked from hummypkg/webif
fix padding
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@409 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
ff322fdc39
commit
fbb64a2e9f
@ -1,7 +1,7 @@
|
|||||||
Package: webif
|
Package: webif
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: web
|
Section: web
|
||||||
Version: 0.7.0-3
|
Version: 0.7.1
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4),jim-oo,jim-pack,service-control,busybox(>=1.18.3-1),lsof,epg(>=1.0.3),hmt(>=1.0.6),ssmtp
|
Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4),jim-oo,jim-pack,service-control,busybox(>=1.18.3-1),lsof,epg(>=1.0.3),hmt(>=1.0.6),ssmtp
|
||||||
|
@ -45,7 +45,7 @@ foreach record [lsort -command rsort $records] {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
set num [$record get channel_num]
|
set num [$record get channel_num]
|
||||||
if {$num == 0 || $num >= 800} { continue }
|
if {$num == 0} { continue }
|
||||||
altrow
|
altrow
|
||||||
puts "<td>$num</td>"
|
puts "<td>$num</td>"
|
||||||
puts "<td>[$record channel_icon 50]</td>
|
puts "<td>[$record channel_icon 50]</td>
|
||||||
|
@ -76,6 +76,14 @@ rsv method name {} {
|
|||||||
return $name
|
return $name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rsv method padded {} {
|
||||||
|
if {$ulPreOffset > 0 || $ulPostOffset > 0} {
|
||||||
|
return 1
|
||||||
|
} else {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rsv method channel_name {} {
|
rsv method channel_name {} {
|
||||||
return [string range $szSvcName 1 end]
|
return [string range $szSvcName 1 end]
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,9 @@ proc {system restartpending} {} {
|
|||||||
proc {system padding} {} {
|
proc {system padding} {} {
|
||||||
set start 0
|
set start 0
|
||||||
set stop 0
|
set stop 0
|
||||||
set db [sqlite3.open /var/lib/humaxtv/setup.db]
|
if {[catch {set db [sqlite3.open /var/lib/humaxtv/setup.db]} msg]} {
|
||||||
|
return {0 0}
|
||||||
|
}
|
||||||
foreach l [$db query "
|
foreach l [$db query "
|
||||||
select itemName, itemValue
|
select itemName, itemValue
|
||||||
from TBL_MENUCONFIG
|
from TBL_MENUCONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user