</head>
<body>
{
-# $Id: query.egw,v 1.36 1996/03/08 16:47:05 adam Exp $
+# $Id: query.egw,v 1.38 1996/03/13 14:07:30 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
global nextSetNo
global hist
- set host [lindex $sessionParms 0]
- set initSet [lindex $sessionParms 1]
+ set initSet [lindex $sessionParms 0]
+ set host [lindex $sessionParms 1]
set scanLine [lindex $sessionParms 2]
set scanTerm [lrange $sessionParms 3 end]
}
set useIcons 1
- button-europagate
- button-new-target 1
+ button-main
+ button-new-target
if {[lsearch [z390 options] scan] >= 0} {
- button-scan-window 1 $setNo
+ button-scan-window $setNo
}
- button-view-history 0
+ button-view-history
html "<h2>" [lindex $targets($host) 0] "</h2><br>\n"
html [lindex $targets($host) 4] "<br>\n"
set databases [splitDatabaseSpec $host]
- if {$initSet == ""} {
+ if {$initSet == -1} {
set databaseDefault [lindex $databases 0]
set oSetNo 0
} else {
html [concat $databases] {"> All <br>} \n
}
}
- html "Input your search criteria:<br>\n"
+ html "<b>Fill-in this search form:</b><br>\n"
set fields [lindex $targets($host) 2]
for {set no 1} {$no < 4} {incr no} {
html {<select name="menu} $no {">} \n
if {[string length $template] > 0} {
html { value="} $template {"}
}
- html { size=43> }
+ html { size=35> }
if {0 && [lsearch [z390 options] scan] >= 0} {
html {<input type="checkbox" name="scan} $no {" value="1" scan>}
}
html "<p>\n"
set useIcons 0
- button-europagate
- button-new-target 1
+ button-main
+ button-new-target
if {[lsearch [z390 options] scan] >= 0} {
- button-scan-window 1 $setNo
+ button-scan-window $setNo
}
- button-view-history 0
+ button-view-history
}
{