reformat keyword search

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@170 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2011-06-09 00:47:52 +00:00
parent d664d9ccea
commit 64aac2f52d
1 changed files with 6 additions and 11 deletions

View File

@ -81,22 +81,17 @@ cts 6 "Music" "Music/Ballet/Dance"
puts "</tr></table>"
puts "<table cellpadding=5>"
if {[llength $res] > 0} {
puts {
<div style="float: left; clear: left; width: 15em">
Keyword Searches:
</div>
<div style="float: left">
}
set done 0
puts "<tr><td>Keyword Searches</td>"
foreach keyword $res {
if {$done == 1} { puts "&nbsp;|&nbsp;" } else { incr done }
set kw [string range [lindex $keyword 1] 1 end]
puts "<a href=$env(REQUEST_URI)?term=[cgi_quote_url $kw]>$kw
</a>"
puts "<td><a href=$env(REQUEST_URI)?term=[cgi_quote_url $kw]>$kw
</a></td>"
}
puts "</div>"
puts "</tr>"
}
puts "</table>"
$db close