X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=0c4832d4ce52cbcc0fc6457fe35542ff68176e40;hb=df7b985601de6c729147a6fd6588adba6f905480;hp=88b7cf286c8520ac80d948cb144592fc107da05a;hpb=a6e5ecf2a6d6dedf266c5f9d6bc2447a528b199e;p=egate.git diff --git a/www/query.egw b/www/query.egw index 88b7cf2..0c4832d 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@ { -# $Id: query.egw,v 1.17 1995/11/14 16:01:50 adam Exp $ +# $Id: query.egw,v 1.21 1996/01/02 10:52:26 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,10 +125,9 @@ 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} { @@ -146,7 +144,7 @@ proc ok-response {} { } html "\n" html {} \n + html { size=35>} \n if {$no < 3} { html {
-
- -

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"