<html>
{
-# $Id: msearch.egw,v 1.17 1996/03/08 16:47:04 adam Exp $
+# $Id: msearch.egw,v 1.18 1996/03/11 17:40:47 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
set setNo [lindex $sessionParms 0]
- if {[egw_form menu1] != ""} {
+ if {[string length [egw_form entry1]] > 0} {
+ if {[string length [egw_form host]] > 0} {
+ set hist($setNo,0,host) [llength [egw_form host]]
+ set i 1
+ foreach t [egw_form host] {
+ set hist($setNo,$i,host) $t
+ set hist($setNo,$i,database) [splitDatabaseSpec $t]
+ set hist($setNo,$i,idAuthentication) {}
+ incr i
+ }
+ }
set hist($nextSetNo,0,host) $hist($setNo,0,host)
for {set i 1} {$i <= $hist($setNo,0,host)} {incr i} {
set hist($nextSetNo,$i,host) $hist($setNo,$i,host)
html $e {: } $env($e) {<br>} \n
}
html "form: " [egw_form] " <br>\n"
- html "target: " $host " <br>\n"
html "query: --" $hist($setNo,1,query) "-- <br>\n"
html "database: " $hist($setNo,1,database) "<br>\n"
html "sort: " $hist($setNo,sort) "<br>\n"