X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fnwi.egw;h=c7eaecbdf786a46ac30cca92c5d7fc0cd76f2b6d;hb=0f27c26a0618ab69a89335df155ad89dc2dc5da7;hp=a42ac74fe204f542e77d2c65f6669cb6b181428f;hpb=a61ad0378b93e99e362a1d92c33d701dbf103eba;p=egate.git diff --git a/www/nwi.egw b/www/nwi.egw index a42ac74..c7eaecb 100644 --- a/www/nwi.egw +++ b/www/nwi.egw @@ -1,15 +1,12 @@ { -# $Id: nwi.egw,v 1.3 1996/03/13 14:07:30 adam Exp $ +# $Id: nwi.egw,v 1.7 1996/05/22 16:50:26 adam Exp $ source ztargets.conf set scriptQuery nwi.egw set scriptTarget {} set utilExtension nwiutil.tcl - if {[info commands saveState] == ""} { - source z39util.tcl - } if {![info exists debug]} { if {[lindex $sessionParms 1] == "1"} { set debug 1 @@ -17,6 +14,9 @@ set debug 0 } } + if {[info commands saveState] == ""} { + source z39util.tcl + } set html3 [lindex $sessionParms 0] if {[string length $html3] == 0} { if {![info exists env(HTTP_USER_AGENT)]} { @@ -53,6 +53,7 @@ set curEntry {} set initSet 0 + catch { set initSet [lindex $sessionParms 0] if {$initSet < 0} { @@ -79,12 +80,11 @@ html {
and search the following servers
} - foreach t { - {nwi.ub2.lu.se/sverige} - {nwi.ub2.lu.se/new_nor_lib} - {localhost:9999/test} - {localhost:210/Default} - } { + set hosts { + {mars.dtv.dk:9999/Default} + {nwi.ub2.lu.se:2121/sverige} + } + foreach t $hosts { html {
\n" + html {} + + html "\n


\n" + + if {0} { + html {
} \n + } + + html {Advanced search
} + + set host [lindex $hosts 0] + set fields [lindex $targets($host) 2] + for {set no 2} {$no < 6} {incr no} { + + html {\n" + + html {} \n + if {$no < 5} { + html {\n" + } + html "
\n" + } + unset hosts + html "

\n" set useIcons 0 button-main + catch maintenance }