X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=16856a1e6ac7f0af4d2baf42428151b87b0b73f1;hb=08bfab7afb8434ac41b68223e4368a1e62333973;hp=79ad44220b75921129dc3f63c7495c989f869844;hpb=b55863481a30014e98fcd1fbd3d8abe8f109872d;p=egate.git diff --git a/www/query.egw b/www/query.egw index 79ad442..16856a1 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@ { -# $Id: query.egw,v 1.18 1995/11/14 16:31:36 adam Exp $ +# $Id: query.egw,v 1.22 1996/01/02 15:34:08 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -41,7 +41,7 @@ proc ok-response {} { ir z39 } - html "

Search in " [lindex $targets($host) 0] "

\n" + html "

Search in " [lindex $targets($host) 0] "

\n" z39 callback ok-response z39 failback fail-response @@ -55,7 +55,7 @@ proc ok-response {} { z39 disconnect wabort } elseif {$sessionWait == 0} { - if {[catch {zwait sessionWait 30}]} { + if {[catch {zwait sessionWait 35}]} { displayError "Cannot connect to target ${host}" {} html "\n" z39 disconnect @@ -95,14 +95,13 @@ proc ok-response {} { } set databases [lindex $targets($host) 1] - if {$setNo > 1 && $hist([expr $setNo - 1],host) == $host} { - set oSetNo [expr $setNo - 1] - set databaseDefault $hist($oSetNo,database) - } else { + if {[catch {set prevHost $hist([expr $setNo - 1],host)}]} { set databaseDefault [lindex $databases 0] set oSetNo 0 + } else { + set oSetNo [expr $setNo - 1] + set databaseDefault $hist($oSetNo,database) } - html {
} \n set nodb [llength $databases] @@ -126,11 +125,8 @@ proc ok-response {} { html { All
} \n } + html "Input your search criteria:
\n" } -} -
-

Input your search criteria:


-{ set fields [lindex $targets($host) 2] for {set no 1} {$no < 4} {incr no} { html {\n" html {} \n + html { size=35>} \n + html {} if {$no < 3} { html { + +
{ - if {0} { - html {

Alternatively you can enter your query in } - html { CCL here:
} - html {
} - html "


\n" - } -} - -

Various technical parameters:


-{ - html {Max hits: } } -Records are shown in: - -
-

+

+ +{ + html {Europagate} + html {New Target} +} +


This page is maintained by Peter Wad Hansen . Last modified 29. september 1995.
This and the following pages are under construction and will continue to be so until the end of December 1995. -
{ - html { New target } -} -{ html "
\n" html "

Debug information

\n" html "sessionId: $sessionId
\n"