# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.9 1995/11/06 17:44:20 adam
+# Revision 1.10 1995/11/07 10:44:29 adam
+# Work on search in multiple targets.
+#
+# Revision 1.9 1995/11/06 17:44:20 adam
# State reestablised when shell restarts. History of previous
# result sets.
#
OLIB=../lib/util.a ../lib/libres+log.a
TCLLIB=/usr/local/lib/libtcl7.4.a
#
-WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl
+WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
+ mtargets.egw
HSCRIPTS=egwindex.html
CONFFILES=ztargets.conf
GIFFILES=webgate.gif
<title>Europagate WWW index</title>
</head>
<body>
-<h2>Europagate WWW index, $Id: egwindex.html,v 1.4 1995/10/27 15:12:04 adam Exp $</h2>
+<h2>Europagate WWW index, $Id: egwindex.html,v 1.5 1995/11/07 10:44:30 adam Exp $</h2>
<p>
egwcgi ref:
<a href="http://localhost/cgi-bin/egwcgi/egwtcl/egwscript">egwcgi</a>
<p>
z39 targets:
<a href="http://localhost/cgi-bin/egwcgi/egwirtcl/targets.egw">targets.egw</a>
+<br>
+Multiple z39 targets:
+ <a href="http://localhost/cgi-bin/egwcgi/egwirtcl/mtargets.egw">mtargets.egw</a>
</body>
</html>
--- /dev/null
+<html>
+{
+# $Id: mtargets.egw,v 1.1 1995/11/07 10:44:31 adam Exp $
+ set setNo 1
+ source /usr/local/etc/httpd/conf/ztargets.conf
+ if {[info commands saveState] == ""} {
+ source z39util.tcl
+ }
+}
+<head>
+<title>Europagate, WWW/Z39.50 Gateway</title>
+</head>
+<body>
+<h1>Search in multiple targets</h1>
+<hr>
+<h3>Choose one or more Z39.50 targets:</h3>
+{
+ html {<form action="http://} $env(SERVER_NAME) $env(SCRIPT_NAME)
+ html / $sessionId {/msearch.egw/} $setNo {" method=post><br>} \n
+ foreach t [array names targets] {
+ html {<input type="checkbox" name="target" value="} $t
+ html {"> } $t \n
+ html "<br>\n"
+ }
+}
+<input type="submit" value="Select">
+</form>
+<hr>
+This page is maintained by <a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.
+Last modified 25. september 1995. <br>
+<em> This and the following pages are under construction and will continue
+to be so until the end of December 1995.</em>
+{
+ html "<hr>\n"
+ html "<h3>Debug information</h3>\n"
+ html "sessionId: $sessionId <br>\n"
+ html "sessionParms: $sessionParms <br>\n"
+ foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
+ html $e {: } $env($e) {<br>} \n
+ }
+}
+</body>
+</html>