<html>
-<head>
-<title> WWW/Z39.50 Gateway Query Form</title>
-</head>
-<body>
{
-# $Id: query.egw,v 1.38 1996/03/13 14:07:30 adam Exp $
+# $Id: query.egw,v 1.41 2001/02/26 14:32:36 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
+ if {![info exists debug]} {
+ session-lost
+ egw_abort
+ }
}
proc fail-response {} {
global nextSetNo
global hist
+ html {<head><title> WWW/Z39.50 Gateway Query Form</title></head><body>}
+
set initSet [lindex $sessionParms 0]
set host [lindex $sessionParms 1]
set scanLine [lindex $sessionParms 2]
set useIcons 1
button-main
+ button-feedback
button-new-target
if {[lsearch [z390 options] scan] >= 0} {
button-scan-window $setNo
set databaseDefault $hist($oSetNo,0,database)
}
- html {<form action="http:} $env(SCRIPT_NAME)
+ html {<form action="} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + 0 {" method=get>} \n
set nodb [llength $databases]
if {$nodb > 1} {
set useIcons 0
button-main
+ button-feedback
button-new-target
if {[lsearch [z390 options] scan] >= 0} {
button-scan-window $setNo