From 95bef6f458da8fe50fa06c36ce847a8d45870551 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Wed, 18 Jan 2012 22:15:20 +0000 Subject: [PATCH] add network name git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@678 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/cgi-bin/channel.jim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/var/mongoose/cgi-bin/channel.jim b/var/mongoose/cgi-bin/channel.jim index 05b99e3..7fe42b3 100755 --- a/var/mongoose/cgi-bin/channel.jim +++ b/var/mongoose/cgi-bin/channel.jim @@ -32,17 +32,19 @@ puts " Frequency Signal Strength Signal Quality + Network Mux Channels >799 " foreach tw [$db query { - select tsIdx, usTsID, ulFrequency, ucLevel, ucQuality - from TBL_TS + select tsIdx, szNetName, usTsID, ulFrequency, ucLevel, ucQuality + from TBL_TS join TBL_NET using (netIdx) order by ulFrequency }] { - lassign $tw x tsIdx x usTsID x ulFrequency x ucLevel x ucQuality + lassign $tw \ + x tsIdx x netName x usTsID x ulFrequency x ucLevel x ucQuality altrow puts " @@ -51,6 +53,7 @@ foreach tw [$db query { " puts "[progressbar $ucLevel]" puts "[progressbar $ucQuality]" + puts "[string range $netName 3 end]" set channels [$db query { select usLcn, szSvcName, szPrvName, aucDefaultAuthority