From 6efcb5bde0308825fbe1bbdc1ea6b91e00ed900c Mon Sep 17 00:00:00 2001 From: hummypkg Date: Thu, 30 Jun 2011 00:16:10 +0000 Subject: [PATCH] group search terms together git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@215 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/lib/epg_search | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/var/mongoose/lib/epg_search b/var/mongoose/lib/epg_search index dcc6e08..521e280 100755 --- a/var/mongoose/lib/epg_search +++ b/var/mongoose/lib/epg_search @@ -38,8 +38,10 @@ proc cts {type img text} { puts {
+
+ Content Type Searches - +
Content Type Searches
} @@ -65,7 +67,7 @@ cts 8 "Society" "Social/Political/Economic" puts "" cts 6 "Music" "Music/Ballet/Dance" -puts "
" +puts "
" set db [sqlite3.open /var/lib/humaxtv/setup.db] set res [$db query { @@ -75,8 +77,12 @@ set res [$db query { $db close if {[llength $res] > 0} { - puts "" - puts "" + puts " +
+ Keyword Searches +
Keyword Searches
+ + " foreach keyword $res { set kw [string range [lindex $keyword 1] 1 end] # Clean the keyword string. @@ -84,8 +90,11 @@ if {[llength $res] > 0} { puts "" } - puts "" - puts "
$kw
" + puts " + + + + " } puts "